Search Header Logo
Paper 1 Revision

Paper 1 Revision

Assessment

Presentation

Computers

9th Grade

Easy

Created by

Christopher Norris

Used 2+ times

FREE Resource

23 Slides • 34 Questions

1

media

Paper 1 Revision

  • Searching and sorting algorithms

  • Data Types

  • Programming fundamentals

  • Writing python code, pseudocode and flowcharts

2

media

Questions

3

Multiple Choice

"hello"

1

String

2

Integer

3

Float

4

Word

4

Multiple Choice

45

1

String

2

Integer

3

Float

4

Number

5

Multiple Choice

56.867

1

String

2

Integer

3

Float

4

Decimal

6

Multiple Choice

"89"

1

String

2

Integer

3

Float

4

Number

7

Multiple Choice

What is a Boolean?

1

A data type that contains whole numbers. eg: 3, 45, 124

2

Numbers with decimal point. eg: 0.5, 2.45, 56.04

3

Group of characters between quotation marks. eg: "dog"

4

Data type that can only be True or False.

8

Multiple Choice

Which value is a Boolean?

1

64

2

"cat"

3

True

4

0.5

9

Multiple Choice

Which python statement assigns a numerical value input by a user and stores it in a variable of data type integer

1

num = input("Enter a number")

2

num = str(input("Enter a number"))

3

num = int(input("Enter a number"))

4

input("Enter a number") = num

10

Multiple Choice

"A named place to store a value that can change" is called a ...

1

Subroutine

2

Variable

3

Constant

4

Operator

11

Multiple Choice

Giving a value to a variable is know as what

1

Assignment

2

Casting

3

Concatenation

4

Input Sanitisation

12

Multiple Choice

What is the value of x?


x = 16 MOD 5

1

3

2

1

3

3.2

4

21

13

Multiple Choice

What is the value of x?

x = 16 DIV 5

1

1

2

3

3

3.2

4

11

14

media

3 Programming Fundamentals

Iteration

Selection

Sequencing

15

media
media

Selection

If statements. Where a

choice or a decision needs
to be made in your
program.

16

media
media

Writing Selection

number = 10

if number > 0:

print('Positive number')

else:

print('Negative number')

print('This statement is always executed')

17

media

Iteration – Loops (repetition of code)

Count-Controlled iteration – Where we know the amount of times

our code will repeat. For example, a for loop.

Condition-controlled iteration – Where code will repeat until a

condition is no longer true. For example, a While Loop

18

media
media

Count-controlled iteration

19

media
media

Count-controlled iteration

20

media
media
media

Condition-controlled iteration

21

media

Questions

22

Multiple Choice

A string data type hold what type of data?

1

Whole number

2

A group of characters

3

Single Character

4

True/ False

23

Multiple Choice

Concatenation is...

1

Stripping characters from text

2

Concentrating very hard on coding

3

Joining together two or more strings

4

Changing an number to text

24

Multiple Choice

Giving a value to a variable is know as what

1

Assignment

2

Casting

3

Concatenation

4

Input Sanitisation

25

Multiple Choice

A WHILE loop is...

1

Condition Controlled

2

Count Controlled

3

Uncontrolled

4

Strongly Controlled

26

Multiple Choice

In if...elif...else statement in python uses which programming concept?

1

Sequence

2

Selection

3

Iteration

4

Proliferation

27

Multiple Choice

In programming, casting is...

1

Creating a collection of variables

2

Converting one data type to another

3

Joining together multiple strings

4

Doing impressive magic

28

Multiple Choice

The repeated execution of a section of code when a program is running is known as...

1

Sequence

2

Selection

3

Iteration

4

Subroutine

29

Multiple Choice

The order in which the code will run is called.....

1

Sequence

2

Selection

3

Iteration

4

Subroutine

30

Multiple Choice

Which of the following is used to define a block of code in Python language?

1

Indentation

2

Key

3

Brackets

4

All of the mentioned

31

Draw

Complete a bubble sort on this list [4,3,1]. Draw your answer!

32

Draw

Complete a merge sort on this list [15,2,8,7,6,1]. Draw your answer!

33

Poll

Which sorting algorithm is quicker on big lists?

Merge

Bubble

34

Multiple Choice

Compares pairs of items and swaps them if they are in the wrong order. Each pair in the list is checked.
1

Bubble sort

2

Merge sort

35

Multiple Choice

What is an algorithm

1

A series of step by step instructions

2

software that analyses data

3

hardware that stores data

4

a type of computer

36

Multiple Choice

What is a linear search algorithm
1

Going through a list one item at a time to find a value

2

Searching on the internet

3

A search engine

4

A webpage

37

Multiple Choice

What is binary search
1

Searches a sorted array by repeatedly dividing the search interval in half

2

Going through a list one item at a time to find a value

38

Multiple Choice

What is the symbol for a decision in a flowchart?

1

A parallelogram

2

A diamond

3

A circle

39

Multiple Choice

Question image

If a grade of 98 was inputted, what would be the output?

1

Passed

2

Failed

3

Else

40

Multiple Choice

Question image

If the grade of 12 was input, what would be the output?

1

Passed

2

Failed

3

Else

41

Multiple Choice

Question image
What would be the output of this flowchart if the student scored 89?
1

Fail

2

Pass

3

Merit

4

Distinction

42

Multiple Choice

Question image
What is the Output if the user enters:
Yes
1

Leave umbrella at home

2

Take an umbrella

43

Multiple Choice

Question image
What is the Output if the temperature is:
19
1

Below Freezing

2

Above Freezing

44

Multiple Choice

What symbol shows a decision?
1

oval

2

parallelogram

3

rectangle

4

diamond

46

media
media
media

Writing Selection – challenge

Answer:

47

media
media

Writing Selection – challenge

48

media
media
media
media

Writing Selection – challenge

Answer:

49

media
media
media

Writing count-controlled iteration

50

media
media
media

Writing count-controlled iteration Answer

51

media
media
media

Writing count-controlled iteration

52

media
media
media

Writing count-controlled iteration answer

53

media
media

Writing condition-controlled iteration -
Challenge

54

media
media
media

Writing condition-controlled iteration -
answer

55

media
media

Writing condition-controlled iteration -
challenge

56

media
media
media
media

Writing condition-controlled iteration -
Answer

media

Paper 1 Revision

  • Searching and sorting algorithms

  • Data Types

  • Programming fundamentals

  • Writing python code, pseudocode and flowcharts

Show answer

Auto Play

Slide 1 / 57

SLIDE