G9-Introduction to Python Selection

G9-Introduction to Python Selection

9th Grade

6 Qs

quiz-placeholder

Similar activities

TRẮC NGHIỆM VUI PYTHON

TRẮC NGHIỆM VUI PYTHON

10th Grade

10 Qs

Quiz Chapter 3

Quiz Chapter 3

University

10 Qs

Ms. Word & Ms. Excel

Ms. Word & Ms. Excel

10th Grade

10 Qs

Quiz sobre Loop While em Python

Quiz sobre Loop While em Python

12th Grade

10 Qs

Praktik Lintas Bidang (Permasalahan Knapsack)

Praktik Lintas Bidang (Permasalahan Knapsack)

11th Grade

10 Qs

Asesmen Informatika Fase E Sms Ganjil

Asesmen Informatika Fase E Sms Ganjil

10th Grade

10 Qs

9A Q2 ( 19 to 23 October )

9A Q2 ( 19 to 23 October )

9th Grade

10 Qs

Цикл for

Цикл for

University

10 Qs

G9-Introduction to Python Selection

G9-Introduction to Python Selection

Assessment

Quiz

Information Technology (IT)

9th Grade

Practice Problem

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