Semester 1 Test Review

Semester 1 Test Review

6th - 8th Grade

32 Qs

quiz-placeholder

Similar activities

Coding Quizizz for Swift

Coding Quizizz for Swift

Code.org Express 2

Code.org Express 2

Coding Quiz

Coding Quiz

Learn to Code 1 - Test

Learn to Code 1 - Test

Coding Vocabulary Quiz

Coding Vocabulary Quiz

Lesson 5 While Loops

Lesson 5 While Loops

Semester 1 Test Review

Semester 1 Test Review

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Nicholas Easley

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what is a function?    

A set of commands given a name
 A bug that is causing a code not to work
A set of directions in correct sequence
A program created by a code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following describes the purpose of a loop?

Loops can allow you to run commands in sequence
Loops can call a function multiple times instead of just once
Loops can decompose a problem into smaller parts   
 Give commands to your program in the correct sequence

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do “for loops” make your code more efficient?

they allow you to repeat functions without retyping them
they allow you to combine your commands into a single function
they allow you to build a code library you can use later
they let you skip a lot of the annoying grammar rules in code

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You _________________ a function by providing a set of commands within the function to tell it what to do.

run
define
command
call

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do functions make your coding more efficient?

Allows you to combine commands into one step
Gives you a way to customize your code your way
Makes you use more “math” concepts in coding
Functions make the puzzles way easier

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Coding efficiently means to:

Code the “right answer” in Apple Swift
Create the shortest and simplest code
Create your code faster than the rest of the class
Code with the correct programming gramma

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between a while loop and a for loop?

For loops can use conditional statements and while loops cannot
For loops repeat a set number of times and while loops repeat until their condition is   false
While loops repeat a set number of times and for loops repeat until their condition    is false
For loops can be used in a function and while loops cannot

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?

Discover more resources for Computers