Python1

Python1

9th - 12th Grade

27 Qs

quiz-placeholder

Similar activities

Unit 3 Food Studies - Digestion

Unit 3 Food Studies - Digestion

12th Grade

23 Qs

Cambridge National Information Technologies

Cambridge National Information Technologies

10th - 11th Grade

25 Qs

iCEV What is FFA?

iCEV What is FFA?

6th - 9th Grade

27 Qs

Topic 1: Sources of Law

Topic 1: Sources of Law

12th Grade

22 Qs

Midterm Review

Midterm Review

9th - 12th Grade

24 Qs

1B Tynker JavaScript

1B Tynker JavaScript

8th - 10th Grade

23 Qs

Data Types and Operators

Data Types and Operators

9th - 12th Grade

26 Qs

REVIEW: Information Technology Cluster

REVIEW: Information Technology Cluster

8th - 12th Grade

25 Qs

Python1

Python1

Assessment

Quiz

Other

9th - 12th Grade

Medium

Created by

Chris McDonald

Used 1+ times

FREE Resource

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type is the following variable?
x = "Hi there"

float

integer

boolean

string

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What type is the following variable?
x = 4.02

float

integer

boolean

string

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following Python programs will not run?

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT a program that will produce the following output?

hellohellohello

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does the following Python program print?

9

12

15

21

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following operations will output a value of 5?


11 % 6


11/2

float(11)/2


2 + 3 * 2

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will the following code segment evaluate to?

29

56.0

29.0

56

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?