wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP CSP 200PT Quizizz 1-9 - BLOCK

Total questions: 118

Worksheet time: 6hrs 2mins

Name
Class
Date
1.

What's the relationship between a byte and a bit?

a)

8 bytes in a bit

b)

4 bits in a byte

c)

10 bytes is a bit

d)

8 bits in a byte

2.

Computers store information in bits, or binary digits. Which of the following could be represented in bits?

a)

Numbers

b)

Text

c)

Images

d)

Sounds

e)

All of the above

3.

Creating simplified representations of something more complex is called:

a)

obstruction

b)

abstraction

c)

substitution

d)

flippy-do

4.

What is 0011 0100 in decimal form?

a)

52

b)

28

c)

100

d)

60

5.

What is 226 in binary?

a)

1111 0010

b)

1100 1100

c)

1110 0110

d)

1110 0010

6.

Is 0000 1100 equivalent to 1100 in binary?

a)

Yes

b)

No

7.

How many bits do you need to make 21 in binary?

a)

3

b)

4

c)

5

d)

6

8.

Can you make 34 with 5 bits?

a)

Yes

b)

No

9.

Which is true about 3 bits?

a)

The highest number you can reach is 8, giving you 9 numbers (0-8)

b)

The highest number you can reach is 7, giving you 8 numbers (0-7)

c)

The highest number you can reach is 8, giving you 8 numbers (0-7)

d)

The highest number you can reach is 7, giving you 7 numbers (0-7)

10.

Which is true about analog vs digital?

a)

Analog is data with values that change continuously, or smoothly, over time while digital is has a finite set of possible values

b)

Analog has a finite set of possible data values while digital has data values that change continuously, or smoothly, over time

11.

Which of the following is true about creating a digital image? Mark all that apply.

a)

The more sampling you do, the closer the image will look to the analog version

b)

The less sampling you do, the closer the image will look to the analog version

c)

The more pixels you have, the smaller the file size of the image

d)

The more pixels you have, the larger the file size of the image

12.

Compression is a process used to reduce the number of bits necessary to represent something.

a)

True

b)

False

13.

What is the difference between lossy and lossless compression? Mark all that apply.

a)

With lossless compression, you can reverse the process and recreate the original exactly

b)

With lossy compression, no information is lost

c)

With lossless compression, the size of the file sent is always going to be the same size as the original

d)

Lossy compression is ok if you are just trying to send a quick silly picture to someone but if specific details are important, you should use lossless compression

e)

Lossless compression would send a higher quality image than one sent with lossy compression

14.

A Creative Commons license restricts the use of a copyright.

a)

True

b)

False

15.

What is true about copyright laws?

a)

If you use someone's stuff and don't cite it, you are violating copyright laws

b)

If someone has a Creative Commons license, then you are able to use their stuff freely (as long as it follows what is written in the license)

c)

Open source means you are free to use it without worrying about copyright laws

d)

All of the above

16.

Can be physical (self-driving car), non-physical computing software (picture editing software), or non-physical computing concepts (e-commerce).

a)

Personally Identifiable Information

b)

Phishing

c)

Computing Innovation

d)

Public Key Encryption

17.

Information about an individual that identifies, links, relates, or describes them.

a)

Personally Identifiable Information

b)

Phishing

c)

Computing Innovation

d)

Public Key Encryption

18.

A technique that attempts to trick a user into providing personal information. That personal information can then be used to access sensitive online resources, such as bank accounts and emails

a)

Malware

b)

Phishing

c)

Keylogging

d)

Encryption

19.

The use of a program to record every keystroke made by a computer user in order to gain fraudulent access to passwords and other confidential information.

a)

Malware

b)

Phishing

c)

Keylogging

d)

Encryption

20.

Software intended to damage a computing system or to take partial control over its operation.

a)

Malware

b)

Phishing

c)

Keylogging

d)

Encryption

21.

A wireless access point that gives unauthorized access to secure networks.

a)

Malware

b)

Rogue Access Point

c)

Keylogging

d)

Encryption

