Programming 1 Final Review

Programming 1 Final Review

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Python -Iteration (loops)

Python -Iteration (loops)

7th - 12th Grade

20 Qs

iGCSE Computer Science: Problem Solving

iGCSE Computer Science: Problem Solving

9th - 12th Grade

20 Qs

Python while loops

Python while loops

8th - 9th Grade

20 Qs

For Loop Method in Python

For Loop Method in Python

9th Grade - University

20 Qs

Fun with Loops

Fun with Loops

9th Grade

20 Qs

Python GCSE

Python GCSE

10th Grade

27 Qs

Pseudocode and Flowcharts

Pseudocode and Flowcharts

9th - 12th Grade

21 Qs

Code.org CSD Unit 3 Lessons 1-12

Code.org CSD Unit 3 Lessons 1-12

3rd - 12th Grade

20 Qs

Programming 1 Final Review

Programming 1 Final Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Ryan Trujillo

Used 5+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should be the first thing you do when writing a large computer program?

Identify specifications and understand requirements

Write the main function

Put comments in your code

Give up

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a loop?

for

while

if

do... while

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following types of errors prevents a program from compiling?

Syntax

Logic

Runtime

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 % 3?

1

3

3.3333333

9

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the most ethical?

Using copyrighted code

Giving credit to authors of pre-existing code

Copying code directly from StackOverflow

Taking code from a Github repo and calling it your own.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper order of the components of a for loop?

Initialization, condition, incrementation

Incrementation, condition, initialization

Condition, initialization, incrementation

Initialization, incrementation, condition

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the output of the following code be?

x = 8

while X > 0

x = x - 1

print(x)

7, 6, 5, 4, 3, 2, 1

8, 7, 6, 5, 4, 3, 2, 1, 0

7, 6, 5, 4, 3, 2, 1, 0

8, 7, 6, 5, 4, 3, 2, 1

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?