Code Snippets Interview Questions

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

2061

how to manage mlng timer because they don't explain what's it's function?

1938

what does mbln in mblnrects mean? my boolean?

1799

can everyone explain this code Private Sub DrawRect(rectSource As RECT, lngColour As Long) Line (rectSource.Left, rectSource.Top)-(rectSource.Left, rectSource.Bottom), lngColour Line (rectSource.Left, rectSource.Top)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Left, rectSource.Bottom), lngColour End Sub

1760

I need your help, i need a Turbo C code for this problem.. hope u'll help me guys.? Your program will have a 3x3 array. The user will input the sum of each row and each column. Then the user will input 3 values and store them anywhere, or any location or index, temporarily in the array. Your program will supply the remaining six (6) values and determine the exact location of each value in the array. Example: Input: Sum of row 1: 6 Sum of row 2: 15 Sum of row 3: 24 Sum of column 1: 12 Sum of column 2: 15 Sum of column 3: 18 Value 1: 3 Value 2: 5 Value 3: 6 Output: Sum of Row 1 2 3 6 4 5 6 15 7 8 9 24 Sum of Column 12 15 18 Note: Your program will not necessary sort the walues in the array Thanks..

2011

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.

1592

How can we write an algorithm for show max and min from two integer inputs ? without using if() , without any functions ...

2514

I am attempting to work on a game panel with multi-server support, so in one of the pages there is a dropdown menu with servers on it, this is the part i am having issues with is server 1 is chosen i need access to the username running a script to server 1 chosen i need a script that will realize its been chosen and pop up below with a username thats associated with it because the users differ on each server so i choose server 1 i need a code to pull from the db and choose the user associated with the said server please help..

1661

how to find reverse of string without string funtion of java.

3544

How to swap two ASCII numbers?

1711

C program to print magic square of order n where n > 3 and n is odd

9796

Write a program to convert a decimal number to binary form?

4739

Find the maximum product of three numbers in an array? Eg. 9,5,1,2,3 Max product= 9*5*3= 135 The array can hav negative numbers also..

CTS,

18022

write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"

4310

What is the best way to make wordpress plugin

TCS,

2106

Un-Answered Questions { Code Snippets }

how to pass data between pages using Frames

1598

How to Check if File Exists?

397

Which keyword is alias for count keyword in php?

1087

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

1508

What are the disadvantages of XML?

8

how to pass data between pages using Cookies

1296

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.

1573

How to create Date method to set the date in Ms Access

1173

an on-line examination application using html jsp servlet and jdbc. including session management and cookies

3716

1+1/2!+1/3!+...+1/n!

1311

Which tag is used to find the version of XML and the syntax?

10

How can get all database name using Php and Sql?

1205

Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

2997

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.

1474

program for straight line(y=mx+c)

4855