Search Header Logo

python essL2

Authored by stemate stemate

Information Technology (IT)

4th Grade

Used 7+ times

python essL2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

p("hello world)

echo("hello world")

echo "hello world"

print("hello world")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in Python code?

// This is comment

#This is comment

/*this is comment /*

""

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these collections defines a LIST?


{"apple", "banana", "cherry"}

("apple", "banana", "cherry")

{"name": "apple", "color": "green"}

["apple", "banana", "cherry"]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start writing an if statement in Python?


if (x > y)

if x > y then:

if x > y:

none of the bove

5.

MULTIPLE CHOICE QUESTION

30 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)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the numeric value 5?

x = int(5)

x = 5

Both the other answers are correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to multiply numbers?

%

#

*

x

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?