Introduction to Python

Introduction to Python

Assessment

Flashcard

•

Computers

•

10th Grade

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

30 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What kind of programming language is Python?

Media Image

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!)

Media Image

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"

Media Image

Back

new_var = 4

4.

FLASHCARD QUESTION

Front

What are the 4 main datatypes used in Python?

Media Image

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?

Media Image

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"

Media Image

Back

print(new_var)

7.

FLASHCARD QUESTION

Front

Another word used for indenting is?

Media Image

Back

whitespace

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?