SST Yr8 - NCCE - Programming 2

SST Yr8 - NCCE - Programming 2

9th - 12th Grade

17 Qs

quiz-placeholder

Similar activities

Python Functions

Python Functions

12th Grade

15 Qs

PYTHON

PYTHON

9th Grade

14 Qs

SST Yr8 - NCCE - Programming

SST Yr8 - NCCE - Programming

9th - 12th Grade

20 Qs

Computer Science (Python)

Computer Science (Python)

9th Grade

18 Qs

Dictionary in Python

Dictionary in Python

10th - 12th Grade

20 Qs

pseudo code level 2

pseudo code level 2

9th - 12th Grade

20 Qs

Python Pandas-Series

Python Pandas-Series

12th Grade

18 Qs

Unit 3 Python TEST

Unit 3 Python TEST

11th - 12th Grade

20 Qs

SST Yr8 - NCCE - Programming 2

SST Yr8 - NCCE - Programming 2

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

M Birchall

Used 4+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?