what is the difference between set and append?

Answers were Sorted based on User's Feedback



what is the difference between set and append? ..

Answer / karishma39malik@gmail.com

set means to set a value like.. set v =4 giving a value to a
variable.. n append means to add something at the end..
without deleting or erasing previous content.. adding after
the thing already entered... n set means to erase n replace
and give new value..

Is This Answer Correct ?    5 Yes 1 No

what is the difference between set and append? ..

Answer / karishma39malik@gmail.com

set means to set a value like.. set v =4 giving a value to a
variable.. n append means to add something at the end..
without deleting or erasing previous content.. adding after
the thing already entered... n set means to erase n replace
and give new value..

Is This Answer Correct ?    3 Yes 1 No

what is the difference between set and append? ..

Answer / prncess

set replaces the element at the given index. add inserts the element at the given index and moves all elements ahead of it one position.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

Find out the roles which gives access to all tables in SAP? Thanks in advance.

0 Answers  


the systematic access of small computers in a distributed data processing system is referred as?

0 Answers   Mphasis,


In Bioinformatics, a DNA sequence is made up of a combination of 4 characters, namely “A,C,G,T”. A subsequence of a given sequence of characters a0, a1, …an- 1, is any subset of the characters taken in order, of the form ai0 , ai1 ,…..aik-1 where 0 &#8804; i0 <i1….< ik-1 &#8804; n-1. For example in the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, we can have subsequences “A,G,T”, “A,C,A,A” and many more. A subsequence is palindromic if it is the same whether read left to right or right to left. For instance, the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, has many palindromic subsequences, including “A,C,G,C,A” and “A,A,A,A” (on the other hand, the subsequence “A,C,T” is not palindromic). Devise an algorithm (using dynamic programming) that takes a sequence of characters X[0 … n-1] from the alphabet set (A,C,G,T) and returns the (length of the) longest palindromic subsequence. Implement the algorithm in an appropriate language.

1 Answers  


Suppose i have all the implementation code required is written in doGet() but my class has doPost() method. i need code implemented in doGet() how can we do that?

1 Answers  


i am exeprienced person what is selection process

0 Answers   BitWise,






I'm trying to solve this. But I'm not figuring the right solution. Can some one help what the answer is for the question below? You can use as many variables as you need, there are no negative numbers, all numbers are integers. You do not know the size of the integers, they could be infinitely large, so you can't count on truncating at any point. There are NO comparisons allowed, no if statements or anything like that. There are only four operations you can do on a variable. 1) You can set a variable to 0. 2) You can set a variable = another variable. 3) You can increment a variable (only by 1), and it's a post increment. 4) You can loop. So, if you were to say loop(v1) and v1 = 10, your loop would execute 10 times, but the value in v1 wouldn't change so the first line in the loop can change value of v1 without changing the number of times you loop. You need to do 3 things. 1) Write a function that decrements by 1. 2) Write a function that subtracts one variable from another. 3) Write a function that divides one variable by another. 4) See if you can implement all 3 using at most 4 variables. Meaning, you're not making function calls now, you're making macros. And at most you can have 4 variables. The restriction really only applies to divide, the other 2 are easy to do with 4 vars or less. Division on the other hand is dependent on the other 2 functions, so, if subtract requires 3 variables, then divide only has 1 variable left unchanged after a call to subtract. Basically, just make your function calls to decrement and subtract so you pass your vars in by reference, and you can't declare any new variables in a function, what you pass in is all it gets.

1 Answers   Microsoft,


What is meaning of web application. & the purpose of web application. with description.

1 Answers  


CPU - abbrevation

2 Answers   Mascot,


what is the use MDM(Master Data Management)and meaning

0 Answers  


you have an unlimited supply of $3 and $7 poker chips. What is the largest integer value that you cannot make by combining different numbers of chips?

2 Answers  


Can any one give an example (Source Code) on virtual function implemetation in Java?

0 Answers  


What is ur porject Architecture? If anyone ask what i have to specify here..

0 Answers  


Categories