wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

The SemiColons Quiz

Total questions: 25

Worksheet time: 10mins

Name
Class
Date
1.

Finding and fixing errors in a program.

a)

Decompose

b)

Digital footprint

c)

Debugging

d)

Variables

2.

Which keyword is used to define a constant in C programming?

a)

static

b)

const

c)

final

d)

readonly

3.

Which is NOT a programming language?

a)

javaScript

b)

Python

c)

Microsoft

d)

Fortran

4.

In programming, a variable is a named storage location that holds a value or a reference to a value. And they are Easy To Remember.........

So In Basketball, what are good variables?

a)

Score

b)

If the team wins

c)

If the team loses

d)

Whether the team listens to the coach

5.

If I say the word "Algorithm" I am talking about what?

a)

When we all go to a store called Rithim.

b)

Algae that can DANCE!!!

c)

A new dance move.

d)

A list of steps you follow to finish a task.

6.

Programmers write code in high level language such as Python , C ++, Java that is further converted into low level language by Compiler or interpreter. So Which level would create the fastest code to execute?

a)

High level

b)

Low level

c)

Medium level

d)

Assembly language

7.

The format identifier ‘%i’ is also used for _____ data type

a)

char

b)

int

c)

float

d)

double

8.

What is wrong with the following "code/algorithm" for opening a bottle?

1. Grip cap with index finger and thumb

2. Remove cap

3. Twist counter-clock-wise until seal is broken

a)

to many steps

b)

not specific

c)

function doesn't apply to every bottle 

d)

instructions are out of sequence

9.

What is the purpose of a compiler or interpreter in the context of programming?

a)

To convert high-level code into low-level code

b)

To optimise code execution speed

c)

To debug and fix errors in code

d)

To provide a user-friendly interface for writing code

10.

If you are wanting to add interactivity to a website, which language would you use?

a)

C++

b)

Fortran

c)

Python

d)

JavaScript

11.

A web server is a software application that serves websites and web applications to clients over the internet through a remote computer

So what is not a function of a Web Server?

a)

To host and serve websites and web applications

b)

To manage databases

c)

To provide internet connectivity

d)

To manage all hardware resources

12.

A person who writes code and communicates instructions to a computer.

a)

Code

b)

Programmer

c)

Command

d)

Program

13.

What does IDE stand for?

a)

Integrated Debugging Equipment

b)

Integrated Debugging Environment

c)

Integrated Development Equipment

d)

Integrated Development Environment

14.

What is the following code doing: TotalMarks = 8

a)

Declaring a variable

b)

Assigning a value to a variable

c)

Performing a calculation

d)

Finding the running total

15.

What is programming?

a)

Commands given to an animal

b)

Commands given to a computer

c)

Something on television

d)

Something on a radio

16.

Problems or mistakes in the code for an algorithm or program are known as:

a)

Bugs

b)

Slugs

c)

Tugs

d)

Rugs

17.

Which programming language is commonly used to develop mobile games for iOS?

a)

C#

b)

Swift

c)

Kotlin

d)

JavaScript

18.

What is a condition?

a)

A rule that the computer must follow

b)

A sequence of commands that are in good condition

c)

An exception to a rule in coding

d)

Nothing

19.

Which programming language is commonly used to develop video games?

a)

Java

b)

Python

c)

C++

d)

RuBy

20.

Which operator is used to assign a value to a variable in programming?

a)

=

b)

==

c)

/=

d)

+=

21.

What is the purpose of a conditional statement in programming?

a)

To execute a block of code repeatedly

b)

To assign a value to a variable

c)

To control the flow of execution based on a conditio

d)

To perform arithmetic operations

22.
Imagine writing a program that instructs a bird how to take off, fly, and land. What function is likely to be looped?
a)
lift off
b)
flap wings
c)
find landing spot
d)
land
23.

Which statement is NOT correct?

a)

Algorithm is a computer language that a computer understands.

b)

Algorithm has a set of instructions to follow.

c)

One of examples of algorithms is a cooking recipe.

d)

To tell a computer to do something, a program must be written in a computer language.

24.

What punctuation is used to indicate the beginning and end of code blocks? (In C and C++)

a)

{ }

b)

-> <-

c)

BEGIN and END

d)

( and )

25.

When you tell the computer to repeat a command or step over and over and over and over and over and over and over and over and over and... oh yeah,

over again as many times as you tell to repeat.

Then What is it called??

a)

Deja Vu

b)

Loop

c)

Repeating

d)

Being annoying