Search Header Logo
ICS-CodeHS Unit 4 Test

ICS-CodeHS Unit 4 Test

Assessment

Presentation

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Andrea M Day

Used 3+ times

FREE Resource

0 Slides • 11 Questions

1

Multiple Choice

Which line of code would cause Karel the dog to move one space?

1

move(1);

2

(move)1;

3

move();

4

move; (1)

2

Multiple Choice

3

Multiple Choice

Which line of code would cause Karel the dog to turn left?

1

TurnLeft();

2

turnLeft();

3

leftTurn();

4

turnLeft[];

4

Multiple Choice

What is the benefit of looping when coding?

1

shorten what could be hundreds of lines of code to just a few

5

Multiple Choice

What is the benefit of looping when creating code?

1

shortens what could be hundreds of lines of code to just a few

2

makes Karel jump as many times as needed

3

makes Karel travel in circles over and over

4

stretches out the length of the code

6

Multiple Choice

The practice of creating copies of programs or objects in development to work in parallel versions, retaining the original and working on the branch or making different changes to each.

1

Looping

2

Bridging

3

Tunneling

4

Branching

7

Multiple Choice

This translates code from a high-level programming language (like Python, JavaScript or Go) into machine code before the program runs.

1

Outlier

2

Compiler

3

Branches

4

Loops

8

Multiple Choice

An interpreter translates code written in a high-level programming language into machine code line-by-line as the code runs.

1

True

2

False

9

Multiple Choice

var is the abbreviation in coding for:

1

variety

2

vestibule

3

variable

10

Multiple Choice

Why do we use functions in Karel programs?

1

Break down our program into smaller parts

2

Avoid repeating code

3

Make our program more readable

4

All of the Above

11

Multiple Choice

What is an array (or list)?

1

An unordered collection of unique items

2

An ordered collection of items

3

A collection of (key, value) pairs

4

A collection of items stored at (row, column) locations

Which line of code would cause Karel the dog to move one space?

1

move(1);

2

(move)1;

3

move();

4

move; (1)

Show answer

Auto Play

Slide 1 / 11

MULTIPLE CHOICE