Search Header Logo

PRE TEST (Tracy-Python)

Authored by Melaine Pornia

Computers

6th - 8th Grade

Used 13+ times

PRE TEST (Tracy-Python)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables allow us to:

Name different parts of our programs

Use english words to communicate with Tracy

Store information to use in our programs

Change the words Tracy recognizes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Top Down Design makes it easier to solve a problem by:

Breaking the problem down into smaller parts

Starting your code from the first command

Starting with the biggest function and then moving to smaller ones

Making each function hold only one command

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an example of using Top Down Design?

Breaking a large code up into functions

Writing code for one part of a function before tackling the whole thing

Using descriptive names for variables

Separating a large problems into smaller ones

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a way functions make our code more readable?

Function names can describe what the function is completing

Functions break our code into smaller, separate parts

Each function only contains one command

Functions shorten our code by reusing code that has already been written

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What two things must be included in your function definition?

A function name and commands to be performed

Function variables and commands to be performed

Commands to be performed and function arguments

A function name and function variables

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the proper way to call the function three_circles?

def three_circles:

three_circles():

def three_circles():

three_circles()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comments are:

Written for humans to read and understand

Only needed when a program is over 50 lines

Commands performed by the computer

Always blue when Python recognizes them

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?