Search Header Logo

Chapter 1: Python Introduction

Authored by Heath Hillman

Computers

University

Used 14+ times

Chapter 1: Python Introduction
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False:

A computer program consists of instructions executing one at a time.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of variables?

Store values for later use.

Instruct the processor to execute an action.

Automatically color text in an editor.

Allows professors an opportunity to rant and rave about abstraction.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the statement that prints the following:

Python Party!

print(Python Party!)

print("Python Party!")

print("Python Party!')

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False:

The following lines of code will produce the same result:

print('Python Party!')

print("Python Party!")

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement(s) will produce:

What body part does a programmer know best? ARM

print('What body part does a programmer know best?, ARM')

print('What body part does a programmer know best?)

print('ARM')

print('What body part does a programmer know best?', 'ARM')

print('What body part does a programmer know best?', 'Arm')

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

print('Enter wage: ', end=' ')

wage = input()

newWage = wage + 10

print('Your new wage: ', newWage)

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?

Discover more resources for Computers