TCS Placement: Sample Questions 255 - 256 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 255

Question

MCQ▾

3 men finish painting a wall in 8 days. Four boys do the same job in 7 days. In how many days will 2 men and 2 boys working together paint two such walls of the same size?

Choices

Choice (4)

a.

3 days

b.

12 days

c.

6 days

d.

9 days

Answer

c.

Explanation

  • 3 men can paint a wall in 8 days, while to paint this same wall 4 boys are needed.
  • So, 3 men = 4 boys
  • 1 man = boys
  • We are asked to find the number of days required to paint the wall by 2 men and 2 boys together.
  • 2 men = boys
  • 2 men + 2 boys = boys + 2 boys

= boys

  • 4 boys can complete work in 7 days.
  • boys can complete the same work in (?) days

  • So, 2 men and 2 boys can paint wall in 6 days.

Question 256

Edit

Write in Short

Short Answer▾

Find out the largest prime number that can be stored in 8 bit memory.

Explanation

  • = 256, prime no less than 256 i.e.. 251
  • In a memory user can store data from 0 to
  • Where, n = total number of bits
  • Here, in 8 bit memory, user can store data between 0 to
  • = 256, i.e.. user can store data between 0 to 255.
  • So, maximum possible value that can be stored in 8 bit memory is 255.
  • We are asked to find the largest prime number, which will be 251, as 255 is not a prime number.
  • Prime number: A number which is divisible by itself and one is known as prime number.

Developed by: