wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DigiPro 7 Unit 1 Review

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

Which Programming Language is the most famous worldwide?

a)

Python

b)

Java

c)

C++

d)

Ruby

2.

A set of well-defined instructions that allow you to solve a problem in a step-by-step manner, or interpret any program in detailed step-by-step instructions

a)

Programming

b)

Algorithm

c)

Interpretation

d)

Coding

3.

A graphical representation of steps. It uses standard symbols to visually explain how instructions would be carried out in a sequence to achieve the desired results, it's used for Programming and Algorithms

a)

Flowchart

b)

Drawing

c)

Design

d)

Interpretation

4.

Variables must always be on the left, and values must always be on the right

( For example: name="Mohammed Ali" )

a)

True

b)

False, their position don't matter

c)

False, it depends on how it's written

5.

Values get assigned to variables

a)

False, variables get assigned to values

b)

False, it depends on their position

c)

True

d)

False, it depends how its written

6.

Commenting in Python can be done by using

a)

Double Quotes

b)

#

c)

@

d)

Not possible

7.

Which one is a valid variable name?

a)

Ca$h

b)

9th

c)

What up

d)

_H3Y_

8.

NuM=79

num="sup"

print (num,NuM)

What's the output of the program above?

a)

num,Num

b)

Error!

c)

sup 79

d)

sup sup

e)

79 sup

9.

Which one is not a token of Python?

a)

Keywords

b)

Literals

c)

Delimiters

d)

Functions

10.

Occurs when a user writes an invalid statement (examples: missing parenthesis, wrong name, different quotations, unintended space, etc...), is called:

a)

Syntax error

b)

Program error

c)

General error

d)

User error

11.

Which one is not an example of a value that can be assigned to a variable?

a)

27

b)

"Hello world!!"

c)

input("What's your name?")

d)

print(hey there)