Introduction to Python

Introduction to Python

Assessment

Flashcard

9th - 10th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What will the output be from the following code? Print (“Hello world!”)

Back

Hello world!

2.

FLASHCARD QUESTION

Front

The correct way to write a variable in python?

Back

my_variables=10

3.

FLASHCARD QUESTION

Front

Which of the following is a correctly-formatted comment?
Options: &comment, “”Comment””, !comment, #comment

Back

#comment

4.

FLASHCARD QUESTION

Front

A data type consisting of numbers letters and symbols:

Back

String

5.

FLASHCARD QUESTION

Front

In programming, a (n) _______________ is a value that can change, depending on conditions or on information passed to the program

Back

variable

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

In python the ' FLOAT data type' can be defined as...?

Back

holds a decimal point in a number

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?