Mock Test 01
Mock Test 01
=========================================================================
1. Identify the meaning of the idiom/phrase from the given options-
=========================================================================
2. The passage below is accompanied by a set of questions. Choose the best
answer to each question-
During his early days as editor of the popular magazine, Saturday Evening
Post, George Lorimar did much of the reading of unsolicited stories. This
meant endless hours of sitting at the desk, pouring over big stacks of
manuscripts, trying to decide which were worthy of publication and which
were not. Lorimar became an expert at making these decisions. One day he
received a huffy letter from a would-be writer who had a complaint. “Last
week you rejected my story, “she wrote. “I am positive you did not read
it, because, as a test, I pasted together pages 14, 15 and 16. The
manuscript came back with the pages still pasted. There is no question in
my mind but that you are a sham and a disgrace to your profession.”
Lorimar’s reply was succinct: “Madam, at breakfast when I crack open an
egg, I don’t have to eat the whole egg to know it is bad.”
=========================================================================
3. The passage below is accompanied by a set of questions. Choose the best
answer to each question-
During his early days as editor of the popular magazine, Saturday Evening
Post, George Lorimar did much of the reading of unsolicited stories. This
meant endless hours of sitting at the desk, pouring over big stacks of
manuscripts, trying to decide which were worthy of publication and which
were not. Lorimar became an expert at making these decisions. One day he
received a huffy letter from a would-be writer who had a complaint. “Last
week you rejected my story, “she wrote. “I am positive you did not read
it, because, as a test, I pasted together pages 14, 15 and 16. The
manuscript came back with the pages still pasted. There is no question in
my mind but that you are a sham and a disgrace to your profession.”
Lorimar’s reply was succinct: “Madam, at breakfast when I crack open an
egg, I don’t have to eat the whole egg to know it is bad.”
During his early days as editor of the popular magazine, Saturday Evening
Post, George Lorimar did much of the reading of unsolicited stories. This
meant endless hours of sitting at the desk, pouring over big stacks of
manuscripts, trying to decide which were worthy of publication and which
were not. Lorimar became an expert at making these decisions. One day he
received a huffy letter from a would-be writer who had a complaint. “Last
week you rejected my story, “she wrote. “I am positive you did not read
it, because, as a test, I pasted together pages 14, 15 and 16. The
manuscript came back with the pages still pasted. There is no question in
my mind but that you are a sham and a disgrace to your profession.”
Lorimar’s reply was succinct: “Madam, at breakfast when I crack open an
egg, I don’t have to eat the whole egg to know it is bad.”
During his early days as editor of the popular magazine, Saturday Evening
Post, George Lorimar did much of the reading of unsolicited stories. This
meant endless hours of sitting at the desk, pouring over big stacks of
manuscripts, trying to decide which were worthy of publication and which
were not. Lorimar became an expert at making these decisions. One day he
received a huffy letter from a would-be writer who had a complaint. “Last
week you rejected my story, “she wrote. “I am positive you did not read
it, because, as a test, I pasted together pages 14, 15 and 16. The
manuscript came back with the pages still pasted. There is no question in
my mind but that you are a sham and a disgrace to your profession.”
Lorimar’s reply was succinct: “Madam, at breakfast when I crack open an
egg, I don’t have to eat the whole egg to know it is bad.”
During his early days as editor of the popular magazine, Saturday Evening
Post, George Lorimar did much of the reading of unsolicited stories. This
meant endless hours of sitting at the desk, pouring over big stacks of
manuscripts, trying to decide which were worthy of publication and which
were not. Lorimar became an expert at making these decisions. One day he
received a huffy letter from a would-be writer who had a complaint. “Last
week you rejected my story, “she wrote. “I am positive you did not read
it, because, as a test, I pasted together pages 14, 15 and 16. The
manuscript came back with the pages still pasted. There is no question in
my mind but that you are a sham and a disgrace to your profession.”
Lorimar’s reply was succinct: “Madam, at breakfast when I crack open an
egg, I don’t have to eat the whole egg to know it is bad.”
11. Substitute one word that relates most closely to given meaning-
=========================================================================
13. Choose the option which is grammatically correct for the part of
sentence in double quotes –
=========================================================================
The portrait was painted ___ a famous artist who lived ___the 17th century.
**1. by / during
2. by / at
3. with / in
4. by / on
=========================================================================
18. Complete the sentence with the appropriate word-
In order to protest against the spiraling prices, the farmers have decided
to stage a picket in an effort to _____.
1. show their virility
**2. make themselves heard
3. curb the prices
4. topple the government
=========================================================================
19. Fill in the blanks with suitable prepositions -
1. 10 mins
**2. 12 mins
3. 15 mins
4. 20 mins
=========================================================================
=========================================================================
26. In a dairy farm, 40 cows eat 40 bags of husk in 40 days. In how many
days one cow will eat one bag of husk.
1. 44
2. 45
**3. 40
4. 48
=========================================================================
27. A man can row the boat x km downstream and the same distance upstream
in 12 hours. Also he can row the boat can row 4x km downstream in 10 hours.
In what time, he can row the x km distance in upstream?
**1. 9.5 hours
2. 8.5 hours
3. 7.5 hours
4. 6.5 hours
=========================================================================
28. A train is 100 meter long and is running at the speed of 30 km per
hour. Find the time it will take to pass a man standing at a crossing.
1. 10 seconds
**2. 12 seconds
3. 14 seconds
4. 16 seconds
=========================================================================
29. A man can row upstream 10 kmph and downstream 20 kmph. Find the man
rate in still water and rate of the stream.
1. 0,5
2. 5,5
**3. 15,5
4. 10,5
=========================================================================
30. Shubhranshu deposited Rs 8000 at simple interest which amounted to Rs
9200 after 3 years . Had the interest been 2% more, how much amount she
would have got?
1. Rs 1680
**2. Rs 9680
3. Rs 9272
4. Rs 2680
=========================================================================
31. A-clock gains five minutes every hour. What will be the angle traversed
by the second hand in one minute?
1. 360°
2. 360.5°
**3. 390°
4. 380°
=========================================================================
32. A person goes out home and returns after sometime. He notices during
his absence clock’s minute hand rotates 288°. How much does clock’s hour
hand rotate in that duration?
1. 56°
2. 67°
**3. 24°
4. 38°
=========================================================================
33. It was Sunday on Jan 1, 2006. What was the day of the week Jan 1, 2010?
1. Monday
**2. Friday
3. Thursday
4. Saturday
=========================================================================
34. A committee of 3 members is to be made out of 6 men and 5 women. What
is the probability that the committee has at least two women?
1. (14/37)
**2. (14/33)
3. (16/33)
4. (14/23)
=========================================================================
35. If a refrigerator contains 12 cans such that 7 blue cans and 5 red
cans. In how many ways can we remove 8 cans so that at least 1 blue can
and 1 red can remains in the refrigerator.
1. 513
**2. 455
3. 627
4. 369
=========================================================================
Who amongst the following sits at the extreme left of the line?
1. F
**2. D
3. C
4. E
5. G
=========================================================================
38. Complete analogous pair
Dog : Bark : : Goat :?
**1. Bleat
2. Howl
3. Grunt
4. Bray
=========================================================================
39. Complete analogous pair-
Shield : Soldier
1. Law : Court
2. Stethoscope : Doctor
**3. Helmet : Rider
4. Book : Reader
=========================================================================
=========================================================================
=========================================================================
42. Find the next in the sequence in the series:
=========================================================================
43. If TABLE is coded as GZYOV, how is JUICE coded ?
1. OZLFJ
**2. QFRXV
3. HOFAD
4. QZHMT
5. EPQIL
=========================================================================
44. If orange is called butter, butter is called soap, soap is called ink,
ink is called honey and honey is called orange, which of the following is
used for washing clothes ?
1. Honey
2. Butter
3. Orange
4. Soap
**5. Ink
=========================================================================
45. If in a certain code language, 'oka peru' means 'fine cloth' ; 'meta
lisa' means 'clear water' and 'dona lisa peru' means 'fine clear weather'
, which word in that language means 'weather' ?
1. peru
2. oka
3. meta
**4. dona
=========================================================================
1. Brother
2. Uncle
3. Father-in-law
**4. Brother-in-law
5. None of these
=========================================================================
47. A + B means A is the father of B ;
A - B means A is the wife of B ;
A x B means A is the brother of B ;
A ÷ B means A is the daughter of B.
If P + R ÷ Q, which of the following is true ?
1. P is the brother of Q
2. P is the son of Q
**3. P is the husband of Q
4. P is the father of Q
=========================================================================
=========================================================================
50. Statements:
All beans are pulses
All pulses are crops.
No crop is seed
Conclusions:
I. All crops are pulses
II. All beans are crops
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
=========================================================================
51. If a Computer in a network accesses resources that are shared by other
computer is called as:
1. Server
**2. Client
3. Reciever
4. Sender
=========================================================================
=========================================================================
53. device which is used to connect two computers via an ordinary telephone
line is
1. Ethernet card
2. Graphic card
**3. Modem
4. Spend card
=========================================================================
54. The last address of the IP address represents:
1. Unicast
2. Network
**3. Broadcast
4. None of the above
=========================================================================
55. Which of the following is reliable communication.
**1. TCP
2. IP
3. UDP
4. All of the them
=========================================================================
56. Cache Memory is ______.
**1. SRAM
2. DRAM
3. Both SRAM and DRAM
4. None of the above
=========================================================================
57. Which of the following block/s in any io device converts one form of
energy into another form?
1. Control Logic Block
2. Convertor
3. Invertor
**4. Transducer
5. All of the above
=========================================================================
58. Signal sent by the CPU to IO devices is called as
1. Interrupt
**2. Command
3. Instruction
4. All of the above
=========================================================================
59. Memory which is accessible directly by the CPU is referred as
1. An internal memory
**2. Primary Memory
3. Directly Accessible Memory
4. Volatile Memor
=========================================================================
60. Which of the following access method/s is used in a Magnetic Tape
memory?
**1. Sequential Access
2. Random Access
3. Direct Access
4. Associative Access Access
5. All of the above
=========================================================================
=========================================================================
68. The processes that are residing in main memory and are ready and waiting
to execute are kept on a list called as
1. Device Queue
**2. Ready Queue
3. Job Queue
4. None of the above
=========================================================================
=========================================================================
71. Find the output of the following:
int main()
{
char c1='1' , c2 = '2',c3;
c3 = 48 != c1 < c2 && c2++;
printf("%c",c3+48);
return 0;
}
1. 0
2. 1
3. 2
**4. 3
=========================================================================
72. What is the value of argc when command line arguments are ./a.out 11
22
1. 0
2. 1
3. 2
**4. 3
=========================================================================
73. Program which is responsible to process code before compiler is
_________.
1. Assembler
2. Debugger
**3. Preprocessor
4. Linker
=========================================================================
74. #include <stdio.h>
#define SIZE(z) (sizeof(z) / sizeof(z[0]))
int main()
{
int i = 0;
int arr[5] = { 11, 22, 33, 44, 55 };
for(i = 0; i <= (SIZE(arr) -2 ) ; i++)
{
printf("%d, ",arr[i]);
}
return 0;
}// note : consider 32 bit compliation
=========================================================================
77. Find the output of the following:
int fun_array(const char *p)
{
++p;
++*p;
}
int main()
{
char arr[] = {'A','B','C','D','E','F'};
fun_array(arr);
printf("%c %c %c",arr[0],arr[1],arr[2]);
return 0;
}
1. C B D
2. C C C
3. A C C
**4. Compile Time Error
=========================================================================
test_rec(--k);
}
int main()
{
register int a[] = {5,6,7,8,9};
test_rec(((int *)(&a+1))-1);
printf(“%d”,a[0]);
return 0;
}
**1. Error
2. 5
3. Garbage
4. 15
=========================================================================
80. Find the output of the following:
int main()
{
signed int x = -10;
unsigned int y = 10,z;
y = y >> 2;
z = y > x ? !y : ~x ;
printf("%u",z);
return 0;
}
1. 4294967285
2. 10
3. -10
**4. 9
=========================================================================
81. Find the output of the following:
int main()
{
char s1[] = "PreCAT";
char s2[] = "Sunbeam";
char *p1=s1,*p2=s2;
while(*p1)
{
p1++;
p2++;
}
printf("%s",p2);
return 0;
}
1. Sunbeam
2. No Output
**3. m
4. Tm
=========================================================================
82. #include <stdio.h>
int main()
{
int x = -2, y=1, z=0;
x = x && y || z;
z = x++ - 1;
z += -x++ + ++y;
printf("x = %d\n",x);
printf("z = %d\n",z);
return 0;
}
1. x=-3 z = -1
**2. x= 3 z = 0
3. x=-2 z = 1
4. x=2 z = 2
=========================================================================
83. Find the correct statement from the following:
fread can not read multiple records in one array in single call
**1. fread function can read only binary data from the file.
2. fread function can read text / binary data from file.
3. fread can not be used to read 1 byte at a time.
4. fread can not be used to read 1 byte at a time.
=========================================================================
};
int main()
{
struct course c;
struct course *s = &c;
(*s).c = "PreCat";
printf("%s", c.c);
return 0;
}
1. Compile time error
2. Run time error
**3. PreCat
4. None of the above
=========================================================================
85. Which of the following data structures is used to represent
relationships between pairs, where relationship is not hierarchical ?
**1. Graph
2. Tree
3. Hash Table
4. Queue
=========================================================================
86. A linear list of elements in which deletion can be done from one end
(front) and insertion can take place only at the other end (rear) is known
as a
**1. Queue
2. Stack
3. Tree
4. LinkedList
=========================================================================
87. Which of the following algorithms has lowest worst case time complexity
1. Insertion sort
2. Selection Sort
3. Quick Sort
**4. Merge Sort
=========================================================================
=========================================================================
93. 'this' pointer is not passed to __________ member functions.
1. constructor
2. mutator
**3. static
4. virtual
=========================================================================
94. Which of the following member functions is/are not automatically added
to every class, if we do not write our own.
i-Assignment Operator
ii-Copy constructor
iii-parameterized constructors
iv-default constructor
1. i
2. i,ii
**3. iii
4. ii,iv
=========================================================================
95. Linking of function to function call in execution is called
_____________.
1. static Binding
2. compile-time Binding
**3. late binding
4. abstraction binding
=========================================================================
96. _________________ member functions are used to set values of private
data members by checking the correctness of the value to be set to data
member.
1. Accessors
**2. Mutators
3. getters
4. valuator
=========================================================================
97. Which of the following is not part of basic oops concepts?
i-class
ii-object
iii-function
iv-abstraction
v-encapsulation
1. i,ii
**2. iii
3. iv,v
4. v
=========================================================================
98. If a derived class object is created, which constructor is called
first?
1. Depends on mode of Inheritance
2. Derived class constructor
**3. Base class constructor
4. Depends on how we call the object
=========================================================================
99. What is the output of following code?
#include<iostream>
using namespace std;
class One {
public:
One()
{ cout << " One's constructor called" << endl; }
};
class Two {
public:
Two()
{ cout << "Two's constructor called" << endl; }
};
class Derived: public One, public Two {
public:
Derived()
{ cout << "Derived's constructor called" << endl; }
};
int main()
{
Derived d;
return 0;
}
1. Compiler Dependent
**2. One′s constructor called Two′s constructor called
Derived’s constructor called
3. Two′s constructor called One′s constructor called
Derived’s constructor called
4. Derived′s constructor called One′s constructor called Two’s
constructor called
=========================================================================
100. Base class and derived class relationship comes under ___________ oops
concepts.
1. Polymorphism
2. encapsulation
**3. Inheritance
4. Modularity
=========================================================================