22.

A process of encoding messages to keep them secret, so only "authorized" parties can read it.

a)

Decryption

b)

Multi-factor Authentication

c)

Computer Virus Scanning Software

d)

Encryption

23.

A process that reverses encryption, taking a secret message and reproducing the original plain

text.

a)

Decryption

b)

Multi-factor Authentication

c)

Computer Virus Scanning Software

d)

Encryption

24.

Used by Julius Caesar around 58 BC, is a substitution cipher that shifts letters in a message to make it unreadable if intercepted.

a)

Decryption

b)

Multi-factor Authentication

c)

Caesar Cipher

d)

Encryption

25.

Protects a computing system against infection.

a)

Decryption

b)

Multi-factor Authentication

c)

Caesar Cipher

d)

Computer Virus Scanning Software

26.

A system that requires at least two steps to unlock protected information; each step adds a new layer of security that must be broken to gain unauthorized access

a)

Decryption

b)

Multi-factor Authentication

c)

Caesar Cipher

d)

Encryption

27.

A system that requires two separate, distinct forms of identification in order to access something.

a)

Two Factor Authentication

b)

Symmetric Key Encryption

c)

Single Facto Authentication

d)

Multifactor Authentication

28.

A process for securing access to a given system that identifies the party requesting access through only one category of credentials.

a)

Two Factor Authentication

b)

Single Factor Authentication

c)

Multifactor Authentication

d)

Encryption

29.

Which of the following best describes the protocols used on the Internet?

a)

The protocols of the Internet are designed by government agencies to ensure they remain free to use

b)

The protocols of the Internet are secret to maintain the privacy and security of people using them

c)

Each device connected to the Internet will use a protocol designed by the company that manufactured it

d)

The protocols of the Internet are open and used by all devices connected to the network

30.

For the next four questions, match the term with the definition: Computing Device

a)

a machine that can run a program

b)

a group of computers working together for a common purpose

c)

a group of connected computers that can send or receive data

d)

a sequence of direct connections

31.

For the next four questions, match the term with the definition: Path

a)

a machine that can run a program

b)

a group of computers working together for a common purpose

c)

a group of connected computers that can send or receive data

d)

a sequence of direct connections

32.

For the next four questions, match the term with the definition: Computing Network

a)

a machine that can run a program

b)

a group of computers working together for a common purpose

c)

a group of connected computers that can send or receive data

d)

a sequence of direct connections

33.

For the next four questions, match the term with the definition: Computing System

a)

a machine that can run a program

b)

a group of computers working together for a common purpose

c)

a group of connected computers that can send or receive data

d)

a sequence of direct connections

34.

Jesse purchases a new smartphone and is immediately able to use it to send a photo over the Internet to a friend who lives in a different country. Which of the following is NOT necessary to make this possible?

a)

Both devices are using the same shared and open protocols

b)

A single direct connection is established between any two devices connected to the Internet

c)

The data of the image is routed through a sequence of directly connected devices before arriving at its destination.

d)

Both devices are directly connected to at least one part of the Internet

35.

This diagram shows a number of computing devices connected to the Internet with each line representing a direct connection.   What is the MINIMUM number of paths that would need to be broken to prevent Computing Device A from connecting with Computing Device E?

a)

1

b)

2

c)

3

d)

4

36.

This diagram shows a number of computing devices connected to the Internet with each line representing a direct connection.   Device A is attempting to send data over the Internet to Device E. Which of the following is true of how the data will travel through the network?

a)

The data will always travel through Device B as it is the shortest path

b)

The data will never be sent to Device G since there are other shorter paths available

c)

It is possible that the data travels through any of the devices in the network before arriving at device E

d)

If the data travels through Device D then it will not travel through Device B

37.

Which of the following is true of how the Internet has responded to the increasing number of devices now using the network?

a)

The Internet protocols are changed every year to adapt to the new devices that have been connected to the network

b)

While the number of devices connected to the Internet has grown, the network itself has not grown

c)

The protocols of the Internet were designed to scale as new devices are added

