NEW
Font size
S
M
L
XL
WorksheetsCSF CH5 Review
Total questions: 60
Worksheet time: 30mins
Name
Class
Date
1.
In a client-server model, what role does the server play?
a)
It only consumes resources
b)
It is always offline
c)
It fulfills client requests
d)
It requests information and resources
2.
What is a peer-to-peer relationship in networking?
a)
One computer requests and another responds
b)
It requires a central server
c)
Both computers can request and provide resources
d)
Only one computer is powerful
3.
What device is commonly used to connect computers in a LAN?
a)
Switch
b)
Firewall
c)
Modem
d)
Router
4.
What role does a firewall serve within a local area network (LAN)?
a)
To connect multiple computers
b)
To manage the internet connection
c)
To increase network speed
d)
To block unauthorized access
5.
What is an intranet?
a)
A private LAN for a company or organization
b)
A global network accessible to everyone
c)
A type of Internet service provider
d)
A device used to connect to the Internet
6.
Which statement best defines a Wide Area Network (WAN)?
a)
A network limited to a city
b)
A network connecting personal devices
c)
A network covering a large area, often linking smaller networks
d)
A network connecting devices in a single building
7.
What device is typically used to link a LAN to a WAN?
a)
Router
b)
Switch
c)
Hub
d)
Modem
8.
What is the primary function of a VPN for users working remotely?
a)
To provide public access to private networks
b)
To reduce hardware costs
c)
To increase internet speed
d)
To establish a secure connection over the Internet for remote users
9.
What unique identifier do switches use to direct data to the appropriate device?
a)
MAC address
b)
URL
c)
IP address
d)
SSID
10.
What is the primary function of a modem?
a)
To connect devices within a local network
b)
To send Wi-Fi signals
c)
To translate ISP signals into a format your devices understand
d)
To filter out bad internet data
11.
What device receives the signal from the modem and forwards it to the switch?
a)
Hub
b)
Router
c)
ISP
d)
Firewall
12.
What function does a cable tester perform?
a)
Pushes wires into a patch panel
b)
Finds where a network cable starts or ends
c)
Checks if a cable is working
d)
Connects an RJ-45 cable to its clip
13.
What are the three types of cables used to carry Internet data?
a)
Fiber optic cable, coaxial cable, and HDMI cable
b)
Fiber optic cable, coaxial cable, and twisted pair copper wire
c)
Coaxial cable, HDMI cable, and twisted pair copper wire
d)
Fiber optic cable, USB cable, and twisted pair copper wire
14.
Which tool is used to connect an RJ-45 cable to its clip?
a)
Cable Tester
b)
Crimper
c)
Toner Probe
d)
Punch Down tool
15.
What is the main purpose of a wireless access point (AP)?
a)
To provide power to network devices
b)
To allow wireless devices to connect to the network
c)
To connect wired devices to the network
d)
To store data for the network
16.
What is a variable in programming, and why is it useful?
a)
A variable is a named reference to a value. It stores and updates data.
b)
It’s used to store multiple values.
c)
A variable is a type of input.
d)
A variable is like a function.
17.
Explain the purpose of the assignment operator and how it works in programming.
a)
It assigns a value to a variable, replacing the old one.
b)
It stores multiple values into an array.
c)
It allows you to retrieve data from a function.
d)
It runs a loop in a program.
18.
Describe the difference between a number and a string in programming.
a)
A number is a numeric value, and a string represents text.
b)
A number is always in quotes.
c)
A string can be added to numbers directly.
d)
A number is any character enclosed in double quotes.
19.
What does the Math.round() function do in JavaScript, and when might you use it?
a)
It rounds a number to the nearest integer.
b)
It divides a number by two.
c)
It multiplies a number by itself.
d)
It converts a number to a string.
20.
In the Thermostat App, what happens to the variable temp when the "upButton" is clicked?
a)
The temp variable increases by one.
b)
The temp variable decreases by one.
c)
The temp variable remains unchanged.
d)
The temp variable is reset to zero.
21.
How does string concatenation work in JavaScript, and why is it useful?
a)
It joins strings together using the + operator.
b)
It subtracts strings together.
c)
It joins numbers together with the + operator.
d)
It uses the = operator to join strings.
22.
Explain the Counter Pattern with Event and provide an example of when it might be used in an app.
a)
It updates a variable when an event occurs, such as clicking a button.
b)
It creates a new variable each time.
c)
It deletes a variable each time.
d)
It multiplies the variable by 2.
23.
Why is it important to use meaningful names for variables in your code?
a)
It improves the readability and maintainability of code.
b)
It ensures variables hold only one value.
c)
It helps the computer understand the code.
d)
It makes the code run faster.
24.
What is the difference between a global variable and a local variable? Give an example of each.
a)
Global is accessible everywhere, local is only accessible within a function
b)
A local variable can be accessed anywhere in the app.
c)
A global variable can be declared inside any function.
d)
Local variables can only be declared outside functions.
25.
How can a programmer use variables to track the state of an app, such as a score in a game?
a)
By storing values that can be updated, like scores
b)
By permanently storing user data.
c)
By using variables to store numbers only.
d)
By using a global variable for all calculations.
26.
What happens to the old value stored in a variable when a new value is assigned?
a)
The old value is overwritten and replaced.
b)
The old value is retained.
c)
Both values are retained in memory.
d)
The old value is doubled.
27.
In the Thermostat App, how is the variable tempF updated, and what does it represent?
a)
It concatenates the temp with "F" to represent the temperature.
b)
It concatenates the temp with "C".
c)
It deletes the previous temp value.
d)
It resets the tempF variable to its original state.
28.
What role do operators play in evaluating expressions involving variables?
a)
They perform calculations or string operations on variables.
b)
They define how variables are stored in memory.
c)
They allow functions to modify variable values.
d)
They stop the program when an error occurs.
29.
Explain how the getText() function works and give an example of how it might be used in an app.
a)
It retrieves text from an element in the app.
b)
It sets the text of a button element.
c)
It changes the color of the text on the screen.
d)
It disables the text box for input.
30.
In programming, how are variables used to represent and organize data? Why is this important for solving problems?
a)
They allow data to be stored and manipulated, helping solve problems.
b)
They store functions that can be reused.
c)
They store inputs to be used later.
d)
They help create conditions and loops.
31.
How do computers represent information using binary?
a)
Using only two values: 0 and 1
b)
Using symbols and characters
c)
Using letters A through F
d)
Using digits 0 through 9
32.
What is the maximum value a single byte can hold?
a)
255
b)
1024
c)
128
d)
100
33.
How many bytes are in a kilobyte (KB)?
a)
1000
b)
1024
c)
2048
d)
512
34.
What is the base of the hexadecimal system?
a)
16
b)
2
c)
10
d)
8
35.
Which numbering system uses the digits 0-7?
a)
Octal
b)
Hexadecimal
c)
Decimal
d)
Binary
36.
What is the smallest unit of data in a computer?
a)
Byte
b)
Bit
c)
Kilobyte
d)
Megabyte
37.
How many bits are in a byte?
a)
4
b)
16
c)
8
d)
32
38.
What does ASCII stand for?
a)
Advanced System Code for Internet Interaction
b)
Automated Software Coding and Information Input
c)
American System for Computer Information
d)
American Standard Code for Information Interchange
39.
What does a MAC address look like?
a)
192.168.1.1
b)
255.255.255.0
c)
12:34:56:78:9A:BC
d)
123456789ABCDEF
40.
Which numbering system is base-8?
a)
Binary
b)
Decimal
c)
Hexadecimal
d)
Octal
41.
What happens when you connect your mobile device to Bluetooth earbuds?
a)
You start a video call
b)
You create a personal area network (PAN)
c)
You connect to the internet
d)
You send an email
42.
Which computer component is not needed to share information on a network?
a)
Network storage
b)
Network interface
c)
Network protocols
d)
Network media
43.
How would you define network media?
a)
The hardware that connects computers to a network
b)
The software that manages network connections
c)
The rules that govern data exchange over a network
d)
The physical or wireless pathways used to connect computers
44.
What is the purpose of network protocols?
a)
To establish rules for communication within a network
b)
To determine where shared information will be stored
c)
To set what wireless antennas will be used
d)
To provide physical connections between computers
45.
What is port forwarding?
a)
A method to redirect network traffic to a new address
b)
A protocol for secure communication
c)
A method to store data on a server
d)
A technique to compress files
46.
Which port number is used for secure web communication?
a)
443
b)
25
c)
80
d)
110
47.
How can IP addresses be assigned besides by a network administrator?
a)
By the MAC address
b)
By the device manufacturer
c)
By DHCP (Dynamic Host Configuration Protocol)
d)
By the operating system
48.
How many bits does an IPv4 address contain?
a)
128
b)
16
c)
32
d)
64
49.
What is the primary reason for transitioning from IPv4 to IPv6?
a)
IPv4 is too slow
b)
IPv4 cannot be used on wireless networks
c)
IPv4 addresses are running out
d)
IPv4 is not secure
50.
What is a MAC address?
a)
A unique identifier hardcoded in a device as a hexadecimal number
b)
A logical address assigned by software
c)
A type of IP address with a port
d)
An IPv6 address
51.
What is the role of a hypervisor in virtualization?
a)
It is a type of guest OS.
b)
It provides extra storage for VMs.
c)
It manages the VMs and allows interaction with host hardware and network.
d)
It boosts the computer’s processing power.
52.
What is virtualization?
a)
A tech that creates fake computers to confuse hackers.
b)
A method to increase storage space.
c)
A way to run multiple OSes on one computer at the same time.
d)
A way to connect multiple computers in a network.
53.
What is a hybrid cloud?
a)
A cloud set up only for authorized users within an organization.
b)
A combination of public and private cloud models.
c)
A cloud model offering fully developed application services.
d)
A cloud shared among unrelated organizations.
54.
Which cloud service model provides physical equipment like servers and storage?
a)
Infrastructure as a Service (IaaS).
b)
On-premises management.
c)
Platform as a Service (PaaS).
d)
Software as a Service (SaaS).
55.
Which cloud service model is mainly used by developers and database admins?
a)
IaaS.
b)
On-premises management.
c)
Platform as a Service (PaaS).
d)
SaaS.
56.
Which cloud service lets you use software via a browser over the internet?
a)
Software as a Service (SaaS).
b)
On-premises management.
c)
Platform as a Service (PaaS).
d)
Infrastructure as a Service (IaaS).
57.
Why is a Type 1 hypervisor known as a bare-metal hypervisor?
a)
Because it's more vulnerable to viruses.
b)
Because it’s more prone to interference.
c)
Because it runs directly on hardware without needing an OS.
d)
Because it only supports one type of guest OS.
58.
Which type of hypervisor needs an existing OS to run?
a)
Type 1.
b)
Bare-metal.
c)
Type 2.
d)
Hardware.
59.
What is container virtualization?
a)
A lightweight method to run apps without them interfering with each other.
b)
A way to run multiple OSes on one computer.
c)
A method to boost physical memory.
d)
A virtual machine needing a full OS for each app.
60.
What is a sandbox in virtual servers?
a)
A tool to trap viruses on the network.
b)
The hypervisor host machine.
c)
A safe virtual space to test new apps or programs.
d)
A firewall protecting virtual machines.
Reset
