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 12873

how to check whether a linked list is circular.

Microsoft,

11 52258

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 17266




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 9925

How to add checkbox to datagrid?

5 11664

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

11 29873

how to Scroll a DIV content

SoftSquare,

1531

how to create Expandable and Collapsible Menus

2026

how to determine which Mouse Button was pressed

1170

create a slide show

Genpact,

1 2024

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

HCL,

1137

code to images to rollover

1226

code to create a new window

1165

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

1023

code to Hide and Show form controls

1177







Un-Answered Questions { Code Snippets }

how to use the GetTickCount() properly and what is that procedure for?

2002


What is the functionality of GetDesktopWindow?

440


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

926


sample code to auto focusing the first field in a form

1441


snippet to prevent submission of form when certain/any validations got failed

960






Design a timer circuit using VHDL which has the following: input : start_timer(ST) output: long_time(LT) short_time(ST) when the timer is triggered by the ST(either 0 or 1) signal the timer should generate two timing signals accordingly.While the long time is going ON the other should be OFF and vice versa.

1514


U hv to enter a range from a and b and search hw many no. of times a pattern n. occurs between the range a and b. Eg :i/p:enter range :0 100 Enter pattern: 13 o/p: the no. times 13 occurred betwwn 0 to 100:1 Eg :i/p:enter range :100 1000 Enter pattern: 13 o/p: the no. times 13 occurred betwwn 100 to 1000: (in this 13,113,131,132,133…139,213,313,…913 all these will be counted)

1438


How to add a value from textBox over an existing certain column in SQL Server

1612


How can I create connection two blue-tooth mobile in j2me. please urgent

1213


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

1313


how to track links visited in google using iframes

1531


what is main difference between array_push and array_pop?

2742


What is the functionality of FindWindow?

456


I am configuring my anaconda file in linux, i want to use as kickstart file, in post installation how can i edit file or change the content of file and save it.

1415


What is used of serialize and unserialize in php?

1965