Code Snippets Interview Questions
Questions Answers Views Company eMail

write a code to generate pseudorandom numbes

ABC,

1786

code to set the main window's size

1708

code to calculate the number of days between two dates

2 9752

program to bring a window to the front

1568

code to keep a page Out of the browser history

1653

create Drop-Down Navigation Menus

TCS,

1705

Reading which Character Key was pressed

1 3355

how to prevent an Event from performing its default behavior

CAE,

1879

how to copy form data between different pages

1678

maximizing the main window

1636

how to delay a function call ?

1 2899

code to get the coordinates of a Click Event

1741

How to encode and decode URL strings?

TCS,

1797

determine which Element received an Event

1903

How to test whether two strings are equal or not ?

1 4376


Un-Answered Questions { Code Snippets }

What is XML Element?

397


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

1835


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

1852


i really need help about this.. write a program to display the set of odd and even numbers separately. find the highest and lowest value of the given numbers.

1963


What is the best way to make wordpress plugin

2719






i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this

2143


How to Link Different Data Sources Together?

1797


code to positioning of window in certain dimensions

1666


how to get the User's Time of Day

1673


What is an attribute?

355


Code for Using Keyboard Events?

2132


What are the advantages of XML DOM Document?

362


write a c program which takes 20 numbers in an array as input from user and rearrange them in two different array defining even or odd

2594


What is the functionality of GetDesktopWindow?

573


what are the other loops except for for,while,do while and until?

2281