wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP CSP Quizizz 1-30

Total questions: 117

Worksheet time: 1hrs 12mins

Name
Class
Date
1.

A new or improved idea, device, product, etc, or the development thereof.

a)

Innovation

b)

Technology

c)

Improvement

d)

Protocol

2.

A way of representing information using only two options.

a)

BInary

b)

Doubled

c)

Algorithm

d)

Hexadecimal

3.

A contraction of "Binary Digit"; the single unit of information in a computer, typically represented as a 0 or 1

a)

Bit

b)

Character

c)

BInar

d)

BiDig

4.

Transmission capacity measure by bit rate

a)

Brandwidth

b)

Latency

c)

Bit Length

d)

Transmission Rate

5.

The number of bits that are conveyed or processed per unit of time. e.g. 8 bits/sec.

a)

Bit Rate

b)

Bit Speed

c)

Latency

d)

BPS

6.

Time it takes for a bit to travel from its sender to its receiver.

a)

Latency

b)

Bit Rate

c)

Bit Speed

d)

BPS

7.

A set of rules governing the exchange or transmission of data between devices.

a)

Protocol

b)

Guideline

c)

Packet

d)

Command

8.

American Standard Code for Information Interchange; the universally recognized raw text

a)

ASCII

b)

USACII

c)

QWERTY

d)

IETF

9.

Instructions for a computer.

a)

Code

b)

Comand

c)

Protocol

d)

Direction

10.

Internet Engineering Task Force - develops and promotes voluntary Internet standards

a)

IETF

b)

IT

c)

MIT

d)

Net Neutrality

11.

A group of computers and servers that are connected to each other.

a)

Internet

b)

Google

c)

Packets

d)

Online Network

12.

The principle that all Internet traffic should be treated equally by Internet Service Providers.

a)

Net Neutrality

b)

Network Redundancy

c)

Internet Equality

d)

Online Protocol

13.

A number assigned to any item that is connected to the Internet.

a)

IP Adress

b)

Network Coefficient

c)

Online Password

d)

Router Code

14.

Small chunks of information that have been carefully formed from larger chunks of information.

a)

Packets

b)

Clusters

c)

Superunits

d)

Subunits

15.

Having multiple backups to ensure reliability during cases of high usage

a)

Network Redundancy

b)

Net Neutrality

c)

Internet Support

d)

Online Backup

16.

A type of computer that forwards data across a network

a)

Router

b)

WiFi Station

c)

Interlocutor

d)

Reciever

17.

Provides reliable, ordered, and error-checked delivery of a stream of packets on the internet.

a)

TCP

b)

DNS

c)

IP

d)

URL

18.

The service that translates URLs to IP addresses.

a)

DNS

b)

TCP

c)

HTTP

d)

TCP/IP

19.

The protocol used for transmitting web pages over the Internet

a)

HTTP

b)

DNS

c)

URL

d)

IP Adress

20.

A number assigned to any item that is connected to the Internet.

a)

IP Adress

b)

URL

c)

Link

d)

HTTP

21.

What is a Boolean?

a)

A data type that can have one of two possible values: true or false.

b)

A data type that can have multiple values.

c)

A data type that can have one of three possible values: true, false, or maybe.

d)

A data type that can only have the value true.

22.

What is a conditional statement?

a)

A statement that is executed before the condition is checked

b)

A programming construct that allows the execution of different code blocks based on a specified condition.

c)

A statement that is executed only once

d)

A statement that is always executed regardless of the condition

23.

What is abstraction?

a)

A term used in philosophy to describe the process of generalization

b)

A type of dance move popular in the 1980s

c)

A technique used in painting to create a blurry effect

d)

A concept in computer science where complex systems are simplified by focusing on the essential details and hiding unnecessary complexities.

24.

What is a variable?

a)

A mathematical equation

b)

A programming language

c)

A named storage location in a computer's memory that can hold a value.

d)

A type of computer virus

25.

What is a loop?

a)

A loop is a programming construct that allows a set of instructions to be repeated multiple times until a certain condition is met.

b)

A loop is a type of musical composition.

c)

A loop is a circular shape or path.

d)

A loop is a type of knot used in sailing.

26.

What is an algorithm?

a)

A musical instrument

b)

A set of instructions designed to perform a specific task.

c)

A type of food seasoning

d)

A type of computer virus

27.

What is a function?

a)

A comment in the code

b)

A block of code that performs a specific task

c)

A loop that repeats a set of instructions

d)

A variable that stores a value

28.

What is a parameter?

a)

A loop in a program

b)

A variable in a function definition

c)

A constant value in a program

d)

