Code.org Unit 4

Code.org Unit 4

10th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

ICT as Social Change

ICT as Social Change

12th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

ULANGAN 1

ULANGAN 1

10th Grade

12 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

ระบบทางเทคโนโลยี ม.4

ระบบทางเทคโนโลยี ม.4

10th Grade - University

10 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

Quiz Informatika Bab 3 & 4

Quiz Informatika Bab 3 & 4

10th Grade

20 Qs

Code.org Unit 4

Code.org Unit 4

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Medium

Used 3K+ times

FREE Resource

About this resource

This quiz focuses on fundamental programming concepts in computer science, specifically covering variables, conditional statements, loops, functions, and program flow control. The content is appropriate for grades 10-12, as it requires students to trace through code execution, predict outputs, debug logical errors, and understand Boolean expressions and control structures. Students need a solid foundation in programming syntax, the ability to follow sequential and conditional program execution, understanding of variable assignment and reassignment, and knowledge of function definition and calling conventions. The questions assess critical thinking skills as students must analyze code snippets, identify errors in logic, and determine the most appropriate conditional structures for real-world scenarios like ticket pricing systems. This quiz was created by a classroom teacher who designed it for students studying computer programming in grades 10-12. The assessment serves as an excellent tool for formative assessment during a unit on programming fundamentals, allowing teachers to gauge student understanding of essential coding concepts before moving to more complex topics. Teachers can deploy this quiz as a review activity before a summative assessment, assign it as homework to reinforce classroom learning, or use individual questions as warm-up activities to begin programming lessons. The varied question formats—from code tracing to debugging to practical application scenarios—make this quiz versatile for supporting instruction throughout a programming unit. This content aligns with standards such as CSTA K-12 Computer Science Standards 3A-AP-13 (creating prototypes), 3A-AP-15 (using control structures), and 3A-AP-17 (decomposing problems into functions).

See more

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What number will be output by the console.log command on line 7?

10

100

20

200

Answer explanation

Notice the destructive reassignment on line 5

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What number will be output by the console.log command on line 5?

10

11

12

13

16

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What number will be output by the console.log command on line 5?

10

25

30

35

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What text will be output by the program?

Less than 10

Less than 20

Less than 30

30 or more

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What text will be output by the program?

Output A

Output B

Output C

Output D

Output E

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the order of letters printed to the console when this program is run?

a b c

a b c b c b c

a b c b c

a b c a

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

"You win!" never displays. What line is responsible for this error?

1

3

4

5

Create a free account and access millions of resources

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?