0% found this document useful (0 votes)
212 views

Cambridge Computer Science AS Chapter 2 Pretest AS Level Exam-Style Practice From Cambridge: Begin

This document contains a practice exam for the Cambridge AS Level Computer Science exam. It includes 25 multiple choice and short answer questions covering topics like Ethernet, network topologies, IP addressing, and the Internet. Students are asked to identify components in diagrams, define networking terms, perform IP address calculations, draw network diagrams, and explain parts of a URL. They are also provided examples to decode using binary, hexadecimal, and 2's complement notation.

Uploaded by

cancer
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
212 views

Cambridge Computer Science AS Chapter 2 Pretest AS Level Exam-Style Practice From Cambridge: Begin

This document contains a practice exam for the Cambridge AS Level Computer Science exam. It includes 25 multiple choice and short answer questions covering topics like Ethernet, network topologies, IP addressing, and the Internet. Students are asked to identify components in diagrams, define networking terms, perform IP address calculations, draw network diagrams, and explain parts of a URL. They are also provided examples to decode using binary, hexadecimal, and 2's complement notation.

Uploaded by

cancer
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Cambridge Computer Science AS Chapter 2 Pretest

AS Level Exam-Style Practice from Cambridge: begin

1 Ethernet is a widely used technology supporting the operation of a Local Area Network (LAN). There
have been two different LAN topologies for which Ethernet could be used.
a) The following figure shows a server and two workstations:

i) Complete the drawing to show how these would be connected in an early form of Ethernet
LAN. You must include any required devices or components but you do not need to identify
them.
ii) State the name of this topology.

Answer:

b) The following is a repeat of the figure shown for part


Cambridge Computer Science AS Chapter 2 Pretest

i) Complete the drawing to show how these would be connected in the modern form of
Ethernet LAN. You must include any required devices or components but you do not need to
identify them.
ii) State the name of this topology.

Answer:

2 Carrier Sense Multiple Access with Collision Detection (CSMA/CD) is a technology associated with
Ethernet. This was used with the early form of LAN topology.
i) Briefly explain why the technology was required for this topology and how it worked.
ii) Identify features of the modern form of LAN topology that allowed Ethernet to be used without
CSMA/CD.
Cambridge Computer Science AS Chapter 2 Pretest

Answer:

AS Level Exam-Style Practice from Cambridge: end

3 Three types of cabling are? coaxial, twisted pair, fiber-optic


4 Define the following terms (Data can be sent through the medium in different modes:)

Simplex mode: where data flow is one way only

Half duplex: where data can flow either way but not simultaneously

Full duplex: where simultaneous both-ways data flow is possible

5 Again, define the following terms (A ‘message’ is any type of data which can be sent as either:)

Broadcast: is a one-to-all communication


Cambridge Computer Science AS Chapter 2 Pretest

Multicast: is from one source to many destination

Unicast: is one-to-one communication

6 Sketch an example of the following network topologies:

Bus Mesh
Star Hybrid

7 *Sort the different cable types:


b) Label them in order of increasing attenuation at high
a) Label them in order of increasing bandwidth from
frequency from least affected, to most affected..
lowest, higher and highest.
Coaxial - higher Coaxial – most affected
Fiber optic - highest Fiber optic – least affected
Twisted pair - lowest Twisted pair – affected

8 *Explain three factors that need to be considered when using wireless transmission include which
type of radiation it interferes with the most.
a. Bandwidth is a controlling factor for the rate of data transmission.
Bandwidth increases with increasing frequency, so is best for infrared.
b. Attenuation is the loss of signal strength as it travels further and further. This is a factor
affecting the need for repeaters.
Attenuation also increases with increasing frequency so it is worst for infrared.
c. The capability for directional focusing and for penetration through a wall is two factors that
are self-explanatory
Penetration through a wall increases with increasing wavelength and so is best with radio
waves.
Directional focusing capability increases with increasing frequency so is best for infrared.

9 Answer true / false or fill in the blank?


