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 11540

how to check whether a linked list is circular.

Microsoft,

11 46236

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 15716

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 8198

How to add checkbox to datagrid?

5 10388

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

11 25848

how to Scroll a DIV content

1241

how to create Expandable and Collapsible Menus

1728

how to determine which Mouse Button was pressed

952

create a slide show

Genpact,

1 1288

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

HCL,

863

code to images to rollover

950

code to create a new window

881

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

777

code to Hide and Show form controls

845



Un-Answered Questions { Code Snippets }

What is the functionality of EnumChildWindows?

269


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?

2405


Is there any static classes are in java give some examples

673


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

794


Hello I am hosting remoting within IIS. Everything works just fine as long as I allow anonymous access at the IIS level. When I allow only Windows Authenticated sessions, something very strange happens: If the client activates the remote object with IP address - works fine If the client activates it using a machine name - get http 401 exception is thrown. The exception is thrown when the client calls the remote method. I set the channel's useDefaultCredentials property to true. Any idea how to allow Windows Authentication? Here is the call stack: System.Net.WebException: The remote server returned an error: (401) Unauthorized .. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean handshakeComplete) at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob, Boolean handshakeComplete) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials) at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials) at System.Net.AuthenticationState.AttemptAuthenticate (HttpWebRequest httpWebRequest, ICredentials authInfo) --- End of inner exception stack trace ---

2895


write a program to convert temperature from fa height into celcius and vise versa,use modular programming

1327


how to pass data between pages using Cookies

832


write a code to generate pseudorandom numbes

891


how to create a Custom Scrollbar

1174


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

1030


Give the code for Handling Mouse Events?

957


What is GUID anyway?

296


Code for Searching for Multiple Matches with the MatchCollection Class?

1988


Dear sirs, Hi, I would like to inform you that I want to perform a project using MLP neural network to recognize binary images containing three types of geometric shapes such as squares,rectangels and circles. Furthermore,each image includes only one geometric type. The output of network would be: '1' if the network detects square shape. '2' if the network detects rectangle shape. '3' if the network detects circle shape. '4' if none of these shapes detected. Would you please send me a matlab source code for this project? Your prompt reply would be so appreciated. regards,

892


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.

942