Search Header Logo

Python

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

Computers

7th Grade

Used 21+ times

Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?