Search Header Logo

Python - 2022 Certification review 1

Authored by Bryan Campbell

Computers

10th - 12th Grade

Used 5+ times

Python - 2022 Certification review 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is python an interpreter or compiler programming language?

Compiler

Interpreter

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is the following statement true or false:

"When containing code in a local block, Python uses braces to block off the code."

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is the following statement true or false:

"When containing code in a local block, Python uses indentation to block off code into chunks"

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In regards to best practice, which is the correct naming convention for constants in Python?

firstName

First_Name

FIRST_NAME

firstname

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In regards to best practice, which is the correct naming convention for variables in Python?

new_user25

NewUser25

25_new_user

25NewUser

NEWUSER25

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What output will the console show, if 15 and 30 are entered by the user?

Syntax error

45

1530

450

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What result will display in the shell if 15 and 20 is entered by the user?

"num1 + num2"

1520

35

300

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?