Search Header Logo
Yr 10 Term 1

Yr 10 Term 1

Assessment

Presentation

Computers

9th Grade

Easy

Created by

K Parker

Used 2+ times

FREE Resource

21 Slides • 39 Questions

1

​Computer Science

Yr 10 - Term 1​

media

Algorithms ​

2

media
media
media

3

media

4

media

5

media

6

media

7

Multiple Choice

Question image

________ is a series of instructions that are followed to complete a task or solve a problem.

1

instructions

2

algorithms

3

computers

4

recipe

8

Multiple Choice

Algorithms exist all around us.

1

True

2

False

9

Multiple Choice

____________ can be considered an example of an algorithm

1

answer to a question

2

name of a person

3

favorite subjects

4

a recipe for making pancake

10

Multiple Choice

An algorithm should be in the right order.

1

True

2

False

11

Multiple Choice

What is the correct definition of an algorithm?
1
An algorithm is a step by step instructions to solve a problem.
2
An algorithm is a process of baking bread.
3
An algorithm is a software used to compute numbers.
4
An algorithm is the process of breaking problems.

12

Multiple Choice

Which of these would not be involved in decomposing a problem?
1
Thinking about how the problem could be divided into smaller parts
2
Working out who could help you solve a part of the problem
3
Adding more parts to the problem so it becomes more complaex

13

Multiple Choice

What is decomposition?

1

Adding detail to make a problem more complex

2

Breaking down a complex problem or system into smaller, more manageable parts

3

When you ignore the unnecessary detail in a problem

14

media

15

media

16

Multiple Choice

Question image
What does this shape represent?
1
Decission
2
Process
3
Input/Output
4
Start/End

17

Multiple Choice

Question image
What is used to connect the flowchart symbols together?
1
Rectangles
2
Lines
3
Arrows
4
Patterns

18

Multiple Choice

What is the purpose of a diamond in a flowchart?
1
Process
2
Input / Output
3
Sub-process
4
Decision

19

media

20

media

21

media

22

media

23

media

24

media

25

Multiple Choice

Which of the following is the definition of pseudocode?
1
A container which is used to store values such as the number of attempts a person tries to log on to a network.
2
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
3
A value that cannot be altered by the program during normal execution: the value stays the same. 
4
Messages to explain to others, and often to remind yourself, what the code is intended to do. 

26

media

27

media

28

media

29

Multiple Choice

Which of the following is the definition of a variable?
1
A container which is used to store values such as the number of attempts a person tries to log on to a network.
2
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
3
A value that cannot be altered by the program during normal execution: the value stays the same. 
4
Messages to explain to others, and often to remind yourself, what the code is intended to do. 

30

Multiple Choice

Which of the following is the definition of a constant?
1
A container which is used to store values such as the number of attempts a person tries to log on to a network.
2
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
3
A value that cannot be altered by the program during normal execution: the value stays the same. 
4
Messages to explain to others, and often to remind yourself, what the code is intended to do. 

31

Multiple Choice

An identifier is the ‘name’ given to a variable. For example: 
distanceToSchool = 10
Which part is the identifier?
1
10
2
=
3
distanceToSchool

32

Multiple Choice

An identifier is the ‘name’ given to a variable. For example: 
distanceToSchool = 10
What is the value of the variable?
1
10
2
=
3
distanceToSchool

33

Multiple Choice

Which is the correct way to get the user to enter a value when written as pseudocode?
1
input (“Please enter the length”)
2
length == input ("Please enter the length")
3
length = (“Please enter the length”)
4
length = input (“Please enter the length”)

34

Multiple Choice

Question image

Which flowchart element is this?

1

A. Decision Box

2

B. Flow line

3

C. On-Page connector

4

D. Processing

35

Multiple Choice

Question image

Which flowchart element is this?

1

A. Processing

2

B. Flow/arrow line

3

C. On-page connector

4

D. Decision making

36

Multiple Choice

Question image

Which flowchart element is this?

1

A. Start/Stop

2

B. Processing

3

C. On-page connector

4

D. Decision

37

Multiple Choice

Question image
What is the Output if the user enters:
Yes
1
Leave umbrella at home
2
Take an umbrella

38

Multiple Choice

Question image
What is the Output if the temperature is:
19
1
Below Freezing
2
Above Freezing

39

media

40

Multiple Choice

Which of the following assignment statements is assigning a number .
1
myAge = 21
2
myAge = "21"

41

Multiple Choice

Which of the following assignment statements is assigning text.
1
myName = "David"
2
myAge = 21

42

media

43

Multiple Choice

What is the process of converting one data type to another called?

1

Data conversion.

2

Type Casting.

3

Type Conversion.

4

Concatenation.

44

Multiple Choice

What function converts the data in a variable into a 'integer'?

1

int()

2

str()

3

bool()

4

float()

45

Multiple Choice

What function converts the data in a variable into a 'string'?

1

str()

2

float()

3

bool()

4

string()

46

Multiple Choice

How do you ask for the user to input their name?

1

name = int("what is your name")

2

print("What is your name?")

3

input = name("what is your name?")

4

name = input("what is your name?")

47

Multiple Choice

By default any data inputted by the user is of data type string in python.

1

True

2

False

48

Multiple Choice

What will be the output of the following command?

x = int(3.6)

print(x)

1

3

2

4

3

Logical error - Can't cast a float value to an integer as data will be lost.

49

Multiple Choice

What will be the output of the following command?

x = float(3)

print(x)

1

Logical error - Can't cast a integer value to an float as data will be added.

2

3.0

3

3

50

Multiple Choice

What will be the output of the following program, if the user entered 20 and then 41?

Number1 = input("Enter the first number: ")

Number2 = input("Enter the second number: ")

print(Number1 + Number2)

1

20 41

2

Syntax error.

3

61

4

2041

51

Multiple Choice

What can you add to the following code so that python recognises that they are numbers?

Number1 = input("Enter the first number: ")

Number2 = input("Enter the second number: ")

print(Number1 + Number2)

1

int()

2

float()

3

Use a print statement to tell the user to enter a number.

4

integer()

52

media

53

media

54

Multiple Choice

Syntax errors are caused by incorrectly typed source code.
1
True
2
False

55

Multiple Choice

A program won't run if there is a logic error.
1
False
2
True

56

Multiple Choice

Which statement best describes logic errors?
1
An error in a program that causes it to produce incorrect ouputs but not a crash.
2
An error in a program that causes it to crash.
3
An error in the program caused by mis-spelt instructions.
4
An error in a program caused by hardware failure.

57

Multiple Choice

Question image

Is this a logical or syntax error?

1

Logical error

2

Syntax error

58

Multiple Choice

Question image

Is this a logical or syntax error?

1

Logical error

2

Syntax error

59

Multiple Choice

Question image

Is this a logical or syntax error?

1

Logical error

2

Syntax error

60

Multiple Choice

Question image

Is this a logical or syntax error?

1

Logical error

2

Syntax error

​Computer Science

Yr 10 - Term 1​

media

Algorithms ​

Show answer

Auto Play

Slide 1 / 60

SLIDE