Python

Python

7th Grade

10 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

4th - 7th Grade

10 Qs

CodeHS Python

CodeHS Python

7th - 12th Grade

10 Qs

Python Codehs

Python Codehs

7th - 12th Grade

10 Qs

Python-Code Right or Wrong

Python-Code Right or Wrong

7th - 8th Grade

10 Qs

Python

Python

7th Grade

10 Qs

Python

Python

1st - 10th Grade

10 Qs

Python Module

Python Module

7th Grade

14 Qs

Python - Data types and Conditional statements

Python - Data types and Conditional statements

4th - 8th Grade

10 Qs

Python

Python

Assessment

Quiz

Computers

7th Grade

Hard

Created by

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

Used 12+ 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?