#### COMPUTER AND LOGICAL ABILITY MOCK TEST

**Direction (for next 5 questions): **In each of the following questions, a numbers series/character is given with one term missing. Choose the correct alternative that will continue the same pattern.

**Question: **2, 1, 2, 4, 4, 5, 6, 7, 8, 8, 10, 11, (……..)

(a) 9

(b) 10

(c) 11

(d) 12

**Question: **2A11, 4D13, 12 G 17, ?

(a) 36I19

(b) 48J21

(c) 36J21

(d) 48J23

**Question: **A, CD, GHI, ?, UVWXY

(a) MNOP

(b) LMNO

(c) NOPQ

(d) MNO

**Question: **In series 3, 9, 15, …………, what will be the 21st term?

(a) 117

(b) 121

(c) 123

(d) 129

related: largest European stock exchanges

**Question: **Insert the missing character/digit

18 | 24 | 32 |

12 | 14 | 16 |

3 | ? | 4 |

72 | 112 | 128 |

(a) 2

(b) 3

(c) 6

(d) 7

**Question:**Insert the missing character/digit

BD_{3} |
CE_{5} |
DF_{15} |

EG_{2} |
FH_{4} |
GI_{8} |

HJ_{4} |
IK_{6} |
? |

(a) JL_{24
}(b) IJ_{18}

(c) JK_{18}

(d) JL_{12}

**Directions (next 3 questions): **Study the diagram carefully and answer the following questions on the basis of the number shown in the different sections of the diagram.

**Question: **How many female graduates are self-employed?

(a) 12

(b) 13

(c) 15

(d) 20

**Question: **How many female graduates are not self-employed?

(a) 4

(b) 10

(c) 12

(d) 15

**Question: **How many non-graduate females are self-employed?

(a) 9

(b) 11

(c) 12

(d) 21

**Question: **What will the output be of the following program segment?

# define CUBE (X) (X*X*X)

main ( )

{

int a, b;

b = 3;;

a = CUBE (b++)/b++;

print f (“a = % d b =%d”, a, b);

}

(a) a = 9, b = 7

(b) a = 27, b = 7

(c) a = 27, b = 64

(d) None of these

related: man days work problems

**Question: **What will be the disjunctive normal form of the following boolean function *F *(*x*, *y*, *z*) = (*x*.*y’ *+ *x*.*z*’)’ + *x*’?

(a) *x*.*y*.*z *+ *x*’.*y*.*z*’ + *x*’ .*y*’.*z*’ + *x*’.*y*’

(b) *x*’.*y*.*z *+ 1

(c) *x*’.*y*.*z *+ *x*’.*y*.*z*’ + *x*’.*y*’.*z + x’*.*y*’.*z’ + x*.*y*.*z
*(d) None of these

**Question: **Bubble memories are preferable to floppy disks because

(a) of their higher transfer rate

(b) The cost needed to store a bit is less

(c) they consume less power

(d) of their reliability

**Question: **The decimal number equivalent to the binary number 1101101.10012

(a) 109.562510

(b) 106.262510

(c) 109.262510

(d) 108.562510

**Question: **An algorithm must have atleast

(a) one input

(b) one output

(c) one assignment

(d) None of these

**Question:**Which of the following statements is true?

(I) As the number of entries in the hash table increases, the number of collisions increases.

(II) Recursive programs are efficient.

(III) The worst time complexity of quick sort is O(n2)

(IV) Binary search using a linked list is efficient.

(a) I and II

(b) II and III

(c) I and IV

(d) I and III

**Question: **The first computer mouse was built by

(a) Doughles Engelbart

(b) William English

(c) Daniel Cougher

(d) Robert Zawacki

**Question: **In Mahabalipuram Temple, there are some magical bells which toll 18 times a day, simultaneously. But every bell tolls at a different interval of time, but not in a fraction of minutes. The maximum number of bells in the temple can be

(a) 18

(b) 10

(c) 24

(d) 6

**Question: **A stairway of 20ft height is such that each step accounts for half a foot upward and one foot forward. What distance will an ant travel if it starts from ground level to reach the top of the stairway?

(a) 59

(b) 60

(c) 58

(d) None of these

Related: basic fundamental of computer

