Intro to Python

Intro to Python

8th Grade

20 Qs

quiz-placeholder

Similar activities

Unit 2 CSD Vocabulary

Unit 2 CSD Vocabulary

7th - 8th Grade

19 Qs

Intro to Python

Intro to Python

8th Grade

20 Qs

App Inventor

App Inventor

7th - 9th Grade

18 Qs

Python List

Python List

4th Grade - University

15 Qs

AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

AQA GCSE Computer Science - 3.1.4 Sorting Algorithms

8th - 10th Grade

18 Qs

Computer Programming

Computer Programming

7th - 8th Grade

20 Qs

Coding Basics

Coding Basics

5th - 8th Grade

20 Qs

HTML-Lists & Images

HTML-Lists & Images

8th Grade

20 Qs

Intro to Python

Intro to Python

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Wayground Content

Used 16+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indentation

Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.

Indentation refers to the amount of space between lines of code.

Indentation is a method of commenting code for better readability.

Indentation is the process of removing unnecessary spaces from code.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment

A message in your code that explains what is going on.

A type of error in programming.

A function that returns no value.

A variable that stores user input.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Print

Displaying text on the screen

Creating a graphical image

Saving a file to disk

Sending data to a printer

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Break Down (Decompose)

Breaking down your code is splitting it into more functions.

Breaking down your code is combining multiple functions into one.

Breaking down your code is removing unnecessary comments.

Breaking down your code is optimizing the performance of a single function.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tuple

A mutable data type that stores an unordered collection of items

A heterogeneous, immutable data type that stores an ordered sequence of things

A data type that can only store numbers

A type of function that returns multiple values

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If/Else Statement

Control structure that lets us run either one section of code or another depending on a test.

A loop that repeats a section of code multiple times.

A function that returns a value based on input parameters.

A method for defining variables in programming.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

count()

A method that counts occurrences of specific items in a list.

A function that calculates the sum of all items in a list.

A procedure that sorts items in a list alphabetically.

A command that removes duplicates from a list.

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?