Search Header Logo

Programming and Logic Review 4

Computers

7th - 8th Grade

Used 16+ times

Programming and Logic Review 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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