G9-Introduction to Python Selection

G9-Introduction to Python Selection

9th Grade

6 Qs

quiz-placeholder

Similar activities

Remidial/Pengayaan PAS Informatika Fase F Kelas XI

Remidial/Pengayaan PAS Informatika Fase F Kelas XI

11th Grade

10 Qs

Struktur Pemrograman Arduino

Struktur Pemrograman Arduino

11th Grade

10 Qs

Kiểu dữ liệu danh sách - Bài 14 - Tin 10

Kiểu dữ liệu danh sách - Bài 14 - Tin 10

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

JavaScript Basics Quiz

JavaScript Basics Quiz

9th - 12th Grade

9 Qs

Lekcja 2.3

Lekcja 2.3

5th Grade - University

7 Qs

IT test HTML va CSS

IT test HTML va CSS

10th Grade

10 Qs

Sistem Komputer

Sistem Komputer

12th Grade

10 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