រំឮកមេរៀនPython

រំឮកមេរៀនPython

11th Grade

45 Qs

quiz-placeholder

Similar activities

Strings in python - Test

Strings in python - Test

11th Grade

50 Qs

Python set 4

Python set 4

9th - 12th Grade

44 Qs

Python Revision Years 8&9 IGCSE

Python Revision Years 8&9 IGCSE

9th - 12th Grade

40 Qs

software dev

software dev

9th - 12th Grade

50 Qs

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - University

40 Qs

python basics by vaishali

python basics by vaishali

11th Grade

50 Qs

Python - Lists, Dictionaries and Loops

Python - Lists, Dictionaries and Loops

9th - 12th Grade

40 Qs

Week 4 - What is Python?

Week 4 - What is Python?

9th - 12th Grade

46 Qs

រំឮកមេរៀនPython

រំឮកមេរៀនPython

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Eric Fong

Used 3+ times

FREE Resource

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, what are if-statements used for?

Looping

Indexing

Decision Making

Testing

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?


click = True

Like = 0

if click:

Like = Like + 1

print(Like)

0

1

2

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?


What is the output of following code

Temperature = 20

Thermo = 15

if Temperature < 15:

Thermo = Thermo + 5

print(Thermo)

20

15

25

10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is an example of a....
Text-based programming language
Object orientated programming language
language written in java script
Visual-based programming language

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello" + str(2) + "world!")
Hello world! Hello world!
Hello2world!
Hello Hello world! world!
SyntaxError

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?
Syntax is the word used to describe an error
Syntax is the rules of the programming language
It is used to read information
It is used to output information 

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(Hello world!)
Hello world!
SyntaxError
Hello world
print(Hello world!)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?