Search Header Logo
21/MJ/16

21/MJ/16

Assessment

Presentation

Computers

9th - 11th Grade

Practice Problem

Easy

Created by

Maydie Sney

Used 7+ times

FREE Resource

8 Slides • 12 Questions

1

Paper 21/MJ/16

Cambridge O'Level 2210 Computer Science

Slide image

2

Multiple Select

Which lines need to be changed?

1

1 Small = 100

2

2 Counter = 0

3

3 REPEAT

4

4 INPUT Num

5

5 IF Num < Small THEN Small = Num

3

Changes Needed

  • Change variable name in every instance as needs to be meaningful e.g. Large

  • Set this variable to a low value

  • line 5: change comparison from < to >

Slide image

4

Slide image

5

Multiple Choice

Data type for name

1

string/text

2

char/string

3

number/integer

4

boolean

6

Multiple Choice

Data type for gender

1

string/text

2

char/string

3

number/integer

4

boolean

7

Multiple Choice

Data type for status (junior or senior)

1

string/text

2

char/string

3

number/integer

4

boolean

8

Multiple Choice

Data type for team member (yes or no)

1

string/text

2

char/string

3

number/integer/real

4

boolean

9

Multiple Choice

Data type for fee

1

string/text

2

char/string

3

number/integer/real

4

boolean

10

Open Ended

The swimming club has 50 members. State the data structure that would be most suitable to use and give a reason for your choice.

11

Reasons to use an Array in Programming

  • to simplify programming

  • to make programs shorter

  • to identify the same member across the arrays (using index)

12

Multiple Select

What are the three loop structure (repetition statements)?

1

do-loop until

2

for-next loop

3

while-wend loop

4

if-else

5

select-case

13

Description of Loop Structures

14

Multiple Choice

A loop structure that has a set number of iterations.

1

do-loop until

2

while-wend

3

for-next loop

15

Multiple Select

These loop structures are used where the loop may never be executed/whilst a specified condition exists.

1

do-loop until

2

while-wend

3

for-next loop

16

Slide image

17

Open Ended

Q6a. Explain why none of the fields in the database can be used as a primary key

18

Multiple Choice

STAFFNUMBER can be used as a primary key.

1

TRUE

2

FALSE

19

STAFFNUMBER can be used as a primary key.

because it uniquely identifies each member of staff//no duplicates//different for each member of staff

20

Slide image

Paper 21/MJ/16

Cambridge O'Level 2210 Computer Science

Slide image

Show answer

Auto Play

Slide 1 / 20

SLIDE