Code Snippets Interview Questions
Questions Answers Views Company eMail

How do you write a program which produces its own source code as its output?

7 12050

how to check whether a linked list is circular.

Microsoft,

11 48096

Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.

Microsoft, Nike, IITR,

5 16229




Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.

Amazon, Microsoft,

5 8781

How to add checkbox to datagrid?

5 10854

Program to find the largest sum of contiguous integers in the array. O(n)

11 27011

how to Scroll a DIV content

SoftSquare,

1296

how to create Expandable and Collapsible Menus

1820

how to determine which Mouse Button was pressed

1008

create a slide show

Genpact,

1 1520

code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc

HCL,

931

code to images to rollover

1019

code to create a new window

951

write a code that user can choose/alter Body Text Size

838

code to Hide and Show form controls

926







Un-Answered Questions { Code Snippets }

why nlogn is the lower limit of any sort algorithm?

1124


program for check the given number is prime or not in VB.net

1868


How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?

896


In java, why do we set thread priority, when we know that there is no guarantee by which a thread should be execute?

1040


Write Down Steps Using SAX Parser

1270


code to get the coordinates of a Click Event

955


Is there any static classes are in java give some examples

746


1.Explain what happens to a session object when the browser associated with it is closed? 2.Explain how a session object is created and used. (Note: you are not required to provide the Java statements such as ‘getAttribute’)

1171


Can someone please explain more about how the XML Gateway works and what its purpose is?

1412


Please give me the vb.net codes for deadlock(like detecting,& avoiding) in any version of vb.net.

2105


create Drop-Down Navigation Menus

903


How to block double clicks

805


program to show a progress bar

1352


how to create a Custom Scrollbar

1241


A program that will create a movie seat reservation. The program will display the summary seats and its status. The user will be ask what seat no. to be reserved, then it will go back again to the summary to display the updated seat status. If the seat no. is already reserved then it will prompt an error message. And also if the input seat no is out of range then it will also prompt an error message. The program is continuously running. Termination of the program will depends on how the programmer will apply. Sample output: Movie Seats Reservation Summary of Seats: Seat 1: Available Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 6 The Seat no. is out of range! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 The Seat no. is already reserved! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 0 GoodBye... Thank You!!!

439