AP Computer Science Principles Unit 1-4
Assessments Exam Questions With
Correct Answers
What is the best explanation for why digital data is represented in
| | | | | | | | | | | |
computers in binary? | |
A. The binary number system is the only system flexible enough to
| | | | | | | | | | | | |
allow for representing data other than numbers.
| | | | | |
|B. It's easier, cheaper, and more reliable to build machines and devices
| | | | | | | | | | | |
that only have to distinguish between binary states.
| | | | | | |
|C. It typically takes fewer digits to represent a number in binary when
| | | | | | | | | | | | |
compared to other number systems (for example, the decimal number
| | | | | | | | | |
system)
D. It's impossible to build a computing machine that uses anything but
| | | | | | | | | | | | |
binary to represent numbers - CORRECT ANSWER✔✔-B
| | | | | |
What is the 4-bit binary number for the decimal number Ten (10)?
| | | | | | | | | | |
| A. 0010
| |
| B. 1010
| |
| C. 0110
| |
| D. 0101 - CORRECT ANSWER✔✔-B
| | | |
,What is the minimum number of bits you would need to encode the 26
| | | | | | | | | | | | | |
letters of the alphabet plus a space - a total of 27 characters?
| | | | | | | | | | | |
| A. 2 bits
| | |
| B. 3 bits
| | |
| C. 5 bits
| | |
| D. 6 bits - CORRECT ANSWER✔✔-C
| | | | |
Number systems with different bases such as binary (base-2) and
| | | | | | | | | |
decimal (base-10) are all used to view and represent digital data.
| | | | | | | | | |
Which of the following is NOT true about representing digital data?
| | | | | | | | | |
|A. At one of the lowest levels of abstraction, all digital data can be
| | | | | | | | | | | | | |
represented in binary using only combinations of the digits zero and
| | | | | | | | | | |
one.
B. The same value (number) can have a different representation
| | | | | | | | | | |
depending on the number system used to represent it.
| | | | | | | |
C. Groups of bits can be used to represent abstractions, including but
| | | | | | | | | | | | |
not limited to numbers and characters.
| | | | |
,D. Some large numbers cannot be represented in binary and can only
| | | | | | | | | | | | |
be represented in decimal. - CORRECT ANSWER✔✔-D
| | | | | |
Consider the following three binary numbers:
| | | | |
| 01010
010000
| 1110
Which of the following lists the numbers in order from least to greatest?
| | | | | | | | | | | |
| A. 010000
|
| 1110
| 01010 |
|
| B. 01010
|
| 1110
010000 |
, |
| C. 01010 |
010000
| 1110 |
|
| D. 1110 |
| 01010
010000 - CORRECT ANSWER✔✔-B | | |
A middle school is expanding to open a high school next year, doubling
| | | | | | | | | | | | |
the total number of students. The school keeps a database in which
| | | | | | | | | | | |
each student's unique ID number is stored as an 8 bit number called
| | | | | | | | | | | | |
studentID. Before the arrival of the new students almost every 8 bit
| | | | | | | | | | | |
number has already been assigned to a student. Of the options provided
| | | | | | | | | | |
below, which is the smallest change to the way studentID is represented
| | | | | | | | | | | |
necessary to ensure each incoming student receives a unique ID?
| | | | | | | | | |
| A. Add a bit to studentID to double the number of IDs that the database
| | | | | | | | | | | | | |
| can represent. | |
B. Double the number of bits in studentID to double the number of IDs
| | | | | | | | | | | | | |
that the database can represent
| | | | |
Assessments Exam Questions With
Correct Answers
What is the best explanation for why digital data is represented in
| | | | | | | | | | | |
computers in binary? | |
A. The binary number system is the only system flexible enough to
| | | | | | | | | | | | |
allow for representing data other than numbers.
| | | | | |
|B. It's easier, cheaper, and more reliable to build machines and devices
| | | | | | | | | | | |
that only have to distinguish between binary states.
| | | | | | |
|C. It typically takes fewer digits to represent a number in binary when
| | | | | | | | | | | | |
compared to other number systems (for example, the decimal number
| | | | | | | | | |
system)
D. It's impossible to build a computing machine that uses anything but
| | | | | | | | | | | | |
binary to represent numbers - CORRECT ANSWER✔✔-B
| | | | | |
What is the 4-bit binary number for the decimal number Ten (10)?
| | | | | | | | | | |
| A. 0010
| |
| B. 1010
| |
| C. 0110
| |
| D. 0101 - CORRECT ANSWER✔✔-B
| | | |
,What is the minimum number of bits you would need to encode the 26
| | | | | | | | | | | | | |
letters of the alphabet plus a space - a total of 27 characters?
| | | | | | | | | | | |
| A. 2 bits
| | |
| B. 3 bits
| | |
| C. 5 bits
| | |
| D. 6 bits - CORRECT ANSWER✔✔-C
| | | | |
Number systems with different bases such as binary (base-2) and
| | | | | | | | | |
decimal (base-10) are all used to view and represent digital data.
| | | | | | | | | |
Which of the following is NOT true about representing digital data?
| | | | | | | | | |
|A. At one of the lowest levels of abstraction, all digital data can be
| | | | | | | | | | | | | |
represented in binary using only combinations of the digits zero and
| | | | | | | | | | |
one.
B. The same value (number) can have a different representation
| | | | | | | | | | |
depending on the number system used to represent it.
| | | | | | | |
C. Groups of bits can be used to represent abstractions, including but
| | | | | | | | | | | | |
not limited to numbers and characters.
| | | | |
,D. Some large numbers cannot be represented in binary and can only
| | | | | | | | | | | | |
be represented in decimal. - CORRECT ANSWER✔✔-D
| | | | | |
Consider the following three binary numbers:
| | | | |
| 01010
010000
| 1110
Which of the following lists the numbers in order from least to greatest?
| | | | | | | | | | | |
| A. 010000
|
| 1110
| 01010 |
|
| B. 01010
|
| 1110
010000 |
, |
| C. 01010 |
010000
| 1110 |
|
| D. 1110 |
| 01010
010000 - CORRECT ANSWER✔✔-B | | |
A middle school is expanding to open a high school next year, doubling
| | | | | | | | | | | | |
the total number of students. The school keeps a database in which
| | | | | | | | | | | |
each student's unique ID number is stored as an 8 bit number called
| | | | | | | | | | | | |
studentID. Before the arrival of the new students almost every 8 bit
| | | | | | | | | | | |
number has already been assigned to a student. Of the options provided
| | | | | | | | | | |
below, which is the smallest change to the way studentID is represented
| | | | | | | | | | | |
necessary to ensure each incoming student receives a unique ID?
| | | | | | | | | |
| A. Add a bit to studentID to double the number of IDs that the database
| | | | | | | | | | | | | |
| can represent. | |
B. Double the number of bits in studentID to double the number of IDs
| | | | | | | | | | | | | |
that the database can represent
| | | | |