wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP Computer Science Principles (All Terms)

Total questions: 90

Worksheet time: 45mins

Name
Class
Date
1.
Which term refers to the way a user interacts with a computer program?
a)
Input
b)
Output
c)
Program Statement
d)
User Interface
2.
Which term refers to the information a program receives from the user or another program?
a)
User Interface
b)
Input
c)
Output
d)
Program Statement
3.
Which term refers to the information a program provides to the user or another program?
a)
User Interface
b)
Input
c)
Output
d)
Program Statement
4.

Which term refers to a single command or instruction that allows the computer to perform a specific task.

a)

Input

b)

Output

c)

Program

d)

Program Statement

5.
Which term refers to a set of instructions that tells a computer what to do?
a)
Program Statement
b)
Program
c)
Input
d)
Output
6.
Which type of programming involves executing instructions in the order they are written?
a)
Event Driven Programming
b)
Sequential Programming
c)
Program
d)
Program Statement
7.
Which type of programming responds to user actions or other events, rather than executing instructions in a predetermined order?
a)
Sequential Programming
b)
Event Driven Programming
c)
Program
d)
Program Statement
8.
Which term refers to written information about a program, including how to use it and how it works?
a)
Comment
b)
Documentation
c)
Input
d)
Output
9.
Which term refers to explanatory text that is added to a program's code, but is not executed by the computer?
a)
Pair Programming
b)
Debugging
c)
Comment
d)
Input
10.
Which term refers to the practice of two programmers working together on the same program at the same time?
a)
Comment
b)
Pair Programming
c)
Debugging
d)
Development process
11.
Q1. Which of the following is a value that can be assigned to a variable?
a)
a) Expression
b)
b) Comparison operator
c)
c) Logical operator
d)
d) Function call
12.
Q2. What is the name for a sequence of characters enclosed in quotation marks?
a)
a) Expression
b)
b) Comparison operator
c)
c) Variable
d)
d) String
13.
Q3. Which of the following is a binary operator that compares two values and returns a Boolean value?
a)
a) Assignment operator
b)
b) Comparison operator
c)
c) Logical operator
d)
d) Function
14.
Q4. What is the name for a variable that can have only two possible values: true or false?
a)
a) Variable
b)
b) Boolean value
c)
c) String
d)
d) Expression
15.
Q5. Which of the following is a binary operator that combines two Boolean values and returns a Boolean value?
a)

a) Comparison operator

b)

b) Assignment operator

c)

c) Logical operator

d)

d) Function call

16.
Q6. Which of the following is a symbol used to assign a value to a variable?
a)
a) Comparison operator
b)
b) Logical operator
c)
c) Assignment operator
d)
d) Function call
17.
Q7. What is the name for a programming construct that executes different code based on a condition?
a)
a) Function
b)
b) Function call
c)
c) Conditional statement
d)
d) Variable
18.
Q8. Which of the following is a named sequence of statements that performs a computation?
a)
a) Expression
b)
b) Program statement
c)
c) Function
d)
d) Boolean value
19.
Q9. What is the name for the process of calling a function?
a)
a) Function
b)
b) Function call
c)
c) Expression
d)
d) Variable
20.
Q10. Which of the following is a unary operator that negates a Boolean value?
a)
a) Comparison operator
b)
b) Logical operator
c)
c) Assignment operator
d)
d) Function call
21.

What was the first computing machine capable of basic arithmetic called?

a)

iPhone 1

b)

Robot

c)

TI Calculator

d)

Babbage Machine

22.
What is an individual value in a list that is assigned a unique index called?
a)
Pointer
b)
Reference
c)
Address
d)
Element
23.
Which of the following is a common method for referencing the elements in a list or string using numbers?
a)
Hashing
b)
Sorting
c)
Indexing
d)
Searching
24.
What is a repetitive portion of an algorithm which repeats a specified number of times or until a given condition is met called?
a)
Condition
b)
Loop
c)
Iteration
d)
Recursion
25.
What occurs when the ending condition will never evaluate to true in a loop?
a)
Logical error
b)
Runtime error
c)
Syntax error
d)
Infinite loop
26.
What is the process of accessing each item in a list one at a time called?
a)

