CP Final Exam Review 3

CP Final Exam Review 3

6th Grade

28 Qs

quiz-placeholder

Similar activities

Welcome back~

Welcome back~

1st Grade - University

30 Qs

Scratch Quizizz #1

Scratch Quizizz #1

6th Grade

25 Qs

Computer Pretest1(Arduino Grade8_t1)

Computer Pretest1(Arduino Grade8_t1)

3rd Grade - University

25 Qs

Code Combat

Code Combat

6th - 8th Grade

25 Qs

Python Midterm Review

Python Midterm Review

KG - Professional Development

33 Qs

Pengenalan Firewall AIJ XII TKJ

Pengenalan Firewall AIJ XII TKJ

1st Grade - University

30 Qs

Coding Pre Test

Coding Pre Test

5th - 8th Grade

25 Qs

Python Unit 14 - PyGame Basics

Python Unit 14 - PyGame Basics

6th - 8th Grade

32 Qs

CP Final Exam Review 3

CP Final Exam Review 3

Assessment

Quiz

Computers

6th Grade

Medium

Created by

Jacob Bradford

Used 12+ times

FREE Resource

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

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?