wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ICT Programming and Logic Lesson 1

Total questions: 31

Worksheet time: 16mins

Name
Class
Date
1.

What is the role of programming in computing?

a)

To create hardware components

b)

To define and solve problems using code

c)

To design user interfaces

d)

To manage network connections

2.

What is binary representation used for in computers?

a)

To create graphics

b)

To store and process data and programs

c)

To manage user input

d)

To design software interfaces

3.

Which of the following is a high-level programming language?

a)

Machine language

b)

Assembly language

c)

Python

d)

Binary code

4.

Which language is usually compiled?

a)

JavaScript

b)

Python

c)

C++

d)

HTML

5.

Why is sequencing important in the structure of a simple program?

a)

It helps in creating graphics

b)

It ensures the program runs in the correct order

c)

It allows for user interaction

d)

It manages network connections

6.

What is pseudocode used for in program design?

a)

To write the final code

b)

To create a visual design

c)

To outline the program flow

d)

To compile the program

7.

What do programs consist of?

a)

Instructions that tell the computer what to do

b)

Pictures and videos

c)

Music and sounds

d)

Games and applications

8.

Who is a programmer?

a)

A person that writes programs

b)

A person that repairs computers

c)

A person that designs websites

d)

A person that plays video games

9.

What is programming?

a)

The process of writing a computer program

b)

The process of playing computer games

c)

The process of designing computer hardware

d)

The process of fixing computer errors

10.

What is a programming language?

a)

A set of key words and syntax for organizing instructions

b)

A type of spoken language

c)

A collection of computer games

d)

A book about computers

11.

What is a computer?

a)

A machine that can perform a task independently

b)

A device that only stores data

c)

A tool for drawing pictures

d)

A machine that cannot run programs

12.

What does a computer need to perform tasks?

a)

A program that tells it what to do

b)

A manual guide

c)

A set of tools

d)

A battery

13.

What is executing in terms of computers?

a)

When a computer runs a program and performs tasks

b)

When a computer is turned off

c)

When a computer is being repaired

d)

When a computer is charging

14.

Which of the following is a primary function of a computer?

a)

Storing, retrieving, and displaying data

b)

Painting pictures

c)

Playing music

d)

Making phone calls

15.

What does a computer do when it calculates and manipulates data?

a)

Adding, multiplying, comparing & moving data

b)

Printing documents

c)

Sending emails

d)

Browsing the internet

16.

What is the only language a computer understands?

a)

Machine language

b)

Assembly language

c)

Python

d)

Java

17.

What is a transistor in the context of machine language?

a)

A type of computer program

b)

An electrical switch that is either off (0) or on (1)

c)

A storage device

d)

A type of software

18.

How many bits are in a byte?

a)

Four bits

b)

Six bits

c)

Eight bits

d)

Ten bits

19.

What is the base of machine language?

a)

Base 10 (0-9)

b)

Base 8 (0-7)

c)

Base 16 (0-9, A-F)

d)

Base 2 (0,1)

20.

What is a characteristic of assembly language?

a)

Easy to write

b)

Uses symbols and recognizable code

c)

Same for all computers

d)

Does not use symbols

21.

Why is assembly language considered difficult to write?

a)

It is too simple

b)

It is unique to different computers

c)

It uses complex symbols

d)

It is similar to machine language

22.

What are high-level programming languages usually written with?

a)

Machine code

b)

Binary numbers

c)

English words and phrases

d)

Hexadecimal code

23.

Which of the following is a high-level programming language?

a)

Assembly

b)

Python

c)

Binary

d)

Machine code

24.

What must high-level languages be translated into before they can be run?

a)

Assembly language

b)

Source code

c)

Machine language

d)

Pseudocode

25.

What is the correct way to print "Hello, World!" in Java?

a)

print("Hello, World!");

b)

System.out.println("Hello, World!");

c)

echo "Hello, World!";

d)

Console.WriteLine("Hello, World!");

26.

Which programming language uses the command `print("Hello World!")` to display "Hello, World!"?

a)

Java

b)

Python

c)

C++

d)

JavaScript

27.

In Snap! or Scratch, which block is used to display "Hello, World!"?

a)

when clicked, say Hello, world!

b)

on start, print Hello, world!

c)

if clicked, display Hello, world!

d)

start, echo Hello, world!

28.

What is a characteristic of compiled languages?

a)

Translates the entire program before running

b)

Translates line by line during execution

c)

Slower than translated languages

d)

Only used for web development

29.

How do translated languages or interpreters work?

a)

Translate the entire program before execution

b)

Translate a few instructions, execute them, then continue

c)

Only translate after the program is fully executed

d)

Translate instructions randomly

30.

What is one characteristic of structured programming?

a)

Works from the bottom to top

b)

Designed by combining problems into larger ones

c)

Allows programmers to re-use portions of code

d)

Makes it harder to correct errors

31.

How does structured programming make problems easier to execute?

a)

By ignoring smaller problems

b)

By breaking problems into smaller, logical problems

c)

By using only one large block of code

d)

By avoiding the use of code