Python Basic Unit 1

Python Basic Unit 1

7th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Python - Programming Constructs - KS3 Y9

Python - Programming Constructs - KS3 Y9

8th - 9th Grade

15 Qs

Small Basic Quiz

Small Basic Quiz

7th - 9th Grade

12 Qs

CodeMonkey Vocab 1-70

CodeMonkey Vocab 1-70

8th Grade

16 Qs

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

Python Mathematics Operators

Python Mathematics Operators

7th - 10th Grade

14 Qs

Python

Python

7th - 8th Grade

12 Qs

Python Basic

Python Basic

6th - 8th Grade

10 Qs

Python Basic Unit 1

Python Basic Unit 1

Assessment

Quiz

Computers

7th - 8th Grade

Hard

Created by

shelley andros

Used 33+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A statement is...

A line of code that performs some action

always in quotes

must be indented

a type of comment

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print( ) command do?

creates an error

causes text output to appear in the console

outputs a decimal

let's the user input data

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int( ) is an example of what type of command?

Creates an error message

Commands an input from the user

Comment command

Typecast command

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable

Gives the user choices

A container that holds information

part of a print statement

Must always be in the header comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A string literal in Python must be enclosed in

Parenthesis

Must be indented

Uses a colon

Double quotes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

float( )

A data type in programming that contains a floating point value, more commonly referred to as a decimal value, like 1.5 or 3.14

A Python data type that holds positive and negative whole numbers

A container that holds information

causes text output to appear in the console

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int( )

A data type in programming that contains a floating point value, more commonly referred to as a decimal value, like 1.5 or 3.14

A container that holds information

causes text output to appear in the console

A Python data type that holds positive and negative whole numbers

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?