Introduction to Python

Introduction to Python

Assessment

Flashcard

Computers

10th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

30 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What kind of programming language is Python?

Back

High Level and Object Oriented

2.

FLASHCARD QUESTION

Front

How would you print a text string? Options: output "Hello!", print("Hello!"), print (Hello!), output (Hello!)

Back

print("Hello!")

3.

FLASHCARD QUESTION

Front

How would you assign an integer to a variable? Options: new_var = 4, new_var == 4, new_var = "4", new var "4"

Back

new_var = 4

4.

FLASHCARD QUESTION

Front

What are the 4 main datatypes used in Python?

Back

String, Integer, Float & Boolean

5.

FLASHCARD QUESTION

Front

Changing the value of a variable e.g. from new_var = 5 to new_var = 10 is called?

Back

Reassignment

6.

FLASHCARD QUESTION

Front

To print the value of new_var = 7, which statement would you use? Options: output "new_var", print(new_var), print "new_var", output "7"

Back

print(new_var)

7.

FLASHCARD QUESTION

Front

Another word used for indenting is?

Back

whitespace

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?