Search Header Logo
Errors

Errors

Assessment

Presentation

Computers

9th - 10th Grade

Medium

Created by

Calum Gordon

Used 2+ times

FREE Resource

10 Slides • 15 Questions

1

Errors

by BSN Computing

2

media

3

media

4

Multiple Select

Question image

In this lesson I am going to learn to ... ?

1

Give input, predict output

2

Locate errors in code

3

Fix errors in code

4

Design test data

5

media

6

Multiple Choice

Which type of error is this a description of?

"When the computer is unable to execute an instruction in the program"

1

syntax error

2

logic error

3

run-time error

7

Multiple Choice

Which type of error is this a description of?

"When the behaviour of a program is incorrect or unexpected"

1

syntax error

2

logic error

3

run-time error

8

Multiple Choice

Which type of error is this a description of?

"When part of a program's source code breaks the rules of the programming language"

1

syntax error

2

logic error

3

run-time error

9

media

10

Multiple Choice

Question image

What is the output for these inputs?

butter = 200

flour = 250

sugar = 200

eggs = 4

1

Buy butter

2

Check eggs

3

Buy dry goods

4

Make a bigger cake

5

Start baking

11

Multiple Choice

Question image

What is the output for these inputs?

butter = 250

flour = 199

sugar = 175

eggs = 4

1

Buy butter

2

Check eggs

3

Buy dry goods

4

Make a bigger cake

5

Start baking

12

Multiple Choice

Question image

What is the output for these inputs?

butter = 275

flour = 180

sugar = 230

eggs = 3

1

Buy butter

2

Check eggs

3

Buy dry goods

4

Make a bigger cake

5

Start baking

13

Multiple Choice

Question image

What is the output for these inputs?

butter = 320

flour = 300

sugar = 210

eggs = 4

1

Buy butter

2

Check eggs

3

Buy dry goods

4

Make a bigger cake

5

Start baking

14

Multiple Choice

Question image

Which inputs would give this output?

"gold star discount"

1

subscriptionLength = 12

boxType = 'Large'

2

subscriptionLength = 12

boxType = 'Standard'

3

subscriptionLength = 6

boxType = 'Large'

4

subscriptionLength = 24

boxType = 'Medium'

15

Multiple Choice

Question image

Which inputs would give this output?

"silver star discount"

1

subscriptionLength = 6

boxType = 'Large'

2

subscriptionLength = 12

boxType = 'Medium'

3

subscriptionLength = 6

boxType = 'Standard'

4

subscriptionLength = 4

boxType = 'Medium'

16

Multiple Choice

Question image

Which inputs would give this output?

"bronze star discount"

1

subscriptionLength = 4

boxType = 'Medium'

2

subscriptionLength = 4

boxType = 'Standard'

3

subscriptionLength = 12

boxType = 'Large'

4

subscriptionLength = 6

boxType = 'Medium'

17

Multiple Choice

Question image

Which inputs would give this output?

"regular pricing"

1

subscriptionLength = 6

boxType = 'Standard'

2

subscriptionLength = 6

boxType = 'Large'

3

subscriptionLength = 12

boxType = 'Large'

4

subscriptionLength = 3

boxType = 'Large'

18

media

19

media

20

media

21

media

22

media

23

Multiple Select

Question image

In this lesson I have learned to ...

1

Give inputs and predict outputs

2

Locate errors in code

3

Fix errors in code

24

Open Ended

Question image

Thinking Hard

Now you have finished the task, what questions do you still want answered?

(press Shift+Enter to take a new line ...)

25

Poll

Question image

How much of this lesson have you understood?

None of it

Some of it

Most of it

All of it

Errors

by BSN Computing

Show answer

Auto Play

Slide 1 / 25

SLIDE