Traversing

b)

Sorting

c)

Indexing

d)

Searching

27.
What is a technique that manages complexity in programs by giving a collection of data a name without referencing the specific details of the representation called?
a)
Data encapsulation
b)
Data hiding
c)
Data abstraction
d)
Data serialization
28.
What is an ordered collection of elements called in programming?
a)
Item
b)
Group
c)
Set
d)
List
29.

Who is credited with writing the first ever computer program?

a)

Ada Lovelace

b)

Bill Gates

c)

Grace Hopper

d)

Apple

30.

Who is credited with inventing the first modern computer?

a)

Alan Turing

b)

John von Neumann

c)

Vint Cert

d)

Steve Jobs

31.
Which of the following is a search algorithm which checks each element of a list, in order, until the desired value is found or all elements in the list have been checked?
a)
a) Binary Search
b)
b) Linear Search
c)
c) Iteration
d)
d) Selection
32.
Which of the following is a measure of how many steps are needed to complete an algorithm?
a)
a) Efficiency
b)
b) Selection
c)
c) Sequencing
d)
d) Iteration
33.
Which of the following is a technique that provides a "good enough" solution to a problem when an actual solution is impractical or impossible?
a)
a) Optimization Problem
b)
b) Reasonable Time
c)
c) Heuristic
d)
d) Sequential Computing
34.

Which of the following refers to the runtime of algorithms with exponential or factorial efficiencies?

a)

a) Reasonable Time

b)

b) Heuristic

c)

c) Unreasonable Time

d)

d) Efficiency

35.
Which of the following refers to a model in which programs run by multiple devices?
a)
a) Parallel Computing
b)
b) Sequential Computing
c)
c) Distributed Computing
d)
d) Speedup
36.

Which of the following is a model in which programs are broken into small pieces, some of which are run simultaneously on a single device?

a)

a) Distributed Computing

b)

b) Sequential Computing

c)

c) Parallel Computing

d)

d) Speedup

