Font size
Worksheets25-26 PF Unit 1 Mid-Unit Quiz (Topics 1-3)
Total questions: 37
Worksheet time: 19mins
Which resource is designed to provide job outlook, wages, and training requirements for careers?
Monster.com
Occupational Outlook Handbook
YouTube
Which of the following is a career in computer science?
Data Scientist
Architect
Farmer
Pilot
Which skill is MOST important when researching CS careers?
Memorizing definitions
Locating reliable sources
Watching random videos
Copying job descriptions
Which is an example of a low-level programming language?
Assembly
BASIC
COBOL
Java
Which is a high-level language designed to be easy to learn?
Assembly
BASIC
COBOL
Machine code
Which programming tool translates source code into machine code before running?
Interpreter
Compiler
Editor
Processor
A program that executes instructions line by line without compiling is called a:
Compiler
Interpreter
Which language was created mainly for business applications?
COBOL
BASIC
Assembly
Python
Which step of CT involves breaking a big problem into smaller parts?
Decomposition
Pattern Recognition
Abstraction
Algorithm
Identifying trends in Sonic the Hedgehog, like gaining a life at 100 rings, is an example of:
Algorithm
Abstraction
Pattern Recognition
Debugging
Filtering out unnecessary details when designing a program is called:
Iteration
Abstraction
Selection
Sequencing
A set of step-by-step instructions to solve a problem is called a(n):
Algorithm
Loop
Condition
Pattern
Which data type is used to represent whole numbers?
Float
Integer
String
Boolean
Which data type represents True/False values?
(a)
A collection of ordered elements that can be indexed is:
Queue
Stack
List/Array
Function
A stack follows which rule?
First In, First Out
Last In, First Out
Random order
Alphabetical order
A queue follows which rule?
Last In, First Out
First In, First Out
Sorted order
Random access
Which algorithm type runs steps in order, one after another?
Sequencing
Iteration
Selection
Debugging
Which algorithm type only runs code if a condition is true?
Iteration
Selection
Sequencing
Loop
Which algorithm type repeats a process until a condition is met?
Iteration
Sequencing
Selection
Procedure
Which operator checks if two values are NOT equal?
==
!=
<
>
Which operator would be used to combine two conditions in pseudocode?
==
AND
OR
+
Which of the following best describes pseudocode?
A formal programming language
A mix of English and programming logic
A diagram with symbols
Machine code
Which tool uses shapes and arrows to represent an algorithm?
Flowchart
Pseudocode
Pattern
Simulation
Which keyword is MOST likely to appear in pseudocode for selection?
LOOP
IF
START
Recognizing repeated steps in a program helps create:
Compilers
Abstractions
Patterns
Machine code
Functions in Snap! are also called:
Operators
Blocks
Queues
Variables
A function that returns a True/False value is a:
Reporter
Predicate
Command
Procedure
Why is abstraction important in programming?
It removes all details
It focuses only on important details and generalizes solutions
It ensures programs run faster
It prevents debugging errors
Adding a parameter to a block makes it:
More reusable and flexible
Less efficient
Harder to debug
Only usable once
Which three structures form the basis of algorithms?
Loop, Function, Variable
Sequencing, Selection, Iteration
Input, Process, Output
Compiler, Interpreter, Translator
What is the main purpose of using flowcharts in programming?
To store data in arrays
To represent algorithms visually
To write code in a specific language
To debug errors automatically
Which of the following is an example of decomposition in computational thinking?
Translating code into machine language
Writing code in a high-level language
Identifying repeating patterns in data
Breaking a large project into smaller, manageable tasks
What does a predicate function return in programming?
A list of items
A True or False value
A number
A string value
What is the main benefit of using pattern recognition in computational thinking?
It removes all unnecessary details
It breaks problems into smaller parts
It helps identify similarities to solve new problems efficiently
It translates code into machine language
Which of the following best describes the process of debugging?
Creating flowcharts for algorithms
Writing code in a high-level language
Finding and fixing errors in a program
Translating code into pseudocode
What is the purpose of using pseudocode before writing actual code?
To visually represent data structures
To execute the program line by line
To outline the logic of a program in plain language
To compile the program