a. Global communications use _ fiber optic _ cables or satellite transmission
b. Interference is much __ (more, less) significant for wireless transmission
Cambridge Computer Science AS Chapter 2 Pretest
c. Repeaters needed _ (more, less) often for wireless
d. Cell phone dominate internet use and only _wireless _ transmission is possible
e. (true/false) Home and (small) office use can use either cables or wireless transmission with
equal efficiency with wireless chosen most often due to ease of installation.
f. Use of Satellites tends to be for specialized _ communications _ such as GPS & internet use

in _ remote _ locations.
g. Development of __ (low, high)  cost, __ (low, high) speed fiber optic at relatively __ (low,
high) cost minimize the use of Satellite
h. (true/false) Satellite can act as a component in a network
i. (true/false) Satellites cannot directly connect with ground-based components

10 Complete the following table for three classes of IPV4 address

Answer

11 Given the CIDR IPv4: 201.172.9.11/19, find:


● netID 218 +217 +214 +211 +210 +28 +26 + 25 = 413024
● hostID 211 + 28 + 23 + 21 + 1 = 2315
● 11001001.10101100.00001001.00001011/00010011
● netID hostID suffix

12 *Consider the following URL: http://www.mirc.co.uk/help/jarkko2.txt


● Explain the meaning of each part of this. In particular, identify the domain name and its
associated hierarchy.
● http identifies the protocol being used.
● :// indicates the end of the protocol definition.
● www indicates that a web address is being defined.
● mirc.co.uk is the domain name (the user-friendly version of the IP address).
Cambridge Computer Science AS Chapter 2 Pretest
● The domain mirc is a subdomain of the domain co, which is a subdomain of the domain uk.
● help/jarkko2.txt is the pathname of a file located on the host identified by the domain name.

13 Write the following sample IPv4 address using decimal numbers separate by dots
01010010 10001011 11011101 00100100 82.139.221.36
11100001 01010101 00100101 10101111 225.85.37.175

14 *An organization has been allocated a class C IP address that it intends to use in a sub-netting
scheme.
a. If it decides to create LANs with 25 workstations in each, how many LANs could be created?
8: 5 bits are needed for hostIDs leaving 3 bits for individual LANs or 2 3 different LANS

b. If, instead, they decide to limit each LAN to only 10 workstations, how many LANs could be
created?
16: 4 bits are needed for hostIDs leaving 4 bits for individual LANs or 2 4 different LANS

c. *Construct a diagram to illustrate sub-netting with first two and last two LANs. The diagram
should show the first and last (25th) workstations, with each workstation labelled with a binary
representation suitable for its identification. Explain your labelling of the workstations. Full IP
addresses are not needed.

Image on next page


Cambridge Computer Science AS Chapter 2 Pretest

15 Two options for network file sharing are:


Client-server and peer-to-peer
16 most commonly used topology is the for a LAN is: star
17 The main transmission media are ___________ (twisted pair and coaxial) cables, _________
________ cables and ____________ (radio, microwave and infrared)
Copper, fiber optic, wireless
18 What is used to detect and avoid collision in shared media:
CSMA/CD (carrier sensed multiple access with collision detection)
19 The largest internetwork in existence is: The Internet
20 What provides access to the Internet? ISPs
21 The World Wide Web is a distributed application accessible on the _______________.
Internet
22 The current Internet addressing scheme is _______, with _______ a future contender
IPv4, IPv6
23 What is the function of a DNS? resolves a domain name to an IP address
24 (True / False) The Internet and the World Wide Web are the same thing
Cambridge Computer Science AS Chapter 2 Pretest
25 In a class C network, the first three bits are ______, 110
26 Simplify the following FULL IPv6 addresses: 0005:A00B:00A3:0104::10A9:E019

Have you bubbled in binary?


[A: 16, B: 8, C: 4, D: 2, E: 1]
Have you bubbled in 2s Complement for negative numbers?
[A: -16, B: 8, C: 4, D: 2, E: 1]
You will be expected to do both on the test 
27 Given myfunc(a, b), what is the output of the following:
a. myfunc(2, 3) 9 (B and E)
b. myfunc(4, 6) 13 (B, C and E)
c. myfunc(-5, 0) -5 (A, B, D, and E)
d. If myfunc(a, 8) returns 19, list all possible values of b: b = 7 (C, D, and E)

You might also like