Code Snippets Interview Questions
Questions Answers Views Company eMail

prog. to produce 1 2 3 4 5 6 7 8 9 10

TCS,

4 6150

PROG. TO PRODUCE 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

1 3615

Write an algorithm that receives a string and reverses it.

2 5275

Why we r using String args[] in main() even though v r not passing any arguments in command line?

2 6015

Why the program getting error if we don't use String args[] in main(), even in the case of not getting any arguments from command line?

1 6320

What will be the output- for(i=1;i<=3;i++) { printf("%d",i); continue; i++; }

Impetus,

5 19481

3) Int Matrix of certain size was given, We had few valu= es in it like this. =97=97=97=97=97=97=97=97=97=97=97 1 = | 4 | | 5 | &= nbsp; | 45 =97=97=97=97=97=97=97=97=97=97=97 &n= bsp; | 3 | 3 | 5 | = | 4 =97=97=97=97=97=97=97=97=97=97=97 34 |&nbs= p; 3 | 3 | | 12 | &= nbsp; =97=97=97=97=97=97=97=97=97=97=97 3 | &nbs= p; | 3 | 4 | = | 3 =97=97=97=97=97=97=97=97=97=97=97 3 | = ; | | | = ; 3 | =97=97=97=97=97=97=97=97=97=97=97 &= nbsp; | | 4 | = ; | 4 | 3 We w= ere supposed to move back all the spaces in it at the end. Note: = If implemented this prog using recursion, would get higher preference.

RoboSoft,

3518

write a c program to print magic square of order n when n>3 and n is odd?

HCL,

1 10766

write a program that accepts a number and outputs its equivalent in words. take note that the maximum input is 3000

Alvin,

1 16303

swap prog

TCS,

3 5755

IS it Compulsory that a class name is same as file name in java?

Sun Microsystems, Wipro,

7 8472

How to add flash or *.gif file in edit panel in java?

2078

give me the small script to add a global page through any domain?

1 2878

what is the full form of dim?

5 20351

Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.

TCS, Vimukti Technologies, Wipro,

3 9546


Un-Answered Questions { Code Snippets }

code to images to rollover

2034


Create a ViewState Property?

2450


write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation

2633


how to create a search bar which access data from various websites and retrieves the data

2732


In a gymnastic competition, scoring is based on the average of all scores given by the judges excluding the maximum and minimum scores. Let the user input the number of judges, after that, input the scores from the judges. Output the average score. Note: In case, more than two judges give the same score and it happens that score is the maximum or minimum then just eliminate two scores. For example, if the number of judges is 5 and all of them give 10 points each. Then the maximum and minimum score is 10. So the computation would be 10+10+10, this time. The output should be 10 because 30/3 is 10.

2650


I have multiple datasets and I have to search a particular string in all of them at a single time. Please suggest a full jcl or rexx tool for it.

840


What is GUID anyway?

581


write a program to input a natural number less than and display it in words.test your program on the sample data and some random data sample input= 29 sample output= Twenty nine sample input=17001 sample output= out of range sample input=119 sample output =one hundred and nineteen sample input=500 sample output=five hundred

3878


Write a routine to implement the polymarker function

4593


Is there any way to open notepad within php?

1844


Write code to make an object work like a 2-d array?

639


Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.

694


what is main difference between array_push and array_pop?

3898


In LSMW , what does the following error mean and how to rectify it : Incorrect interface data for set 78 in method C . This error is occuring in idoc processing step of LSMW.

2316


how to manage mlng timer because they don't explain what's it's function?

2599