d)

The protocols of the Internet are no longer necessary thanks to the large number of devices now connected to the network

38.

Which of the following is true of how packets are sent through the Internet?

a)

Packet metadata is only included on important packets to indicate they should get access to faster paths through the network

b)

Packet metadata is used to route and reassemble information travelling through the Internet

c)

Information sent through the internet is only encapsulated in packets if the message is too large to be sent as a datastream

d)

Information sent through the internet is split into two packets, one which contains the message and another which contains the metadata

39.

Emilee is watching an online video. The video is being sent to her laptop by a server over the Internet which splits the video into packets and sends them in the order they appear in the video. Which of the following is true about how the packets will arrive at her computer?

a)

The packets will always be received in the order that they were sent

b)

Either every packet will reach her computer or none of them will.

c)

Packets that arrive out of order will be sent back to the server.

d)

The packets may arrive out of order

40.

Which of the following best describes the purpose of an IP address?

a)

IP addresses provide a unique number for identifying devices that send and receive information on the Internet

b)

IP addresses assist in the reconstruction of a message that has been divided into many packets

c)

IP addresses indicate the location where an internet-connected computing device was manufactured

d)

IP addresses indicate how many times an individual packet has been requested by a router

41.

Which of the following Internet protocols is MOST important in reassembling packets and requesting missing packets to form complete messages?

a)

Transmission Control Protocol (TCP)

b)

Internet Protocol (IP)

c)

User Datagram Protocol (UDP)

d)

HyperText Transfer Protocol (HTTP)

42.

Which of the following Internet protocols is used to request and send pages and files on the World Wide Web?

a)

Transmission Control Protocol (TCP)

b)

Internet Protocol (IP)

c)

User Datagram Protocol (UDP)

d)

HyperText Transfer Protocol (HTTP)

43.

Two devices are connected to the Internet and communicating with one another. A squirrel chews through one of the wires in the network that is currently being used by the devices to communicate. The network immediately begins using a different path through the network and communication continues as normal.   This situation best exemplifies which principle?

a)

fault-tolerance

b)

scalability

c)

protocol

d)

pathing

44.

An Internet Service Provider (ISP) is a company that builds the routers and wired connections that allow individuals to access the Internet.   An ISP is considering adding additional redundant connections to its network. Which of the following best describes why the company would choose to do so?

a)

It costs less to design a network that is redundant

b)

The protocols of the Internet only work on networks that are redundant

c)

Redundant networks are more reliable

d)

Adding additional connections reduces the fault-tolerance of the network

45.

Which of the following situations is most likely to cause issues arising from the digital divide?

a)

A state makes voter registration forms available only by visiting a government website

b)

Two internet-connected devices located in different countries and thousands of miles apart attempt to communicate with one another

c)

Packets sent from one router to another begin arriving in a different order than they were sent

d)

A smartphone attempts to communicate over the Internet with another type of device, like a tablet or laptop

46.

Which of the following is MOST likely to be an outcome of the digital divide?

a)

Certain companies will be unable to certify their technology as digitally secure.

b)

People from some racial or ethnic groups have unequal access to computing technology.

c)

People will have equal access and influence both globally and locally.

d)

Political groups in some countries are unable to agree on regulations of digital technology.

47.

Any programming language that lets users create programs by manipulating “blocks” or graphical programming elements, rather than writing code using text.

a)

Command

b)

Run Program

c)

Algorithm

d)

Block-based programming language

48.

A sequence of steps written in a programming language that can be followed to solve a problem, especially by a computer.

a)

Debug

b)

Event

c)

Algorithm

d)

Computer Program

49.

An error in a program that prevents the program from running as expected

a)

onEvent

b)

Bug

c)

Moth

d)

Fly in the Ointment

50.

Statements that should only run upon a specific user action should be placed

a)

inside an onAction block

b)

below an onEvent command

c)

after the first programming statement

d)

within an onEvent programming statement

51.

Finding and fixing problems in an algorithm or program

a)

Debugging

b)

Event Driven Programming

c)