37.
Which of the following refers to the process of putting steps in order?
a)
a) Sequencing
b)
b) Selection
c)
c) Iteration
d)
d) Optimization Problem
38.
Which of the following is a problem with a yes/no answer?
a)
a) Decision Problem
b)
b) Optimization Problem
c)
c) Undecidable Problem
d)
d) Heuristic
39.
Which of the following refers to a problem with the goal of finding the "best" solution among many?
a)
a) Optimization Problem
b)
b) Decision Problem
c)
c) Undecidable Problem
d)
d) Heuristic
40.
Which of the following refers to a problem for which no algorithm can be constructed that is always capable of providing a correct yes-or-no answer?
a)
a) Decision Problem
b)
b) Optimization Problem
c)
c) Undecidable Problem
d)
d) Heuristic
41.
What is a unit of information in computing?
a)
Bit
b)
Byte
c)
Binary
d)
Sampling
42.
What is the process of converting analog data to digital data called?
a)
Sampling
b)
Lossless Compression
c)
Lossy Compression
d)
Digital Conversion
43.
What is the term for the difference between the calculated value and the actual value in a calculation?
a)
Round-off Error
b)
Overflow Error
c)
Sampling
d)
Digital Conversion
44.
What is the term for a compression technique where no data is lost during compression?
a)
Lossless Compression
b)
Lossy Compression
c)
Sampling
d)
Analog Data
45.
What is the term for a compression technique where some data is lost during compression?
a)
Lossy Compression
b)
Lossless Compression
c)
Sampling
d)
Digital Data
46.
What is the term for the legal protection of creations of the mind, such as inventions and artistic works?
a)
Intellectual Property
b)
Creative Commons
c)
Sampling
d)
Digital Data
47.
What is the term for a set of licenses that allow for the distribution and use of creative works with some restrictions?
a)
Creative Commons
b)
Intellectual Property
c)
Sampling
d)
Digital Data
48.
What is the term for a sequence of eight bits?
a)
Byte
b)
Bit
c)
Binary
d)
Sampling
49.
What is the term for a system of representing data using only two options, usually 0 and 1?
a)
Binary
b)
Byte
c)
Bit
d)
Sampling
50.
What is the term for an error that occurs when a number is too large to be stored in the space allotted for it?
a)
Overflow Error
b)
Round-off Error
c)
Sampling
d)
Digital Conversion
51.
What is a computing system?
a)
A. A type of computing device
b)
B. A group of computing devices connected by a network
c)
C. A type of computing network
d)
D. A computing path
52.
What is the maximum amount of data that can be transmitted over a network at a given time called?
a)
A. Path
b)
B. Bandwidth
c)
C. Protocol
d)
D. IP address
53.
What is a set of rules for communication over a network called?
a)
A. Path
b)
B. Bandwidth
c)
C. Protocol
d)
D. IP address
54.
What is a unique identifier assigned to every device connected to a network called?
a)
A. Path
b)
B. Bandwidth
c)
C. Protocol
d)
D. IP address
55.
What is a device used to connect multiple networks together called?
a)
A. Internet Protocol (IP)
b)
B. Router
c)
C. Packet
d)
D. Redundancy
56.
What is a small unit of data transmitted over a network called?
a)
A. Internet Protocol (IP)
b)
B. Router
c)
C. Packet
d)
D. Redundancy
57.
What is a system or component designed to continue operating even if there is a hardware or software failure?
a)
A. Fault Tolerant
b)
B. HTTP
c)
C. World Wide Web
d)
D. Digital Divide
58.
What is the protocol used for transferring data over the World Wide Web?
a)
A. Fault Tolerant
b)
B. HTTP
c)
C. World Wide Web
d)
D. Digital Divide
59.
What is the global system of interconnected computer networks called?
a)
A. Fault Tolerant
b)
B. HTTP
c)
C. Internet
d)
D. Digital Divide
60.
What is the term used to describe the gap between those who have access to technology and those who do not?
a)
A. Fault Tolerant
b)
B. HTTP
c)
C. World Wide Web
d)
D. Digital Divide
61.
Which of the following is a variable in a function definition, used as a placeholder for values that will be passed through the function?
a)
a) Parameter
b)
b) Argument
c)
c) Return
d)
d) Library
62.
Which of the following is the value passed to a parameter in a function call?
a)
a) Argument
b)
b) Parameter
c)
c) Return
d)
d) Procedural abstraction
63.

Which of the following is used to go back to the point where the function was called and to give back the value of an expression?

a)

a) Library

b)

b) Procedural abstraction

c)

c) Argument

d)

d) Return

