Python Final 23

Python Final 23

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

FOODS 1 - 6.00 Meal Planning & Prep

FOODS 1 - 6.00 Meal Planning & Prep

9th - 12th Grade

20 Qs

Intro. to Business - Unit 1 Review

Intro. to Business - Unit 1 Review

KG - University

20 Qs

HBS 2.1.1 & 2.1.2 Brain Quiz

HBS 2.1.1 & 2.1.2 Brain Quiz

12th Grade

20 Qs

4 - Introduction to Computing in Google Cloud

4 - Introduction to Computing in Google Cloud

10th Grade

21 Qs

1.1 - Function of nutrients

1.1 - Function of nutrients

7th - 10th Grade

22 Qs

Stagecraft Construction

Stagecraft Construction

9th - 12th Grade

20 Qs

CONSUMER'S EQUILIBRIUM

CONSUMER'S EQUILIBRIUM

11th Grade

23 Qs

Joints

Joints

10th Grade

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