Run Programs

d)

Algorithms

52.

Cause the computer to execute the commands you've written in your program

a)

console.log

b)

Run Program

c)

Debug

d)

onEvent

53.

A single instruction for the computer. Put many together and you get algorithms and computer programs.

a)

Algorithm

b)

onEvent

c)

console.log

d)

Command

54.

A set of steps you can follow in order to solve a problem or achieve a result often written down in regular spoken language.

a)

Debugging

b)

Event

c)

Algorithm

d)

Computer Program

55.

When the user hovers their mouse over the hawk, the

a)

both birds will appear only in the middle of the screen

b)

The sparrow will be confined to the upper right and the hawk to the upper left

c)

The sparrow will be confined to the lower right and the hawk to the upper left

d)

The sparrow will be confined to the lower left and the hawk to the upper right

56.

Choose all the correct options. When debugging, you should

a)

run the program over and over, staring really hard at it

b)

add some console.log statements to see what is going on

c)

describe your program and the odd behavior to a friend

d)

reduce the amount of code and see if the behavior improves

57.

The program above is run. Then the user clicks the "blueButton" button ONCE. What will be displayed in the console?

a)

"1"

"2"

"3"

b)

"1"

"3"

c)

"2"

"1"

"3"

d)

"1"

"3"

"2"

58.

What color is blueButton after the code above runs?

a)

blue

b)

red

c)

green

d)

yellow

59.

What color is redButton after the code above runs?

a)

blue

b)

red

c)

green

d)

yellow

60.

The program above is run. What color is blueButton if the user DOES NOT click blueButton?

a)

blue

b)

red

c)

green

d)

yellow

61.

What will the console log say when this program is run?

a)

"Starting my program!"

"You clicked the button!"

"Ending my program!"

b)

"Starting my program!"

"Ending my program!"

"You clicked the button!"

c)

"You clicked the button!"

"Starting my program!"

"Ending my program!"

d)

"You clicked the button!"

"Ending my program!"

"Starting my program!"

62.

The program above is run. Then the user clicks the "blueButton" button ONCE. What will be displayed in the console?

a)

"1"

"2"

"3"

b)

"1"

"3"

c)

"2"

"1"

"3"

d)

"1"

"3"

"2"

63.

What color is blueButton after the code above runs?

a)

blue

b)

red

c)

green

d)

yellow

64.

What color is redButton after the code above runs?

a)

blue

b)

red

c)

green

d)

yellow

65.

The program above is run. What color is blueButton if the user DOES NOT click blueButton?

a)

blue

b)

red

c)

green

d)

yellow

66.

The program above is run. What color is blueButton if the user clicks blueButton once?

a)

blue

b)

red

c)

green

d)

yellow

67.

The following program is run. Then the user clicks the "redButton" ONCE and then clicks the "blueButton" ONCE. What will be displayed in the console?

a)

"1"

"3"

"5"

"2"

"4"

b)

"2"

"4"

c)

"1"

"3"

"5"

"4"

"2"

d)

"4"

"2"

e)

"1"

"2"

"3"

"4"

"5"

68.

Any programming language that lets users create programs by manipulating “blocks” or graphical programming elements, rather than writing code using text.

a)

Command

b)

Run Program

c)

Algorithm

d)

Block-based programming language

69.

A sequence of steps written in a programming language that can be followed to solve a problem, especially by a computer.

a)

Debug

b)

Event

c)

Algorithm

d)

Computer Program

70.

An error in a program that prevents the program from running as expected

a)

onEvent

b)

Bug

c)

Moth

d)

Fly in the Ointment

71.

Statements that should only run upon a specific user action should be placed

a)

inside an onAction block

b)

below an onEvent command

c)

after the first programming statement

d)

within an onEvent programming statement

72.

Finding and fixing problems in an algorithm or program

a)

Debugging

b)

Event Driven Programming

c)

Run Programs

d)

Algorithms

73.

Cause the computer to execute the commands you've written in your program

a)

console.log

b)

Run Program

c)

Debug

