Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2014 Dec – III | Question 3
  • Last Updated : 03 Jul, 2018
GeeksforGeeks - Summer Carnival Banner

In a dot matrix printer the time to print a character is 6 m.sec., time to space in between characters is 2 m.sec., and the number of characters in a line are 200. The printing speed
of the dot matrix printer in characters per second and the time to print a character line are given by which of the following options?
(A) 125 chars/second and 0.8 seconds
(B) 250 chars/second and 0.6 seconds
(C) 166 chars/second and 0.8 seconds
(D) 250 chars/second and 0.4 seconds
(E) 125 chars/second and 1.6 seconds


Answer: (E)

Explanation: Total no of characters = 200 (each character having one space)
Time taken to print one character = 6 ms; Time taken to print one space = 2 ms.
character printing = 200 * 6 = 1200 ms
space printing = 200 * 2 = 400 ms
total printing time = 1200 + 400 = 1600 ms = 1.6 s.
The printing speed of the dot matrix printer in characters per second = 200 / 1.6 = 125 / s.
So, option (E) is correct.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :