wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

2024 CSP-AP Final Exam Review

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

What is the term for a simplified representation of something more complex, which helps manage complexity and focus on relevant concepts?

a)

Abstraction

b)

Array

c)

Bit rate

d)

Canvas

2.

Which data structure in JavaScript is used to represent a list?

a)

Array

b)

Boolean

c)

Callback function

d)

DNS

3.

What does ASCII stand for?

a)

American Standard Code for Information Interchange

b)

American Standard Code for Internet Interchange

c)

American Standard Code for International Interchange

d)

American Standard Code for Information Integration

4.

What is the measure of transmission capacity by bit rate called?

a)

Bandwidth

b)

Bit rate

c)

Binary

d)

Bit

5.

What is a single unit of information in a computer, typically represented as a 0 or 1, called?

a)

Bit rate

b)

Bit

c)

Boolean

d)

Byte

6.

What is the term for the number of bits that are conveyed or processed per unit of time?

a)

Bandwidth

b)

Bit rate

c)

Binary

d)

Bit

7.

What is a single value of either TRUE or FALSE called?

a)

Bit

b)

Boolean

c)

Callback function

d)

Canvas

8.

In programming, what is an expression that evaluates to True or False called?

a)

Callback function

b)

Boolean Expression

c)

Conditional

d)

Data Type

9.

What is a function specified as part of an event listener, written by the programmer but called by the system as the result of an event trigger, called?

a)

Callback function

b)

Boolean Expression

c)

Conditional

d)

Data Type

10.

What is a user interface element used in HTML/JavaScript that acts as a digital canvas for drawing and manipulation of pixels, shapes, and images?

a)

Canvas

b)

Callback function

c)

DNS

d)

Encryption

11.

What is the technique for encryption that shifts the alphabet by some number of characters called?

a)

DNS

b)

Encryption

c)

Caesar Cipher

d)

Abstraction

12.

What is the term for linking together or joining text strings in programming?

a)

Concatenate

b)

Conditional

c)

Callback function

d)

Canvas

13.

What are statements that only run under certain conditions called?

a)

Callback function

b)

Conditionals

c)

Data Type

d)

Debugging

14.

What is the term for the type of value in a programming language, such as a Number, Boolean, or String, that dictates how the computer will interpret it?

a)

Data Type

b)

Debugging

c)

DNS

d)

Encryption

15.

What is the process of finding and fixing problems in an algorithm or program called?

a)

Data Type

b)

Debugging

c)

DNS

d)

Encryption

16.

What is the service that translates URLs to IP addresses called?

a)

DNS

b)

Encryption

c)

Caesar Cipher

d)

Callback function

17.

What is the process of encoding messages to keep them secret called?

a)

DNS

b)

Encryption

c)

Caesar Cipher

d)

Callback function

18.

What is an action that causes something to happen?

a)

Event driven program

b)

Event handling

c)

Event listener

d)

Event

19.

What is a program designed to run blocks of code or functions in response to specified events (e.g., a mouse click)?

a)

Event

b)

Event driven program

c)

Event handling

d)

Event listener

20.

What is the overarching term for the coding tasks involved in making a program respond to events by triggering functions?

a)

Event

b)

Event driven program

c)

Event handling

d)

Event listener

21.

What is a command that can be set up to trigger a function when a particular type of event occurs on a particular UI element?

a)

Event

b)

Event driven program

c)

Event handling

d)

Event listener

22.

What is any valid unit of code that resolves to a value?

a)

Event

b)

Expression

c)

Firewall

d)

for loop

23.

What is software that runs on servers (often routers) that only allows traffic through according to some set of security rules?

a)

Event

b)

Expression

c)

Firewall

d)

for loop

24.

What is a typical looping construct designed to make it easy to repeat a section of code using a counter variable?

a)

Event

b)

Expression

c)

Firewall

d)

for loop

25.

What is a variable whose scope is "global" to the program, and can be used and updated by any part of the code?

a)

Local Variable

b)

Global Variable

c)

Constant

d)

Parameter

26.

What is a problem-solving approach (algorithm) to find a satisfactory solution where finding an optimal or exact solution is impractical or impossible?

a)

Heuristic

b)

Algorithm

c)

Function

d)

Procedure

27.

What does HTTP stand for?

a)

HyperText Transfer Protocol

b)

HyperText Transmission Protocol

c)

HyperText Transfer Procedure

d)

HyperText Transmission Procedure

28.

What does IETF stand for?

a)

Internet Engineering Task Force

b)

Internet Engineering Task Foundation

c)

Internet Engineering Task Forum

d)

Internet Engineering Task Federation

29.

What is the common programming structure that implements "conditional statements"?

a)

Loop

b)

Function

c)

If Statement

d)

Variable

30.

What is a new or improved idea, device, product, etc., or the development thereof?

a)

Invention

b)

Innovation

c)

Discovery

d)

Creation

31.

What is a group of computers and servers that are connected to each other?

a)

Network

b)

Internet

c)

Intranet

d)

Extranet

32.

What is a number assigned to any item that is connected to the Internet?

a)

MAC Address

b)

IP Address

c)

URL

d)

Domain Name

33.

What does it mean to repeat in order to achieve, or get closer to, a desired goal?

a)

Iterate

b)

Loop

c)

Recur

d)

Cycle

34.

In JavaScript, what is an event triggered by pressing or releasing a key on the keyboard called?

a)

Mouse Event

b)

Key Event

c)

Click Event

d)

Scroll Event

35.

What is the term for the time it takes for a bit to travel from its sender to its receiver?

a)

Bandwidth

b)

Latency

c)

Throughput

d)

Speed

36.

What is a generic term for a programming data structure that holds multiple items?

a)

Array

b)

Object

c)

List

d)

Function

37.

What is a variable with local scope that can only be seen, used, and updated by code within the same scope called?

a)

Global Variable

b)

Static Variable

c)

Local Variable

d)

Dynamic Variable

38.

Which data compression algorithm allows the original data to be perfectly reconstructed from the compressed data?

a)

Lossy Compression

b)

Lossless Compression

c)

Run-Length Encoding

d)

Huffman Coding

39.

What is a data compression method that uses inexact approximations, discarding some data to represent the content?

a)

Lossy Compression

b)

Lossless Compression

c)

Run-Length Encoding

d)

Huffman Coding

40.

What is the term for data that describes other data, such as information about the size of an image or number of colors?

a)

Metadata

b)

Data Packet

c)

Data Frame

d)

Data Block

41.

What is a program that replicates or mimics key features of a real-world event to investigate its behavior without the cost, time, or danger of running an experiment in real life?

a)

Emulator

b)

Simulator

c)

Models and Simulations

d)

Virtual Machine

42.

What is the prediction that computing power will double every 1.5-2 years called?

a)

Newton's Law

b)

Moore's Law

c)

Ohm's Law

d)

Murphy's Law

43.

What principle states that all Internet traffic should be treated equally by Internet Service Providers?

a)

Net Neutrality

b)

Network Redundancy

c)

Open Access

d)

Digital Equality

44.

What is the term for having multiple backups to ensure reliability during cases of high usage or failure?

a)

Network Redundancy

b)

Network Reliability

c)

Network Resilience

d)

Network Recovery

45.

What are small chunks of information that have been carefully formed from larger chunks of information called?

a)

Packets

b)

Frames

c)

Segments

d)

Blocks

46.

What is a thief trying to trick you into sending them sensitive information called?

a)

Hacker

b)

Phishing Scam

c)

Spyware

d)

Malware

47.

What is the fundamental unit of a digital image, typically a tiny square or dot that contains a single point of color of a larger image?

a)

Pixel

b)

Voxel

c)

Bit

d)

Byte

48.

In an asymmetric encryption scheme, what is the decryption key that is kept secret and never shared called?

a)

Public Key

b)

Private Key

c)

Shared Key

d)

Session Key

49.

What is a set of rules governing the exchange or transmission of data between devices called?

a)

Protocol

b)

Standard

c)

Interface

d)

Framework

50.

What is a value sent back by a function to the place in the code where the function was called from?

a)

Router

b)

Return Value

c)

Variable

d)

URL

51.

What is a type of computer that forwards data across a network?

a)

UI Elements

b)

TCP

c)

Router

d)

URL

52.

What is a generic term for a type of programming statement that uses a Boolean condition to determine whether or not to run a certain block of statements?

a)

Selection

b)

String

c)

Variable Scope

d)

while loop

53.

What is any sequence of characters between quotation marks called?

a)

URL

b)

String

c)

Variable

d)

User Interface

54.

What does TCP stand for?

a)

Transmission Control Protocol

b)

Transmission Communication Protocol

c)

Transfer Control Protocol

d)

Transfer Communication Protocol

55.

What are on-screen objects like buttons, images, text boxes, pull down menus, screens, and so on called?

a)

URL

b)

UI Elements

c)

User Interface

d)

Variable

56.

What is an easy-to-remember address for calling a web page?

a)

URL

b)

UI Elements

c)

TCP

d)

Router

57.

What are the visual elements of a program through which a user controls or communicates with the application called?

a)

Variable

b)

User Interface

c)

UI Elements

d)

URL

58.

What is a placeholder for a piece of information that can change?

a)

Variable

b)

String

c)

URL

d)

Router

59.

What dictates what portions of the code can "see" or use a variable?

a)

Variable

b)

Variable Scope

c)

User Interface

d)

Selection

60.

What is a programming construct used to repeat a set of commands as long as a Boolean condition is true?

a)

Selection

b)

String

c)

while loop

d)

TCP