Python

Python

Assessment

Flashcard

Computers

11th Grade

Hard

Created by

Wiem Khelifi

Used 1+ 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

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?