Search Header Logo

Programming in Python: Sequences

Authored by Serdar Sakman

Computers

8th Grade

Used 5+ times

Programming in Python: Sequences
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following variable names can be used in a Python program?

first_name

Name_1

First Name

Name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is the most appropriate name for a variable that stores data about how tall someone is?

Num1

Value

x

height

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly describes the programming concept sequencing?

When a set of instructions is repeated

When a set of instructions is carried out in order

Involves asking a question to which the answer is either true or false

Programs that use blocks of instructions that work with each other

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the program output?

animal = 'zebra'

print(animal)

'Zebra'

zebra

Animal

Zebra

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is wrong with this line of code:

input('What is your name?')

Input should be changed with Print

There is no variable assigned to the input

The question mark should not be included

The brackets are positioned in a wrong way

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable name must start with a letter and it cannot start with a number

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variable names are case sensitive. Which means name, Name, NAME are all different variables.

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?