Search Header Logo

python basics

Authored by Hemalatha Kota

Computers

11th Grade

Used 4+ times

python basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correctly-formatted comment?

#Comment
&Comment
""Comment""
!Comment

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

stores a piece of data, and gives it a specific name

variable
whitespace
interpreter
modulo

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a line of text that Python won't try to run as code

comment
modulo
variable
boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a data type than can have one of two values: True or False

boolean
variable
modulo
interpreter

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The correct way to write a variable in Python?

my_variable = 10
my variable = 10
my_variable is 10
my_variable: 10

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A data type consisting of numbers, letters and symbols.

String
Integer
Float
Boolean

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Data type for a whole number

String
Integer
Boolean
Float

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?