Python Final 23

Python Final 23

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Food Preservation

Food Preservation

11th - 12th Grade

20 Qs

Ôn tập hk 10

Ôn tập hk 10

10th Grade

20 Qs

Информатика-ЕНТ ( 3 в)

Информатика-ЕНТ ( 3 в)

11th Grade

30 Qs

Academic Vocabulary

Academic Vocabulary

6th - 12th Grade

27 Qs

HTML & CSS Review

HTML & CSS Review

9th - 12th Grade

25 Qs

CHỦ ĐỀ F - TIN 10 - CÁNH DIỀU

CHỦ ĐỀ F - TIN 10 - CÁNH DIỀU

9th - 12th Grade

20 Qs

Academic Vocabulary: List 5

Academic Vocabulary: List 5

9th - 12th Grade

20 Qs

Kitchen- HACCP Program

Kitchen- HACCP Program

9th - 12th Grade

25 Qs

Python Final 23

Python Final 23

Assessment

Quiz

Specialty

9th - 12th Grade

Medium

Created by

Joseph Gilliam

Used 49+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python?

A snake

A programming language

A software

A type of food

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to define a block of code in Python?

Curly braces

Parentheses

Indentation

Quotation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create a comment in Python?

Using the // symbol

Using the /*...*/ symbol

Using the # symbol

Using the -- symbol

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python function will you use to read input data from the user?

input()

raw_input()

read_input()

collect_input()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable "a" that is equal to 2 in Python?

int a = 2

var a = 2

a = 2

2 = a

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid Python data type?

 List

Tuple

Dictionary

Table

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a list in Python?

a = (1, 2, 3)

a = [1, 2, 3]

a = {1, 2, 3}

a = '1, 2, 3'

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?