G9-Introduction to Python Selection

G9-Introduction to Python Selection

9th Grade

6 Qs

quiz-placeholder

Similar activities

Introduction & Basic Program Structure

Introduction & Basic Program Structure

University

10 Qs

Test grilă - Turbo Pascal

Test grilă - Turbo Pascal

10th Grade - University

11 Qs

Kuis Algoritma dalam Bahasa Pemrograman

Kuis Algoritma dalam Bahasa Pemrograman

12th Grade

10 Qs

Quiz Pengetahuan Awal

Quiz Pengetahuan Awal

10th Grade

10 Qs

session 02 basic word - khattab Academy

session 02 basic word - khattab Academy

9th - 12th Grade

10 Qs

Untitled Quiz

Untitled Quiz

12th Grade - University

10 Qs

Understanding Data and Encoding

Understanding Data and Encoding

6th Grade - University

10 Qs

Module 2.1.6 Quiz

Module 2.1.6 Quiz

10th 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

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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