Code Snippets Interview Questions
Questions Answers Views Company eMail

write a code to generate pseudorandom numbes

ABC,

1793

code to set the main window's size

1711

code to calculate the number of days between two dates

2 9768

program to bring a window to the front

1574

code to keep a page Out of the browser history

1663

create Drop-Down Navigation Menus

TCS,

1708

Reading which Character Key was pressed

1 3366

how to prevent an Event from performing its default behavior

CAE,

1885

how to copy form data between different pages

1685

maximizing the main window

1643

how to delay a function call ?

1 2914

code to get the coordinates of a Click Event

1748

How to encode and decode URL strings?

TCS,

1802

determine which Element received an Event

1909

How to test whether two strings are equal or not ?

1 4403


Un-Answered Questions { Code Snippets }

We need to write the function to check the password entered is correct or not based on the following conditions.. a) It must have atleast one lower case character and one digit. b)It must not have any Upper case characters and any special characters c) length should be b/w 5-12. d) It should not have any same immediate patterns like abcanan1 : not acceptable coz of an an pattern abc11se: not acceptable, coz of pattern 11 123sd123 : acceptable, as not immediate pattern adfasdsdf : not acceptable, as no digits Aasdfasd12: not acceptable, as have uppercase character

3957


How can I Create a C program in splitting set of characters to specific subsets. Example: INPUT SET OF CHARACTERS: Therefore, my dear brothers and sisters, stand firm. Let nothing move you. Always give yourselves fully to the work of the Lord, because you know that your labor in the Lord is not in vain. SPLIT INTO HOW MANY CHARACTERS PER SUBSETS: 10 OUTPUT: Therefore, my dear b rothers an d sisters, stand fir m. Let not hing move you. Alway s give you rselves fu lly to the work of t he Lord, b ecause you know that your labo r in the L ord is not in vain.

1938


code to keep a page Out of the browser history

1663


create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file

2220


Code for Method of Handling Factorials of Any Size?

2006






How to update and insert from datagridview at run time in excel database?

2765


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

3464


How comment can be represented in XML?

357


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2339


Write a python program to check common letters in two input strings?

485


You have been asked to install a servlet engine (tomcat, glassfish, etc.) for a companies servlets. Assuming the company has an existing web/DBMS server (which may or may not be on the same server), explain in detail how would you implement the development project and a deployment solution.

2131


Write a Program to find the number of words in a sentence.

532


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.

2376


why nlogn is the lower limit of any sort algorithm?

2381


How to access oralce10g data from server to client in LAN?

1368