Code Snippets Interview Questions
Questions Answers Views Company eMail

advance the focus to next consecutive fields when Enter Key is pressed

TCS,

1988

how to get the User's Time of Day

HCL,

1830

write a program to detect the user's browser ?

Infosys,

1 2352

how to pass data between pages using Frames

2348

how to convert between arrays and strings

2282

validation code / function to allow only NUmbers in a text box

GE,

3 10518

how to transform XML Data into HTML

2073

How to block double clicks

1808

program to show a progress bar

Infosys,

2284

code to positioning of window in certain dimensions

1848

sample code to auto focusing the first field in a form

Wipro,

2183

how to pass data between pages using URLs

Symantec,

1 3148

how to pass data between pages using Cookies

2039

how to create an anonymous function

1872

how to create a Draggable element

TCS,

2105


Un-Answered Questions { Code Snippets }

Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?

2758


How to palindrom string in c language?

9764


Write a program to Print the Pascal triangle

639


Write a Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

641


Write Down Steps Using SAX Parser

2341






Performance Algorithm A performs 10n2 basic operations and algorithm B performs 300 lg n basic operations. For what value of n does algorithm B start to show its better performance?

7600


Write a script to delete all the files in a folder except one desired file.

1088


i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance

1535


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

3491


sample code to auto focusing the first field in a form

2183


What is the meaning of version in XML?

498


Can you write a program to find the average of numbers in a list in python?

591


1.What type of material can be sent from a Java servlet to a browser ? How does the browser know how to deal with the material? 2.Explain what happens to a servlet when a servlet engine is sent a GET request.

2499


i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.

2277


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2433