Search Header Logo
Introduction To Python - While Lesson Loop

Introduction To Python - While Lesson Loop

Assessment

Presentation

Computers

8th Grade

Medium

Created by

Ayomikun J Sodipe

Used 4+ times

FREE Resource

13 Slides • 12 Questions

1

media

2

Multiple Choice

Which of the following is an example of Python string?

1
None
2
"Hello, World!"
3
True
4
12345

3

Multiple Choice

What is variable?

1

A variable is a named storage location that can hold data & values.

2
A variable is a graphical representation of data in a program.
3
A variable is a type of function that performs calculations.
4
A variable is a fixed value that cannot change during program execution.

4

Multiple Choice

How do you assign a value to a variable in Python?

1

Assign values using the '->' operator.

2
Variables are assigned values by enclosing them in parentheses.
3

Use the '=' operator to assign a value to a variable.

4
Use the '==' operator to assign a value to a variable.

5

Multiple Choice

What happens if you use double quotes around the variable name in the print() statement?

1
The print() statement will throw an error.
2
The variable will be evaluated and its value printed.
3
The print() statement will output nothing.
4
The print() statement will output the variable name as a string, not its value.

6

Multiple Choice

What is Python Programming?

1

A type of snake commonly found in jungles

2

A high-level, text-based programming language

3

A software used only for web development.

4

A tool for editing text documents.

7

Multiple Choice

Question image

Which of the following is the correct code for a print statement to display the message:Print("Hello Year 8! Welcome to introduction to Python!")

1

print "Hello Year 8! Welcome to introduction to Python!"

2

print("Hello Year 8! Welcome to introduction to Python!")

3

Print("Hello Year 8! Welcome to introduction to Python!")

4

print("Hello Year 8!") print("Welcome to introduction to Python!")

8

Multiple Choice

What does the term Algorithm mean?

1

An algorithm is a step-by-step instruction for solving a problem.

2
An algorithm is a collection of data stored in a database.
3
An algorithm is a random guess for solving a problem.
4
An algorithm is a type of computer hardware.

9

Multiple Choice

What does the word debug output?

1
The result produced by a program or system after processing input.
2
The storage location for program files.
3
The process of generating data from a database.
4
The input data received by a program.

10

Multiple Choice

Which of this best describes the term Programming?

1
The act of writing poetry and prose.
2

The study of computer hardware components.

3

The process of writing and testing the code that enables a computer to perform specific tasks.

4
The process of debugging existing software.

11

Multiple Select

Which of these are two types of Programming?

1
Functional Programming
2

Text-based Programming

3
Scripting Programming
4
Declarative Programming
5

Block-based Visual Programming

12

Match

Match these following words to their meanings

Algorithm

Programming

Python

Sequencing

A step-by-step set of instructions

The process of writing code

A text based programming language

The order in which tasks are performed

13

Multiple Choice

What is variable?

1

A variable is a named storage location that can hold data & values.

2
A variable is a graphical representation of data in a program.
3
A variable is a type of function that performs calculations.
4
A variable is a fixed value that cannot change during program execution.

14

media

15

media

16

media

17

media

18

media

19

media

20

media

21

media

22

media

23

media

24

media

25

media
media

Show answer

Auto Play

Slide 1 / 25

SLIDE