Search Header Logo

SST Yr8 - NCCE - Programming 2

Authored by M Birchall

Computers

9th - 12th Grade

Used 4+ times

SST Yr8 - NCCE - Programming 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 1: By making use of procedures and functions when coding, we can make it easier to

A – Filter code
B – Refine code
C – Debug code
D – Probe code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 2: What would the following program output? Level1_points = “8” Level2_points = “6” Total_points = Level1_points + Level2_pointsprint(Total_points)

A: 86
B: 14
C: 48
D: Total_points

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 3: The following code is an example of which programming construct? while retry == “yes” playgame() endgame()

A: Repetition
B: Sequence
C: Selection
D: Decomposition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 4: The following code is an example of which programming construct? if password == “letmein!” print(“Welcome administrator”) else print(“You are not an authorised user”)

A: Selection
B: Iteration
C: Decomposition
D: Sequence

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 5: Ahmer has written the following program: for i = 1 to 5 print (i * 10) next i What would the program output?

A: 5, 6, 7, 8, 9, 10
B: 11, 12, 13, 14, 15
C: 10, 20, 30, 40, 50
D: 10, 10, 10, 10, 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 6: What is the name given to a data structure which only allows data of the same type together?

A: Array
B: Function
C: Procedure
D: Variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Question 7: What will be output as a result of the program below? A = 3 * 4 + 2 print (A)

A: 18
B: 10
C: 14
D: 12

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?