wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS Eval

Total questions: 27

Worksheet time: 19mins

Name
Class
Date
1.

Which of the following components is known as the “brain” of the computer?

a)

Monitor

b)

RAM

c)

Central Processing Unit (CPU)

d)

Graphics Card (GPU)

e)

I have no idea

2.

What is the primary function of the Random Access Memory (RAM) in a computer?

a)

Store permanent data

b)

Execute instructions

c)

Provide temporary storage for data in use

d)

Control peripheral devices

e)

I have no idea

3.

What does the term 'booting' refer to in computer terminology?

a)

Shutting down the computer

b)

Starting up the computer

c)

Installing new software

d)

I have no idea

e)

Updating the operating system

4.

Which hardware component stores data long-term, including the operating system and personal files?

a)

RAM

b)

Hard Drive

c)

Graphics Card (GPU)

d)

CPU

e)

I have no idea

5.

What is the main difference between hardware and software?

a)

Software is the part you can see of a computer, while hardware are the computer programs.

b)

Hardware is what surrounds the computer and software are the internal cables.

c)

Software is the inside part of the computer while hardware is the outside part.

d)

Hardware refers to the physical components of a computer, while software refers to the programs that allow specific tasks to be performed.

e)

I have no idea

6.

Which of the following is a method to decode a Caesar cipher message?

a)

Shifting letters forward by a fixed number

b)

Reversing the order of letters

c)

Substituting each letter with a number

d)

I have no idea

e)

Shifting letters backward by a fixed number

7.

Using only the following instructions

-Forward -Turn Right -Turn Left

Write a series of instructions to get the purple robot to reach the red dot.
Consider that the Forward instruction only advances it 1 space equivalent to its own dimensions.

4 lines
8.

Which option shows the correct commands to make a robot move in a square pattern:

a)

REPEAT (4)
MOVE_FORWARD, TURN_RIGHT

b)

REPEAT (4)
MOVE_FORWARD, TURN_LEFT
TURN_LEFT

c)

MOVE_FORWARD, TURN_RIGHT, MOVE_FORWARD, TURN_LEFT, MOVE_FORWARD, TURN_RIGHT, MOVE_FORWARD, TURN_LEFT

d)

MOVE_FORWARD, TURN_LEFT, MOVE_FORWARD, TURN_RIGHT, MOVE_FORWARD, TURN_LEFT, MOVE_FORWARD, TURN_RIGHT

e)

I have no idea

9.

Observe the following simple code for the movement of a robot:
Sequence:
MOVE_FORWARD 5 steps, TURN_LEFT, MOVE_FORWARD 5 steps,
Which option shows a sequence that, when added to this code, allows the robot to return along the same path it has already traveled?

a)

MOVE_FORWARD 5 steps, TURN_LEFT, MOVE_FORWARD 5 steps,

b)

TURN_RIGHT,
TURN_RIGHT, MOVE_FORWARD 5
TURN_RIGHT, MOVE_FORWARD 5

c)

TURN_RIGHT, MOVE_FORWARD 5
TURN_RIGHT, MOVE_FORWARD 5

d)

TURN_RIGHT,
TURN_RIGHT, MOVE_FORWARD 5
TURN_LEFT, MOVE_FORWARD 5

e)

I have no idea

10.

Your parents are going to organize a 5-day vacation for your entire family.

Break this situation down into the relevant aspects that must be considered for the vacation to be successful.

4 lines
11.

Which block is used to start a program in Scratch?

a)

Forever

b)

Green flag

c)

I have no idea

d)

If-then

e)

Green start button

12.

Scratch
Which block would you use to repeat a set of instructions 10 times?

a)

I have no idea

b)

Do 10 times

c)

Repeat 10

d)

Wait 10 seconds

e)

While 10

13.

Which block is used to detect if a sprite is touching a specific color?

a)

Touching color [color]?

b)

I have no idea

c)

Color [color] is touching [color]?

d)

Over color [color]?

e)

Is color [color]?

14.

Which sequence of blocks would you use to make a sprite move in a square pattern?

a)

Move 10 steps, turn 45 degrees, repeat 8 times

b)

Move 20 steps, turn 90 degrees, repeat 2 times

c)

Move 10 steps, turn 180 degrees, repeat 4 times

d)

I have no idea

e)

Move 10 steps, turn 90 degrees, repeat 4 times

15.

Which HTML tag is used to create a hyperlink?

a)

<link>

b)

<a>

c)

<href>

d)

<hyperlink>

e)

I have no idea

16.

What is the correct HTML element for inserting a line break?

a)

<lb>

b)

<break>

c)

<line>

d)

<br>

e)

I have no idea

17.

How do you add a background color in CSS?

a)

background-color: red;

b)

color: red;

c)

bg-color: red;

d)

background: red;

e)

I have no idea

18.

Choose the correct HTML and CSS to create a paragraph with red text:

a)

<p >This is a paragraph.<p>

b)

<p/ >This is a paragraph.</p>

c)

<p >This is a paragraph.</p>

d)

<p/ >This is a paragraph.</p>

e)

I have no idea

19.

What is the correct way to declare a variable in JavaScript?

a)

variable myVariable;

b)

var myVariable;

c)

v myVariable;

d)

let myVariable;

e)

I have no idea

20.

Which of the following is a string variable?

a)

let height = 1.75;

b)

let isStudent = true;

c)

let age = 30;

d)

let name = "John";

e)

I have no idea

21.

What does the following code do?
console.log("Hello, World!");

a)

Displays “Hello, World!” in an alert box

b)

Prints “Hello, World!” to the console

c)

Writes “Hello, World!” to a file

d)

Sends “Hello, World!” as an text box

e)

I have no idea

22.

  1. What is the output of the following code? let x = 5; x += 3; console.log(x);

a)

5

b)

3

c)

8

d)

53

e)

I have no idea

23.

How do you access the second element in an array let arr = [1, 2, 3];?

a)

arr[1]

b)

arr[2]

c)

arr[0]

d)

arr[3]

e)

I have no idea

24.

What is the correct way to write an if statement in JavaScript?

a)

if x == 5 { // code }

b)

if x = 5 { // code }

c)

if (x == 5) { // code }

d)

if (x = 5) { // code }

e)

I have no idea

25.

What does the following JavaScript code do?

let name = "Alice";

let greeting = "Hello, " + name + "!";

console.log(greeting);

a)

Prints “Hello, Alice” to the console

b)

Prints “Hello, Alice!” to the console

c)

Prints “Alice, Hello” to the console

d)

Prints “Hello, name!” to the console

e)

I have no idea

26.

What does the following JavaScript code do?
let isRaining = true;

if (isRaining) {

console.log("Take an umbrella.");

} else {

console.log("No need for an umbrella.");

}

a)

Prints “No need for an umbrella.” to the console

b)

Prints “Take an umbrella.” to the console*

c)

Evaluate if it is raining through a Script

d)

Compare a phrase entered by the user

e)

I have no idea

27.

What does the following JavaScript code do?

for (let i = 0; i < 3; i++) {

console.log(i);

}

a)

Prints 1, 2, 3 to the console

b)

Prints 0, 1, 2, 3 to the console

c)

Prints 0, 1, 2 to the console

d)

Prints 3, 2, 1 to the console

e)

I have no idea