Site navigation

A software engineer has the capability of thinking 100 lines of code in five minutes and can type 100 lines of code in 10 minutes. He takes a break for five minutes after every ten minutes. How many…

Question and options

A software engineer has the capability of thinking 100 lines of code in five minutes and can type 100 lines of code in 10 minutes. He takes a break for five minutes after every ten minutes. How many lines of code will he complete typing after an hour?
  1. 250
  2. 220
  3. 150
  4. 200

Answer and explanation

Correct answer: A - 250
Each 100 lines needs 5 min thinking + 10 min typing = 15 work-minutes. With a 5-minute break after every 10 minutes, an hour has 40 work-minutes (0-10, 15-25, 30-40, 45-55). Two full cycles (30 min) give 200 lines; the last 10 minutes give 5 min thinking + 5 min typing = 50 lines. Total 250.

Practice for these exams

  • CUSAT CAT Five-Year LL.B.

Related question papers

Related exam syllabi

More solved explanations in Arithmetic