d)

onEvent

74.

A single instruction for the computer. Put many together and you get algorithms and computer programs.

a)

Algorithm

b)

onEvent

c)

console.log

d)

Program statement

75.

When the user hovers their mouse over the hawk,

a)

both birds will appear only in the middle of the screen

b)

the sparrow will be confined to the upper right and the hawk to the upper left

c)

the sparrow will be confined to the lower right and the hawk to the upper left

d)

the sparrow will be confined to the lower left and the hawk to the upper right

76.

Choose all the correct options. When debugging, you should

a)

run the program over and over, staring really hard at it

b)

add some console.log statements to see what is going on

c)

describe your program and the odd behavior to a friend

d)

reduce the amount of code and see if the behavior improves

77.

A group of computers working together for a common purpose

a)

computing device

b)

computing system

c)

computing network

d)

path

78.

A machine that can run a program

a)

computing device

b)

computing system

c)

computing network

d)

path

79.

A group of connected computers that can send or receive data

a)

computing device

b)

computing system

c)

computing network

d)

path

80.

A sequence of direct connections

a)

computing device

b)

computing system

c)

computing network

d)

path

81.

Which of the following best describes the protocols used on the Internet?

a)

The protocols of the Internet are designed by government agencies to ensure they remain free to use

b)

The protocols of the Internet are secret to maintain the privacy and security of people using them

c)

Each device connected to the Internet will use a protocol designed by the company that manufactured it

d)

The protocols of the Internet are open and used by all devices connected to the network

82.

Jesse purchases a new smartphone and is immediately able to use it to send a photo over the Internet to a friend who lives in a different country. Which of the following is NOT necessary to make this possible?

a)

Both devices are using the same shared and open protocols

b)

A single direct connection is established between any two devices connected to the Internet

c)

The data of the image is routed through a sequence of directly connected devices before arriving at its destination.

d)

Both devices are directly connected to at least one part of the Internet

83.

This diagram shows a number of computing devices connected to the Internet with each line representing a direct connection. What is the MINIMUM number of paths that would need to be broken to prevent Computing Device A from connecting with Computing Device E?

a)

1

b)

2

c)

3

d)

4

84.

This diagram shows a number of computing devices connected to the Internet with each line representing a direct connection. Device A is attempting to send data over the Internet to Device E. Which of the following is true of how the data will travel through the network?

a)

The data will always travel through Device B as it is the shortest path

b)

The data will never be sent to Device G since there are other shorter paths available

c)

It is possible that the data travels through any of the devices in the network before arriving at device E

d)

If the data travels through Device D then it will not travel through Device B

85.

Which of the following is true of how the Internet has responded to the increasing number of devices now using the network?

a)

The Internet protocols are changed every year to adapt to the new devices that have been connected to the network

b)

While the number of devices connected to the Internet has grown, the network itself has not grown

c)

The protocols of the Internet were designed to scale as new devices are added

d)

The protocols of the Internet are no longer necessary thanks to the large number of devices now connected to the network

86.

Which of the following is true of how packets are sent through the Internet?

a)

Packet metadata is only included on important packets to indicate they should get access to faster paths through the network

b)

Packet metadata is used to route and reassemble information travelling through the Internet

c)

Information sent through the internet is only encapsulated in packets if the message is too large to be sent as a datastream

d)

Information sent through the internet is split into two packets, one which contains the message and another which contains the metadata

87.

Emilee is watching an online video. The video is being sent to her laptop by a server over the Internet which splits the video into packets and sends them in the order they appear in the video. Which of the following is true about how the packets will arrive at her computer?

a)

The packets will always be received in the order that they were sent

b)

Either every packet will reach her computer or none of them will.

c)

Packets that arrive out of order will be sent back to the server.

d)

The packets may arrive out of order

88.

Which of the following best describes the purpose of an IP address?

a)

IP addresses provide a unique number for identifying devices that send and receive information on the Internet

b)

IP addresses assist in the reconstruction of a message that has been divided into many packets

c)

