wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

REVISION YEAR 9

Total questions: 69

Worksheet time: 40mins

Name
Class
Date
1.

The number or word we store in a variable.

a)

Value

b)

Bug

c)

Information

d)

Text

2.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
3.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
4.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
5.
What is the name of the programming language we are learning?
a)
Scratch
b)
Python
c)
Pie thin
d)
Scribble
6.
What will be the output?
name = 'Dave'
print (name)
a)
Dave
b)
'Dave'
c)
name
d)
(name)
7.
Python is an example of a....
a)
Text-based programming language
b)
Object orientated programming language
c)
language written in java script
d)
Visual-based programming language
8.
What would print (10 + 16) produce?
a)
20
b)
22
c)
24
d)
26
9.

What button do you press to compile (run) your program so that it runs in the shell (Interactive mode)?

a)

F3

b)

F5

c)

F7

d)

F9

10.

Which is the Python logo?

a)
b)
c)
d)
11.

What is a input?

a)

A function that allows us to ask the user to enter some data.

b)

To plug in something.

c)

Data displayed on a screen.

d)

A function

12.

What function is used to output a message in python?

a)

print("")

b)

input=name

c)

print

d)

name=input

13.

x = 5

y = 6

print(x*y)


The code above displays the following:

a)

11

b)

x*y

c)

Syntax Error

d)

30

14.

Operators used in python:


divide, multiply, add, subtract

a)

/, *, +, -

b)

div, mul, +, -

c)

\, x, +, -

d)

~, *, +, -

15.
How would would you print a text string?
a)
output "Hello!"
b)
print ("Hello!")
c)
print (Hello!)
d)
output (Hello!)
16.

Which is the smallest form of data?

a)

Bit

b)

Byte

c)

Nibble

d)

8 Binary Digits

17.

Which answer is correct from smallest to largest?

a)

Kilobyte, Gigabyte, Megabyte

b)

Gigabyte, Megabyte, Terabyte

c)

Megabyte, Terabyte, Kilobyte

d)

Byte, Kilobyte, Megabyte

18.

Which one of the 2 units of storage is larger ?

a)

Megabyte

b)

Gigabyte

19.

How many Bits are in a Byte

a)

2

b)

4

c)

10

d)

8

20.

Which is larger?

a)

Bit

b)

Byte

21.

How many bits are in a nibble?

a)

16

b)

8

c)

4

d)

32

22.

A kilobyte is...

a)

1024 Bits

b)

1024 Bytes

c)

1024 Megabytes

d)

1024 Gigabytes

23.

A megabyte is...

a)

1024 Bits

b)

1024 Bytes

c)

1024 Kilobytes

d)

1024 Gigabytes

24.

Which of these is the smallest?

a)

Megabyte

b)

Kilobyte

c)

Gigabyte

d)

Terabyte

25.

A typical mp3 track is around 50 megabytes in size.

a)

No - they are more like 3 megabytes

b)

Yes - that's about right

c)

No - they're more like 200 megabytes

d)

No - they're more like 1 gigabyte

26.
A kilobyte is usually rounded to 1000 bytes. But actually it is _____ bytes:
a)
1024
b)
512
c)
1048
d)
9600
27.

The following is a correct order of units of storage from lowest to highest:

a)

Bit, Nibble, Byte, Kilobyte, Megabyte, Gigabyte, Terabyte

b)

Bit, Byte, Kilobyte, Nibble, Megabyte, Gigabyte, Terabyte

c)

Terabyte, Gigabyte, Megabyte, Kilobyte, Byte, Nibble, Bit

d)

Megabyte, Byte, Kilobyte, Nibble, Gigabyte, Bit, Terabyte

28.

Convert Decimal to Binary: 56

a)

11110010101

b)

00111000

c)

100010101

d)

1111110000

29.

Convert Decimal to Hexadecimal: 36

a)

AD

b)

80

c)

1A

d)

24

30.

Convert Hexadecimal to Decimal: 7A

a)

123

b)

111

c)

122

d)

10110110

31.

Convert Hexadecimal to Decimal: 6F

a)

01101111

b)

111

c)

65

d)

155

32.

Convert Binary to Hexadecimal: 1111010

a)

7A

b)

2952

c)

F55

d)

556

33.

Convert Decimal to Hexadecimal: 986

a)

10101010111

b)

2BA

c)

3FB

d)

3DA

34.

Convert Hexadecimal to Decimal: FD

a)

11111101

b)

253

c)

785

d)

510

35.

Convert Binary to Decimal: 1111010101000

a)

FDB

b)

8475

c)

7848

d)

6415

36.

Convert Decimal to Binary: 55

