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 17716

how to check whether a linked list is circular.

Microsoft,

11 61665

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.

IITR, Microsoft, Nike,

5 21942

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 14344

How to add checkbox to datagrid?

5 15649

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

11 38195

how to Scroll a DIV content

SoftSquare,

2364

how to create Expandable and Collapsible Menus

2913

how to determine which Mouse Button was pressed

1 2745

create a slide show

Genpact,

1 4000

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

HCL,

1939

code to images to rollover

2066

code to create a new window

1969

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

1796

code to Hide and Show form controls

2017


Un-Answered Questions { Code Snippets }

what is runtime class?

2451


Code for Adding Scripting Support to an Application?

1380


Given a N by N matrix of both negative and positive integers. Write an efficient algorithm to find the sub-matrix with the largest sum of all the contained elements.

1491


Is there any way to open notepad within php?

1865


How to Print Asp.net GridView Data on Button Click using Javascript?

684


I have this code in leftmenu.ascx page..now on leftmenu.ascx.cs page i want to access id values. but i dont want to check manually like Accommodation,Arts etc.. In cs file my code is like string str[]; //this array contains some values say 10 strings for(i=0;i<100;i++) { if(str[i]==id id.visible=true } i.e.i want to travel for each element of str and each value of id.if they match then id.visible=true how to do?

4109


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 ??

2183


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

2098


Write a function that takes an unsorted integer array, and returns a three element subset whose sum is zero.

1469


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

2316


How we work on N tire architecture in asp.net Please give me Examle...

17172


write a program for area of circumference of shapes

2281


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

1738


Common UI for Multiple web applications. Suppose there are 35 websites using same third party controls.These 3rd party controls are made together that all 35 websites can use these controls.If we put all 3rd party controls and use its dll in 35 websites,only class files will be accessable. But I want to use CSS,images also in all 35 websites. how I can design the N-tier solution for this project.

2445


What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql

2666