TCS Placement: Sample Questions 281 - 282 of 502

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 281

Write in Short Short Answer▾

Convert the decimal number 310 to base 6.

Edit

Explanation

  • Dividing 310 (base 10) by 6, quotient will be 51 and remainder will be 4
  • Dividing 51 by 6, quotient is 8 and remainder is 3
  • Dividing 8 by 6, quotient is 1 and remainder is 2
  • Dividing 1 by 6, quotient is 0 and remainder is 1
  • Reversing the order of remainders, equivalent of 310 (base 10) number will be 1234 (base 6) .
  • So, equivalent base 6 number is 1234 for decimal number 310.

Question 282

Question MCQ▾

Two stations A and B are 110 km apart on a straight line. One train starts from A at 7 a. m and travels towards B at 20 km per hour speed. Another train starts from B at 8. a. m and travels towards A at a speed of 25 km per hour. At what time will they meet?

Choices

Choice (4)

a.

11 a. m

b.

9 a. m

c.

10 a. m

d.

All of the above

Edit

Answer

c.

Explanation

  • Distance between A and B is 110 km.
  • One train starts from A towards B at 7 a. m with 20 kmph speed.
  • Second train starts from B towards A at 8 a. m with 25 kmph speed.
  • We are asked to find the time when both trains will meet.
  • Let they meet x hrs after 7 a. m
  • ‎Distance covered by A in x hrs
  • ‎Distance covered by B in hrs = km

So, both trains will meet at 10 a. m