240_-_midterm

pdf

School

CUNY Queens College *

*We aren’t endorsed by this school

Course

211

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

40

Uploaded by CaptainBadgerPerson743

Report
Question 1 10 points | /s | How many bytes are used to encode an ASCII character? A.2 B. 4 C1 D.8
Question 2 10 poi m points | Images using Lossy data compression allows for original data to be reconstructed without loss of information. True or False? True ~ False
Question 3 10 points _| /s | A Floating point number's EXPONENT is encoded in which binary format? A. Sign Magnitude B. Two's Complement C. Excess K D. One's Complement
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 4 10 points Save Answer Convert the following UTF-8 encoded binary into a Unicode Character: 11100100 10100110 10001010 A. U+494A B. U+498A C. U+4A58A D. U+A58A
Question 5 10 points Which statements are TRUE regarding Excess K? A. when positive, it has the same binary code as one's complement B. two representations for zero C. one representation for zero D. has a sign bit
Question 6 10 points m In BCD, positive values are represented by what bit pattern? A. 1011 B. 1100 C. 1101 D.1010
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 7 10 poi y | points | B Convert the following from Hexadecimal to Binary: (3B2A)16 A. 0011101100101101 B.0011101110101010 C. 15146 D.0011101100101010
Question 8 10 points D Perform the following subtraction operation on the following 2's complement numbers. If the resulting answer is wrong due to OVERFLOW, please indicate. 1011-0110 )| A. OVERFLOW 3 B. 1001 3 C. 0101 ) D.10101
Question 9 10 points d ‘What value is encoded in the following Single Precision Floating Point? 011111111 11100...0 A. Infinity B. +infinity C. Denormalized Number D. Not A Number
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 10 10 points Save Answer A 32 Bit Floating Point can store more values than a 32 Bit Int. True or False? True False
Question 11 10 points D A 32 Bit Floating Point can support a 24 bit ODD number. True or False? True False
Question 12 10 points Given the following number: 11111111 11111111 11111111 11100000 What would be the value in DECIMAL if 2's complement encoding was used? A.32
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 13 In UTF-8, if the LEADING BYTE looks like this: 11010111 How many bytes are used to encode the character? A4 B.1 C.8 D.2 10 points
Question 14 10 points Save Answer Which statements are TRUE about 2's complement encoding A. two representations for zero (B. For positive values, the binary code is identical to one's complement C. there is a sign bit (D. one representation for zero
Question 15 10 points Convert the following from Unsigned Binary to Hexidecimal: (1100111001110011) A.CB73 B.CE73 C. 52083 D.A1B1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 16 (0.625)19 A. 0.110010101 B. 0.110010 C. 0.110101 D.0.101 Convert from Decimal Fraction to Binary: 10 points
. T | Question 17 10 points Save Answer Convert the following Unsigned Binary to Decimal: (10010110), A. 192 B.128 C. 150 D.256
Question 18 How many bits are used to encode an ASCII character? A 4 B.16 C.8 D.7 10 points
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 19 ‘What is the range of decimal values that can be represented by 8 bits using Sign Magnitude? A <127 to +127 B.-128to +127 C.-1281t0 +128 D.-129to +128 10 points
Question 20 [ | 10 points m In addition to an IP address, every network device also has a MAC address. Given the following MAC address: 60-e3-27-18- ad-3d How many bits is a MAC address? A. 12 bits B. 16 bits C. 48 bits D. 32 bits
Question 21 10 points Save Answer There are two representations for ZERO in One's Complement. True or False? True False
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 22 10 points m Convert the following from Unsigned Binary to Decimal: (0.101) A.0.5 B.0.625 C.0.05 D.0.50
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 23 10 poi m | points | Add the following 2's Complement numbers. If the answer is incorrect due to OVERFLOW, please indicate. 1101 +1100 A. 11001 B. 1001 C. 1100 D. OVERFLOW
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 24 10 points m—l Perform the following multiplication operation on the following 2's complement numbers. If the resulting answer is wrong due to OVERFLOW, please indicate. 1011 x 1011 ~ A. 111001 B. OVERFLOW C. 00011001 D. 1111001
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 25 Which of the following encodings use a Sign Bit? | A. Excess K | B. One's Complement | C. Two's Complement | D. Sign Magnitude 10 points
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 26 10 poi m points | There are two representations for ZERO in Two's Complement. True or False? True False
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 27 10 points m Given a 32 bit Single Precision Floating Point. What is the smallest positive value that can be represented (in normalized form)? A 1 q1x27126 B. 12126 Coqx2127 D.0.1x27126
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 28 10 points What is the range of decimal values that can be represented by 8 bits using Two's Complement? A.-128to +128 B.-127 to +127 C.-129to +128 D.-128to +127
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 29 10 points d‘ What is the Binary Coded Decimal for (36.5)1¢ A.100100.11 B. 001101100101 C.100100.101 D.100100.1
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 30 10 points m_} Which is the largest value that can be stored in a normalized 32 bit floating point? A 32 4 B 1411111111111 x 2126 C. +infinity Dt iaii 11111 x 2127
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 31 10 points Save Answer BCD supports Floating Point numbers. True or False? True O False
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 32 10 points m in a Double Precision Floating Point encoding, what decimal exponent is represented by 00000000001? A.-127 B.-126 C.-1023 | D.-1022
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
—1 Question 33 10 points Save Answer Which is not a valid UTF-8 character? A. They are all valid UTF-8 B.1110100110101010 10010100 10000100 C. 01100101 D.11010010 10101010
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 34 10 poi m points | Given the following Binary: 11000001 01010000 00000000 00000000 What DECIMAL value is encoded if SINGLE PRECISION FLOATING POINT was used?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 35 10 points | /s | What is the range of decimal values that can be represented by 8 bits using One's Complement? A.-128to +128 B.-129to +128 C.-128to +127 D.-127 to +127
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 36 Convert the following from DECIMAL to BINARY: 12 A. 1110 B. 1111 C. 1100 D.1010 10 paints [
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 37 10 poi m | points | B UTF-8 is a fixed width encoding. True or False? True False
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 38 Convert the following from Unsigned Binary to Octal: (001000010100), A.512 B. 1533 C. 1024 D.859 10 points
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 39 What value is encoded in the following Single Precision Floating Point? 000000000 000...0 A. Not a Number B. Denormalized Number C. +infinity D.0 10 points
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 40 Convert the following from Octal to Hexadecimal: (3723)g O A R2D2 O B.7E3 @®C.7D3 O D.2019 10 points
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help