Python

Python

7th Grade

10 Qs

quiz-placeholder

Similar activities

python String and comment

python String and comment

3rd Grade - University

13 Qs

Python

Python

6th - 8th Grade

10 Qs

Python for Class 7

Python for Class 7

7th - 8th Grade

11 Qs

Python

Python

7th - 8th Grade

13 Qs

Quiz1_HPB2021_2010t1

Quiz1_HPB2021_2010t1

1st - 12th Grade

10 Qs

ICT PYTHON QUIZ

ICT PYTHON QUIZ

7th Grade

6 Qs

Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

Milestone Exkul SMP SMA - Q5_2022_Basic Python Syntax

6th - 8th Grade

15 Qs

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

Python

Python

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Розалина Омарбаева

Used 17+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is a correct syntax to output "Hello World" in Python?

print("Hello world")

p("Hello world")

("Hello world")

"Hello world"

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How do you insert COMMENTS in Python code?

//This is comment

#This is comment

/*This is comment*/

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

In Python, 'Hello', is the same as "Hello"

True

False

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which operator is used to multiply numbers?

X

#

%

*

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which operator can be used to compare two values?

><

<>

=

==

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How do you start writing an if statement in Python?

if x>y then:

if x>y:

if (x>y)

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How do you start writing a while loop in Python?

while x>y:

while x>y {

x>y while {

while (x>y)

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?