10/2/24, 10:53 AM
EUNICE
Csp Final exam WITH 100% SURE ANSWERS
Terms in this set (61)
What is the best explanation for why digital its easier, cheaper, and more reliable to build machines and devices that only have to
data is represented in computers in binary? distinguish between binary states
what
What is the 4-bit binary number for the 1010
decimal number Ten (10)?
What is the minimum number of bits you 5 bits
would need to encode the 26 letters of the
alphabet plus a space - a total of 27
characters?
Number systems with different bases such as Some large numbers cannot be represented in binary and can only be represented in
binary (base 2) and decimal (base 10) are decimal.
allused to view and represent digital data.
Which of the following is NOT true about
representing digital data?
Eight bits is enough to represent 256 9 bits
different numbers. How many total bits do
you need to represent 512 (twice as many)
numbers.
A packet traveling between two computers on the Internet may be rerouted many
Which of the following statements are true
times along the way or even lost or "dropped". and Routers act independently and
about routers and routing on the Internet?
route packets as they see fit.
Which of the following BEST describes how Low level protocols can provide functionality to high level protocols without revealing
protocols on the Internet (IP, TCP, HTTP) the details of how it is accomplished.
make use of abstraction to accomplish their
respective purposes?
According to the domain name system about.example.com
(DNS), which of the following is a subdomain
of the domain example.com?
Which of the following is NOT true about TCP guarantees that no packets are ever dropped.
TCP/IP packets?
1/8
, 10/2/24, 10:53 AM
Programming languages have some Ambiguities in natural language necessitate the creation of programming languages for
similarities and differences to the "natural" controlling a computer. and Compared to the number of words in a natural language,
language you use in everyday speech. Select the number of defined words in a programming language is very small.
the two true statements about programming
languages:
Which of the following is NOT true about Functions cannot make calls to other functions within the same program.
functions in programming?
Line 1: REPEAT 4 TIMES Line
2: {
Line 3: MOVE_FORWARD()
Line 4: ROTATE_RIGHT()
Line 5: MOVE_FORWARD()
Consider the following incorrect program, Line 6: MOVE_FORWARD()
which is intended to move the robot around Line 7: MOVE_FORWARD()
the perimeter of a grid, as indicated by the Line 8: MOVE_FORWARD()
drawing below. The starting position and Line 9: ROTATE_RIGHT()
direction of the robot is indicated in the Line 10: }
diagram. ·
Fig: What the robot is supposed to do
Given the options below, which lines should be removed so the program will work as
intended?
Lines 3 and 4
Instruction
Explanation
MOVE_FORWARD()
The robot moves one square forward in the direction it is facing.
ROTATE_RIGHT()
The robot rotates in place 90 degrees clockwise (i.e., makes an in-place right turn).
ROTATE_LEFT()
The robot rotates in place 90 degrees counterclockwise (i.e., makes an in-place left
turn).
REPEAT n TIMES
This question uses a robot in a grid of The block of instructions contained between the braces { } is repeated n times.
squares. The robot is represented as a Consider the following program which uses commands from the pseudocode
triangle, which is initially facing up, towards described above.
the top of the grid. The robot is moved REPEAT 4 TIMES {
according to the following instructions. MOVE_FORWARD()
MOVE_FORWARD()
MOVE_FORWARD()
ROTATE_RIGHT()
MOVE_FORWARD()
ROTATE_RIGHT()
MOVE_FORWARD()
ROTATE_RIGHT() }
Which of the following images shows the path and ending location of the robot that will
result from executing the code above. The starting location of the robot is shown as a
dotted triangle for cases where the robot does not start and end at the same location.
Which of the following most accurately Moore's Law is the observation that computing power tends to double every two years
describes Moore's Law:
Fill in the blank of the following statement: Symmetric
"__ encryption is a method of encryption
involving one key for both encryption and
decryption."
2/8
EUNICE
Csp Final exam WITH 100% SURE ANSWERS
Terms in this set (61)
What is the best explanation for why digital its easier, cheaper, and more reliable to build machines and devices that only have to
data is represented in computers in binary? distinguish between binary states
what
What is the 4-bit binary number for the 1010
decimal number Ten (10)?
What is the minimum number of bits you 5 bits
would need to encode the 26 letters of the
alphabet plus a space - a total of 27
characters?
Number systems with different bases such as Some large numbers cannot be represented in binary and can only be represented in
binary (base 2) and decimal (base 10) are decimal.
allused to view and represent digital data.
Which of the following is NOT true about
representing digital data?
Eight bits is enough to represent 256 9 bits
different numbers. How many total bits do
you need to represent 512 (twice as many)
numbers.
A packet traveling between two computers on the Internet may be rerouted many
Which of the following statements are true
times along the way or even lost or "dropped". and Routers act independently and
about routers and routing on the Internet?
route packets as they see fit.
Which of the following BEST describes how Low level protocols can provide functionality to high level protocols without revealing
protocols on the Internet (IP, TCP, HTTP) the details of how it is accomplished.
make use of abstraction to accomplish their
respective purposes?
According to the domain name system about.example.com
(DNS), which of the following is a subdomain
of the domain example.com?
Which of the following is NOT true about TCP guarantees that no packets are ever dropped.
TCP/IP packets?
1/8
, 10/2/24, 10:53 AM
Programming languages have some Ambiguities in natural language necessitate the creation of programming languages for
similarities and differences to the "natural" controlling a computer. and Compared to the number of words in a natural language,
language you use in everyday speech. Select the number of defined words in a programming language is very small.
the two true statements about programming
languages:
Which of the following is NOT true about Functions cannot make calls to other functions within the same program.
functions in programming?
Line 1: REPEAT 4 TIMES Line
2: {
Line 3: MOVE_FORWARD()
Line 4: ROTATE_RIGHT()
Line 5: MOVE_FORWARD()
Consider the following incorrect program, Line 6: MOVE_FORWARD()
which is intended to move the robot around Line 7: MOVE_FORWARD()
the perimeter of a grid, as indicated by the Line 8: MOVE_FORWARD()
drawing below. The starting position and Line 9: ROTATE_RIGHT()
direction of the robot is indicated in the Line 10: }
diagram. ·
Fig: What the robot is supposed to do
Given the options below, which lines should be removed so the program will work as
intended?
Lines 3 and 4
Instruction
Explanation
MOVE_FORWARD()
The robot moves one square forward in the direction it is facing.
ROTATE_RIGHT()
The robot rotates in place 90 degrees clockwise (i.e., makes an in-place right turn).
ROTATE_LEFT()
The robot rotates in place 90 degrees counterclockwise (i.e., makes an in-place left
turn).
REPEAT n TIMES
This question uses a robot in a grid of The block of instructions contained between the braces { } is repeated n times.
squares. The robot is represented as a Consider the following program which uses commands from the pseudocode
triangle, which is initially facing up, towards described above.
the top of the grid. The robot is moved REPEAT 4 TIMES {
according to the following instructions. MOVE_FORWARD()
MOVE_FORWARD()
MOVE_FORWARD()
ROTATE_RIGHT()
MOVE_FORWARD()
ROTATE_RIGHT()
MOVE_FORWARD()
ROTATE_RIGHT() }
Which of the following images shows the path and ending location of the robot that will
result from executing the code above. The starting location of the robot is shown as a
dotted triangle for cases where the robot does not start and end at the same location.
Which of the following most accurately Moore's Law is the observation that computing power tends to double every two years
describes Moore's Law:
Fill in the blank of the following statement: Symmetric
"__ encryption is a method of encryption
involving one key for both encryption and
decryption."
2/8