Computer Science: An Overview (13th Edition) (What's New in Computer Science)
13th Edition
ISBN: 9780134875460
Author: Glenn Brookshear, Dennis Brylow
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 1.10, Problem 4QE
a.
Explanation of Solution
Encode the sentence in ASCII using odd parity by adding a parity bit at the higher end for each character code: “Stop!” Cheryl shouted:
Use the table for ASCII codes to encode each character:
Symbol | ASCII Code |
“ | |
S | |
t | |
o | |
p | |
! | |
” | |
Space | |
C | |
h |
b.
Explanation of Solution
Encode the sentence in ASCII using odd parity by adding a parity bit at the higher end for each character code: Does
Use the table for ASCII codes to encode each character:
Symbol | ASCII Code |
D | |
o | |
e | |
s |
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
In the ASCII letter capital B, what are the hexadecimal and decimal representations?
Assume a 24-bit word on a computer. In these 24 bits, wewish to represent the value 295.1. a) How would the computer represent the decimal value295?2. b) If our computer uses 8-bit ASCII and even parity, howwould the computer represent the string 295?3. c) If our computer uses packed BCD with zero padding, howwould the computer represent the number +295?
What is the ASCII representation of the numeral -3.1415 in binary? What is the ASCII representation of the numeral -3.1415 in octal? What is the ASCII representation of the numeral -3.1415 in hexadecimal? What is the ASCII representation of the numeral -3.1415 in decimal?
Show the Steps
Chapter 1 Solutions
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
Ch. 1.1 - What input bit patterns will cause the following...Ch. 1.1 - In the text, we claimed that placing a 1 on the...Ch. 1.1 - Assuming that both inputs to the flip-flop in...Ch. 1.1 - a. If the output of an AND gate is passed through...Ch. 1.1 - Prob. 5QECh. 1.1 - Prob. 6QECh. 1.2 - If the memory cell whose address is 5 contains the...Ch. 1.2 - Prob. 2QECh. 1.2 - Design a sequence of steps that correctly...Ch. 1.2 - How many bits would be in the memory of a computer...
Ch. 1.3 - Prob. 1QECh. 1.3 - Prob. 2QECh. 1.3 - Prob. 3QECh. 1.3 - Prob. 4QECh. 1.3 - Prob. 5QECh. 1.3 - Prob. 6QECh. 1.4 - Here is a message encoded in ASCII using 8 bits...Ch. 1.4 - In the ASCII code, what is the relationship...Ch. 1.4 - Prob. 3QECh. 1.4 - Prob. 4QECh. 1.4 - Convert each of the following binary...Ch. 1.4 - Prob. 6QECh. 1.4 - What is the largest numeric value that could be...Ch. 1.4 - An alternative to hexadecimal notation for...Ch. 1.4 - What is an advantage of representing images via...Ch. 1.4 - Prob. 10QECh. 1.5 - Convert each of the following binary...Ch. 1.5 - Convert each of the following base ten...Ch. 1.5 - Convert each of the following binary...Ch. 1.5 - Express the following values in binary notation:...Ch. 1.5 - Perform the following additions in binary...Ch. 1.6 - Convert each of the following twos complement...Ch. 1.6 - Prob. 2QECh. 1.6 - Suppose the following bit patterns represent...Ch. 1.6 - Suppose a machine stores numbers in twos...Ch. 1.6 - In the following problems, each bit pattern...Ch. 1.6 - Prob. 6QECh. 1.6 - Prob. 7QECh. 1.6 - Prob. 8QECh. 1.6 - Prob. 9QECh. 1.6 - Prob. 10QECh. 1.6 - Prob. 11QECh. 1.7 - Prob. 1QECh. 1.7 - Prob. 3QECh. 1.7 - Prob. 4QECh. 1.8 - What makes Python an interpreted programming...Ch. 1.8 - Write Python statements that print the following:...Ch. 1.8 - Write Python statements to make the following...Ch. 1.8 - Write a Python statement that given an existing...Ch. 1.9 - Prob. 1QECh. 1.9 - Prob. 2QECh. 1.9 - Prob. 3QECh. 1.9 - Prob. 4QECh. 1.9 - Prob. 5QECh. 1.9 - Prob. 6QECh. 1.9 - Prob. 7QECh. 1.10 - Prob. 1QECh. 1.10 - Could errors have occurred in a byte from Question...Ch. 1.10 - Prob. 3QECh. 1.10 - Prob. 4QECh. 1.10 - Prob. 5QECh. 1.10 - Prob. 6QECh. 1 - Determine the output of each of the following...Ch. 1 - a. What Boolean operation does the circuit...Ch. 1 - a. If we were to purchase a flip-flop circuit from...Ch. 1 - Assume that both of the inputs in the following...Ch. 1 - The following table represents the addresses and...Ch. 1 - How many cells can be in a computers main memory...Ch. 1 - Prob. 7CRPCh. 1 - Prob. 8CRPCh. 1 - Prob. 9CRPCh. 1 - Prob. 10CRPCh. 1 - Suppose a picture is represented on a display...Ch. 1 - Prob. 12CRPCh. 1 - Prob. 13CRPCh. 1 - If each sector on a magnetic disk contains 1024...Ch. 1 - How many bytes of storage space would be required...Ch. 1 - Prob. 16CRPCh. 1 - Prob. 17CRPCh. 1 - Suppose a typist could type 60 words per minute...Ch. 1 - Prob. 19CRPCh. 1 - Prob. 20CRPCh. 1 - Prob. 21CRPCh. 1 - Prob. 22CRPCh. 1 - Prob. 23CRPCh. 1 - Prob. 24CRPCh. 1 - Prob. 25CRPCh. 1 - Prob. 26CRPCh. 1 - Prob. 27CRPCh. 1 - Prob. 28CRPCh. 1 - Prob. 29CRPCh. 1 - Prob. 30CRPCh. 1 - Prob. 31CRPCh. 1 - Prob. 32CRPCh. 1 - Prob. 33CRPCh. 1 - Prob. 34CRPCh. 1 - Prob. 35CRPCh. 1 - Prob. 36CRPCh. 1 - Prob. 37CRPCh. 1 - Prob. 38CRPCh. 1 - Prob. 39CRPCh. 1 - Prob. 40CRPCh. 1 - Prob. 41CRPCh. 1 - Prob. 42CRPCh. 1 - Prob. 43CRPCh. 1 - Prob. 44CRPCh. 1 - Prob. 45CRPCh. 1 - What would be the hexadecimal representation of...Ch. 1 - Prob. 47CRPCh. 1 - Prob. 48CRPCh. 1 - Prob. 49CRPCh. 1 - Prob. 50CRPCh. 1 - Prob. 51CRPCh. 1 - Prob. 52CRPCh. 1 - Prob. 53CRPCh. 1 - Prob. 54CRPCh. 1 - Prob. 55CRPCh. 1 - Prob. 56CRPCh. 1 - Prob. 57CRPCh. 1 - Prob. 58CRPCh. 1 - Write and test a Python script that, given a...Ch. 1 - Prob. 61CRPCh. 1 - Prob. 2SICh. 1 - Prob. 3SICh. 1 - Prob. 4SICh. 1 - Prob. 5SICh. 1 - Prob. 6SICh. 1 - Prob. 7SI
Knowledge Booster
Similar questions
- II. Using the ASCII code, what is the word corresponding to the given binary digits? Assume 8 bits for each letter. 0101010001000001010011010100001001001111 ASCII LETTERarrow_forwardThe following is a string of ASCII characters whose bit patterns have been converted into hexadecimal for compactness: 73 F4 E5 76 E5 4A EF 62 73. Of the eight bits in each pair of digits, the leftmost is a parity bit. The remaining bits are the ASCII code. Convert the string to bit form and decode the ASCII.arrow_forwardThe following is a string ASCII characters whose bit patterns have been converted into hexadecimal for compactness: CD 69 E4 54 E5 72 6D Of the eight bits in each pair of digits, the left most is a parity bit and the remaining bits are the ASCII code. Convert the string to bit form and decode the word in ASCII. What is the parity for each letter of the word?arrow_forward
- a. What is the ASCII representation of the numeral -3.1415 in binary?b. What is the ASCII representation of the numeral -3.1415 in octal?c. What is the ASCII representation of the numeral -3.1415 in hexadecimal?d. What is the ASCII representation of the numeral -3.1415 in decimal?arrow_forwardEncode (800) 555-0012 in ASCII, including punctuation. 5.Translate the following hexadecimal into binary and then into ASCII: 68 65 78 61 64 65 63 69 6D 61 6C You have discovered the following string of binary ASCII code; figure out what they mean: 01010111 01100001 01111001 00100000 01110100 01101111 00100000 01100111 01101111 00100001arrow_forwardConsider the ASCII table below: Dec Hex Name Ch ar Ctrl-char Dec Hex Char Dec Hex Char Dec Hex Char Null Start of heading 2. NUL CTRL- SOH CTRL-A CTRL-B 32 20 Space 64 33 21 34 22 23 Start of text End of text End of xmit STX 13 3. CTRL-C EOT CTRL-D ENQ CTRL-E ACK CTRL-F BEL ETX 4. Engury Acknowledge Ball Backspace Horizorta tab Line feed Vertical tab Form feed Carmage feed Shaft out CTRL 6 BS CTRL H CTRL CTRL- HT 10 DA I 08 12 0C 13 00 LE VI FF CIRL CTRN SI CIRLO DLE CTRL-E ĐC CTRL 15 OF 16 10 11 Device contrd2 Datatine escape 17 Device control 1 18 12 19 13 Devica control= 20 Device contral 4 15 Neg acknowdedge Synchronouside DC3 CTRLIS DC4 CIRET NAK CTRL 14 16 22 17 End of sumit tlock CTRE-W ETB CAN CTRL-X EMCTRL 24 25 19 26 14 27 16 28 1C 29 10 Group separacor 30 18 Cancel End medum Subsbute Escape File separator SUB CTRL ESC CTRL FS GS RS US CTRL CTRL- 1E 1F Record separtor Unit separator CTRL CTRL Given the alphabets from A to Z, devise a function that will search for any…arrow_forward
- Assume we are using the simple model for floating-point representation discussed in the class (the representation uses a 14-bit format, 5 bits for the exponent with an Excess-M, a significand of 8 bits, and a single sign bit for the number): Convert 12.345 to the floating-point binary representation. (Remember we learned "implied one" format in the lecture) You need to type in the calculation steps or insert the picture of your handwriting using "insert" menu above.arrow_forwardKindly answer the following questions. d. How are the ASCII codes for the decimal digits obtained? What is the relation between the ASCII codes for the capital letters and lowercase letters?arrow_forwardConvert the string "0xC69A5" into ASCII What is the string corresponding to the following series of ASCII values: 0x54 0x68 0x69 0x73 0x20 0x69 0x73 0x20 0x41 0x53 0x43 0x49 0x49 0x21arrow_forward
- Given the ASCII table, Find the Ascii value of the lettere and the symbol { 8.8.8.8. 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 000 NULL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT SO SI ASCII Table 001 DLE DC1 DC2 DC3 DC4 SYN ETB CAN EM SUB ESC FS GS RS US 8.0.0, 010 011 ornninGAY AN 2 100 101 CADCOEFONICKLMNO А PORSTUVWX>N~~- i 110 CAUCOT CF-Eco m EGUL> 3xx DELarrow_forward2) What is the largest binary number that can be expressed with 16 bits? What are the equivalent decimal and hexadecimal numbers? 3) Convert the hexadecimal number 64CD to binary, and then convert it frombinary to octal.arrow_forward3. What percent error we would have in representing the value = 0.345678 in a computer where we can use s0, sl the signs, d1=2 digits, d2=2 digits, do-2 digits in representation sod1,d2x10mdearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education