Python Final 23

Python Final 23

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Fraud

Fraud

9th - 12th Grade

20 Qs

PYTHON test 1

PYTHON test 1

9th - 11th Grade

25 Qs

MM TEKS Review Spr24

MM TEKS Review Spr24

10th Grade

26 Qs

PHS Semester Review

PHS Semester Review

10th Grade

20 Qs

College Trivia

College Trivia

11th Grade - University

22 Qs

Language use -  jumble sentence

Language use - jumble sentence

12th Grade

20 Qs

Melakukan klasifikasi proses reservasi

Melakukan klasifikasi proses reservasi

11th Grade

25 Qs

HBS 2.1.1 & 2.1.2 Brain Quiz

HBS 2.1.1 & 2.1.2 Brain Quiz

12th Grade

21 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?