A data type in programming

29.

What is an array?

a)

A data structure that stores a single element.

b)

A data structure that stores a collection of elements of the same type.

c)

A data structure that stores a collection of elements of different types.

d)

A data structure that stores elements in a random order.

30.

What is a string?

a)

A type of musical instrument.

b)

A type of food made from dough.

c)

A sequence of characters used to represent text.

d)

A piece of thread used for sewing.

31.

Sequencing

a)

Executing steps in order.

b)

Randomly executing steps.

c)

Executing steps in reverse order.

d)

Executing steps based on priority.

32.

IP (Internet Protocol)

a)

Identifies and routes devices on the network.

b)

Encrypts data for secure transmission.

c)

Assigns IP addresses to devices automatically.

d)

Manages network traffic and bandwidth.

33.

Undecidable Problem

a)

A problem that can be solved by an algorithm for all cases.

b)

A problem that has no solution at all.

c)

A problem no algorithm can solve for all cases (e.g., halting problem).

d)

A problem that can be solved using brute force methods.

34.

UDP (User Datagram Protocol)

a)

Sends data faster, but without error checking.

b)

Ensures reliable data transmission with error checking.

c)

Uses a connection-oriented approach for data transfer.

d)

Is primarily used for secure data transmission.

35.

Cookie

a)

A small file storing website info about the user.

b)

A type of dessert made with flour and sugar.

c)

A program that runs on a user's computer.

d)

A security feature for online transactions.

36.

Rogue Access Point

a)

Unauthorized device that intercepts data from a network.

b)

A legitimate device used to enhance network security.

c)

A type of malware that affects network performance.

d)

A tool for monitoring network traffic without permission.

37.

Iteration

a)

Repeating actions using loops.

b)

Executing a single action once.

c)

Skipping actions in a sequence.

d)

Randomly selecting actions to perform.

38.

HTTP

a)

Protocol for requesting and sending web pages.

b)

A type of web browser.

c)

A programming language for web development.

d)

A database management system.

39.

Roundoff Error

a)

Occurs when precision is lost due to limited bits (e.g., pi = 3.14).

b)

Occurs when data is corrupted during transmission.

c)

Occurs when a program runs out of memory.

d)

Occurs when a calculation is performed using integer arithmetic.

40.

Crowdsourcing

a)

Gathering help or ideas from many people online.

b)

A method of collecting data from a single source.

c)

A technique for analyzing large datasets.

d)

A strategy for reducing costs in business operations.

41.

Computer Network

a)

Connected devices that share data.

b)

A type of software used for data analysis.

c)

A hardware component for storing data.

d)

A protocol for internet security.

42.

Binary Search

a)

Searching a sorted list by repeatedly dividing it in half.

b)

Searching an unsorted list by checking each element sequentially.

c)

Finding the maximum element in a list by comparing adjacent elements.

d)

Sorting a list by repeatedly swapping adjacent elements.

43.

Byte

a)

A group of 8 bits.

b)

A single bit of data.

c)

A group of 4 bits.

d)

A type of computer memory.

44.

TCP (Transmission Control Protocol)

a)

Ensures reliable data transfer.

b)

Provides a connectionless service.

c)

Operates at the physical layer.

d)

Uses a best-effort delivery model.

45.

Traversal

a)

Going through items in a list one-by-one.

b)

Skipping items in a list.

c)

Randomly accessing items in a list.

d)

Sorting items in a list.

46.

Lossy Compression

a)

Compression that retains all original data.

b)

Compression that discards some data and cannot fully restore the original.

c)

Compression that reduces file size without losing any quality.

d)

Compression that is reversible and restores original data completely.

47.

Analog Data

a)

Data that changes smoothly over time (e.g., sound, temperature).

b)

Data that is represented in discrete values.

c)

Data that can only take on a finite number of values.

d)

Data that is stored in a digital format.

48.

Digital Divide

a)

Unequal access to technology among populations.

b)

Equal access to technology for all individuals.

c)

A term used to describe the digital economy.

d)

The gap between those who have access to the internet and those who do not.

49.

Metadata

a)

Data about data (e.g., file name, size, or author).

b)

A type of software used for data analysis.

c)

A method for encrypting data.

d)

A visual representation of data trends.

50.

Selection

a)

Making decisions with conditions (e.g., if/else).

b)

Choosing the best option from a list.

c)

Sorting items based on criteria.

d)

Filtering data without conditions.

51.

Match the following

a)

algorithm

1.

a series of steps

b)

code segment

2.

collection of program statements

c)

event

3.

an action that triggers code to run

d)

iteration

4.

repetition

52.

Match the following

