Mock Test 02
Mock Test 02
Mock Test 02
Answers
1. it is found along with many other problems
2. it is caused by many other problems
**3. it gives rise to many other problems
4. it is buried under many other problems
===============================================================================
Answers
1. the fact that the population has been controlled
2. our good luck
3. good rainfall
**4. our economic planning
===============================================================================
Answers
1. is likely to remain the same
**2. is likely to become less satisfactory
3. is likely to improve
4. is likely to vary up and down
===============================================================================
Answers
**1. is less than satisfactory
2. is quite satisfactory
3. is improving rapidly
4. is the result of total neglect
===============================================================================
Answers
**1. more provision for cloth than accommodation
2. more provision for accommodation than cloth
3. abundance of cloth and accommodation
4. scarcity of cloth and accommodation
===============================================================================
Answers
**1. Firm
2. Fickle
3. Indefinite
4. Defiant
===============================================================================
Answers
**1. Avoided
2. Enriched
3. Faced
4. Overcome
===============================================================================
Answers
1. Prompt
2. Victorious
3. Acquire
**4. Following
===============================================================================
Answers
1. At rest
2. At work
**3. At his disposal
4. At their desks
===============================================================================
10. Substitute one word that relates most closely to given meaning-
Answers
1. Regular
**2. Transitory
3. Rotatory
4. Repository
===============================================================================
11. Select the one which best expresses the given sentence in Passive/Active
voice-
Answers
**1. Grass is not eaten by a lion, however hungry he may be.
2. Grass is not being eaten by a lion, however hungry he may be.
3. Grass is eaten not by a lion, however hungry he may be.
4. Grass is being not eaten by a lion, however hungry he may be.
===============================================================================
12. Choose the option which is grammatically correct for the part of sentence in
double quotes -
Answers
**1. "Where did you go yesterday?"
2. "Where you had gone yesterday?"
3. "Where you did go yesterday?"
4. No improvement
===============================================================================
Answers
1. The Company aims
2. to nearly double
3. its revenues on the back
**4. of a strongest product pipeline.
5. No error
===============================================================================
Answers
1. PQRS
**2. QPRS
3. RSPQ
4. QRSP
===============================================================================
Who was ____ first woman to win ____ Nobel Prize for literature?
Answers
1. a / an
2. the / a
3. a / the
**4. the / the
===============================================================================
Answers
**1. by / with
2. with / by
3. with / with
4. by / by
===============================================================================
Answers
1. principally
**2. in principle
3. in principal
4. in spirit and form
===============================================================================
Finding himself short _____ money, he wrote ____ his uncle ____ help.
Answers
1. to / for / with
2. to / to / about
**3. of / to / for
4. in / to / to
===============================================================================
Answers
1. while
**2. when
3. what
4. whoever
===============================================================================
20. The option which is a SYNONYM for the given word: DEVOTION
Answers
1. affection
2. allegiance
3. accuracy
**4. adherence
===============================================================================
21. Four Iron metal rods of lengths 78 cm, 104 cm, 117 cm and 169 cm are to be
cut into parts of equal length. Each part must be as long as possible. What is
the maximum number of pieces that can be cut?
Answers
1. 27
**2. 36
3. 43
4. 400
===============================================================================
Answers
1. 800
**2. 700
3. 1600
4. 2000
===============================================================================
23. A truck covers a distance of 376 km at a certain speed in 8 hours. How much
time would a car take at an average speed which is 18 kmph more than that of the
speed of the truck to cover a distance which is 14 km more than that travelled
by the truck ?
Answers
**1. 6 hours
2. 8 hours
3. 4 hours
4. 5 hours
===============================================================================
Answers
1. Wednesday
**2. Saturday
3. Tuesday
4. Thursday
===============================================================================
25. Ten years ago, the sum of ages of a father and his son was 34 years. If the
ratio of present ages of the father and son is 7:2, find the present age of the
son.
Answers
**1. 12 years
2. 11 years
3. 10 years
4. 8 years
===============================================================================
Answers
**1. 17! 3!
2. 18! 3!
3. 17! 4!
4. 18! 4!
===============================================================================
Answers
**1. Rs. 8000
2. Rs. 9500
3. Rs. 8600
4. Rs. 9200
===============================================================================
28. In a mixture of milk and water of volume 30 litres, the ratio of milk and
water is 7 : 3. How much quantity of water is to be added to the mixture to make
the ratio of milk and water 1 : 2?
Answers
1. 30 liters
2. 32 liters
**3. 33 liters
4. 35 liters
===============================================================================
29. An alloy contains14 parts of tin and 100 parts of copper. What is the
percentage of tin in the alloy ?
Answers
**1. 12.3%
2. 13%
3. 11.5%
4. 11%
===============================================================================
30. Ramesh borrowed Rs. 3600 at a certain rate of interest C.I. and the sum
grows to Rs. 4624 in 2 years. What is the rate of interest?
Answers
1. 12.3%
**2. 13.3%
3. 14.3%
4. 15.3%
===============================================================================
31. The first republic day of India was celebrated on January 26, 1950. What day
of the week was it?
Answers
1. Wednesday
2. Friday
**3. Thursday
4. Tuesday
===============================================================================
32. A shopkeeper sold some articles at Rs.35 per article and earned a profit of
40%. At what price each article should have been sold so that 60% profit was
earned?
Answers
**1. 40
2. 25
3. 34
4. 60
===============================================================================
33. A train is moving at a speed of 132 km/hour. If the length of the train is
110 meters, how long will it take to cross a railway platform 165 meters long.
Answers
1. 7 second
**2. 7.5 second
3. 8 second
4. 8.5 second
===============================================================================
34. A vendor sells 50 percent of apples he had and throws away 20 percent of the
remainder. Next day he sells 60 percent of the remainder and throws away the
rest. What percent of his apples does the vendor throw?
Answers
**1. 26%
2. 23%
3. 25%
4. 27%
===============================================================================
35. The age of a man 10 years ago was thrice the age of his son. 10 years hence,
the man's age will be twice the age of his son. The ratio of their present ages
is = ?
Answers
1. 5 : 2
**2. 7 : 3
3. 9 : 2
4. 13 : 4
===============================================================================
36. Kiyan and Vicky start from a fixed point. Kiyan moves 4 km to the South,
then turns left and moves 3 km. Vicky moves 3 km towards West, then turns right
and moves 4 km further. How far apart are they now?
Answers
1. 7 km
2. 13 km
**3. 10 km
4. 14 km
===============================================================================
37. Statements
No fruits is a vegetables
All potatoes are vegetables
Some fruits are apples.
Conclusions:
I. No fruit is a potato.
II. At least some apples are fruits.
Answers
**1. Both I and II follow
2. Either I or II follow
3. Only II follows
4. Neither I nor II follows
5. Only I follows
===============================================================================
38. Sam walked 20 m towards the north. Then she turned right and walks 30 m.
Then she turns right and walks 35 m. Then she turns left and walks 15 m. Finally
she turns left and walks 15 m. In which direction and how many meters is she
from the starting position?
Answers
1. 15 m West
2. 30 m East
3. 30 m West
**4. 45 m East
===============================================================================
39. If eraser is called box, box is called pencil, pencil is called sharpener
and sharpener is called bag, what do we write with ?
Answers
1. Eraser
2. Box
3. Pencil
**4. Sharpener
5. Bag
===============================================================================
Answers
**1. P
2. O
3. N
4. R
===============================================================================
Answers
1. Wheat
2. Barley
**3. Rice
4. Chickpea
5. Mustard
===============================================================================
Answers
1. Sculptor
**2. Cobbler
3. Chef
4. Mason
===============================================================================
Answers
**1. P is the uncle of Q
2. P is the father of Q
3. P is the brother-in-law of Q
4. P is the grandfather of Q
===============================================================================
Answers
1. G
**2. F
3. H
4. A
5. C
===============================================================================
Traffic : Road ::
Answers
1. Aeroplane : Aerodrome
2. Roots : Tree
**3. Blood : Veins
4. Car : Garage
===============================================================================
46. In a certain code language, if Pen means Eraser, Eraser means Book, Book
means Scale, Scale means Sharpener, Sharpener means Duster and Duster means
Table, then what is the name of the object that is used to clean the black board
in that language ?
Answers
1. Duster
**2. Sharpner
3. Scale
4. Table
5. Book
===============================================================================
1, 3, 4, 8, 15, 27,_
Answers
1. 37
2. 44
**3. 50
4. 55
===============================================================================
Answers
1. If the data in statement I alone are sufficient.
**2. If the data in statement II alone are sufficient.
3. If the data either in statement I alone or in statement II alone are
sufficient.
4. If the data given in both the statements I and II together are not
sufficient.
5. If the data in both the statements I and II together are necessary.
===============================================================================
Which of the following represents the pairs of persons sitting exactly in the
middle of the line?
Answers
1. XB
2. ZB
3. BX
**4. XC
5. XY
===============================================================================
Answers
1. MFMXZMV
**2. NFMWZMV
3. NFMWZMX
4. VMZWMFN
5. None of these
===============================================================================
51. #include<stdio.h>
int main(void)
{
int a = 0;
for (a = 0; a<10; a++)
{
switch(a++)
{
case 0:a += 5;
case 1:a += 2;
case 5:a += 5;
default: a += 4;
break;
}
printf("%5d", a);
}
printf("\n");
return 0;
}
Answers
1. 16 21
**2. 17
3. 16
4. Error
===============================================================================
Answers
**1. 0
2. 1
3. -1
4. Any integer value randomly
===============================================================================
Answers
**1. 15
2. 13
3. 12
4. Error
===============================================================================
int main()
{
float farr[] = {1.1,2.2,3.3,4.4,5.5};
float *fp = farr+4;
int x ;
printf("%.2f",fp[-(x=sizeof(5.5)-6)]);
return 0;
}
Answers
1. Garbage
2. 4.40
**3. 3.30
4. Compile Time Error
===============================================================================
Answers
1. 1
**2. 4
3. 30
4. 48
===============================================================================
int main()
{
typedef enum {O1=2 >= 5 != 4 ,O2= !(2 < 5 != 4)} OPR;
OPR choice=0;
do
{
switch(choice)
{
case O1:
--choice;
printf("%2d",choice); break;
case O2:
printf("%2d",choice); break;
}
break;
} while (++choice);
return 0;
}
Answers
1. Compile Time Error
2. 1 0
**3. 0
4. 1
===============================================================================
int main()
{
int *p = &a;
p = &b;
fun(p);
printf("a = %d, b = %d\n",a,b);
return 0;
}
Answers
1. a = 23, b = 36
2. a = 46, b = 72
**3. a = 23, b = 72
4. Compile time error
===============================================================================
Answers
1. 0 -5
**2. 4 5
3. 5 5
4. 4 4
===============================================================================
#include<stdio.h>
typedef struct employee
{
int id;
char dept[10];
struct employee *emplist;
}EMP;
int main()
{
EMP e1={101,"ADMN",NULL};
EMP e2={102,"MRKT",NULL};
EMP e3={103,"TCT",NULL};
EMP e4={104,"SAN",NULL};
e1.emplist = &e2 ;
e2.emplist = &e3;
e3.emplist = &e4;
printf("%d",e1.emplist->emplist->emplist->id);
return 0;
}
Answers
1. 101
2. 102
3. NULL
**4. 104
===============================================================================
int main()
{
int d;
d = printf("Sunbeam") == printf("\rSunBeam") ;
printf("%2d",d);
return 0;
}
Answers
1. Sunbeam 1
2. Sunbeam 0
**3. SunBeam 0
4. Sunbeam SunBeam 0
===============================================================================
Answers
1. FILE is a keyword in C for representing files and fp is a variable of FILE
type
**2. FILE is structure and fp is poninter to that structure of FILE type
3. FILE is stream
4. None of the above
===============================================================================
Answers
1. na k
2. na
3. a k
**4. nna
===============================================================================
Answers
1. 10
2. 3416378592
**3. 3416378588
4. Compile time Error
===============================================================================
#include<stdio.h>
int main()
{
FILE *fp = fopen("abc.txt","w+");
int a,b,c;
fprintf(fp,"%d %d %d",10,20,30);
rewind(fp);
printf("%d",fscanf(fp,"%d %d %d",&a,&b,&c));
fclose(fp);
return 0;
}
Answers
1. 10 20 30
**2. 3
3. 1
4. -1
===============================================================================
Answers
1. 0
**2. 1
3. 12
4. 25
===============================================================================
66. Complete graph contains _____ no. of edges, if it contains "V" no. of
vertices.
Answers
1. (V*(V+1))/2
**2. (V*(V-1))/2
3. V
4. (V-1)
===============================================================================
67. A data structure where elements can be added or removed at either end but
not in the middle
Answers
1. Linked lists
2. Stacks
3. Queues
**4. Deque
===============================================================================
Answers
1. merge sort
2. tree sort
3. shell sort
**4. partition and exchange sort
===============================================================================
69. The no of external nodes in a full binary tree with n internal nodes is?
Answers
1. n
**2. n+1
3. 2n
4. 2n + 1
===============================================================================
70. Which type of traversal of binary search tree outputs the value in sorted
order?
Answers
1. Pre-order
2. Post-order
**3. In-order
4. none of above
===============================================================================
71. What data structure would you mostly likely see in a non recursive
implementation of a recursive algorithm?
Answers
1. LinkList
**2. Stack
3. Queue
4. Tree
===============================================================================
Answers
1. Pivot is the middle most element of an array and this happens when input
array is sorted or reverse sorted
2. Pivot is the left most element and this happens when input array is sorted or
reverse sorted
3. Pivot is the right most element and This happens when input array is sorted
or reverse sorted
**4. both B and C
===============================================================================
Answers
1. in the header of the friend function outside the class
**2. inside the class declaration to which it is a friend
3. as a separate declaration inside main()
4. anywhere prior to the function invocation
===============================================================================
===============================================================================
#include<iostream>
using namespace std;
class C1 {
public:
void print() { cout <<"\n Inside C1"; }
};
class C2 : public C1 {
public:
void print() { cout <<"\n Inside C2"; }
};
class C3: public C2 { };
int main(void)
{
C3 c;
c.print();
return 0;
}
Answers
1. Inside C1
**2. Inside C2
3. Inside C1 Inside C2
4. Inside C2 Inside C1
===============================================================================
Answers
1. Accessor
**2. Access specifiers
3. Public
4. Templates
===============================================================================
Answers
1. Unknown class
**2. Anonymous class
3. Empty class
4. Exception class
===============================================================================
Answers
1. const
2. empty
**3. static
4. virtual
===============================================================================
Answers
**1. One or more pure virtual member functions
2. One or more child classes
3. One or more static functions
4. One or more virtual member functions
===============================================================================
Answers
1. Only one form
2. Hiding data
**3. Many forms
4. Concrete forms
===============================================================================
81. If a base class is inherited in protected mode then which one of following
is true?
Answers
**1. Public and Protected members of base class becomes protected members of
derived class
2. Only protected members become protected members of derived class
3. Private, Protected and Public all members of base, become private of derived
class
4. Only private members of base, become private of derived class
===============================================================================
Answers
1. 16 bits
**2. 32 bits
3. 48 bits
4. 64 bits
===============================================================================
Answers
**1. Into the Main memory
2. Onto the Motherboard
3. Onto the System Bus
4. Into the External disk drive
===============================================================================
84. A _____ is a device that forwards packets between networks by processing the
routing information included in the packet.
Answers
**1. Bridge
2. Router
3. Firewall
4. All of the mentioned
===============================================================================
Answers
**1. File Transfer Protocol
2. Finding Tele Path
3. Finish Tele Program
4. File Transfer Process
===============================================================================
86. Which of the following components is not a part of the Modern CPU's?
Answers
1. CPU Registers
2. Cache Memory
**3. Main Memory
4. None of the above
===============================================================================
Answers
1. To reduce speed mismatch between the CPU and Hard Disk Drive
**2. To reduce speed mismatch between the CPU and Main memory
3. For execution of a programs
4. For permanent storage
===============================================================================
88. Arrangement of computer network nodes and connection between them is called
Answers
**1. Network Topology
2. Network Layout
3. both A and B
4. Network Link
===============================================================================
Answers
1. Standard Computer Systems Interface
**2. Small Computer Systems Interface
3. Super Computer Systems Interface
4. Small Computer Standard Interface
===============================================================================
Answers
**1. Protocols
2. Standards
3. RFCs
4. None of the mentioned
===============================================================================
91. What is the term for a temporary storage area that compensates for
differences in data rate and data flow between devices?
Answers
**1. Buffer
2. Bus
3. Channel
4. Modem
===============================================================================
Answers
1. Hardware of the system
2. Special Program of the system
**3. Integer Variable
4. None of the mentioned
===============================================================================
Answers
1. FAT
2. NTFS
**3. HFS
4. None of the above
===============================================================================
Answers
1. Removing of memory
2. No relocation
3. Static Relocation
**4. Dynamic Relocation
===============================================================================
Answers
1. Program Driven IO
2. Interrupt IO
**3. DMA
4. All of the above
===============================================================================
96. In _____ ipc mechanism at a time one process can send message to another
process.
Answers
1. message queue
**2. pipe
3. socket
4. all of the above
===============================================================================
97. Which of the following CPU Scheduling Algorithm/s is/are free from
starvation?
Answers
1. SJF
2. Priority
**3. Round Robin
4. All of the above
===============================================================================
Answers
1. Boot Block
**2. Super Block
3. iNode List Block
4. All of the above
===============================================================================
99. The heads of the magnetic disk are attached to a ____________ that moves all
the heads as a unit.
Answers
**1. Disk Arm
2. Spindle
3. Track
4. None of the mentioned
===============================================================================
100. In Thrashing
Answers
1. Process is spending less time on paging than executing
**2. Process is spending more time on paging than executing
3. Page Fault Occurs
4. Swapping can not take place
===============================================================================
#### END ####
===============================================================================