wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Engineering

Total questions: 29

Worksheet time: 15mins

Name
Class
Date
1.

An algorithm is best described as:

a)

A random guess

b)

A list of ordered steps

c)

A computer error

d)

A secure password

2.

A bug in a program is:

a)

A new feature

b)

A shortcut in the code

c)

Something that makes the program behave incorrectly

d)

A backup file

3.

Debugging means:

a)

Erasing code and starting over

b)

Finding and fixing problems in code

c)

Compressing files

d)

Encrypting data

4.

Lossless compression allows:

a)

Smaller files, but with some data missing

b)

Exact reconstruction of the original data

c)

Faster upload speed only

d)

Encryption of data

5.

Encryption is used to:

a)

Make files smaller

b)

Hide or protect information

c)

Speed up the computer

d)

Fix bugs

6.

Decryption is:

a)

Turning plain text into secret text

b)

Cracking the computer password

c)

Reversing encryption to get the original message

d)

Removing viruses

7.

A cipher is:

a)

A type of computer hardware

b)

A technique used to encrypt information

c)

A wireless signal

d)

A program bug

8.

A Caesar Cipher works by:

a)

Randomly swapping letters

b)

Deleting every other letter

c)

Shifting letters by a set number

d)

Using pictures instead of letters

9.

A Random Substitution Cipher:

a)

Maps each letter to a random different letter

b)

Cannot be decrypted

c)

Only uses vowels

d)

Deletes all consonants

10.

Cracking encryption means:

a)

Fixing broken code

b)

Trying to read a message without knowing the key

c)

Storing backups

d)

Compressing the data

11.

Which of these is an example of an event in programming?

a)

A file download

b)

A user clicking a button

c)

Compressing an image

d)

Saving a file

12.

Which statement is true about debugging?

a)

Guessing is the fastest method

b)

You only test once

c)

You find the cause, fix it, and test again

d)

It works best if you rewrite the entire program

13.

An algorithm must be:

a)

Short

b)

Written in code

c)

Clear and step-by-step

d)

Encrypted

14.

A bug causing a loop to run too many times is called:

a)

An encryption error

b)

An off-by-one error

c)

A compression fault

d)

A runtime skip

15.

The main purpose of file compression is:

a)

To hide the file

b)

To make the file smaller

c)

To debug the file

d)

To speed up encryption

16.

When decrypting a substitution cipher, you:

a)

Shift the alphabet

b)

Replace each encrypted letter with the original letter from the key

c)

Randomly guess

d)

Add numbers to the letters

17.

Which action would trigger an event-based program?

a)

A student presses the spacebar

b)

The computer turns off

c)

Files are stored on the desktop

d)

The Wi-Fi router restarts

18.

Cracking a cipher without knowing the key is usually done by:

a)

Guessing wildly

b)

Frequency analysis and pattern checking

c)

Compressing the message

d)

Copy-pasting the text

19.

In debugging, the first step is usually:

a)

Rewrite the code

b)

Reproduce the problem

c)

Delete temporary files

d)

Encrypt the inputs

20.

Which of these is an example of an algorithm you use in daily life?

a)

Picking a random outfit

b)

Following a recipe

c)

Watching a movie

d)

Plugging in a charger

21.

You are designing an app to help students track homework. Before building, you create a flowchart showing each screen and action. Which concept are you using?

a)

Cipher

b)

Algorithm

c)

Compression

d)

Decryption

22.

A team tests their prototype app and finds that pressing “Submit” crashes the app. According to the EDP, what step should they take next?

a)

Encrypt the app

b)

Debug the code

c)

Add more screens

d)

Compress the files

23.

An engineer wants users’ personal information to remain private while the app transmits data. Which tool should they include in their design?

a)

Algorithms

b)

Events

c)

Encryption

d)

Loops

24.

During testing, students discover that a loop inside an algorithm never stops and freezes the app. What is this an example of?

a)

Proper compression

b)

An off-by-one error

c)

A random substitution

d)

An encrypted message

25.

If your prototype loads too slowly because the images are too large, which concept would best improve performance?

a)

Debugging

b)

Compression

c)

Caesar Cipher

d)

Event handling

26.

You build a program that responds when a user taps a button. Which part of the EDP does testing this behavior fall under?

a)

Define the problem

b)

Evaluate and test

c)

Brainstorm solutions

d)

Communicate results

27.

You are creating a digital lock in App Lab. The lock should open only if the message matches the correct decrypted result. What must your project do?

a)

Store files uncompressed

b)

Apply a cipher and key

c)

Add more events

d)

Delete debugging steps

28.

A design team wants to compare three algorithm versions to choose the fastest one. Which EDP step are they focusing on?

a)

Ask

b)

Improve

c)

Test

d)

Plan

29.

Your group encrypts a message, sends it, and asks another group to decrypt it using pattern recognition. What process are you testing?

a)

Cracking a cipher

b)

File compression

c)

Event handling

d)

Bug reproduction