python essL2

python essL2

4th Grade

8 Qs

quiz-placeholder

Similar activities

interro select

interro select

4th Grade

13 Qs

Тест програмування роботів

Тест програмування роботів

4th Grade

12 Qs

python

python

1st - 5th Grade

3 Qs

Quiz Informatique

Quiz Informatique

4th Grade

10 Qs

Kiến thức về hàm print() trong Python

Kiến thức về hàm print() trong Python

2nd Grade - University

9 Qs

Condition Programming Quiz

Condition Programming Quiz

1st Grade - University

9 Qs

Pretest HTML

Pretest HTML

1st - 5th Grade

10 Qs

Cuestionario de HTML

Cuestionario de HTML

4th Grade

10 Qs

python essL2

python essL2

Assessment

Quiz

Information Technology (IT)

4th Grade

Medium

Created by

stemate stemate

Used 7+ times

FREE Resource

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?

><

=

== 

<>