**Question: **From a container of wine, a thief has stolen 15 L of wine and replaced it with the same quantity of water. He again repeated the same process. Thus, in three attempts, the ratio of wine and water became 343:169. The initial amount of wine in the container was

(a) 75 L

(b) 100 L

(c) 150 L

(d) 120 L

**Question: **A big cube is formed by rearranging the 160 colored and 56 noncolored similar cubes in such a way that the exposure of the colored cube to the outside is minimal. The percentage of exposed area that is colored is

(a) 25.9%

(b) 44.44%

(c) 35%

(d) None of these

**Question: **A trader marks his goods such that he can make a 32% profit after giving a 12% discount. However, a customer availed a 20% discount instead of 12%. What is the new profit percentage of traders?

(a) 20%

(b) 44%

(c) 30%

(d) 28.8%

**Question: **Kareena can do a piece of work in 9 days and Karishma can do the same work in 18 days. They started the work. After 3 days, Shahid joined them, who could complete the whole work alone in 3 days. What is the total number of days in which they had completed the work?

(a) 12

(b) 8

(c) 4

(d) 6

**Question: **The distance of the college and the home of Rajeev is 80 km. One day he was late by 1 h than the normal time to leave for the college, so he increased his speed by 4 km/h and thus he reached to college at the normal time. What is the changed (or increased) speed of Rajeev?

(a) 28 km/h

(b) 30 km/h

(c) 40 km/h

(d) 20 km/h

**Question: **A cone is made of a sector with a radius of 14 cm and an angle of 60°. What is total surface area of the cone?

(a) 119.78 cm^{2}

(b) 191.87 cm^{2}

(c) 196.5 cm^{2}

(d) None of these

**Question: **Sunita is taller than Seema and Renu, Renu is shorter than Radha and Gauri. Bina is taller than Radha and shorter than Sunita. Sunita is not the tallest and Renu is not the shortest then who is the tallest?

(a) Sunita

(b) Bina

(c) Gauri

(d) Data inadequate

**Question: **In the above question, who is the shortest?

(a) Radha

(b) Renu

(c) Bina

(d) None of these

**Question: **main()

{

static int var = 5;

printf(“%d “,var–);

if(var)

main();

}

(a) 43215

(b) 53214

(c) 54321

(d) None of these

**Question: **Hard disks can have a storage capacity in the region of…?

(a) 1.44Mb

(b) 1Gb

(c) 720K

(d) None of these

**Question: **Trace the value of *A *and *B *through the flowchart given below at *A = *25 and *B = *30

(a) *A = *75, *B = *355

(b) *A = *85, *B = *405

(c) *A = *85, *B = *455

(d) None of these

**Questions (next 5 questions): **A researcher is evaluating exactly four medicines: W, X, Y, and Z. The only side effects the medicines can have are fatigue, headaches, palpitations, and sweating. The researcher knows the following is true of the medicines’ side effects:

Each medicine has at least one side effect.

No medicine has both fatigue and palpitations as side effects.

Medicine Z has no side effects in common with any of the other medicines.

Medicines W and X have exactly one side effect in common.

Fatigue is a side effect of medicine W.

Palpitations are a side effect of medicine X.

Sweating is not a side effect of medicine Y.

Related: Blood relation question in English

**Question: **If sweating is not a side effect of medicine X, then which one of the following statements must be true?

(a) Fatigue is a side effect of medicine Y.

(b) Headaches are a side effect of medicine W.

(c) Headaches are a side effect of medicine Y.

(d) Headaches are a side effect of medicine Z.

(e) Palpitations are a side effect of medicine Y.

**Question: **If sweating is not a side effect of medicine Z, then which one of the following statements must be true?

(a) Fatigue is a side effect of medicine Y.

(b) Headaches are a side effect of medicine W.

(c) Headaches are a side effect of medicine Y.

(d) Headaches are a side effect of medicine Z.

(e) Palpitations are a side effect of medicine Y.

**Question: **If medicines W, X, and Y have a side effect in common, then which one of the following statements must be true?

(a) Fatigue is a side effect of medicine Y.

(b) Headaches are a side effect of medicine W.

(c) Headaches are a side effect of medicine Y.

(d) Headaches are a side effect of medicine Z.