a)

11011101

b)

110111

c)

10110111

d)

1101001

37.

Convert Hexadecimal to Binary: 9A

a)

2547

b)

4F111

c)

101011010101011

d)

10011010

38.

What is encryption?

a)

Building tombs

b)

Protecting data by scrambling it

c)

Unscrambling data to read it

d)

Exploring church basements

39.

What do you call the algorithm used to encrypt data?

a)

Flux capacitor

b)

Oscillation overthruster

c)

Cipher

d)

Transmogrifier

40.

What do we call scrambled, encrypted data?

a)

Garbage

b)

Ciphertext

c)

Plaintext

d)

Gibberish

41.

What do we call unscrambled, readable data?

a)

ASCII

b)

Ciphertext

c)

Plaintext

d)

Purple prose

42.

Who invented the Caesar Cipher?

a)

Augustus Caesar

b)

Hadrian Caesar

c)

Julius Caesar

d)

Palpatine Caesar

43.

Who worked out how to break the German Enigma code?

a)

Alan Titchmarsh

b)

Alan Shearer

c)

Alan Turing

d)

Alan Partridge

44.

What do you need to encrypt and decrypt a plaintext and cipher text?

a)

Wi fi network

b)

A key

c)

Binary code

d)

Hexadecimal code

45.

Which two protocols are used in encryption scenarios and algorithms?

a)

SSL and TLS

b)

HTP and FTP

c)

HTTP only

d)

HTTPs

46.

Which protocol should you use if shopping online?

a)

FTP

b)

SMTP

c)

HTTP

d)

HTTPS

47.

Which of these do you need to keep secret?

a)

The cipher algorithm

b)

Your public encryption key

c)

Your private decryption key

d)

Your MAC address

48.

The Primary Key is a unique value for that column and hence, it cannot be the same for two ________________.

a)

Fields

b)

records

c)

Data

d)

None of these

49.

Each table must have only one column set as __________

a)

Foregin Key

b)

Primary Key

c)

Design Key

50.

To create a table, click on Create and then

a)

Forms

b)

reports

c)

queries

d)

Table

51.

The Primary Key is a __________ identifier for a record

a)

Distinct

b)

unique

c)

None of these

52.

Which field has primary key in the given table

a)

Address 1

b)

CustomerName

c)

Customer ID

53.

_______ is used to store alphanumeric data

a)

Text

b)

Number

c)

Date time

d)

Curency

54.

_______ is used to store numeric data

a)

Text

b)

Number

c)

Date time

d)

Curency

55.

If you want to enter the birth date of the student which data type will you use?

a)

Text

b)

Number

c)

Date time

d)

Curency

56.

Mr. Faris wants to save the price of the product he selling in the market so he used number datatype. Is he correct? Why?

a)

Yes, correct price is a number,

b)

No, not correct because price is a currency

c)

None of these

57.

The field name should not have______

a)

alphabets

b)

space

c)

number

d)

all other 3 options

58.

__________can attach files such as pictures, documents, spreadsheets or charts

a)

Date/ Time

b)

Attachment

c)

Short Text

d)

Number

59.

The primary key field can never be blank or cannot contain a null value

a)

True

b)

false

60.

The patient_id, doctor_id, student_id can be primary keys because in each table, these fields will have a unique number

a)

True

b)

False

61.

The Primary Key is a unique identifier for a record

a)

True

b)

false

62.

•Click the field that you want to make a Primary Key

•On ________ tab, in Tool

     group click Primary Key

a)

Home

b)

Insert

c)

Design

63.

Arrange the following steps in correct sequence to create the Primary Key

1. On Design tab, in Tool group click Primary Key

2. Save the Table

3. Click the field that you want to make a Primary Key

a)

1,2,3

b)

3,2,1

c)

3,1,2

64.

To add records to a table, open

    the tables in _____________ View

a)

Datasheet view

b)

Design View

65.

To design a table, open

    the tables in _____________ View

a)

Datasheet view

b)

Design View

66.

§To Save a Database,

•Click the File tab and select the

    Save Database As option,

    the Save As dialog box appears,

    then in the File Name text box

    type the name of the database

•Click save

•The file will be saved with

    the extension .accdb

a)

True

b)

false

67.

This field can never be left ________.

a)

Blank

b)

stack

c)

Array

68.

A database helps you to organise the collected data in a _____format in a systematic manner

a)

Tabular

b)

Linear

69.

What are the steps to create a blank database?

a)

Start  ---------->  Access  --------->  Blank database

b)

New  ---->   Blank database  ---->   Filename   ---->  Create

c)

Design tab---- blank---- start button