IP addresses indicate the location where an internet-connected computing device was manufactured

d)

IP addresses indicate how many times an individual packet has been requested by a router

89.

Which of the following Internet protocols is MOST important in reassembling packets and requesting missing packets to form complete messages?

a)

Transmission Control Protocol (TCP)

b)

Internet Protocol (IP)

c)

User Datagram Protocol (UDP)

d)

HyperText Transfer Protocol (HTTP)

90.

Which of the following Internet protocols is used to request and send pages and files on the World Wide Web?

a)

Transmission Control Protocol (TCP)

b)

Internet Protocol (IP)

c)

User Datagram Protocol (UDP)

d)

HyperText Transfer Protocol (HTTP)

91.

Two devices are connected to the Internet and communicating with one another. A squirrel chews through one of the wires in the network that is currently being used by the devices to communicate. The network immediately begins using a different path through the network and communication continues as normal.

This situation best exemplifies which principle?

a)

fault-tolerance

b)

scalability

c)

protocol

d)

pathing

92.

An Internet Service Provider (ISP) is a company that builds the routers and wired connections that allow individuals to access the Internet.

An ISP is considering adding additional redundant connections to its network. Which of the following best describes why the company would choose to do so?

a)

It costs less to design a network that is redundant

b)

The protocols of the Internet only work on networks that are redundant

c)

Redundant networks are more reliable

d)

Adding additional connections reduces the fault-tolerance of the network

93.

Which of the following situations is most likely to cause issues arising from the digital divide?

a)

A state makes voter registration forms available only by visiting a government website

b)

Two internet-connected devices located in different countries and thousands of miles apart attempt to communicate with one another

c)

Packets sent from one router to another begin arriving in a different order than they were sent

d)

A smartphone attempts to communicate over the Internet with another type of device, like a tablet or laptop

94.

Which of the following is MOST likely to be an outcome of the digital divide?

a)

Certain companies will be unable to certify their technology as digitally secure.

b)

People from some racial or ethnic groups have unequal access to computing technology.

c)

People will have equal access and influence both globally and locally.

d)

Political groups in some countries are unable to agree on regulations of digital technology

95.

Given the procedure:

What will be displayed after the following statement is executed?


DISPLAY ( adjustCount (11) + adjustCount (16) )

a)

28

b)

32

c)

33

d)

35

96.

Two grids are show. Each grid contains a robot represented as a triangle. Both robots are initially facing left. Each robot can move into a white or gray square, but cannot move into a black region.


For each grid, the program below is intended to move the robot to the gray square. The program uses the procedure Goal_Reached ( ), which evaluates to true if the robot is in the gray square and evaluates to false otherwise.

a)

Grid I only

b)

Grid II only

c)

Both grid I and grid II

d)

Neither grid I nor grid II

97.

Consider the code segment above.


If the variables onTime has the value of true and absent has the value false, what is displayed as a result of running the code segment?

a)

Hello.

b)

Is anyone there?

c)

Hello. Is anyone there?

d)

Hello. Better late than never.

98.

In the program below, the initial value of x is 0 and the initial value of y is -2.


What is displayed as a result of running the program?

a)

Foxtrot

b)

Hotel

c)

November

d)

Yankee

99.

The diagram shows a circuit with three gates, where the output from two AND gates are sent into an OR gate. The circuit has four inputs (A, B, C, D), two for each AND gate.


If the final output is 0, what is a possible state of the inputs A/B/C/D?

Choose 1 answer.

a)

A = 0, B = 0, C = 0, D = 0

b)

A = 1, B = 1, C = 0, D = 1

c)

A = 0, B = 1, C = 1, D = 1

d)

A = 1, B = 0, C = 1, D = 1

100.

The diagram shows a circuit composed of two logic gates labeled OR and AND. Each gate takes two inputs and produces a single output.


If the input A is false and input C is true, which of the following best describes the output of the AND gate?

a)

The output will be true no matter what the value of input B is.

b)

The output will be false no matter what the value of input B is.

c)

The output will be true if input B is true; otherwise it will be false.

