wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

National 5 Computing Science Prelim Revision

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

Select all the ways that a program can be evaluated

a)

Fitness for Purpose

b)

Efficiency of Code

c)

Robustness

d)

Readability

2.

Select all the possible data structures

a)

1D Array

b)

Variable

c)

Lattice

d)

Matrix

3.

Which data type can only hold True or False

a)

Boolean

b)

Integer

c)

Real

d)

Single

4.

Which data type would you say in the SQA exam is used to hold the number 4.97

a)

Boolean

b)

Integer

c)

Real

d)

Single

5.

Select all Standard Algorithms for National 5

a)

Traversing a 1D Array

b)

Input Validation

c)

Running Total Within a Loop

d)

Conditional Statement

6.

Which component carries data to and from Main Memory

a)

Control Unit

b)

Registers

c)

Address Bus

d)

Data Bus

7.

Which component is temporary storage inside the processor?

a)

Control Unit

b)

Registers

c)

ALU

d)

RAM

8.

Floating point representation stores real numbers in binary using...

a)

mantissa and exponent

b)

vector and exponent

c)

mantissa and resolution

d)

vector and resolution

9.

Select all ways of reducing a computer's power consumption

a)

Lower screen brightness

b)

Automatic stand by mode

c)

Stop hard disk spinning after a set time

d)

Higher capacity hard disk

10.

Select all ways of ensuring a program is readable

a)

Create a wireframe

b)

High text size

c)

Internal commentary

d)

Meaningful identifiers

11.

What is a logic error?

a)

The program won't run as the mistake in the code breaks the rules of the programming language

b)

The program runs but in testing it produces the wrong result

c)

The program runs but then crashes while running

d)

The program created doesn't match the design

12.

Select the correct SQL statement to add a new record for Mr Alford to the Teacher table

a)

SELECT * FROM Teacher WHERE Title="Mr" AND Surname="Alford";

b)

INSERT INTO Teacher (Title, Surname) VALUES ("Mr","Alford");

c)

INSERT (Title, Surname) VALUES ("Mr","Alford") INTO Teacher;

d)

INSERT (Title, Surname) VALUES ("Mr","Alford") FROM Teacher;

13.

Vector Graphics store...

a)

A colour code for every pixel

b)

Objects and attributes as text

c)

Animation and transparency

d)

Thumbnails

14.

Which validation would be added to a database field to ensure data is entered in that field?

a)

Range Check

b)

Presence Check

c)

Length Check

d)

Restricted Choice

15.

What is a parameter in a predefined function?

a)

Data that is sent into the function to allow it to do it's job

b)

An error that stops the function from working

c)

Details from the creator on what the function does

d)

A subprogram called by an event

16.

Which law protects individuals' personal data?

a)

GDPR (General Data Protection Regulation)

b)

The Copyright, Designs and Patents Act

c)

The Computer Misuse Act

d)

The Communications Act

e)

The Regulation of Investigatory Powers Act