MTNL Java Questions: CMC Sample Test Paper
Download PDF of This Page (Size: 152K) ↧
Examrace Placement Series prepares you for the toughest placement exams to top companies.

There are six steps that lead from the first to the second floor. No two people can be on the same step. Mr A is two steps below Mr C Mr B is a step next to Mr D Only one step is vacant (No one standing on that step) Denote the first step by step 1 and second step by step 2 etc. If Mr A is on the first step, Which of the following is true?

Mr B is on the second step

Mr C is on the fourth step.

A person Mr E, could be on the third step

Mr D is on heigher step than Mr C
Ans: (D)


If Mr E was on the third step & Mr B was on a higher step than Mr E which step must be vacant

step 1

step 2

step 4

step 5

step 6
Ans: (A)


If Mr B was on step 1, which step could A be on?

2&e only

3&5 only

3&4 only

4&5 only

2&4 only
Ans: (C)


If there were two steps between the step that A was standing and the step that B was standing on, and A was on a higher step than D, A must be on step

2

3

4

5

6
Ans: (C)


Which of the following is false

B&D can be both on oddnumbered steps in one configuration

In a particular configuration A and C must either both an odd numbered steps or both an evennumbered steps

A person E can be on a step next to the vacant step.
Which is correct?

i only

ii only

iii only
Ans: (C)


Swimmers problem, six swimmers A B C D E F compete in a race. There are no ties. The out comes are as follows.

B does not win.

Only two swimmers seperate E & D

A is behind D & E

B is ahead of E, wiht one swimmer intervening

F is a head of D
who is fifth

A

B

C

D

E
Ans: (E)


How many swimmers seperate A and F?

1

2

3

4

not deteraminable from the given info.
Ans: (D)


The swimmer between C & E is

none

F

D

B

A
Ans: (A)


If the end of the race, swimmer D is disqualified by the Judges then swimmer B finishes in which place

1

2

3

4

5
Ans: (B)


Chimney problem Five houses lettered A, B, C, D, & E are built in a row next to each other. The houses are lined up in the order A, B, C, D, & E. Each of the five houses has a coloured chimney. The roof and chimney of each house must be painted as follows.

The roof must be painted either green, red, or yellow.

The chimney must be painted either white, black, or red.

No house may have the same color chimney as the color of roof.

No house may use any of the same colors that the every next house uses.

House E has a green roof.

House B has a red roof and a black chimney
Which of the following is true?

At least two houses have black chimney.

At least two houses have red roofs.

At least two houses have white chimneys

At least two houses have green roofs

At least two houses have yellow roofs
Ans: (C)


Which must be false?

House A has a yellow roof

House A & C have different colour chimney

House D has a black chimney

House E has a white chmney

House B&D have the same color roof.
Ans: (B)


If house C has a yellow roof. Which must be true.

House E has a white chimney

House E has a balck chimney

House E has a red chimney

House D has a red chimney

House C has a balck chimney
Ans: (A)


Which possible combinations of roof & chimney can house

A red roof 7 a black chimney

A yellow roof & a red chimney

A yellow roof & a black chimney
Which is correct?

I only

II only

III only

I & II only

I&II&III
Ans (E);

Oracle Test
 What is the maximum total number of green roofs for houses Ans: (C)
 There are 5 red shoes, 4 green shoes. If one drasw randomly a shoe what is the probability of getting redshoe is 5c1/9c1
 What is the selling price of a car? cost of car is Rs. 60 & profit 10% profit over selling price Ans: Rs. 66/
 ⅓ of girls, ½ of boys go to canteen. What factor and total number of clasmates go to canteen. Ans: Cannot be determined.
 price of a product is reduced by 30%. What percentage should be increased to make it 100% Ans: 42.857%
 There is a square of side 6cm. A circle is inscribed inside the square. Find the ratio of the area of circle to square. r = 3 circle/square = 11/14
 Two candles of equal lengths and of different thickness are there. The thicker one will last of six hours. The thinner 2 hours less than the thicker one. Ramesh light the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. For how long did Ramesh lit two candles. Ans: 3 hours.
 M/N = 6/5 3M + 2N =? Ans: Cannot be determined
 p/q = 5/4 2p + q =? cannot determined.
 If PQRST is a parallelogram what it the ratio of triangle PQS & parallelogram PQRST Ans: 1: 2
 cost of an item is Rs. 12.60 7 profit is 10% over selling price what is the selling price Ans: Rs. 13.86/
 There are 6 red shoes & 4 green shoes. If two of red shoes are drawn what is the probability of getting red shoesAns: 6c2/10c2
 15 lts of water containing 20% alcohol, then added 5 lts of water. What is % alcohol. Ans: 15%
 A worker pay 20/day, he works 1, ⅓ ⅔ ⅛ ¾ in a week. What is the total amount paid for that worker Ans: 57.50
 The value of x is between 0 & 1 which is the larger? Ans: 1/x
 What are the difference b/w candidate key, primary key and unique key?
 What is difference b/w pre query and post query?
 How many number of columns can be created in a single table.
 What is meant by ROWID? Why we need it?
 What is transaction?
 Difference b/w function, procedure?
 Which one is the best way to find out the number of rows in a table, state by following count (1), count ( * ), count (rowed)
 One table is given and questions based on this table.
 Write query to delete a single column in a table.
 Write query to add one more column in a existing table.
 Write query to delete only 2 duplicate records in a table. But the table they have given contains 3 duplicate records. How to do it.
 Some SELECT statements queries they asked like using group by, ordered by, where etc.