python essL2

python essL2

4th Grade

8 Qs

quiz-placeholder

Similar activities

Функції Python для масивів

Функції Python для масивів

1st - 5th Grade

13 Qs

Prompt Engineering

Prompt Engineering

1st - 5th Grade

7 Qs

Javascript basico

Javascript basico

1st - 5th Grade

9 Qs

AMALAN TERBAIK PENGATURCARAAN

AMALAN TERBAIK PENGATURCARAAN

1st - 5th Grade

8 Qs

Python

Python

1st - 5th Grade

12 Qs

Kiểm Tra học kì 1 - Môn Tin Học Lớp 4

Kiểm Tra học kì 1 - Môn Tin Học Lớp 4

4th Grade

10 Qs

Fundamentos de HTML

Fundamentos de HTML

4th Grade

10 Qs

แบบทดสอบ Unit D

แบบทดสอบ Unit D

4th Grade - University

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?

><

=

== 

<>