wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Year 11 Progress test 2

Total questions: 61

Worksheet time: 38mins

Name
Class
Date
1.
Variables and constants in programs need to be assigned a data type.
a)
True
b)
False
2.
What data type would be best used to record the number of people at a party?
a)
Integer
b)
Real
c)
String
d)
Boolean
3.
What data type would be best to record the exact length of a piece of string in meters?
a)
Real
b)
Boolean
c)
Decimal
d)
Integer
4.
Data types of variables can never be changed.
a)
False
b)
True
5.
What data type would be best used to record an email address?
a)
String
b)
Integer
c)
Real
d)
Character
6.
What data type would be the answer to the expression x < 5?
a)
Boolean
b)
Character
c)
Real
d)
String
7.
1 What is the short form of "Integer"?
a)
INT
b)
CHAR
c)
STR
d)
BOOL
8.
5 Which one is a boolean?
a)
false
b)
While
c)
and
d)
if
9.
6 Which of these isn't an integer?
a)
66.6
b)
69
c)
0
d)
-999
10.
15 What is a benefit of declaring a constant?
a)
Code is easier to read and edit because the constant's identifier will be used instead of some number
b)
It makes a constant point for all later coding to fit around.
c)
Easier to find the base level of code
d)
Makes a pathway so you can return to a constant point
11.

What is a Constant?

a)

A storage location of memory which does not change

b)

A random area to store things in.

c)

Something that changes

d)

Something that can only store numbers

12.

What is a variable?

a)

A storage location of memory which can change

b)

A random area to store things in.

c)

Something that changes

d)

Something that can only store numbers

13.

What is the result of "80" + 71.2?

a)

151.2

b)

151

c)

"8071.2"

14.
What command do we use to tell Python to accept an input?
a)
cin
b)
input()
c)
scanf()
d)
<>
15.
What does the statement 'print' do?
a)
Output a hard copy of a program to a printer
b)
Output a message on the screen
c)
Print a hard copy of a flowchart to a computer
16.
Which of the following is correct?
a)
The Python interpreter ignores comments
b)
Comments are used by programmers for a better understanding of the program
c)
You use the # symbol before a comment
d)
All of the above
17.

The following is not a valid constant

a)

SPACE

b)

PI

c)

UserName

d)

WORDLIMIT

18.

Quotation marks around a variable’s identifier imply

a)

It is an integer

b)

It is a string

c)

It is a Boolean

d)

It is a real

19.

The statement A OR B implies A and B are

a)

Integers

b)

Strings

c)

Booleans

d)

Characters

20.
Which of the following is the definition of pseudocode?
a)
A container which is used to store values such as the number of attempts a person tries to log on to a network.
b)
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
c)
A value that cannot be altered by the program during normal execution: the value stays the same. 
d)
Messages to explain to others, and often to remind yourself, what the code is intended to do. 
21.
What symbol do flowcharts begin with?
a)
oval
b)
parallelogram
c)
rectangle
d)
diamond
22.
What is the purpose of a flowchart?
a)
To plan the program before it is made
b)
Because it is easier
23.
What does this symbol represent?
a)
Start
b)
Sub
c)
Decision
d)
Process
24.
What is this symbol used for in a flowchart?
a)
A decision/question
b)
A task to carry out
25.
What does this shape represent?
a)
Input/Output
b)
Decision
c)
Process
d)
Start/Stop
26.
What is the Output if the user enters:
Yes
a)
Leave umbrella at home
b)
Take an umbrella
27.
What is the Output if the temperature is:
19
a)
Below Freezing
b)
Above Freezing
28.
What is an algorithm?
a)
A problem
b)
A solution to a problem
c)
The steps that are taken to solve a problem
d)
The words to enter when typing
29.

A diagram to show each step

a)

Flowchart

b)

Algorithm

30.

What should be considered when designing an algorithm?

a)

If there is more than one way of solving the problem

b)

If the correct hardware is being used

c)

If the correct software is being used

31.

What are the two main ways that algorithms can be designed?

a)

Images or videos

b)

In pseudocode or as a flowchart

c)

By hardware or software

32.

What is important to remember when designing an algorithm?

a)

whether to use a flowchart or pseudocode

b)

the instructions are in the correct order

c)

that it must be easy to read

