Programming Code Interview Questions
Questions Answers Views Company eMail

write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used

Jomo Kenyatta University,

4307

write a program that calculate the volume of cylinder after user enters radius and height and show the algorithm used

Jomo Kenyatta University,

1 9676

write a program to calculate the radius for a quadratic equation use modular programming(function abitraction)hint use quadratic function

ICAN, Jomo Kenyatta University,

1 3918

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

Jomo Kenyatta University,

2441

write a program to calculate the amount of investment after a period n years if the principal investors was p and interest is calculated using compound interest,formular=a=p(1+r)^n

Jomo Kenyatta University,

2366

program for check the given number is prime or not in VB.net

2696

solve the problem in the programming language C++"if a five digit number is input through the keyboard.Write a program to calculate the sum of its digits(hint: use the modulus operator)

2934

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

2600

code inside filter to restrict users to access a servlet component .

NIIT,

1 3493

does anyone know the code to display a triangle using a applet?

1 3750

which function is used to clear the buffer stream on gcc? for example: I wrote following code on gcc #include int main(void) { char ch; int a,b; printf("\nenter two numbers:\t"); scanf("%d%d",&a,&b); printf("enter number is %d and %d",a,b); printf("\nentercharacter:\t"); scanf("%c",&ch); printf("enter character is %c",ch); return 0; } in above progarm ch could not be scan. why?plz tell me solution.

2 5381

what is oop?

3 5281

Using C# Write a program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine which number (or numbers) is missing or duplicated in the series, if any. For example, if the user entered 5 as the initial number and then entered the following sequences, the results should be as shown. Input Sequence Output ---------------------- --------------- 1 2 3 4 5 Nothing bad However, if 7 were the high number, the user would see the results on the right for the following number entries: Input Sequence Output ---------------------- --------------- 1 3 2 4 5 Missing 6 Missing 7 And if 10 were the high number and the user entered the numbers shown on the left, note the list of missing and duplicate numbers: Input Sequence Output ---------------------- --------------- 1 2 4 7 4 4 5 10 8 2 6 Duplicate 2 ( 2 times) Missing 3 Duplicate 4 ( 3 times ) Missing 9 The program should check the high number that the user inputs to ensure that it does not exceed the size of any array you might be using for storage.

3707

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

2258

respected sir, i did my MCA in 2013 when i am going to attend to an interview i was asked about my project how will i explain my project could please help me in this and my project title is "Social Networking Site For Social Responsibility"

Genpact, Ozdocs,

1 4347


Un-Answered Questions { Programming Code }

What is the functionality of GetDesktopWindow?

573


write a program in java to find the moving average of all prime numbers between 2 and 100.

3590


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

2809


hai, i want to know how the connectionpool manager work in the java or netbeans.Anybody having the exact code plz give to me i have no idea about that so help me plz

2601


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

2413






create a stucture student containing field for roll no,class,year and marks.create 10 student annd store them in a file

2220


What is the functionality of GetWindow?

581


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,

1736


c# code to Count number of 1's in a given range of integer (0 to n)

4301


Please give me the vb.net codes for deadlock(like detecting,& avoiding) in any version of vb.net.

3169


write a program to input a natural number less than and display it in words.test your program on the sample data and some random data sample input= 29 sample output= Twenty nine sample input=17001 sample output= out of range sample input=119 sample output =one hundred and nineteen sample input=500 sample output=five hundred

3464


Code for Using Keyboard Events?

2136


How to get Filename from Path?

528


How to find the list of users who have two codes su01 and pfcg? thank in advance all.

1695


Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }

1772