Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CS Unit 1, Programming part 1: Sequences

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

What does the acronym IDE Stand for?

a)
  1. Interactive Data Entry

b)
  1. Integrated Development Environment

c)
  1. International Development Effort

d)
  1. Institute for Digital Education

2.

What software/website do we use to write and test our programs in an efficient, easy, and assisted way?

a)

Operator

b)

Executer

c)

Assembler

d)

IDE

3.

Which one is NOT an advantage of the IDE?

a)

It colors the code, making it easier to read

b)

It will point out your error

c)

It can automatically write the code for you

d)

It will auto-indent, and sometimes auto-complete the code

4.

Which one is NOT an example of a high-level language?

a)
Python
b)
Java
c)
C++
d)

Assembly

5.

Which one is NOT an example of a low-level language?

a)
Assembly
b)
Machine Code
c)

Binary

d)
Python
6.

What's the name of the computer language that uses only 0's and 1's?

a)

Assembly

b)

Low-level

c)
Binary
d)

Mnemonic

7.

A sequence of instructions to perform a specific task with a certain name.

a)

Function/Subroutine

b)

Variable

c)

Syntax

d)

Valuable

8.

The program will run, but won’t do what the programmer expected. These are tricky to spot as they are not picked up by the IDE, and they don't make sense to the program.

a)

Logical error

b)

Machine error

c)

Function error

d)

Sensible error

9.

Which one is an example of a Python function/subroutine?

a)

def hello():

hello()

b)

hello="What's up"

c)

print(2+8)

d)

import python

10.

Which one is NOT an example of a value assigned to a variable?

a)

x=72

b)

name="Mohammed"

c)

hey=input("how are you?")

d)

print("What's up")

11.

Which one is a function that asks the user to insert the value.

a)

name=input("What's your name")

b)

x=insert("how old are you")

c)

hey(input("Hello"))

d)

print("Are you here?")

12.

What's the value of Boolean data type?

a)
0 and 1
b)
True and False
c)
Yes and No
d)
On and Off
13.

Which one is NOT a name reference for a decimal number in programming?

a)
float
b)
double
c)

integer

d)

real

14.

Which one is an INCORRECT way of printing out a message?

a)

print(f"Hello there {name}")

b)

print("total is:",total)

c)

print="I'm happy today"

d)

print("not today")

15.

A value type that is always text, it can include numbers but they will be read as text.

a)

Text

b)

Real

c)
String
d)
Boolean
16.

(Tricky) A universal language that's used between programming languages to interpret and read the code

a)

Translator

b)

Pseudo code

c)

English

d)

Compiler

17.

Which one is an example of an algorithm?

a)
A recipe for making pasta
b)
A painting by Van Gogh
c)
A poem by Shakespeare
d)
A song by Beethoven
18.

We visually represent an algorithm or programs by using?

a)
Flowchart
b)

Drawing

c)

Graphs

d)
Histogram