Search Header Logo

Intro. to Programming Python Basics

Authored by Robin Robertson

Computers

9th - 12th Grade

Used 7+ times

Intro. to Programming Python Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

name = "Programming"

What type of variable is name?

int

float

boolean

string

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

grade = 9

grade is what type of variable?

int

float

boolean

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

testGrade = 89.7

testGrade is what type of variable?

int

float

boolean

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

graduated = True

What type of variable is graduated?

int

float

boolean

string

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def figureGrade():


What does def represent in Python?

defines a variable

defines a function

defines a loop

defines a class

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What character is required at the end of def statements, while loops, and if statements?

semi colon

colon

period

curly brace

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = 5

b = 6

if a == b:

Does the statement above evaluate to True or False?

True

False

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?