wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

25-26 PF Unit 1 Mid-Unit Quiz (Topics 1-3)

Total questions: 37

Worksheet time: 19mins

Name
Class
Date
1.

Which resource is designed to provide job outlook, wages, and training requirements for careers?

a)

Monster.com

b)

Occupational Outlook Handbook

c)

YouTube

d)

Instagram

2.

Which of the following is a career in computer science?

a)

Data Scientist

b)

Architect

c)

Farmer

d)

Pilot

3.

Which skill is MOST important when researching CS careers?

a)

Memorizing definitions

b)

Locating reliable sources

c)

Watching random videos

d)

Copying job descriptions

4.

Which is an example of a low-level programming language?

a)

Assembly

b)

BASIC

c)

COBOL

d)

Java

5.

Which is a high-level language designed to be easy to learn?

a)

Assembly

b)

BASIC

c)

COBOL

d)

Machine code

6.

Which programming tool translates source code into machine code before running?

a)

Interpreter

b)

Compiler

c)

Editor

d)

Processor

7.

A program that executes instructions line by line without compiling is called a:

a)

Compiler

b)

Interpreter

8.

Which language was created mainly for business applications?

a)

COBOL

b)

BASIC

c)

Assembly

d)

Python

9.

Which step of CT involves breaking a big problem into smaller parts?

a)

Decomposition

b)

Pattern Recognition

c)

Abstraction

d)

Algorithm

10.

Identifying trends in Sonic the Hedgehog, like gaining a life at 100 rings, is an example of:

a)

Algorithm

b)

Abstraction

c)

Pattern Recognition

d)

Debugging

11.

Filtering out unnecessary details when designing a program is called:

a)

Iteration

b)

Abstraction

c)

Selection

d)

Sequencing

12.

A set of step-by-step instructions to solve a problem is called a(n):

a)

Algorithm

b)

Loop

c)

Condition

d)

Pattern

13.

Which data type is used to represent whole numbers?

a)

Float

b)

Integer

c)

String

d)

Boolean

14.

Which data type represents True/False values?

(a)  

15.

A collection of ordered elements that can be indexed is:

a)

Queue

b)

Stack

c)

List/Array

d)

Function

16.

A stack follows which rule?

a)

First In, First Out

b)

Last In, First Out

c)

Random order

d)

Alphabetical order

17.

A queue follows which rule?

a)

Last In, First Out

b)

First In, First Out

c)

Sorted order

d)

Random access

18.

Which algorithm type runs steps in order, one after another?

a)

Sequencing

b)

Iteration

c)

Selection

d)

Debugging

19.

Which algorithm type only runs code if a condition is true?

a)

Iteration

b)

Selection

c)

Sequencing

d)

Loop

20.

Which algorithm type repeats a process until a condition is met?

a)

Iteration

b)

Sequencing

c)

Selection

d)

Procedure

21.

Which operator checks if two values are NOT equal?

a)

==

b)

!=

c)

<

d)

>

22.

Which operator would be used to combine two conditions in pseudocode?

a)

==

b)

AND

c)

OR

d)

+

23.

Which of the following best describes pseudocode?

a)

A formal programming language

b)

A mix of English and programming logic

c)

A diagram with symbols

d)

Machine code

24.

Which tool uses shapes and arrows to represent an algorithm?

a)

Flowchart

b)

Pseudocode

c)

Pattern

d)

Simulation

25.

Which keyword is MOST likely to appear in pseudocode for selection?

a)

LOOP

b)

IF

c)

PRINT

d)

START

26.

Recognizing repeated steps in a program helps create:

a)

Compilers

b)

Abstractions

c)

Patterns

d)

Machine code

27.

Functions in Snap! are also called:

a)

Operators

b)

Blocks

c)

Queues

d)

Variables

28.

A function that returns a True/False value is a:

a)

Reporter

b)

Predicate

c)

Command

d)

Procedure

29.

Why is abstraction important in programming?

a)

It removes all details

b)

It focuses only on important details and generalizes solutions

c)

It ensures programs run faster

d)

It prevents debugging errors

30.

Adding a parameter to a block makes it:

a)

More reusable and flexible

b)

Less efficient

c)

Harder to debug

d)

Only usable once

31.

Which three structures form the basis of algorithms?

a)

Loop, Function, Variable

b)

Sequencing, Selection, Iteration

c)

Input, Process, Output

d)

Compiler, Interpreter, Translator

32.

What is the main purpose of using flowcharts in programming?

a)

To store data in arrays

b)

To represent algorithms visually

c)

To write code in a specific language

d)

To debug errors automatically

33.

Which of the following is an example of decomposition in computational thinking?

a)

Translating code into machine language

b)

Writing code in a high-level language

c)

Identifying repeating patterns in data

d)

Breaking a large project into smaller, manageable tasks

34.

What does a predicate function return in programming?

a)

A list of items

b)

A True or False value

c)

A number

d)

A string value

35.

What is the main benefit of using pattern recognition in computational thinking?

a)

It removes all unnecessary details

b)

It breaks problems into smaller parts

c)

It helps identify similarities to solve new problems efficiently

d)

It translates code into machine language

36.

Which of the following best describes the process of debugging?

a)

Creating flowcharts for algorithms

b)

Writing code in a high-level language

c)

Finding and fixing errors in a program

d)

Translating code into pseudocode

37.

What is the purpose of using pseudocode before writing actual code?

a)

To visually represent data structures

b)

To execute the program line by line

c)

To outline the logic of a program in plain language

d)

To compile the program