64.
Which of the following allows a procedure to be used without knowing how it accomplishes its task?
a)
a) Argument
b)
b) Procedural abstraction
c)
c) Library
d)
d) Return
65.
Which of the following is a group of functions that may be used in creating new programs?
a)
a) Library
b)
b) Parameter
c)
c) Return
d)
d) Procedural abstraction
66.
Which of the following specifies how functions in a library behave and can be used?
a)
a) Return
b)
b) Parameter
c)
c) API
d)
d) Procedural abstraction
67.
Which of the following is the scientific research conducted in whole or part by distributed individuals, many of whom may not be scientists, who contribute relevant data to research using their own computing devices?
a)
a) Citizen Science
b)
b) Cleaning Data
c)
c) Correlation
d)
d) Crowdsourcing
68.
Which of the following is a process that makes the data uniform without changing its meaning?
a)
a) Citizen Science
b)
b) Cleaning Data
c)
c) Correlation
d)
d) Crowdsourcing
69.
Which of the following refers to a relationship between two pieces of data, typically referring to the amount that one varies in relation to the other?
a)
a) Citizen Science
b)
b) Cleaning Data
c)
c) Correlation
d)
d) Crowdsourcing
70.
Which of the following is the practice of obtaining input or information from a large number of people via the Internet?
a)
a) Citizen Science
b)
b) Cleaning Data
c)
c) Correlation
d)
d) Crowdsourcing
71.
Which of the following is scientific research conducted in whole or part by distributed individuals, many of whom may not be scientists, who contribute relevant data to research using their own computing devices?
a)
a) Cleaning Data
b)
b) Correlation
c)
c) Citizen Science
d)
d) Data filtering
72.
Which of the following is a process that makes the data uniform without changing its meaning?
a)
a) Correlation
b)
b) Cleaning Data
c)
c) Data filtering
d)
d) Data bias
73.
Which of the following refers to a relationship between two pieces of data, typically referring to the amount that one varies in relation to the other?
a)
a) Crowdsourcing
b)
b) Data bias
c)
c) Correlation
d)
d) Data filtering
74.
Which of the following refers to the practice of obtaining input or information from a large number of people via the Internet?
a)
a) Correlation
b)
b) Crowdsourcing
c)
c) Data bias
d)
d) Cleaning Data
75.
Which of the following refers to the collection of facts and patterns extracted from data?
a)
a) Data filtering
b)
b) Cleaning Data
c)
c) Information
d)
d) Data bias
76.
Which of the following refers to data that does not accurately reflect the full population or phenomenon being studied?
a)
a) Data filtering
b)
b) Data bias
c)
c) Citizen Science
d)
d) Correlation
77.
Which of the following refers to choosing a smaller subset of a data set to use for analysis, for example by eliminating / keeping only certain rows in a table?
a)
a) Data filtering
b)
b) Crowdsourcing
c)
c) Data bias
d)
d) Cleaning Data
78.
Which of the following is scientific research conducted in whole or part by distributed individuals, many of whom may not be scientists, who contribute relevant data to research using their own computing devices?
a)
a) Cleaning Data
b)
b) Correlation
c)
c) Citizen Science
d)
d) Data filtering
79.
Which of the following is a process that makes the data uniform without changing its meaning?
a)
a) Correlation
b)
b) Cleaning Data
c)
c) Data filtering
d)
d) Data bias
80.
Which of the following refers to a relationship between two pieces of data, typically referring to the amount that one varies in relation to the other?
a)
a) Crowdsourcing
b)
b) Data bias
c)
c) Correlation
d)
d) Data filtering
81.
Which of the following is software intended to damage a computing system or to take partial control over it?
a)
Computing Innovation
b)
Malware
c)
Encryption
d)
Decryption
82.
Which of the following is a wireless access point that gives unauthorized access to secure networks?
a)
Keylogging
b)
Rogue Access Point
c)
Computing Innovation
d)
Malware
83.
Which of the following refers to a process of encoding messages to keep them secret?
a)
Encryption
b)
Multi-factor Authentication
c)
Public Key Encryption
d)
Symmetric Key Encryption
84.
Which of the following is a technique that attempts to trick a user into providing personal information?
a)
Phishing
b)
Computing Innovation
c)
Personally Identifiable Information (PII)
d)
Keylogging
85.
Which of the following is a system that requires at least two steps to unlock protected information?
a)
Multi-factor Authentication
b)
Encryption
c)
Symmetric Key Encryption
d)
Public Key Encryption
86.
Which of the following is information about an individual that identifies, links, relates, or describes them?
a)
Keylogging
b)
Malware
c)
Computing Innovation
d)
Personally Identifiable Information (PII)
87.
Which of the following involves one key for both encryption and decryption?
a)
Public Key Encryption
b)
Symmetric Key Encryption
c)
Multi-factor Authentication
d)
Encryption
88.
Which of the following pairs a public key for encryption and a private key for decryption?
a)
Public Key Encryption
b)
Symmetric Key Encryption
c)
Multi-factor Authentication
d)
Encryption
89.

Which of the following uses programming as an integral part of its function?

a)

Computing Innovation

b)

Digital Divide

c)

World Wide Web

d)

Intellectual Property

90.
Which of the following is the practice of obtaining input or information from a large number of people via the Internet?
a)
Citizen Science
b)
Crowdsourcing
c)
Digital Divide
d)
Correlation