Python Basics Flashcard

Python Basics Flashcard

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What symbol is commonly used in Python to indicate the start of a single-line comment?

Back

#

2.

FLASHCARD QUESTION

Front

In Python, which keyword (or function) is used to display output on the screen?

Back

print()

3.

FLASHCARD QUESTION

Front

What function in Python allows a program to receive input from the user?

Back

input()

4.

FLASHCARD QUESTION

Front

What data type is used in Python to represent whole numbers (without any decimal point)?

Back

integer

5.

FLASHCARD QUESTION

Front

What data type is used in Python to represent numbers with decimal points?

Back

float

6.

FLASHCARD QUESTION

Front

What data type is used in Python to represent sequences of characters?

Back

string

7.

FLASHCARD QUESTION

Front

What will be the output of the following Python code?

Back

7

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?