33.
Loops are used to repeat parts of a program
a)
True
b)
False
34.
Iteration is an alternative term for loop.
a)
True
b)
False
35.
A WHILE loop is an example of a count-controlled loop.
a)
False
b)
True
36.
Which of the following loops will stop when x reaches 10?
a)
WHILE x < 10
b)
WHILE x < 9
c)
WHILE x < 1
d)
WHILE x < 4
37.

What data type will be cast on line one?

a)

Character

b)

Integer

c)

Float

d)

Boolean

38.

What process has been used on line 24?

a)

Selection

b)

Iteration

c)

Sequencing

d)

Concatenation

39.

Which Mathematical Operator has been used in the program?

a)

Addition

b)

Modulous

c)

Integer division

d)

Exponential

40.

Which construct has bee used in the program?

a)

Selection

b)

Iteration

c)

Sequencing

d)

Displaying

41.

Which comparison operator has been used?

a)

Greater Than

b)

Less Than

c)

Equal To

d)

Not equal too

42.

Which of the following techniques has not been used to help make the code more user friendly?

a)

Indents

b)

Naming Conventions

c)

Comments

d)

White Space

43.

What does a computer network allow computers to share?

a)

Electricity

b)

Resources

c)

Mice

44.

What does LAN stand for?

a)

Logical Analogue Network

b)

Laser Assisted Network

c)

Local Area Network

45.

Which network topology uses a server?

a)

Star

b)

Mesh

c)

Ring

d)

None

46.

Which network topology needs a switch or hub?

a)

Mesh

b)

Partial Mesh

c)

Star

d)

Bus

47.

I don't have a server in my network. What type of network is this?

a)

Mesh

b)

Star

c)

Client-Server

d)

Peer-2-Peer (P2P)

48.

What is a WAN?

a)

Network which uses 3rd party connections.

b)

Network which covers a large geographical area, typically over 1 mile.

c)

Network which uses our own connections

d)

Networks covering small geographical areas, normally under 1 mile.

e)

Network which operates on a singe site.

49.

What is a network?

a)

A group of 1 or more devices which communicate

b)

A group of 2 or more devices which communicate

c)

When 2 or more computers are in the same building.

d)

A group of 3 or more devices which communicate

50.
What is bandwidth?
a)
The amount of data that can be carried at any one time.
b)
The overall amount of data I use in a month.
c)
The speed of my data per second to a friend and back.
51.

What are the most common network usage models?

a)

Peer-to-peer and Client-Server

b)

LAN and WAN

c)

Star and Mesh

d)

WiFi & Bluetooth

52.

Choose all that are true about star networks

a)

All devices have a connection to a central switch or server

b)

They are the most fault tolerant type of network

c)

If one connection fails, only that one device is affected

d)

They can be expensive because of the large amount of cabling needed

53.
What is a MAC address?
a)
The address of a communication devices in your computer
b)
A 32 bit binary number expressed in dotted decimal
c)
A temporary address which is allocated on a computer on a network
d)
It's the IP address of the DNS server
54.
Which statement is not true
a)
IP stands for Internet Protocol
b)
IP addresses are usually written in dotted decimal
c)
IP addresses can be temporarily allocated
d)
IP addresses are 'stamped' on hardware by the manufacturer.
55.
What is a protocol
a)
A set of rules about how data is moved
b)
a digital signal (not analogue)
c)
a device that routers use to make a connection
d)
the language of web pages
56.
The Internet is
a)
another name for the WWW
b)
was invented by Sir Tim Berners Lee
c)
a network of networks
d)
written in HTML and XML
57.
A DNS server
a)
'serves up'  an IP address when you give it a URL
b)
is used to save files across the whole network
c)
directs data packets depending on the destination IP
d)
is needed as the central 'node' in a LAN
58.

What type of topology is this?

a)

Mesh

b)

Ring

c)

Star

d)

Line

e)

Bus

59.

Which network topology is this ?

a)

Bus

b)

Star

c)

Ring

d)

Mesh

60.

Which network topology is this?

a)

Ring

b)

Bus

c)

Star

d)

Mesh

61.
This is a technical term that describes the layout of connections in a network.
a)
Network Topology
b)
Standalone Computer
c)
Network Node
d)
Workstation