a)

purpose

1.

why a program is made

b)

abstraction

2.

detail removal and generalization

c)

functionality

3.

what a program does and how

d)

output

4.

data coming out of a program

e)

input

5.

data going into a program

53.

Match the following

a)

modulus

1.

division that evaluates to the remainder

b)

design phase

2.

brainstorming/pseudocode/ideas

c)

testing phase

3.

debug/get feedback

d)

implement phase

4.

code/prototype

54.

Match the following

a)

comments

1.

documentation within program code

b)

selection

2.

program branching/if statement

c)

variable

3.

container that holds a value

d)

Boolean

4.

true or false value

e)

library

5.

collection of procedures

55.

Match the following

a)

primitive data type

1.

built-in data type

b)

abstract data type

2.

custom data types

c)

local variable

3.

variable accessed in limited code script

d)

global variable

4.

variable accessed by all code scripts

56.

Match the following

a)

list

1.

A collection of data

b)

index

2.

the position of an element in a list

c)

element

3.

the piece of data contained in a list

57.

Match the following

a)

investigate

1.

figuring out program requirements

b)

design

2.

plan the app's appearance & how to code

c)

prototype/implement

3.

building a draft of the program

d)

test

4.

try program, get feedback, fix bugs

58.

Match the following

a)

incremental

1.

build & test small pieces of code

b)

iterative

2.

many cycles of develop, test, feedback

c)

purpose

3.

why a program is being made

d)

function

4.

what a program does and how it does it

59.

Innovation

a)

A new or improved idea, device, product, etc, or the development thereof

b)

A way of representing information using only two options

c)

· A contraction of "Binary Digit"; the single unit of information in a computer, typically represented as a 0 or 1

d)

Time it takes for a bit to travel from its sender to its receiver.

60.

Binary:

a)

A set of rules governing the exchange or transmission of data between devices.

b)

a simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.

c)

A way of representing information using only two options

d)

having multiple backups to ensure reliability during cases of high usage or failure.

61.

Bit

a)

A set of rules governing the exchange or transmission of data between devices.

b)

The number of bits that are conveyed or processed per unit of time. e.g. 8 bits/sec.

c)

Time it takes for a bit to travel from its sender to its receiver.

d)

A contraction of "Binary Digit"; the single unit of information in a computer, typically represented as a 0 or 1

62.

Bandwidth

a)

Time it takes for a bit to travel from its sender to its receiver.

b)

Transmission capacity measure by bit rate

c)

American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand

d)

The number of bits that are conveyed or processed per unit of time. e.g. 8 bits/sec.

63.

Bit rate

a)

A way of representing information using only two options.

b)

Transmission capacity measure by bit rate

c)

A simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.

d)

The number of bits that are conveyed or processed per unit of time. e.g. 8 bits/sec.

64.

Latency

a)

The number of bits that are conveyed or processed per unit of time. e.g. 8 bits/sec.

b)

Time it takes for a bit to travel from its sender to its receiver.

c)

A set of rules governing the exchange or transmission of data between devices.

d)

A way of representing information using only two options

65.

Protocol

a)

A set of rules governing the exchange or transmission of data between devices.

b)

A number assigned to any item that is connected to the Internet.

c)

Having multiple backups to ensure reliability during cases of high usage or failure.

d)

A type of computer that forwards data across a network

66.

Abstraction

a)

American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand

b)

A simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.

c)

A group of computers and servers that are connected to each other.

d)

A type of computer that forwards data across a network

67.

ASCII

a)

Having multiple backups to ensure reliability during cases of high usage or failure

b)

A group of computers and servers that are connected to each other.

c)

American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand

d)

A type of computer that forwards data across a network

68.

IETF

a)

Transmission Control Protocol - provides reliable, ordered, and error-checked delivery of a stream of packets on the internet. TCP is tightly linked with IP and usually seen as TCP/IP in writing.

b)

American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand

c)

Having multiple backups to ensure reliability during cases of high usage or failure

d)

Internet Engineering Task Force - develops and promotes voluntary Internet standards and protocols, in particular the standards that comprise the Internet protocol suite (TCP/IP).

69.

Internet

a)

An easy-to-remember address for calling a web page (like www.code.org).

b)

A type of computer that forwards data across a network

c)

The principle that all Internet traffic should be treated equally by Internet Service Providers.

d)

A group of computers and servers that are connected to each other.

70.

Net Neutrality

a)

The principle that all Internet traffic should be treated equally by Internet Service Providers.

b)

Having multiple backups to ensure reliability during cases of high usage or failure

c)

A type of computer that forwards data across a network

d)

