python essL2

python essL2

4th Grade

8 Qs

quiz-placeholder

Similar activities

Quiz de la Semana 02

Quiz de la Semana 02

2nd Grade - University

5 Qs

TIN 4_BAI 8_CƠ BẢN

TIN 4_BAI 8_CƠ BẢN

4th Grade

10 Qs

Tin học 4 - Ôn tập HKI

Tin học 4 - Ôn tập HKI

4th Grade

10 Qs

CUESTIONARIO DE INFORMATICA

CUESTIONARIO DE INFORMATICA

4th Grade

11 Qs

ArmB21.C2

ArmB21.C2

1st - 5th Grade

10 Qs

Robotics and AI trivia for kids

Robotics and AI trivia for kids

1st - 6th Grade

10 Qs

Quiz sobre la evolución de las computadoras

Quiz sobre la evolución de las computadoras

4th Grade - University

10 Qs

Quiz Trial Class Seven Class

Quiz Trial Class Seven Class

1st - 5th Grade

8 Qs

python essL2

python essL2

Assessment

Quiz

Information Technology (IT)

4th Grade

Practice Problem

Medium

Created by

stemate stemate

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to compare two values?

><

=

== 

<>