d)

The output will be false if input B is true; otherwise it will be true.

101.

The diagram shows a circuit with three gates, where the output from two AND gates are sent into an OR gate. The circuit has four inputs (A, B, C, D), two for each AND gate.


If the final output is 0, what is a possible state of the inputs A/B/C/D?

Choose 1 answer.

a)

A = 1, B = 0, C = 1, D = 0

b)

A = 1, B = 1, C = 0, D = 1

c)

A = 0, B = 1, C = 1, D = 1

d)

A = 1, B = 0, C = 1, D = 1

102.

The two variables age and day are initialized with the values shown.

age <-- 16

day <-- "Tuesday"

Choose the compound conditional that evaluates to true.

a)

(age > 10) AND (age < 15)

b)

NOT (age > 10)

c)

(day = "Tuesday") OR (age < 12)

d)

NOT ( (age = 16) OR (day = "Tuesday") )

103.

This program uses a conditional to determine if seafood is safe to consume.


In which situations will rating be "unsafe"?

Note that there may be multiple answers to this question.

Choose 1 answer.

a)

When seafood is "mollusk" and daysFrozen is 7

b)

When seafood is "tuna" and daysFrozen is 6

c)

When seafood is "salmon" and daysFrozen is 7

d)

When seafood is "salmon" and daysFrozen is 6

104.

The following expression is from the data loading logic of a website.

NOT ( state ≠ "loading" AND result = "error" )

Which of these expressions are logically equivalent?

a)

state ≠ "loading" AND result ≠ "error"

b)

state = "loading" AND result = "error"

c)

state = "loading" OR result ≠ "error"

d)

state ≠ "loading" OR result = "error"

105.

Match the following

a)

a circuit with two inputs and one output defined such that its output is TRUE (or ON) only when both of its inputs are TRUE (or ON).

1.

AND gate

b)

an elementary building block of a digital circuit. Examples would be AND, OR, and NOT gates that perform basic digital operations.

2.

logic gate

c)

a circuit with one input and one output defined such that its output is TRUE (or ON) when its input is FALSE (or OFF) and vice versa.

3.

NOT gate

d)

a circuit with two inputs and one output defined such that its output is TRUE (or ON) when either or both of its inputs are TRUE (or ON).

4.

OR gate

106.

Match the following

a)

condition is a true/false condition. It is named after George Boole (1815-1864) an English mathematician.

1.

boolean

b)

any symbol that requires one byte of storage.

2.

character

c)

an informal way of describing an integrated circuit (IC) consisting of millions of tiny circuits.

3.

chip

d)

such as the numeral '5', is an abstraction that represents a single thing, e.g., the value 5.

4.

constant

e)

The process of translating the entire source code into a single binary file.

5.

compilation

107.

Match the following

a)

a machine that processes information under the control of a program.

1.

computer

b)

can run many different programs (e.g. a smartphone).

2.

general purpose computer

c)

has a fixed program (e.g. a simple calculator, a digital watch, a car's anti-lock braking system).

3.

special purpose computer

d)

An informal term for error in computer hardware or software -- the term was coined by Grace Hopper.

4.

computer bug

108.

Match the following

a)

consists of the programs that control the computer.

1.

software

b)

includes its electronic and mechanical components that carries out the instructions of a computer program.

2.

hardware

c)

houses the computer's main electronic components.

3.

motherboard

d)

stores the computer's programs and data temporarily while power is on.

4.

RAM

e)

the part of the computer's hardware that interprets and runs the computer program.

5.

CPU

109.

Match the following

a)

names a memory location to hold different values in your program.

1.

variable

b)

Variables that are declared and exist only inside a procedure or function (this is called their scope).

2.

local variables

c)

sets a variable to a value or a mathematical expression.

3.

assignment

d)

involves values, variables, and operators for example (a+b)/2

4.

expression

e)

input variables for a procedure.

5.

parameters

110.

Match the following

a)

Inserts x at end of the list

1.

APPEND(list, x)

b)

inserts an element into a list at the index given

