A computer interface to a line printer has seven data | StudySoup

Textbook Solutions for Fundamentals of Logic Design

Chapter 4 Problem 4.22

Question

A computer interface to a line printer has seven data lines that control the movement of the paper and the print head and determine which character to print. The data lines are labeled A, B, C, D, E, F, and G, and each represents a binary 0 or 1. When the data lines are interpreted as a 7-bit binary number with line A being the most significant bit, the data lines can represent the numbers 0 to \(127_{10}\). The number \(13_{10}\) is the command to return the print head to the beginning of a line, the number \(10_{10}\) means to advance the paper by one line, and the numbers \(32_{10}\) to \(127_{10}\) represent printing characters.

(a) Write an equation for the variable X which is 1 iff the data lines indicate a command to return the print head to the beginning of the line.

(b) Write an equation for the variable Y which is 1 iff there is an advance paper command on the data lines.

(c) Write an equation for the variable Z which is 1 iff the data lines indicate a printable character. (Hint: Consider the binary representations of the numbers 0–31 and 32–127 and write the equation for Z with only two terms.)

Solution

Step 1 of 6)

The first step in solving 4 problem number 22 trying to solve the problem we have to refer to the textbook question: A computer interface to a line printer has seven data lines that control the movement of the paper and the print head and determine which character to print. The data lines are labeled A, B, C, D, E, F, and G, and each represents a binary 0 or 1. When the data lines are interpreted as a 7-bit binary number with line A being the most significant bit, the data lines can represent the numbers 0 to \(127_{10}\). The number \(13_{10}\) is the command to return the print head to the beginning of a line, the number \(10_{10}\) means to advance the paper by one line, and the numbers \(32_{10}\) to \(127_{10}\) represent printing characters.(a) Write an equation for the variable X which is 1 iff the data lines indicate a command to return the print head to the beginning of the line. (b) Write an equation for the variable Y which is 1 iff there is an advance paper command on the data lines. (c) Write an equation for the variable Z which is 1 iff the data lines indicate a printable character. (Hint: Consider the binary representations of the numbers 0–31 and 32–127 and write the equation for Z with only two terms.)
From the textbook chapter Applications of Boolean Algebra Minterm and Maxterm Expansions you will find a few key concepts needed to solve this.

Step 2 of 7)

Visible to paid subscribers only

Step 3 of 7)

Visible to paid subscribers only

Subscribe to view the
full solution

Title Fundamentals of Logic Design 7 
Author Charles h. Roth
ISBN 9781133628477

A computer interface to a line printer has seven data

Chapter 4 textbook questions

×

Login

Organize all study tools for free

Or continue with
×

Register

Sign up for access to all content on our site!

Or continue with

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back