Programming and Logic Review 4

Programming and Logic Review 4

7th - 8th Grade

25 Qs

quiz-placeholder

Similar activities

Code Review

Code Review

6th - 8th Grade

20 Qs

Loops

Loops

1st - 12th Grade

20 Qs

Code org 1

Code org 1

5th - 12th Grade

21 Qs

CodeCombat

CodeCombat

8th Grade

20 Qs

Python Review Quiz

Python Review Quiz

7th - 9th Grade

20 Qs

VEXrules Rules 1

VEXrules Rules 1

8th Grade

23 Qs

Coding Basics

Coding Basics

5th - 8th Grade

20 Qs

Intro to Python

Intro to Python

6th - 8th Grade

20 Qs

Programming and Logic Review 4

Programming and Logic Review 4

Assessment

Quiz

Computers

7th - 8th Grade

Hard

Used 16+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Frank has written code for his video game that makes the character move to the left while the player presses the left-arrow key. Which type of control structure is this?

Loop

Object

Functional

Selective

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How is structured programming similar to a recipe?

The steps must be performed in a certain order to produce the proper result.

The steps can be altered in any way without affecting the results.

The steps may be performed in any order to produce the proper result.

The steps must be repeated to produce the proper result.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which type of language is translated entirely into machine language before use?

Compiled

Machine

Interpreted

Assembly

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which statement is true regarding compiled and interpreted languages?

Compiled languages are translated in batches, whereas interpreted languages are translated entirely before use.

Both compiled and interpreted languages are translated entirely before use.

Interpreted languages usually execute faster than compiled languages.

Compiled languages usually execute faster than interpreted languages.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Mario has begun learning a programming language. He thought that he would write the code in plain English. However, programming languages require that he learn and follow a special set of rules referred to as:

syntax

executing

assembly

machine language

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Mrs. Bachand is teaching her students about programming code. On the first day she has the students write out the instructions on how they brush their teeth. She explains that making a plan to perform a task (or solve a problem) using a set of step-by-step instructions is called:

interpreting instruction

running a program

writing an algorithm

creating syntax

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Amber is programming a robot with a color sensor to follow a black curvy line on a white floor. She has programmed the robot to move forward, curving to the left if it senses black on the floor, and curving right if it does not sense black. She is hoping this will allow the robot to follow the black line. Which type of control structure has Amber written?

Loop

Sequence

Selection

Functional

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?