2.

INSERT(list, i, value)

c)

removes the element in the given list at the given index

3.

REMOVE(list, x)

d)

data sent to a computer for processing by a program and can be tactile, audible, visual, or text

4.

input

e)

a block of programming statements that controls the flow or behavior of an algorithm.

5.

control structure

111.

Match the following

a)

Selection or conditional algorithm that allows a program to choose between different actions.

1.

If/Else

b)

occurs when the ending condition will never evaluate to true.

2.

Infinite loop

c)

Loops that have a predetermined beginning, end, and increment (step interval).

3.

For loop

d)

a programming construct used to repeat a set of commands (loop) as long as (while) a boolean condition is true

4.

While loop

e)

a statement that will evaluate to true or false and run code based on the answer

5.

conditional statement

112.

Match the following

a)

puts a list into alphabetic or numeric order.

1.

sorting algorithm

b)

a step-by-step procedures for solving a particular problem.

2.

algorithm

c)

a search algorithm that repeatedly divides a sorted list to narrow in on the searched-for item

3.

binary search

d)

specify the values of the parameters when a procedure is called.

4.

arguments

e)

an algorithm that checks ever element in a list from the start to the end of the list to find an item.

5.

linear or sequential search

113.

Match the following

a)

another term for 'repetition'

1.

iteration

b)

a programming language that is directly readable by the computer's CPU.

2.

machine learning

c)

data sent back from the program to the device and can be tactile, audible, visual, or text.

3.

output

d)

a sequence of instructions that controls the computer.

4.

program

e)

a notation for expressing algorithms, which is more precise that ordinary English but less formal than a programming language.

5.

pseudocode

114.

Match the following

a)

control structure uses a true or false condition to determine which of two parts of an algorithm is used.

1.

selection

b)

control structure that is the application of each step of an algorithm in the order in which the statements are given.

2.

sequence

c)

a non-executable block of text that can be added to a program to provide clarification and documentation of the code.

3.

comment

d)

Putting two strings together to make a new string.

4.

concatenation

e)

a system of rules that govern the behavior of some system.

5.

protocol

115.

Match the following

a)

A sequence of characters that can be stored in a variable or list.

1.

string

b)

Part of an existing string

2.

substring

c)

solve by trial and error; trying every possible option

3.

brute force

d)

how well an algorithm uses time and memory/space resources, CPU and RAM

4.

efficiency

e)

A procedure that computes and returns a value.

5.

function

116.

Match the following

a)

A value sent back by a function to the place in the code where the function was called form

1.

return value

b)

<, >, <=, >=, ==, != indicate a Boolean expression

2.

comparison operators

c)

users are asked to present several separate pieces of evidence involving knowledge (something they know like a password), possession (something they have like a texted code), and/or inherence (something they are like biometrics).

3.

multi-factor authentication (MFA)

d)

The process of removing errors from computer hardware or software.

4.

debugging

e)

a computational model in which operations are performed in order, one at a time on one processor or computer

5.

sequential computing

117.

Match the following

a)

the number or position of an element in the list.

1.

index

b)

In computer science, this stores multiple items under one variable name and uses an index to number and access them.

2.

list

c)

Symbols like +,-,*,/ used for addition, subtraction, multiplication, division.

3.

operator

d)

in computer science is the practice of organizing and encapsulating algorithms in named procedures that can then be invoked by name. An example would be the 'sqrt(x)', square root of x, which encapsulates the algorithm for calculating the square root of x.

4.

procedural abstraction

e)

the lack of pattern or regularity. A random sequence of events has no order or pattern.

5.

random

118.

Match the following

a)

data means to transmit data from a computer to an online repository or service such as a bulletin board service, or drop box, or network.

1.

upload

b)

gives the remainder when one number is divided by another.

2.

mod operator

c)

an event that cannot be predicted with certainty. Examples would include flipping a fair coin, rolling a die, picking a card from a well shuffled deck.

3.

random event

d)

an algorithm that generates a sequence of numbers that seem to occur in random order.

4.

random number generator