Search Header Logo

CP Final Exam Review 3

Authored by Jacob Bradford

Computers

6th Grade

Used 12+ times

CP Final Exam Review 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What can cause a logic error?

Bad spacing
Wrong condition or math
Too many variables
Using lists

Answer explanation

A logic error happens when the code runs but gives the wrong result due to incorrect reasoning.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What tool shows all items and their frequencies?

Timeline
Chart
Dot plot
Video

Answer explanation

A dot plot is a type of chart that displays the frequency of individual values.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is an event you can program?

User clicks the stage
Variable increases

Answer explanation

An event reacts to user input like key presses or mouse clicks.

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which value is returned by `min([3, 6, 1, 9])`?

9
3
1
6

Answer explanation

The min() function returns the smallest value in a list of numbers.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is a loop keyword in Python?

repeat
run
for
next

Answer explanation

Loops let the program repeat actions without writing code multiple times.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function is used to add an item to a list?

insert()
append()
add()
push()

Answer explanation

The append() method adds a new item to the end of the list.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will `if 'a' in ['a', 'b', 'c']:` return?

False
Error
True
Loop

Answer explanation

This checks if 'a' is in the list, and returns True because it is

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?