Python 1

Python 1

Assessment

Flashcard

Computers

10th Grade

Hard

Created by

Quizizz 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()

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?