Python Quiz

Python Quiz

1st Grade

10 Qs

quiz-placeholder

Similar activities

iav ML Study Group Pop Quiz 4

iav ML Study Group Pop Quiz 4

1st - 2nd Grade

10 Qs

PYTHON (FOR LOOP)

PYTHON (FOR LOOP)

1st - 10th Grade

10 Qs

Quiz1_HPB2021_2010t1

Quiz1_HPB2021_2010t1

1st - 12th Grade

10 Qs

Python Array

Python Array

1st - 3rd Grade

10 Qs

NSI - Traitement de données en tables

NSI - Traitement de données en tables

1st Grade

10 Qs

Python-advanced

Python-advanced

1st - 4th Grade

8 Qs

9-сынып. Python массив.

9-сынып. Python массив.

1st - 9th Grade

10 Qs

Pyflask2020

Pyflask2020

KG - Professional Development

10 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

1st Grade

Medium

Created by

Елена Геннадьевна

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что такое переменная в Python?

A reserved memory location to store values

A type of snake

A type of loop in Python

A type of function in Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какие различные типы данных существуют в Python?

dog, cat, bird, fish, rabbit

apple, banana, orange, grape, watermelon

int, float, complex, str, list, tuple, set, dict, bool, and None

red, blue, green, yellow, purple

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Каков синтаксис цикла 'for' в Python?

for item in range:

for item in iterable:

for i in item in range:

for i in range(item):

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a list in python?

By using angle brackets <> and separating the elements with periods.

By using curly brackets {} and separating the elements with semicolons.

By using square brackets [] and separating the elements with commas.

By using parentheses () and separating the elements with spaces.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что будет результатом 'print(5 > 2)' в python?

5

False

True

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Каков результат '5 + 3' в python?

7

10

2

8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of 'if' statement in python?

To execute a block of code only if a specified condition is false.

To execute a block of code regardless of any condition.

To execute a block of code only if a specified condition is true.

To execute a block of code only if a specified condition is partially true.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?