Source: Campus Placement Tricks - Wipro, Questions and Answers with Explanations.
WIPRO Placement Paper Campus Placement Tricks
Question No : 1 If 15 pens costs Rs.9, then what will be the cost of 22pens?
A. 132
B. 133
C. 134
D. 135
Question No : 2 9 labourers can complete the construction of a wall in 18 days. How many less days will 12 labourers take to complete the same wall?
A. 2.5
B. 4.5
C. 13.5
D. 0.5
Explanation
Work done by a single person = 1/ ( 9* 18) = 1/ 162
Work done by 12 people = 12 / 162
Time taken to finish work = 162 / 12 = 13.5
Question No : 3 The rectangle box with square base is open at the top. The maximum volume of the box made from 1200 m2 tin, in m3 is:
A. 2000
B. 2500
C. 3000
D. 4000
Explanation
Let the length be x and the breadth be y. Now since it has a square base; x=y Now the surface area can be given as S= x^2+4xy (Area of square base + Area of Sides) And Volume can be given as V = x^2y ATQ, S=1200,so 1200=X2+4xy y=(1200-x2)/4x Now for V to be max V'=0 V'(x)=x2y Solving for x we get x=20 Now y=20m Hence volume is 20x20x10=4000 m3
Question No : 4 A person was fined for exceeding the speed limit by 10 km/hr. Another person was also fined for exceeding the same speed limit by twice the same. If the second person was travelling at a speed of 35km/hr, find the speed limit.
A. 19 km/hr
B. 27 km/hr
C. 30 km/hr
D. 15 km/hr
Explanation
1 person exceeded by 10. Another person twice 10 which is 20. Given he is going at 35 km/h. So speed limit is 35 - 20=15 km/hr
Question No : 5 The difference between the compound and simple interest on a certain sum for 2 years at the rate of 8% per annum is Rs.80, What is the sum?
A. 11,880
B. 12,500
C. 13,250
D. 14,270
Explanation
Since we know that SI and CI are same for first year. Difference is due to the SI of 1st year is treated as PRINCIPLE of 2nd year in CI. So 1st we calculate the amount which treated as P in CI P = 100*SI/R*T = 100*80/8*1 = 1000 This amount is also the SI for 1 year.
So SI = 1000 T = 1 Year R = 8% P = 100*1000/8*1 = 12500
Question No : 6 The ratio between two numbers is 5:7 and their product is 560. What is the difference between these two numbers?
A. 8
B. 12
C. 6
D. 21
Explanation
From the above information
x/y = 5/7
xy = 560
Solving the above equation we get the numbers as 20 and 28
Difference is 8
Question No : 7 In a family Reshma is elder sister of Ragini . Soni is Reshma's daughter and Saloni is Soni's cousin. Rgini's mother is Rajani. Ramani is the sister-inlaw of Reshma. Who is Soni's grandmother?
A. Reshma
B. Ragini
C. Rajani
D. Ramani
Explanation
Rajani
Question No : 8 The mean and the variance of a binomial distribution are 4 and 2 respectively. Then the probability of 2 successes is:
A. 37/256
B. 219/256
C. 128/256
D. 28/256
Explanation
.
Question No : 9 Take any positive whole number not greater than 50.If the number is even, divide it by 2.If the number is odd,multiply it by 3,and add 1 to the result. Apply the same method to the resulting numbers until you finally arrive at the number 1.shown below is the chain of numbers that results from this method if you begin with 15. 15->46->23->70->35->106->53->160->80->40->20->10->5->16->8->4->2->1 As you can see, the number 15 requires 17 steps to end up at 1.Of the numbers not greater than 50,which takes the longest to reach the number 1 ?
A. 26
B. 27
C. 28
D. 29
Explanation
27, which takes 111 steps
Question No : 10 After spending 2/3 of his salary on rent and food items and 1/4th of the remaining on transportation, Rajesh has 6000 with him. How much did he pay on transportation?
A. 2000
B. 4000
C. 6000
D. 1000
Explanation
Let x be the salary. Then if he spends (2/3)x on rent and food then the remaining salary is x/3, Out of which he spends 1/4 i.e(x/3)1/4 or x/12 on transportation...and the amount left thereafter is : ( x/3 ) - ( x/12 ) = x/4 Given..the amount left with Rajesh is : 6000 = x/4 => Salary of Rajesh 'x' is : 6000 * 4 = Rs.24,000 Amount spent on rent and food = 24000 * (2/3) = Rs.16,000
Remaining amount : 24000 - 16000 = Rs.8000 Amount spent on transportation : 8000 * (1/4) = Rs.2000 Remaining amount : 8000 - 2000 = Rs.6000,the amount left with Rajesh
So answer is : 2000
Question No : 11 E=I*I*R what is the effect of E when I becomes I/2
A. E
B. 1/2 E C. 1/4 E D. 1/8 E Explanation
E = I * I * R
Now if I = I / 2
Now E = I/2 * I/2 * R
Therefore E will decrease 4 times
Question No : 12 Out of 55 eggs 5 are defective. what is % of defective eggs
A. 7 1/11%
B. 9 1/11%
C. 10 1/11%
D. 8 1/11%
Explanation
(5/55)*100 = 9 1/
11
Question No : 13 Salary of a person is 's' per month,'x'% of salary is given as bonus, if 3 months salary is s1,s2 & s3 then what is his salary
A. s1*x
B. s1*x/1000
C. s1*x/100
D. None of the above
Explanation
s1*x/100 + s2*x/100 + s3*x/100
s1 = s2 = s3
Ans = s1*x/100
Question No : 14 Area of triangle=(1/2)*b*h base increased by 4 times & height is divided by 2, the net effect of area
A. twice the the original area
B. half the the original area
C. quarter of the original area
D. four times of the original area
Explanation
Just substitute the values..
Question No : 15 In base 10 representation for a rupee 100 paise,then base 8 representation what is rupee value
A. 142
B. 143
C. 144
D. 145
Explanation
Octal representation of decimal 100 is 144
100
10
= 144
8
Question No : 16 A>B,B>C,C=D,D>E,then which is greatest
A. A/B
B. A/C
C. A/E
D. none
Explanation
Easy way is to give a sample substitution. Answer is A/E
Question No : 17 To travel 'm' miles the time is 'h' hours,then what is the time taken to travel M miles.
A. M*h
B. M/h*m
C. M*h/m
D. None of the above
Explanation
M*h/m
Question No : 18 A sum 's' is divided into 4 parts. Second person gets Rs 10 more than first.3rd person is Rs 10 more than second, 4th is 10 more than 3rd. How much amount do 1st person get.
A. (s-60)/2
B. (s-60)/4
C. (s-60)
D. None of the above
Explanation
1st person gets Rs.(s-60)/4
Let us assume that 1st person gets Rs.x Then 2nd will get Rs.x+10 3rd will get Rs.x+20 4th will get Rs.x+30
Then the sum s=x+(x+10)+(x+20)+(x+30) => s=4x+60 => 4x=s-60 => x=(s-60)/4 Therefore 1st pesron will get (s-60)/4
Question No : 19 Fridge cost R Rs,cover value is 5,discount d% then its new cost
A. R-R*d/100- 5(1-d/100)
B. R/100- 5(1-d/100)
C. R-R*d/100- 5
D. None of the above
Explanation
R-R*d/100- 5(1-d/100)
Question No : 20 1/8 is divided by 's' , if 's' is increased by 2 times, what is the result
A. increases two times.
B. increases four times.
C. increases eight times.
D. increases sixteen times Explanation
Answer = 1/(8s/2)
= 1/4s
Increases two times
Question No : 21 a c b d f e g i __
A. h
B. p
C. r
D. s
Explanation
a c b d f e g i h
Question No : 22 x y z u v w r s t __
A. q
B. o
C. d
D. u
Explanation
Divide the series into letters of 3. One series starts with next letter of the last character in second series.
x y z u v w r s t o
Question No : 23 a c f j o __
A. u
B. v
C. w
D. x
Explanation
Difference between letter index position increases as 1, 2, 3, 4, 5...
Answer is u.
Question No : 24 31 - 29 - 2/33=__
A. 64/30
B. 64/33
C. 64/22
D. 64/31
Explanation
64/33
Question No : 25 Mr. Shah decided to walk down the escalator of a tube station. He found that if he walks down 26 steps, he requires 30 seconds to reach the bottom. However, if he steps down 34 stairs he would only require 18 seconds to get to the bottom. If the time is measured from the moment the top step begins to descend to the time he steps off the last step at the bottom, find out the height of the stair way in steps?
A. 46 steps
B. 47 steps
C. 48 steps
D. 49 steps
Explanation
In 12 sec(30-18) he walks down 8(34-26) steps. therefore, (8*30)/12 =20 steps. So,the total height of the stair way in steps=(26+20)=46 steps
Question No : 26 The average age of 10 members of a committee is the same as it was 4 years ago, because an old member has been replaced by a young member.Find how much younger is the new member ?
A. 39 years.
B. 40 years.
C. 41 years.
D. 42 years
Explanation
Let the members be Old Having age O + other 9 having ages x and New one having age Y Sum of their ages = (Y + 9 × x) and average = (Y + 9 × x)/10 Before 4 years sum was (O + 9 x – 10 × 4) and average = (O + 9 x – 10 × 4) /10 equating, Y + 9 x = O + 9x – 40 Y = O – 40 Younger is 40 years younger than Old one.
Question No : 27 ABCE is an isosceles trapezoid and ACDE is a rectangle. AB = 10 and EC = 20. What is the length of AE?
A. 8
B. 9
C. 10
D. 11
Explanation
From point A we draw the perpendicular segment AP to the basis EC. Then EP=(20-10)/2=5 From the rectangular triangle EAC (A=90) we have (AE)^2=(EP)(EC) (AE)^2=5*20 (AE)^2=100 (AE)=10
Question No : 28
Three containers A, B and C have volumes a, b, and c respectively; and container A is full of water while the other two are empty. If from container A water is poured into container B which becomes 1/3 full, and into container C which becomes 1/2 full, how much water is left in container A?
A. a - (b/3 + c/4)
B. a - (b/3 + c/2)
C. a - (b/2 + c/2)
D. None of the above
Explanation
a , we have to subtract
b/3 and c/2
so water left in container A
= a - (b/3 + c/2)
Question No : 29 PA and PB are tangents to the circle at A and B respectively and the chord BC is parallel to tangent PA. If AC = 6 cm, and length of the tangent AP is 9 cm, then what is the length of the chord BC?
A. 3
B. 4
C. 5
D. 6
Explanation
PA = PB = 9 cm ( Length of tangents from an external point)
Angle PAB = Angle ABC ( alternate angles PA !! BC)
AC = AB = 6 cm
Triangles PAB and ACB are Isoscelles and sre similar triangles
( They are equiangular)
Taking the ratios of respective sides
BC/AB = AC/PB
BC/6 = 6/9
BC = 4 cm
Question No : 30 Three cards are drawn at random from an ordinary pack of cards. Find the probability that they will consist of a king, a queen and an ace.
A. 64/2150
B. 68/2210
C. 64/2210
D. None of the above
Explanation
(12/52)*(8/51)*(4/50) = 64/2210
Question No : 31 A number of cats got together and decided to kill between them 999919 mice. Every cat killed an equal number of mice. Each cat killed more mice than there were cats. How many cats do you think there were ?
A. 991
B. 992
C. 993
D. 994
Explanation
Observing the num 999919 which is the total num of rats being eaten, we can write it as
(1000000-81) = (1000^2-9^2) = (1000+9)(1000-9) = (1009)(991)
So total num of rats killed =(1009)(991)
And given that each cat kills more num of rats than the total num of cats
Hence each cat kills 1009 num of rats
And there are 991 num of cats
Question No : 32
If Log2 x - 5 Log x + 6 = 0, then what would the value / values of x be?
A. e2 or e3
B. e2
C. e3
D. None of the above
Explanation
Log2 x means (log x)^2,
The answer can be found by making the substitution y = log x to give y^2 - 5y + 6 = 0, which gives the solutions y = 3 y = 2
ie., log x = 2 or log x = 3
ie., e2 or e3
Question No : 33 The square of a two digit number is divided by half the number. After 36 is added to the quotient, this sum is then divided by 2. The digits of the resulting number are the same as those in the original number, but they are in reverse order. The ten's place of the original number is equal to twice the difference between its digits. What is the number?
A. 43
B. 44
C. 45
D. 46
Explanation
Let the number be 10A + B = C now, (C^2/(C/2) + 36)/2= 10B + A or, (2C+36)/2 = 10B + A or C+18=10B+A or, 10A + B + 18 = 10 B + A or, 18=9(B-A), giving B-A=2 As per the question, A=twice the difference between A and B Hence A=2*2=4 B=2+4=6
The original number is 40 + 6 = 46.
Question No : 34 Can you tender a one rupee note in such a manner that there shall be total 50 coins but none of them would be 2 paise coins.?
A.
46 one paisa coins, 1 five paise coins, 2 ten paise coins, and 1 twenty five paise coins.
B.
45 one paisa coins, 2 five paise coins, 2 ten paise coins, and 1 twenty five paise coins.
C.
44 one paisa coins, 2 five paise coins, 3 ten paise coins, and 1 twenty five paise coins. D. None of the above Explanation
In descending order, using denominations of 1p,5p,10p,25p which are available.
Thus,
25p coins : 1 10p coins : 2 5p coins : 2 1p coins : 45
Question No : 35 6 people A,B,C,D,E and F sit around a table for dinner. Since A does not like C, he doesn't sit either opposite or beside C.B and F always like to sit opposite each other. If A is beside F then who is are the two neighbours of B?
A. D and C
B. E and C
C. D and E
D. Either (a) or (b)
Explanation
Organization is as given below
Question No : 36 If D is adjacent to F then who is adjacent to C?
A. E and B
B. D and A
C. D and B
D. either (a) or (c)
Explanation
either (a) or (c)
Question No : 37 Complete the sequence A, E ,I ,M ,Q ,U , _ , _
A. B, F
B. Y, C
C. G, I
D. K, O
Explanation
Y,C
After each character +3
Question No : 38 A person travels 6km towards west, then travels 5km towards north ,then finally travels 6km towards west. Where is he with respect to his starting position?
A. 13km east
B. 13km northeast
C. 13km northwest
D. 13km west
Explanation
C is the answer, 13 km northwest.
When he traveled first 6km, he will b in west.
Then aftr 5km ,he wil b in northwest.
Again he goes to west. So from the given answers, he wil b in north west position.
Question No : 39 If A speaks the truth 80% of the times, B speaks the truth 60% of the times. What is the probability that they tell the truth at the same time
A. 0.8
B. 0.48
C. 0.6
D. 0.14
Explanation
Probability of events happening together = Product of individual probabilities
= 0.8 * 0.6 = 0.48
Question No : 40 A person travels 12 km in the southward direction and then travels 5km to the right and then travels 15km toward the right and finally travels 5km towards the east, how far is he from his starting place?
A. 5.5 kms
B. 3 km
C. 13 km
D. 6.4 km
Explanation
Question No : 41 X's father's wife's father's granddaughter uncle will be related to X as
A. Son
B. Nephew
C. Uncle
D. Grandfather
Explanation
Uncle
Question No : 42 Find the next number in the series 1, 3 ,7 ,13 ,21 ,31
A. 43
B. 33
C. 41
D. 45
Explanation
k(n) = k(n-1) +2(n-1) with
k(1) =1 k(7) =k(6) +2(7-1) k(7) =31 +2*6 k(7) =31+12 k(7) =43
Question No : 43 If in a certain code "RANGE" is coded as 12345 and "RANDOM" is coded as 123678. Then the code for the word "MANGO" would be
A. 82357
B. 89343
C. 84629
D. 82347
Explanation
M-8 A-2 N-3 G-4 O-7 So for mango the code is 82347
Question No : 44 If "PROMPT" is coded as QSPLOS ,then "PLAYER" should be
A. QMBZFS
B. QWMFDW
C. QUREXM
D. URESTI
Explanation
QMBZFS
1st 3 letters are denoted by its next in the alphabet and the next 3 letters are denoted by its previous in the alphabets
Question No : 45 A monkey starts climbing up a tree 20ft. tall. Each hour, it hops 3ft. and slips back 2ft. How much time would it take the monkey to reach the top?
A. 17 hours
B. 18 hours
C. 19 hours
D. 20 hours
Explanation
The first hour, the monkey goes 3 feet up, and slips back 2 feet.
0.1..2..3..4..5..6 |---|---|---|---|---|---| ----------> ....<-----
(Imagine that's going up instead of horizontal.)
So the monkey is 3 ft - 2 ft = 1 ft high after one hour.
In the second hour, the monkey goes up 3 more feet, and slips back 2 feet. So he's at 1 ft + 3 ft - 2 ft = 2 ft.
Every hour, he gains 3 ft and loses 2 ft, for a total gain of 1 ft. So after the 17th hour, he's at 17 ft high.
Now, here's the twist: in the 18th hour, he climbs up 3 feet. Since 17 ft + 3 ft = 20 ft, he's at the top of the tree!
So, it takes him 18 hours.
Question No : 46 What is the missing number in this series? 8 2 14 6 11 _ 14 6 18 12
A. 7
B. 8
C. 9
D. 10
Explanation
The sum of the first and last number equal 20
The sum of the second and second-to-last number equal 20
The sum of the third and third-to-last number equal 20
So answer is 9
Question No : 47 A certain type of mixture is prepared by mixing brand A at Rs.9 a kg. with brand B at Rs.4 a kg. If the mixture is worth Rs.7 a kg., how many kgs. brand A are needed to make 40kgs. of the mixture?
A. 24kgs.
B. 25kgs.
C. 26kgs.
D. 27kgs
Explanation
A + B = 40.
And at Rs 7 a kg for 40 kg, you want a total of Rs.280.
So the second equation is 9A + 4B = 280
From the first equation: B = 40 - A and sub into the second equation:
9A + 4(40-A) = 280 9A + 160 - 4A = 280 5A = 120 A = 24.
Your answer, of course, is A = 24.
Question No : 48 A wizard named Nepo says "I am only three times my son's age. My father is 40 years more than twice my age. Together the three of us are a mere 1240 years old." How old is Nepo?
A. 360 years old.
B. 361 years old.
C. 362 years old.
D. 363 years old.
Explanation
Let the age of nepo be x years,age of his father is (40+2x),age of his son (x/3) (40+2x)+x+(x/3)=1240 Solving this equation we get the age of nepo i.e. (x) is 360 years old
Question No : 49 One dog tells the other that there are two dogs in front of me. The other one also shouts that he too had two behind him. How many are they?
A. 2
B. 3
C. 4
D. 5
Explanation
dog dog dog So there are 3 dogs
Question No : 50 A man ate 100 bananas in five days, each day eating 6 more than the previous day. How many bananas did he eat on the first day?
A. 7
B. 8
C. 9
D. 10
Explanation
Let the number of bananas in first day be x For consecutive five days it will be like x,x+6,x+12,x+18,x+24 The sum of those are 100, 5x+60=100 So,x = 8
Question No : 51 If it takes five minutes to boil one egg, how long will it take to boil four eggs?
A. 3 minutes.
B. 4 minutes.
C. 5 minutes.
D. 6 minutes.
Explanation
Five minutes if we keep the four eggs in the same bowl
Question No : 52 The minute hand of a clock overtakes the hour hand at intervals of 64 minutes of correct time. How much a day does the clock gain or lose?
A. 31 min and 434/11 sec
B. 32 min and 434/11 sec
C. 33 min and 434/11 sec
D. None of the above
Explanation
The minute hand overtakes hours hand 11 times in 12 hours Therefore the time taken by the minute to overtake = (12 * 60)/11= 65.4545 minutes In this clock the minute hand is taking 64 minutes to overtake Therefore in 12 hours it will overtake 720/64 = 11.25 times That means 0.25 times more in 12 hours or 0.5 times more in a day Hence, the clock gains = 0.5 times of the normal time ⇒ 65.4545 * 0.5 = 32.72 minutes or 360/11 minutes
Alternative explanation
Let x be distance traveled by hour hand Then distance traveled by minute hand = 1 + x
Time = Distance/Rate ⇒ x/(1/12) = (1 + x)/1 ⇒ x = (1/12)(1 + x) = 1/12 + x/12 ⇒ (11/12)x = 1/12 x = 1/11
Calculate time for minute hand to travel a distance 1 + x.
Time = Distance/Rate (1 + x)/1 = 1 + x = 1 + 1/11 = 12/11 hour
Actual time to overtake on clock is 64 minutes.
64 min = 64/60 hours = 16/15 hour
Correct Clock Speed/Actual Clock Speed (12/11) / (16/15) = 12*15 / (11*16) = 180/176 = 45/44
The clock gains: 45/44 - 1 = 1/44 day = 24/44 hour = 6/11 hour = 360/11 min = 32 min and 434/11 sec
Question No : 1 What will be the output of following program?
main()
{
int i=1;
for(;i<=32768;i++)
printf("%d",i);
}
A. 32767
B. infinite loop
C. 32768
D. None of the above
Explanation
After i reaches 32767, i++ will make i as -32768. Hence it will never become greater than 32768 and continuos infinitely.
Question No : 2 What will be the output?
main()
{
int a[]={1,3,5,7};
printf("%d",&a[3]-&a[1]);
}
A. 1
B. 2
C. 3
D. 4
Explanation
&a[i] = &a + i;
Hence, &a[3] - &a[1] = (&a + 3) - (&a + 1) = 2.
Question No : 3 What will be the output of following program?
{
int i=0;
switch(i)
{
case 0:
i++;
printf("%d..",i);
case 1:
printf("%d..",i);
case 1:
printf("%d..",i);
}
}
A. 1..1..0
B. 0..1..1
C. 1..1..1
D. None of These
Explanation
It will return error since same 'case' contant shouldn't be used in a switch.
Question No : 4 What will be the O/P?
main()
{
struct xyz {
int i;
};
struct xyz *p;
struct xyz a;
p=&a;
p->i=10;
printf("%d",(*p).i);
}
A. 0
B. 10
C. Garbage Value
D. Compile Time Error
Explanation
It's accessing the same memory location. Hence answer is 10.
Question No : 5 What is the storage required for the name "George"?
A. Six bits of storage
B. Six bytes of storage
C. Six pixels of storage
D. Six kilo bits
Explanation
It takes 1byte to store a character. So it takes 6bytes to store the 'George'
Question No : 6 What is the part of compiler that keeps track of names and their attributes?
A. Compile Table
B. Symbol Table
C. Table
D. Logical Table
Explanation
Symbol Table keeps track of names and their attributes.
Question No : 7 Which of the following operators cannot be overloaded in C++?
A. ?:
B. []
C. -
D. None of These
Explanation
Following operators can not be overloaded in C++
Operator Description
. Member Access or Dot operator
?: Ternary or Conditional Operator
:: Scope Resolution Operator
.* Pointer-to-member Operator
sizeof Object size Operator
typeid Object type Operator
Question No : 8 Which constructor is invalid for class cat?
A. void cat :: cat() { feet=4;}
B. cat::cat(int f){feet=f;}
C. cat::cat(void){feet=8;}
D. cat::cat(int f){this->feet=f;}
Explanation
Constructor should not have return type, not even void.
Question No : 9 Typical user defined signal handler functions perform actions such as
1. Abort process immediately without further ado 2. Perform minor house keeping prior to resumption 3. Roll back process state to last checkpoint 4. Tidy up to process abortion
A. 1 & 2
B. 2 & 4
C. 3
D. 4
Explanation
.
Question No : 10 What is the name given to the process initializing a microcomputer with its OS?
A. Cold Booting
B. Booting
C. Warm Booting
D. None of these
Explanation
.
Question No : 11 Desirable attributes for memory management include
A. Protection- such memory should be protected against being written on by other processes
B. Encryption- ability to encrypt data with a randomly selected key that is discarded after use without being disclosed so that data can never read again.
C. Uniform access rates-ability to retard faster data fetch rates so that all data fetches are uniformly performed at the least fast data fetch rate D. None of the above Explanation
.
Question No : 12 Major expressions used with find command to select file is it has been accessed in more than 365 days,is
A. -atime +365
B. -mtime +365
C. -atime -365
D. -mtime -365 Explanation
Question No : 13 Which of the following is not a basic computer network topology?
A. Train topology
B. Bus topology
C. Star topology
D. Ring topology
Explanation
.
Question No : 14 which file contains all permanent information and is updated during processing by transactions of data?
A. Master File
B. Local File
C. Parent File
D. Primary File
Explanation
.
Question No : 15 Which set option is used with vi editor to display line numbers on screen?
A. nm
B. nu
C. ic
D. li
Explanation
.
Question No : 16 Assuming you have the environment variable ENV=.kshrc set, what is the entry in ur .kshrc or .profile that will save up to ur last 200 commands in a history list?
A. HISTSIZE=200
B. set history 200
C. HISTORY=200
D. setenv history 200
Explanation
.
Question No : 17 You have 1MB of memory left on the HDD and when booting the system crashes. What is the reason?
A. Not enough synchronous buffer
B. Not enough contiguous memory in virtual memory
C. Not enough space on the hard drive for the swap file.
D. Not enough space on the hard drive for working memory. Explanation
.
Question No : 18 How do I remove a file with the name '-something' ?
A. use the '--' flag to rm
B. Use '##' flag to rm
C. Use the '-' flag to rm
D. Use the '!' flag to rm.
Explanation
.
Question No : 19 The customer is an internet search engine with hits from global customers exceeding 10 million per day. You identify Knowledge Management as the driving business issue. Which feature is most imp to this customer solution?
A. Single system image
B. Speed and performance
C. Very large memory, very large database
D. H/W Partitioning Explanation
.
Question No : 20 Unlike function templates, when instantiating a class template, you must explicitly instantiate the class by giving?
A. The parameters for the class templates
B. The arguments for the class templates
C. The variables for the class templates
D. None
Question No : 1 In private inheritance derived class members can access base class members that are
1) Public 2) Private 3) Protected
A. 1 & 2
B. 1 & 3
C. 2 & 3
D. 1,2 & 3
Explanation
Only public and protected members will be accessible by children
Question No : 2 The output of an OR Gate is LOW when
A. All inputs are LOW
B. Any Input is LOW
C. Any input is high
D. All inputs are HIGH
Explanation
.
Question No : 3 What will be the O/P?
main()
{
int i=3,a=4,n;
float t=4.2;
n = a*a / i + i / 2 * t + 2 + t;
printf("%d",n);
}
A. 14
B. 15.4
C. 15
D. None of these
Explanation
Since n is integer, it will print 15
Question No : 4 What will be the O/P?
main()
{
int i=0;
switch(i){
case 0 : printf("%d",i);break;
case 1 : printf("%d",i);break;
}
}
A. Compile-time error
B. 0
C. 1
D. Run-time error
Explanation
Normal switch case
Question No : 5 What will be the O/P?
main()
{
int q=2,d=3,st;
st=q*d/4-12/12+12/3*16/d;
printf("st=%d",st);
}
A. 21
B. 21,0
C. 21.2
D. None of these
Explanation
Since st is integerm it will print 21
Question No : 6 what is the electronic signal that cause computer to stop current program?
A. signal
B. interrupt
C. shell
D. command
Explanation
.
Question No : 7 which is the language for transformational programming?
A. APP
B. KIMWITU
C. MEMPHIS
D. TXL
Explanation
.
Question No : 8 Which two entities(reading from left to right) are connected by the dot operator(or class member access operator)?
A. A class member and a class object
B. A class object and a class
C. A class and a member of that class
D. A class object and a member of that class
Explanation
.
Question No : 9 What is the cycle speed for high-end business PCs,servers, and workstations?
A. 75-200 MHz
B. 166-233MHz
C. 233-450MHz
D. over 1 Ghz
Explanation
.
Question No : 10 The working set hypothesis in paging schemes for memory management is the hypothesis that
A. the proportion of a process`s virtual memory that is supported by physical memory should reflect tha proportion of its virtual memory that it referaces frequently
B. if the memory management system can provide a process with enough memory to hold all the pages in its working set, then it will experience a low fault rate
C. A process will experience a zero fault rate if all the pages it will reference are brought into memory before it references them D. none of these Explanation
.
Question No : 11 Return address will be returned by function to
A. Pushes to the stack by call
B. Pushes to the stack after call
C. None of the above
D. Both (a) and (b) Explanation
.
Question No : 12
if (A > B)
F=F(G);
else if (B > C)
F=G(G);
In this , for 75% times A > B and 25% times B > C then, if 10000 instructions are there, what will be the ratio of F to G?
Allthebest Nareddula Rajeev Reddy (NRR) For more... www.matterhere.com
A. 7500:2500
B. 7500:625
C. 7500:625
D. None of the above
Explanation
.
Question No : 13 In a compiler there is 36 bit for a word and to store a character 8bits are needed. IN this to store a character two words are appended .Then for storing a K characters string, How many words are needed.
A. 2k/9
B. (2k+8)/9
C. (k+8)/9
D. 2*(k+8)/9
Explanation
.
Question No : 14
int zap(int n)
{
if(n<=1)
return 1;
else
return zap(n-3) + zap(n-1);
}
The call zap(6) gives the result as?
A. 8
B. 9
C. 6
D. 12
Explanation
.
Question No : 15
Virtual memory size depends on
A. address lines
B. data bus
C. disc space
D. a & c
Explanation
.
Question No : 16 Critical section is
A. statements which are not accessing shared resourses
B. statements which are accessing shared resourses
C. part of code where exception can be thrown
D. None of the above Explanation
.
Question No : 17 load a mul a store t1 load b mul b store t2 mul t2 add t1 Then the content in accumulator is
A. a**2+b**4
B. a**2-b**4
C. b**2-a**4
D. None of the above
Explanation
.
Question No : 18 Convert the infix to postfix for A-(B+C)*(D/E)
A. ABC+DE/*-
B. ABC-DE/*-
C. ABC-DE*/-
D. None of the above
Explanation
.
Question No : 19 Assignment operator targets to
A. L-value
B. H-value
C. None of the above
D. Both (a) and (b)
Question No : 1 A byte addressable computer has memory capacity of 2 power m Kbytes and can perform 2 power n operations an instruction involving three operands and one operator needs maximum of ---bits
A. 3m + n
B. 2m + n
C. 5m + n
D. None of the above
Explanation
.
Question No : 2 In round robin scheduling, if time quantum is too large then it degenerates to
A. ECFS
B. FCFS
C. GCFS
D. None of the above
Explanation
.
Question No : 3 A sorting algorithm which can prove to be a best time algorithm in one case and a worst time algorithm in worst case i
A. Quick Sort
B. Heap Sort
C. Merge Sort
D. Insert Sort
Explanation
.
Question No : 4 What details should never be found in the top level of a top-down design?
A. Details
B. Coding
C. Decisions
D. None of the above
Explanation
.
Question No : 5 In an absolute loading scheme, which loader function is accomplished by assembler
A. Reallocation
B. Allocation
C. Linking
D. Both (a) and (b)
Explanation
.
Question No : 6 Banker's algorithm for resource allocation deals with
A. Deadlock prevention
B. Deadlock avoidance
C. Deadlock recovery
D. None of the above
Explanation
.
Question No : 7 Thrashing can be avoided if
A. The pages, belonging to the working set of the programs, are in main memory
B. The speed of CPU is increased
C. The speed of I/O processor are increased
D. All of the above
Explanation
.
Question No : 8 Which of the following communications lines is best suited to interactive processing applications?
A. Narrowband channels and band channels
B. Simplex channels
C. Full-duplex channels
D. Mixed
Explanation
.
Question No : 9 A feasibility document should contain all of the following except
A. Project name
B. Problem descriptions
C. Feasible alternative
D. Data flow diagrams
Explanation
.
Question No : 10 What is the main function of a data link content monitor?
A. To detect problems in protocols
B. To determine the type of transmission used in a data link
C. To determine the type of switching used in a data link
D. To determine the flow of data
Explanation
.
Question No : 11 Which of the following is a broadband communications channel?
A. Coaxial cable
B. Fiber optic cable
C. Microwave circuits
D. All of the above
Explanation
.
Question No : 12 Which of the following memories has the shortest access time?
A. Cache memory
B. Magnetic bubble memory
C. Magnetic core memory
D. RAM
Explanation
.
Question No : 13 A shift register can be used for
A. Parallel to serial conversion
B. Serial to parallel conversion
C. Digital delay line
D. All the above
Explanation
.
Question No : 14 In which of the following page replacement policies, Balady's anomaly occurs?
A. FIFO
B. LRU
C. LFU
D. NRU
Explanation
.
Question No : 15 Subschema can be used to
A. Create very different, personalised views of the same data
B. Present information in different formats
C. Hide sensitive information by omitting fields from the sub-schema's description
D. All of the above
Explanation
.
Question No : 16 The format specifier "-%d" is used for which purpose in C
A. Left justifying a string
B. Right justifying a string
C. Removing a string from the console
D. Used for the scope specification of a char[] variable
Explanation
.
Question No : 17 Virtual functions allow you to
A. Create an array of type pointer-to-base-class that can hold pointers to derived
B. Create functions that have no body
C. Group objects of different classes so they can all be accessed by the same function
D. Use the same function call to execute member functions of different objects Explanation
.
Question No : 18 If the time quantum is too large, Round Robin scheduling degenerates to
A. Shortest Job First Scheduling
B. Multilevel Queue Scheduling
C. FCFS
D. None of the above
Explanation
.
Question No : 19
What will be the O/P?
int i;
i = 1;
i = i + 2 * i++;
printf(%d,i);
A. 2
B. 3
C. 4
D. 5
Explanation
.
Question No : 20 What will be the O/P?
main()
{
FILE *fp1,*fp2;
fp1=fopen("one","w")
fp2=fopen("one","w")
fputc('A',fp1)
fputc('B',fp2)
fclose(fsssp1)
fclose(fp2)
}
A. Compilation error
B. No error. But It will over writes on same file.
C. Contents will appended to the file
D. Runtime error