Search Header Logo
Coding & Algebra

Coding & Algebra

Assessment

Presentation

Mathematics

1st - 6th Grade

Practice Problem

Hard

CCSS
6.EE.B.6, HSN.VM.C.6, 8.G.A.3

Standards-aligned

Created by

Robert Dawson

Used 4+ times

FREE Resource

24 Slides • 17 Questions

1

media

2

media

3

Multiple Choice

What does the binary code '01000001' represent in computer memory?

1

The number 65

2

The letter A

3

A switch in the off position

4

A programming language

4

media

5

Multiple Choice

Which binary code represents the letter 'G' in the binary alphabet?

1

01000110

2

01000111

3

01000100

4

01000010

6

media

7

Multiple Choice

What animal is represented by the binary code 01000110 01001111 01011000?

1

Dog

2

Cat

3

Fox

4

Cow

8

media

9

media

10

Multiple Select

Which of the following statements are true about pixels and binary representation?

1

Each pixel's position and color can be represented in binary.

2

A computer screen is made up of pixels, which are small squares.

3

A computer does not need to know the position of each pixel to show a picture.

4

The color of a pixel cannot be represented in binary.

11

Fill in the Blank

A typical computer monitor is made of ___ pixels.

12

media

13

Multiple Choice

In the pixel art code, what does the number 1 represent?

1

A light pixel

2

A dark pixel

3

A red pixel

4

A blue pixel

14

media

15

media

16

Multiple Choice

What is a statement in a programming language?

1

An instruction given to a computer

2

A variable used in a program

3

A function that returns a value

4

A loop that repeats actions

17

media

18

media

19

media

20

Multiple Select

Which of the following are true about conditional statements?

1

They execute actions based on whether a condition is true or false

2

They are always represented as loops

3

They can be written as if-then or if-then-else statements

4

They are only used for mathematical operations

21

media

22

media

23

Fill in the Blank

Fill in the blanks to show the result of the conditional statement: If two numbers are equal, the computer will display a ___ light; else it will display a ___ light.

24

media

25

media

26

Multiple Choice

Which programming language is shown in the code example on the second slide?

1

JavaScript

2

Python

3

C

4

Java

27

media

28

Multiple Choice

Why do computer programmers prefer using programming languages like C, Python, or JavaScript instead of writing in binary?

1

Programming languages are easier and faster to use than binary

2

Binary is more efficient than programming languages

3

Programming languages are only used for games

4

Binary is required for all programming tasks

29

media

30

Multiple Select

Which of the following are characteristics of efficient code?

1

Uses the lowest number of instructions

2

Uses the smallest amount of space to store data

3

Always runs slower

4

May improve program speed

31

media

32

Fill in the Blank

Fill in the blank: The process of making code shorter and faster is called ___ code.

33

media

34

media

35

Fill in the Blank

Fill in the blank: In the pixel art coding example, the number that represents all squares in a line being colored is ___.

36

Multiple Choice

Which of the following best describes the purpose of using numbers like '1 3 1' and '0 5' to represent pixel art?

1

To count the total number of pixels in the art

2

To efficiently encode the pattern of colored and uncolored pixels in each line

3

To identify the color used in each pixel

4

To determine the size of the grid

37

media

38

media

39

Multiple Select

Based on the code and grid in images 2 and 3, which steps are necessary to reach and color the second square? Select all that apply.

1

Move one square right

2

Move one square down

3

Colour in the square

4

Move one square left

40

media

41

Fill in the Blank

Fill in the blank: Computer memory consists of switches that can be in the ___ (= 1) or off (= 0) position.

media

Show answer

Auto Play

Slide 1 / 41

SLIDE