Python

Python

Assessment

Flashcard

Computers

11th Grade

Practice Problem

Hard

Created by

Wiem Khelifi

Used 7+ times

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print("Hello world!\nHello world!")

Back

Hello world!
Hello world!

2.

FLASHCARD QUESTION

Front

What will the output be from the following code?
print("Hello" + str(2) + "world!")

Back

Hello2world!

3.

FLASHCARD QUESTION

Front

What is syntax?

Back

Syntax is the rules of the programming language

4.

FLASHCARD QUESTION

Front

Code executed based on a condition being true
Options: Sequence, Selection, Iteration, Variable

Back

Selection

5.

FLASHCARD QUESTION

Front

Code repeated / looped until a condition has been met or a set number of times.

Back

Iteration

6.

FLASHCARD QUESTION

Front

What does the following code do? myAge = int (myAge)

Back

Converts the var (variable) myAge to a integer

7.

FLASHCARD QUESTION

Front

What is python named after?

Back

Television show called Monty Python

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?