Python Basic Unit 1

Python Basic Unit 1

7th - 8th Grade

14 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

7th - 10th Grade

18 Qs

Python Programming

Python Programming

7th - 9th Grade

10 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Python Basics

Python Basics

6th - 12th Grade

9 Qs

Conditional statements

Conditional statements

7th Grade

11 Qs

Program Development - Python: Code Basics 1

Program Development - Python: Code Basics 1

8th - 10th Grade

16 Qs

Scanner & If Statements

Scanner & If Statements

5th - 12th Grade

18 Qs

2) Python Variables

2) Python Variables

8th - 11th Grade

16 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?