Python 1

Python 1

Assessment

Flashcard

Computers

10th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the correct way to create a variable in Python? Options: let my_variable = 'hello', variable my_variable = 'hello', my_variable = 'hello', var my_variable = 'hello'

Back

my_variable = 'hello'.

2.

FLASHCARD QUESTION

Front

Which function is used to output information to the terminal in Python? Options: console.log(), print(), output(), echo()

Back

print()

3.

FLASHCARD QUESTION

Front

What data type is '55.60' in Python?

Back

Float

4.

FLASHCARD QUESTION

Front

How do you create a comment in Python?

Back

# This is a comment

5.

FLASHCARD QUESTION

Front

Which operator is used for concatenating strings in Python?

Back

+

6.

FLASHCARD QUESTION

Front

What will be the output of 'print('HELLO'.lower())'?

Back

hello

7.

FLASHCARD QUESTION

Front

Which method is used to find the length of a string in Python? Options: size(), len(), count(), length()

Back

len()

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?