(e) Palpitations are a side effect of medicine Y.

**Question: **Which one of the following statements could be true?

(a) Fatigue is a side effect of medicine X.

(b) Fatigue is a side effect of medicine Z.

(c) Headaches are a side effect of medicine X.

(d) Palpitations are a side effect of medicine W.

(e) Palpitations are a side effect of medicine Z.

**Question: **If medicine Y has more than one side effect, then which one of the following statements must be true?

(a) Headaches are a side effect of medicine Y.

(b) Palpitations are a side effect of medicine Y.

(c) Sweating is a side effect of medicine W.

(d) Palpitations are not a side effect of medicine Y.

(e) Sweating is not a side effect of medicine Z.

**Question: **Which of the following is/are advantages of virtual memory?

(a) Faster access to memory on an average.

(b) Processes can be given protected address spaces.

(c) Linker can assign addresses independent of where the program will be loaded in physical memory.

(d) Programs larger than the physical memory size can be run.

**Question: **What the output will be of the following program segment is

main ( )

{

int *x = *10, *y = *20;

if (! (!*x*) && *x*)

printf (“*x *= %*d”, x*);

else

printf (“*y *= %*d*”, *y*);

}

(a) *x *= 10, *y *= 20

(b) *x *= 10

(c) *y *= 20

(d) None of these

**Question: **A software is to be developed for a system which has a small memory. The software should

(a) use recursion whenever possible

(b) avoid using recursion

(c) use macros instead of functions

(d) not use macros instead of functions

Related: Water quality multiple choice questions

**Question: **Which of the following algorithm design techniques is used in the quick sort algorithm?

(a) Dynamic programming

(b) Backtracking

(c) Divide and conquer

(d) Greedy method

**Question: **The average age of Donald, his wife and their two children is 23 yr. His wife is just 4 yr younger than Donald himself and his wife was 24 yr old when his daughter was born. He was 32 yr old when his son was born. The average age of Donald and his daughter is

(a) 25 yr

(b) 22.5 yr

(c) 26 yr

(d) can’t be determined

**Question: **Mr. Manmohan calculated the average of 10, three digit numbers. But due to mistake he reversed the digits of a number and thus his average increased by 19.8. The difference between the unit digit and hundreds digit of that number is

(a) 8

(b) 4

(c) 2

(d) can’t be determined

**Question: **A three-digit number is such that this number itself is divisible by the sum of its digits. The sum of hundreds and unit digits is 6 while the sum of the tens and unit digits is 5. What is the ratio of units and tent digits?

(a) 1 : 2

(b) 2 : 3

(c) 3 : 4

(d) 2 : 7

**Question: **A reduction of 20% in the price of sugar enables a housewife to purchase 6 kg more for Rs 240. What is the original price per kg of sugar?

(a) Rs 10 per kg

(b) Rs 8 per kg

(c) Rs 6 per kg

(d) Rs 5 per kg

**Question: **Two runners start running together for a certain distance, one at 5 km/h and another at 3 km/h. The former arrives one and half an hour before the latter. The distance is

(a) 12

(b) 20

(c) 25

(d) 36

**Question: **A girl while walking diametrically across a semicircular playground, takes 3 min less than if she had kept walking round the circular path from *A *to *B*. If she walks 60 m a minute, what is the diameter of the play ground

(a) 60 m

(b) 48 m

(c) 84 m

(d) 315 m

**Question: **The ratio of the lengths of the diagonal of a rhombus is 2 : 5, then the ratio of the area of the rhombus to the square of the shorter diagonal

(a) 5 : 4

(b) 5 : 2

(c) 2 : 5

(d) None of these

**Question: **(10110011100011110000) 2 is base 32 is

(a) 2214716

(b) 1192331

(c) 119716

(d) 11142316

Related: Who is Albert Einstein?

**Question: **The hexadecimal equivalent to the decimal number 36.875 is

(a) (24.*E*)16

(b) (14.*E*)16

(c) (24.14)16

(d) None of these

**Question: **Which of the following is true?

(a) The complement of a recursive language is recursive

(b) The complement of a recursively enumerable language is recursively enumerable

(c) The complement of a recursive language is either recursive or recursively enumerable

(d) The complement of a context-free language is context free