GCSE MOCK Flashcards
(19 cards)
What is the smallest denary number that can be represented by a 4-bit binary number?
0
What is the largest denary number that can be represented by a 6-bit binary number?
63
What is the maximum number of different colours that can be represented by a colour depth of 7-bits?
128
What is the minimum number of bits needed to represent 150 different characters in a character set?
8
Show the result of a left binary shift of 4 places on the binary number 00001111?
11110000
Give one valid example of an IPv4 address.
125.16.46.72 (4 groups of denary numbers between 0 and 255 separated by full spots)
Give one valid example of an IPv6 address.
1050:ff06:0:0:5:6:300c:326b (6 groups of hex numbers between 0 and FFFF separated by colons)
Describe the format of a MAC address.
1) MAC addresses are made up of 6 bytes (48 bits long)
2) Separated by colons
3) Usually presented in hexadecimal
Describe two benefits to the airport using wired connections in their local area network. [4]
1) Higher bandwidth -> can reduce delays at check in
2) More secure -> so that data about passengers is not intercepted
3) Little interference -> flight status is received without delay
Explain the reasons why the airport should also allow the network to be access using a wireless connection. [3]
1) Easier to connect more devices
2) Staff do not need to be in one-place / can be accessed from any location
3) Allows a larger number of connections/devices
4) Some devices don’t allow wired connection
Give one benefit and one drawback of the office using a star topology instead of a mesh topology. [2]
Benefit: fewer data collisions/faster data transmission
Drawback: the switch is a single point of failure
Describe the role of the switch in the star topology. [3]
1) Uses MAC address of devices
2) Connects the devices together in the network
3) Directs data to destination
A car has a ‘Follow Me’ system that uses a cruise control feature to follow the car in front of it. The cruise control system is an embedded system.
Explain the reasons why the ‘Follow Me’ system is an example of an embedded system. [3]
1) An embedded system is a system with a specific purpose…
2) …within a larger device (car)
3) It is automated/has a built-in operating system/its instructions are hard to change/it has a microprocessor
The car’s system has ROM and RAM.
State two items that will be stored in the ROM for the ‘Follow Me’ system [2]
1) BIOS/bootstrap/start-up instructions
2) Operating system (OS)
The car’s system has ROM and RAM.
State three items of data that will be stored in the RAM for the ‘Follow Me’ system. [3]
1) Current speed of the car in front of it
2) Current distance from the car in front of it
3) Direction the car in front of it is travelling (e.g. turning)
The car’s system only has ROM and RAM.
Explain why the ‘Follow Me’ system does not need virtual memory. [2]
1) One program running at a time (does not run multiple programs)
2) No secondary storage needed as virtual memory
3) Only stores a small amount of data in RAM -> unlikely to run out of RAM
State one pre-requisite for a binary search algorithm. [1]
Data must be sorted/in order
What is the name of the sorting algorithm that splits data into individual items before recombining in order? [1]
Merge sort
Write an algorithm to:
- prompt the user to enter a team name and score, or to enter “stop” to stop entering new teams
- repeatedly take team names and scores as input until the user enters “stop”
- calculate which team has the highest score
- output the team name and score of the winning team in an appropriate message
[6]
teamName = “”
highScore = 0
while teamName != “STOP”:
> teamName = input(“Enter the team name: “)
> score = int(input(“Enter the score: “))
>if score > highScore: >>winner = teamName >>highScore = score
print(“The winning team is”, winner)
print(“With a high score of”, highScore)