Search Header Logo
22/MJ/2016

22/MJ/2016

Assessment

Presentation

Computers

9th - 11th Grade

Hard

Created by

Maydie Sney

Used 3+ times

FREE Resource

6 Slides • 19 Questions

1

22/MJ/2016

2210 Computer Science O'Level

2

Multiple Select

Which line needs to be improved?

1

1 Total = 0

2

3 REPEAT

3

6 PRINT Total

4

2 Counter = 0

3

Improvements that Could Be Made​

  • use FOR … NEXT instead of REPEAT … UNTIL

  • Move PRINT to after the end of the loop

  • Move PRINT to after the end of the loop

media

4

QBasic Program Codes​

5

Multiple Choice

Choose the correct example for Assignment type.

1

FOR X = 1 TO 10

2

READ X

3

PRINT X

4

X = Y + Z

6

Multiple Choice

Choose the correct example for Iteration type.

1

FOR X = 1 TO 10

2

READ X

3

PRINT X

4

X = Y + Z

7

Multiple Choice

Choose the correct example for Input type.

1

FOR X = 1 TO 10

2

READ X

3

PRINT X

4

X = Y + Z

8

Multiple Choice

Choose the correct example for Output type.

1

FOR X = 1 TO 10

2

READ X

3

PRINT X

4

X = Y + Z

9

Open Ended

A programmer writes a program to store a patient’s temperature every hour for a day. State the data structure that would be most suitable to use and give the reason for your choice.

10

Reasons to use an Array in Programming

to simplify programming

to make programs shorter

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

11

Multiple Select

What are the selection statements?

1

do-loop until

2

while-wend loop

3

select-case

4

if-else

12

Multiple Choice

Question image

How many fields are in each record?

1

8

2

9

3

6

4

7

13

Multiple Choice

Question image

Which field you would choose for the primary key?

1

Description

2

Brochure Number

3

Number of Seats

4

Material

5

Price in $

14

Multiple Choice

The primary key must uniquely identify each record.

1

TRUE

2

FALSE

15

Multiple Choice

Data type for DESCRIPTION

1

text

2

number/integer

3

currency/real

4

boolean

16

Multiple Choice

Data type for BROCHURE NUMBER

1

text

2

number/integer

3

currency/real

4

boolean

17

Multiple Choice

Data type for NUMBER OF SEATS

1

text

2

number/integer

3

currency/real

4

boolean

18

Multiple Choice

Data type for NUMBER OF PIECES

1

text

2

number/integer

3

currency/real

4

boolean

19

Multiple Choice

Data type for NUMBER OF PIECES

1

text

2

number/integer

3

currency/real

4

boolean

20

Multiple Choice

Data type for MATERIAL

1

text

2

number/integer

3

currency/real

4

boolean

21

Multiple Choice

Data type for COLOUR

1

text

2

number/integer

3

currency/real

4

boolean

22

Multiple Select

Data type for PRICE

1

text

2

number/integer

3

currency/real

4

boolean

23

Open Ended

Question image

What will be the output of this QBE grid?

24

media

25

media

22/MJ/2016

2210 Computer Science O'Level

Show answer

Auto Play

Slide 1 / 25

SLIDE