The protocol used for transmitting web pages over the Internet

71.

IP Address

a)

A number assigned to any item that is connected to the Internet

b)

Having multiple backups to ensure reliability during cases of high usage or failure

c)

Small chunks of information that have been carefully formed from larger chunks of information.

d)

A type of computer that forwards data across a network

72.

Packets

a)

Small chunks of information that have been carefully formed from larger chunks of information.

b)

A set of rules governing the exchange or transmission of data between devices.

c)

An easy-to-remember address for calling a web page (like www.code.org).

d)

The protocol used for transmitting web pages over the Internet

73.

Network Redundancy

a)

Having multiple backups to ensure reliability during cases of high usage or failure

b)

A type of computer that forwards data across a network

c)

Short for Domain Name System, this system translates domain names (like example.com) to IP addresses (like 93.184.216.34)

d)

American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand

74.

Router

a)

A set of rules governing the exchange or transmission of data between devices.

b)

A group of computers and servers that are connected to each other.

c)

A number assigned to any item that is connected to the Internet.

d)

A type of computer that forwards data across a network

75.

TCP

a)

Provides reliable, ordered, and error-checked delivery of a stream of packets on the internet. Is tightly linked with IP.

b)

The protocol used for transmitting web pages over the Internet

c)

An easy-to-remember address for calling a web page (like www.code.org).

d)

A group of computers and servers that are connected to each other.

76.

DNS

a)

A group of computers and servers that are connected to each other.

b)

A simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.

c)

This system translates domain names (like example.com) to IP addresses (like 93.184.216.34)

d)

A way of representing information using only two options.

77.

HTTP

a)

This system translates domain names (like example.com) to IP addresses (like 93.184.216.34)

b)

Having multiple backups to ensure reliability during cases of high usage or failure

c)

The principle that all Internet traffic should be treated equally by Internet Service Providers.

d)

The protocol used for transmitting web pages over the Internet

78.

URL

a)

American Standard Code for Information Interchange; the universally recognized raw text format that any computer can understand

b)

An easy-to-remember address for calling a web page (like www.code.org).

c)

The principle that all Internet traffic should be treated equally by Internet Service Providers.

d)

Small chunks of information that have been carefully formed from larger chunks of information.

79.

a computer network that uses open protocols to standardize communication.

a)

The Internet

b)

Computing System

c)

Computing Device

d)

Word Wide Web

80.

a computer that passes information from one network to another.

a)

Router

b)

Server

81.

ISPs (Internet Service Providers) are the companies that sell Internet access to homes and institutions. Select all those below that are ISPs.

a)

Comcast

b)

google.com

c)

AT&T

d)

Apple

e)

Microsoft

82.

________ is the maximum amount of data that can be sent in a fixed amount of time (for digital data, it is measured in bits per second). Higher _______ is better because the data will travel more quickly.

(a)  

83.

the process of finding a path from sender to receiver.

a)

Routing

b)

Scalability

c)

Redundancy

d)

Fault tolerance

84.

the ability of a system to work around problems.

a)

Routing

b)

Scalability

c)

Redundancy

d)

Fault tolerance

85.

the inclusion of backup elements in case one part fails.

a)

Routing

b)

Scalability

c)

Redundancy

d)

Fault tolerance

86.

Which protocol guarantees that packets arrive successfully?

a)

IP

b)

TCP

c)

DNS

d)

SSL

87.

A (a)   is a small chunk of any kind of data (text, numbers, lists, etc) and metadata (information about the data) that is passed through the Internet as a data stream.

88.

The process of encoding data to prevent unauthorized access.

a)

Encryption

b)

Decryption

c)

Public key encryption

d)

Symmetric encryption

89.

The type of encryption we use on the internet today.

a)

Scooby

b)

Decryption

c)

Public key encryption

d)

Symmetric encryption

90.

11001 in binary is converted to (a)   in decimal form.

91.

32 in decimal is converted to (a)   in binary.

92.

A common security attack in which the victim is tricked into giving up personal information or downloading malware.

a)

Malware

b)

Keylogging software

c)

A computer virus

d)

Phishing

93.

A single unit of data that can only have one of two values. We usually represent the two values as 0 (off) and 1 (on).

a)

bit

b)

byte

c)

word

d)

binary sequence

94.

The current medium that our wireless system uses when operating.

a)

Electricity

b)

Laser

c)

Light

d)

Radio Waves

e)

Telepathy

95.

What is the primary reason we don't use Fiber Optic Cable everywhere?

a)

Expensive

b)

Heavy

c)

Signal Loss

d)

Bill Gates

96.

