G9-Introduction to Python Selection

G9-Introduction to Python Selection

9th Grade

6 Qs

quiz-placeholder

Similar activities

Quiz sobre Loop While em Python

Quiz sobre Loop While em Python

12th Grade

10 Qs

TRẮC NGHIỆM VUI PYTHON

TRẮC NGHIỆM VUI PYTHON

10th Grade

10 Qs

Kiến thức về hàm print() trong Python

Kiến thức về hàm print() trong Python

2nd Grade - University

9 Qs

Увлекательный мир Python

Увлекательный мир Python

6th Grade - University

9 Qs

Soal Informatika

Soal Informatika

10th Grade

10 Qs

Python (basics)

Python (basics)

1st Grade - University

11 Qs

Dasar C++

Dasar C++

10th Grade

10 Qs

Python Mod 2 Sec 6

Python Mod 2 Sec 6

11th Grade

6 Qs

G9-Introduction to Python Selection

G9-Introduction to Python Selection

Assessment

Quiz

Information Technology (IT)

9th Grade

Hard

Created by

Sherin Kamel

Used 2+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Used in python to make decisions

If statement

print command

input command

logical operators

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would happen if your forgot to include a colon at the end of an if statement?

Codes works

Syntax error

Logical error

Compilation error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the result of the following code :

print(random.randint(3,9))

9

prints the word : random

3

prints a random number between 3 & 9

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following code:

fname= "Esslam "

lname= "Fahmi "

print ("Hi" , lname + fname)

Hi Esslam fahmi

Hi Fahmi Esslam

Hi fname lname

Hi there

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Are extremely important in the syntax of writing an if statement in python

:

?

indentation

%

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You must import the Random library so the random functions can work

True

False