# Valuelabs Sample test paper 2015-2016

Posted on :29-02-2016
Q1) A husband, wife and child can do a peace of work in 6 days. Wife alone can do the work in 16 days, child alone can do the work in 24 days then husband alone can do the work in how many days?

Q2) If \$ means three times and % means negative then what is the value of \$%\$6-%\$%6?

Q3) There are two poles of equal height 15mts. One cable with length 16mts is hanging between that two poles. The height from center of the cable to earth is 7mts then what is the distance between that two poles?

Q4) Two trains 200 miles apart are traveling toward each other along the same track. Two trains have the same speed 100MPH. A bee is hovering just above the nose of the first train. It buzzes from the first train to the second train, turns around immediately, flies back to the first train, and turns around again. It goes on flying back and forth between the two trains until they collide. If the bees speed is twice the speed of two trains, how far will it travel?

Q5) One person went for shopping spent 1/3rd of the amount to buy cloths and 1/4th of remaining amount to buy shoes and 1/5th of remaining amount on food. After all, he left with Rs.100/-. How much amount he had initially?

Q6) In a Bus there are 7 people. Each one carry 7 bags. Each bag contains 7 cats. Each cat carry 7 small cats. How many legs are there in the bus?

Q7) A bus run at 100 km/hr top speed. It can carry a maximum of 6 persons. If speed of bus decreases in fixed proportion with increase in number of person, find speed when three person are traveling in bus?

Q8) Tanya is older than Eric.
Cliff is older than Tanya.
Eric is older than Cliff.

If the first two statements are true, the third statement is

A) true
B) false
C) Uncertain.

Q9) Three people picked 65 apples altogether. At the first tree they have picked the same number of apples. At the second tree they each picked 3 times as many as they picked at the first tree. When they finished at the third tree, the group had 5 times as many apples as they had when they started at that tree. At the fourth tree the group picked just 5 apples. How many apples did each person pick at the first tree?

Q10) Is there any difference between array and & array where array is the name of an array of 10 integers. Explain?

Q11) What are the uses of bit fields in structures?

Q12)  Is it necessary to have same size for all members in an union. Explain?

Q13) How structure passing is done by the compiler.

Q14) NULL macro was defined in which header file?

Q15) What is the output of following program?

main()
{
float a=1.1;
dauble b=1.2;
if(a==b)
printf("DAUBLE");
else
printf("SINGLE");
}

Q16) While we pass an array to a function, what will be passed?

A) The base address of the array.
B) First element of the array.
C) Last element of the array.
D) size of the array.

Q17) Among the following what are the preprocessor directives (This requires one option or more than one option)

A) #if
B) #ifndef
C) #elif
D) #endif
E) #pragma
F) all.

Q18) It is better to use which of the following commands to pass a string of characters.

A) scanf
B)gets()

Q19)

main()
{
char *p="ValueLabs";
char p[]="ValueLabs";
}

A) Both are same.
B) It is necessary to put a value in the square brackets.
C) We can be able to alter any of the value of *p.
D) It requires at the end of each string.

Q20) How many number of characters are available including the space between two words?

A) 128
B) 256
C) 64
D) 512
E) 30

FreshersLive - No.1 Job site in India. Here you can find latest 2018 government as well as private job recruitment notifications for different posts vacancies in India. Get top company jobs for both fresher and experienced. Job Seekers can get useful interview tips, resume services & interview Question and answer. Practice online test free which is helpful for interview preparation. Register with us to get latest employment news/rojgar samachar notifications. Also get latest free govt and other sarkari naukri job alerts daily through E-mail.

 ✖