The process of converting information or data into a code to prevent unauthorized access.

a)

Encryption

b)

Decryption

c)

Compression

d)

Decompression

97.

A type of security threat that self-replicates and spreads to other computers, often causing damage.

a)

Worm

b)

Phishing

c)

Spyware

d)

Adware

98.

The ability of a system to handle increased load by adding additional resources.

a)

Routing

b)

Scalability

c)

Redundancy

d)

Fault tolerance

99.

Jasmine is writing a shopping app. She has created a variable to keep track of the number of items in the shopping cart. Every time someone clicks the "addItemButton", she would like the variable to increase by 1.


What code should Jasmine insert where it says <missing code> in order for her app to work?

a)

cart total = 1;

b)

cartTotal + 1;

c)

cartTotal = cartTotal +1;

d)

var cartTotal = cartTotal + 1;

e)

var cartTotal + 1;

100.

Consider the following flow chart showing a process for program execution. Given that a = 5, and b = 10, what will be displayed by the program?

a)

a is bigger

b)

b

c)

5

d)

10

e)

Nothing will be displayed

101.

A Boolean expression is an expression that evaluates to which of the of the following?

a)

Yes/Maybe/No

b)

True/False

c)

Any Integer

d)

Integers between 1 and 10

e)

Any single character

102.

What is the expected output of the given pseudo code segment? A reference for the pseudo code can be found immediately below the question

a)

35

b)

true

c)

false

d)

You are not old enough to be President.

e)

You are old enough to be President.

103.

Consider the following segment given in pseudo code. What will be displayed if grade is set to 70?

a)

You passed!

b)

Time to start studying again!

c)

You passed! and Time to start studying again!

d)

Nothing will be displayed

e)

An error will occur on line 7; you cannot have an IF inside an ELSE statement

104.

Consider the JavaScript code segment below. Which statement should be used in place of <missing code> such that the alarm is set to 9:00 am on weekends, and 6:30 am on weekdays.

a)

day == "Saturday"

b)

day == "Sunday"

c)

(day == "Saturday") || (day == "Sunday")

d)

(day == "Saturday") && (day == "Sunday")

e)

day != "Monday"

105.
a)
b)
c)
d)
e)
106.

Which of the following is true about while loops ?

a)

While loops terminate after a fixed number of loops that is pre-determined

b)

While loops terminate after a fixed number of loops that is determined after the loop executes once.

c)

While loops run as long as a given boolean condition is true.

d)

While loops run as long as a given boolean condition is false.

e)

While loops are known as "forever loops" and never stop until the program is halted by the user.

Answer

107.

Which vocabulary word is:

a common method for referencing the elements in a list or string using numbers

a)

list

b)

element

c)

index

108.

Which vocabulary word is:

an ordered collection of elements

a)

list

b)

element

c)

index

109.

Which vocabulary word is:

an individual value in a list that is assigned a unique index

a)

list

b)

element

c)

index

110.

Match the index with the value.


var myNumbers = [32, 64, 33, 0, 15, 26, 3]

myNumbers[4]

a)

64

b)

15

c)

0

d)

32

111.

//Consider this code:

var list = [10, 12, 14, 16, 18];

appendItem(list, 3);

insertItem(list, 2, 20);

removeItem(list, 0);


//What is printed to the console?

console.log(list);

a)

10, 12, 14, 16, 18

b)

10, 12, 14 , 20, 16, 18, 3

c)

3, 12, 14, 20, 16, 18

d)

12, 20, 14, 16, 18, 3

112.

//Consider this code:

var list = [10, 12, 14, 16, 18];

appendItem(list, 3);

insertItem(list, 2, 20);

removeItem(list, 0);


//What is printed to the console?

console.log(list[list.length-1]);

(a)  

113.

What is the output of word1?

var word="APComputerScience";

var word1=word.substring(2,word.length-7);

(a)  

114.

When creating lists, sometimes you will need to create a “scrolling pattern”. 

Which of the following will not scroll beyond the end of a list?

a)

if  (index < myList.length-1) {

Index++

}

b)

if  (index > myList.length-1) {

Index++

}

c)

if  (index < myList.length) {

Index++

}

d)

if  (index > myList.length) {

Index++

}

115.

Which of the following programming constructs is an example of an iteration?

a)

Lists

b)

Loops

c)

Functions

d)

Conditionals

116.

The process of accessing every item in a list is considered which of the following?

a)

for Loops

b)

traversals

c)

while Loops

d)

appendItems

117.

What will be displayed in the console when the following program runs?

a)

0 2 4 6

b)

0 2 4

c)

2 4 6

d)

The program will result in an infinite loop