100% found this document useful (1 vote)
279 views22 pages

HND - SWE - Case Study - 2025 - More Revision Questions 2

The document is an examination paper for Computer Engineering, focusing on Software Engineering topics. It includes sections on Algorithm and Programming, Database Development, Web Design, and Networking, with various tasks such as creating flowcharts, writing code, and explaining concepts. Each section has specific marks allocated, totaling 100 marks for the exam.

Uploaded by

q8xc5r7vgg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
279 views22 pages

HND - SWE - Case Study - 2025 - More Revision Questions 2

The document is an examination paper for Computer Engineering, focusing on Software Engineering topics. It includes sections on Algorithm and Programming, Database Development, Web Design, and Networking, with various tasks such as creating flowcharts, writing code, and explaining concepts. Each section has specific marks allocated, totaling 100 marks for the exam.

Uploaded by

q8xc5r7vgg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

EXAMINATION PAPER

FIELD: Computer Engineering


SPECIALITY: Computer Engineering
OPTION: Software Engineering (SWE)
PAPER: Case Study
CREDIT VALUE: 14
DURATION: 6 hours
NATURE OF EXAM: Written

SECTION A: Algorithm and Programming (50 Marks)

1. (10 Marks) Create a flowchart to determine if a number is prime.


o Answer:
Steps for Flowchart:
1. Start.
2. Input nnn.
3. Initialize isPrime=trueisPrime = trueisPrime=true.
4. If n≤1n \leq 1n≤1, set isPrime=falseisPrime = falseisPrime=false.
5. For i=2i = 2i=2 to n\sqrt{n}n:
▪ If n%i==0n \% i == 0n%i==0, set isPrime=falseisPrime = falseisPrime=false and break.
6. If isPrime==trueisPrime == trueisPrime==true, print "Prime"; otherwise, print "Not Prime".
7. End.
2. (15 Marks) Write a C++ program to reverse a string entered by the user.
o Answer:

#include <iostream>
#include <string>
using namespace std;

int main() {
string str, reversedStr;
cout << "Enter a string: ";
getline(cin, str);

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


for (int i = str.length() - 1; i >= 0; i--) {
reversedStr += str[i];
}

cout << "Reversed string: " << reversedStr << endl;


return 0;
}

3. (15 Marks) What is a data structure? Compare arrays and linked lists in terms of memory, performance, and use cases.
o Answer:
▪ Data Structure: A way of organizing data for efficient access and modification.
▪ Arrays:
▪ Fixed size, contiguous memory allocation.
▪ Fast random access, but inserting/deleting elements is costly.
▪ Used for static data and indexed access.
▪ Linked Lists:
▪ Dynamic size, memory allocated for each node.
▪ Slow access due to sequential traversal, but efficient insertion/deletion.
▪ Used for dynamic data with frequent insertions/deletions.
4. (10 Marks) Write an algorithm to sort an array using the Bubble Sort method.
o Answer:

1. Start.
2. Input array and its size.
3. Repeat for (size - 1) iterations:
a. For each pair of adjacent elements:
i. If the current element > next element, swap them.
4. End.

SECTION B: Database Development and Administration (20 Marks)

1. (10 Marks) Write SQL queries to:


a) Create a table Courses with columns CourseID, CourseName, Credits.
b) Insert two records into the Courses table.
o Answer:

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


CREATE TABLE Courses (
CourseID INT PRIMARY KEY,
CourseName VARCHAR(100),
Credits INT
);

INSERT INTO Courses (CourseID, CourseName, Credits) VALUES (1, 'Database Systems', 4);
INSERT INTO Courses (CourseID, CourseName, Credits) VALUES (2, 'Web Development', 3);

2. (10 Marks) Explain the MERISE methodology and its role in database development.
o Answer:
▪ MERISE Methodology: A structured approach for analyzing, designing, and implementing information systems.
▪ Key Phases:
▪ Conceptual Model: High-level representation of data and processes.
▪ Logical Model: Maps entities to tables and defines relationships.
▪ Physical Model: Implements the logical design in a database system.
▪ Significance: Ensures a well-organized and scalable database design.

SECTION C: Web Design (15 Marks)

1. (8 Marks) Write HTML and CSS code to display a contact form with fields for Name, Email, and Message. Include a "Submit" button.
o Answer:

<!DOCTYPE html>
<html>
<head>

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


<style>
form {
width: 300px;
margin: auto;
font-family: Arial, sans-serif;
}
input, textarea {
width: 100%;
margin-bottom: 10px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
}
</style>
</head>
<body>
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>

<label for="email">Email:</label>
<input type="email" id="email" name="email" required>

<label for="message">Message:</label>
<textarea id="message" name="message" rows="4" required></textarea>

<button type="submit">Submit</button>
</form>
</body>
</html>

2. (7 Marks) Explain the difference between inline, internal, and external CSS with examples.
o Answer:
▪ Inline CSS: Applied directly to an element using the style attribute.

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


▪ Example: <p style="color: red;">Hello</p>
▪ Internal CSS: Defined within a <style> tag in the <head>.
▪ Example:

<style>
p { color: red; }
</style>

▪ External CSS: Defined in an external file and linked using <link>.


▪ Example: <link rel="stylesheet" href="styles.css">

SECTION D: Networking (15 Marks)

1. (10 Marks) Differentiate between Hub, Switch, and Router in a network.


o Answer:
▪ Hub: Broadcasts data to all devices, no filtering. Used in small networks.
▪ Switch: Sends data to the intended device based on MAC addresses. More efficient than a hub.
▪ Router: Connects different networks and directs data using IP addresses.
2. (5 Marks) Calculate the subnet mask and number of usable IP addresses for a network with prefix /27.
o Answer:
▪ Subnet Mask: 255.255.255.224255.255.255.224255.255.255.224.
▪ Usable IP Addresses: 232−27−2=302^{32-27} - 2 = 30232−27−2=30.

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


SECTION A: Algorithm and Programming (50 Marks)

1. (10 Marks) Design a flowchart to calculate the factorial of a given number nnn.
o Answer:
Steps for Flowchart:
1. Start.
2. Input nnn.
3. Initialize fact=1fact = 1fact=1.
4. For i=1i = 1i=1 to nnn: fact=fact×ifact = fact \times ifact=fact×i.
5. Print factfactfact.
6. End.
(Flowchart uses looping for the iterative calculation of the factorial.)
2. (15 Marks) Write a C program to find the second largest number in an array of 10 integers.
o Answer:

#include <stdio.h>
int main() {
int arr[10], largest, second_largest, i;

printf("Enter 10 numbers: ");


for (i = 0; i < 10; i++) {
scanf("%d", &arr[i]);
}

largest = second_largest = arr[0];

for (i = 1; i < 10; i++) {


if (arr[i] > largest) {
second_largest = largest;
largest = arr[i];
} else if (arr[i] > second_largest && arr[i] != largest) {
second_largest = arr[i];
}
}

printf("Second largest number is: %d\n", second_largest);


return 0;
}

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


3. (15 Marks) Explain the concept of inheritance in object-oriented programming and provide a simple example in C++.
o Answer:
▪ Inheritance: A mechanism where one class (child) inherits attributes and behaviors (methods) from another class
(parent).
▪ Example in C++:

#include <iostream>
using namespace std;

class Animal {
public:
void eat() {
cout << "This animal eats food." << endl;
}
};

class Dog : public Animal {


public:
void bark() {
cout << "The dog barks." << endl;
}
};

int main() {
Dog myDog;
myDog.eat(); // Inherited from Animal
myDog.bark(); // Defined in Dog
return 0;
}

4. (10 Marks) Compare and contrast C programming and C++ programming in terms of features and applications.
o Answer:
▪ C Programming: Procedural, lacks object-oriented features, used for system-level programming (e.g., operating
systems).
▪ C++ Programming: Supports OOP (e.g., classes, inheritance), used for developing applications like games, GUIs, and
real-time systems.

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


SECTION B: Database Development and Administration (20 Marks)

1. (10 Marks) Write an SQL query to:


a) Add a new column Department to the Employees table.
b) Update the Department of employees with EmpID > 5 to "IT".
o Answer:

ALTER TABLE Employees ADD Department VARCHAR(50);

UPDATE Employees SET Department = 'IT' WHERE EmpID > 5;

2. (10 Marks) What is Normalization? Explain its significance and define the 1NF, 2NF, and 3NF with examples.
o Answer:
▪ Normalization: Process of organizing data in a database to reduce redundancy and improve data integrity.
▪ 1NF: Atomic values, no repeating groups.
▪ Example: Split columns with multiple values into separate rows.
▪ 2NF: 1NF + no partial dependencies (every non-key column depends on the whole primary key).
▪ Example: Remove attributes that depend on part of a composite key.
▪ 3NF: 2NF + no transitive dependencies.
▪ Example: Remove columns that depend on non-key attributes.

SECTION C: Web Design (15 Marks)

1. (8 Marks) Write HTML and CSS to create a simple webpage that displays a centered heading and a navigation bar with three links
(Home, About, Contact).
o Answer:

<!DOCTYPE html>
<html>
<head>
<style>
body {
text-align: center;
font-family: Arial, sans-serif;
}

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


nav {
background-color: #333;
padding: 10px;
}
nav a {
color: white;
margin: 0 15px;
text-decoration: none;
}
</style>
</head>
<body>
<h1>Welcome to My Website</h1>
<nav>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#contact">Contact</a>
</nav>
</body>
</html>

2. (7 Marks) Explain the difference between GET and POST methods in web development. Provide a PHP script to process a simple
form using POST.
o Answer:
▪ GET: Sends data via the URL, limited in size, less secure.
▪ POST: Sends data in the HTTP body, larger data capacity, more secure.
▪ PHP Script:

<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$name = $_POST['name'];
echo "Welcome, " . htmlspecialchars($name);
}
?>

SECTION D: Networking (15 Marks)

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


1. (10 Marks) Describe IP Addressing and explain the difference between IPv4 and IPv6 with examples.
o Answer:
▪ IP Addressing: Numerical labels assigned to devices for identification on a network.
▪ IPv4: 32-bit address (e.g., 192.168.1.1).
▪ IPv6: 128-bit address (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334).
2. (5 Marks) Calculate the number of subnets possible with a Class C address using a subnet mask of 255.255.255.192.
o Answer:
▪ Subnet Bits: 26−24=226 - 24 = 226−24=2.
▪ Number of Subnets: 22=42^2 = 422=4.

SECTION A: Algorithm and Programming (50 Marks)

1. (10 Marks) Draw a flowchart to find the largest of three numbers.


o Answer:
Steps for Flowchart:
1. Start.
2. Input three numbers a,b,ca, b, ca,b,c.
3. Compare aaa, bbb, and ccc:
▪ If a>ba > ba>b and a>ca > ca>c, print "Largest is aaa."
▪ Else if b>cb > cb>c, print "Largest is bbb."
▪ Else, print "Largest is ccc."
4. End.

(Flowchart uses decision blocks for comparisons and I/O blocks for inputs/outputs.)

2. (15 Marks) Write a C program to reverse a given string without using built-in string functions.
o Answer:

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


#include <stdio.h>
int main() {
char str[100], rev[100];
int i, len = 0, j = 0;

printf("Enter a string: ");


gets(str);

while (str[len] != '\0') {


len++;
}

for (i = len - 1; i >= 0; i--) {


rev[j++] = str[i];
}
rev[j] = '\0';

printf("Reversed String: %s\n", rev);


return 0;
}

3. (10 Marks) Differentiate between procedural programming and event-driven programming with examples.
o Answer:
▪ Procedural Programming: Follows a step-by-step procedure to execute tasks. Example: C (main function with
subroutines).
▪ Event-Driven Programming: Executes code in response to events like user actions. Example: VB.NET (code triggered
by a button click).
4. (15 Marks) Write a Java program that uses inheritance to create a base class Shape and a derived class Rectangle. The Rectangle
class should calculate and display its area.
o Answer:

class Shape {
int length, width;

void setDimensions(int l, int w) {


length = l;
width = w;
}
}

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


class Rectangle extends Shape {
int calculateArea() {
return length * width;
}
}

public class Main {


public static void main(String[] args) {
Rectangle rect = new Rectangle();
rect.setDimensions(10, 5);
System.out.println("Area of Rectangle: " + rect.calculateArea());
}
}

SECTION B: Database Development and Administration (20 Marks)

1. (10 Marks) Write an SQL query to:


a) Create a table called Employees with columns EmpID, EmpName, and Salary.
b) Delete records where the Salary is less than 20,000.
o Answer:

CREATE TABLE Employees (


EmpID INT PRIMARY KEY,
EmpName VARCHAR(50),
Salary DECIMAL(10, 2)
);

DELETE FROM Employees WHERE Salary < 20000;

2. (10 Marks) Define Primary Key and Foreign Key in databases and explain their purpose with examples.
o Answer:
▪ Primary Key: A unique identifier for each record in a table. Example: EmpID in Employees.
▪ Foreign Key: A field in one table that refers to the Primary Key in another table, establishing a relationship between
tables. Example: DeptID in Employees referencing DeptID in Departments.

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


SECTION C: Web Design (15 Marks)

1. (8 Marks) Write a basic HTML structure with CSS to create a red-colored button labeled "Click Me!".
o Answer:

<!DOCTYPE html>
<html>
<head>
<style>
.button {
background-color: red;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
</head>
<body>
<button class="button">Click Me!</button>
</body>
</html>

2. (7 Marks) Write a PHP script to fetch all records from a MySQL table called Products and display them in a table.
o Answer:

<?php
$conn = mysqli_connect("localhost", "root", "", "test_db");
$result = mysqli_query($conn, "SELECT * FROM Products");

echo "<table border='1'>";


echo "<tr><th>ID</th><th>Name</th><th>Price</th></tr>";
while ($row = mysqli_fetch_assoc($result)) {
echo "<tr><td>{$row['ID']}</td><td>{$row['Name']}</td><td>{$row['Price']}</td></tr>";
}
echo "</table>";

mysqli_close($conn);
?>

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


SECTION D: Networking (15 Marks)

1. (10 Marks) Explain network topologies with examples of:


a) Star topology.
b) Bus topology.
o Answer:
▪ Star Topology: Devices connect to a central hub or switch. Example: Office LANs.
▪ Bus Topology: All devices share a single communication line. Example: Legacy Ethernet networks.
2. (5 Marks) Write the subnet mask for a Class C IP address and calculate the total number of usable hosts.
o Answer:
▪ Subnet Mask: 255.255.255.0
▪ Usable Hosts: 28−2=2542^8 - 2 = 25428−2=254 hosts.

SECTION A: Algorithm and Programming (50 Marks)

1. (10 Marks) Write a flowchart to determine if a given number is odd or even.


o Answer:
Steps for Flowchart:
1. Start.
2. Input the number nnn.
3. Check if nmod 2==0n \mod 2 == 0nmod2==0:
▪ If true, print "Even."
▪ Else, print "Odd."
4. End.

(Flowchart can be drawn using decision and input/output symbols.)

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


2. (15 Marks) Write a C program to find the sum of the first nnn natural numbers.
o Answer:

#include <stdio.h>
int main() {
int n, sum = 0;
printf("Enter a positive integer: ");
scanf("%d", &n);
for (int i = 1; i <= n; i++) {
sum += i;
}
printf("Sum of first %d natural numbers = %d\n", n, sum);
return 0;
}

3. (10 Marks) Explain the difference between structured programming and object-oriented programming (OOP).
o Answer:
▪ Structured Programming: Focuses on using procedures and functions to execute tasks. Example: C.
▪ Object-Oriented Programming: Organizes code into objects, which combine data and methods. Example: C++ or Java.
4. (15 Marks) Write a C++ program to create a class Rectangle with methods to calculate its area and perimeter.
o Answer:

#include <iostream>
using namespace std;

class Rectangle {
public:
int length, width;

int area() {
return length * width;
}

int perimeter() {
return 2 * (length + width);
}
};

int main() {
Rectangle r;

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


r.length = 10;
r.width = 5;
cout << "Area: " << r.area() << endl;
cout << "Perimeter: " << r.perimeter() << endl;
return 0;
}

SECTION B: Database Development and Administration (20 Marks)

1. (10 Marks) Write SQL commands to:


a) Insert a record into a Students table with columns ID, Name, and Age.
b) Update the Name field of the record with ID = 1 to "John Doe".
o Answer:

INSERT INTO Students (ID, Name, Age) VALUES (1, 'Jane Smith', 22);

UPDATE Students SET Name = 'John Doe' WHERE ID = 1;

2. (10 Marks) Define MERISE and explain its main purpose in database design.
o Answer:
▪ Definition: MERISE is a methodology used to design and manage databases by separating technical, logical, and
conceptual processes.
▪ Purpose: It helps in the structured design of databases and systems by using a step-by-step approach.

SECTION C: Web Design (15 Marks)

1. (8 Marks) Write a basic HTML structure to display a table of 3 rows and 2 columns.
o Answer:

<!DOCTYPE html>
<html>
<head>
<title>Sample Table</title>
</head>

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


<body>
<table border="1">
<tr>
<td>Row 1, Col 1</td>
<td>Row 1, Col 2</td>
</tr>
<tr>
<td>Row 2, Col 1</td>
<td>Row 2, Col 2</td>
</tr>
<tr>
<td>Row 3, Col 1</td>
<td>Row 3, Col 2</td>
</tr>
</table>
</body>
</html>

2. (7 Marks) Write a PHP script to connect to a MySQL database and display "Connection successful" if the connection is established.
o Answer:

<?php
$conn = mysqli_connect("localhost", "root", "", "test_db");
if ($conn) {
echo "Connection successful";
} else {
echo "Connection failed: " . mysqli_connect_error();
}
?>

SECTION D: Networking (15 Marks)

1. (10 Marks) Explain the purpose of IP addressing in a network. How does subnetting improve a network?
o Answer:
▪ IP Addressing Purpose: To uniquely identify devices on a network and enable data exchange.
▪ Subnetting: Divides a large network into smaller segments to improve efficiency, reduce congestion, and enhance
security.
2. (5 Marks) What is the difference between LAN and WAN?

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


o Answer:
▪ LAN (Local Area Network): Covers a small geographic area, like an office or building.
▪ WAN (Wide Area Network): Covers large geographic areas, connecting multiple LANs, such as the internet.

SECTION A: Algorithm and Programming (50 Marks)

1. (10 Marks) Write an algorithm to find the largest number among three user-provided numbers.
o Answer:
Algorithm:
1. Start
2. Input three numbers: aaa, bbb, ccc
3. Compare aaa, bbb, and ccc:
▪ If a>ba > ba>b and a>ca > ca>c, then aaa is the largest
▪ Else if b>ab > ab>a and b>cb > cb>c, then bbb is the largest
▪ Else ccc is the largest
4. Display the largest number
5. End
2. (15 Marks) Write a C program to calculate the factorial of a number entered by the user.
o Answer:

#include <stdio.h>
int main() {
int n, i, factorial = 1;
printf("Enter a positive integer: ");
scanf("%d", &n);
for (i = 1; i <= n; i++) {
factorial *= i;
}
printf("Factorial of %d = %d\n", n, factorial);
return 0;

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


}

3. (10 Marks) Define the term data structure and give two examples of data structures commonly used in programming.
o Answer:
▪ Definition: A data structure is a way of organizing and storing data in a computer so that it can be used efficiently.
▪ Examples:
▪ Array: A collection of elements, each identified by an index.
▪ Linked List: A sequence of nodes where each node contains data and a pointer to the next node.
4. (15 Marks) Write a C++ program to create a class Student with attributes name and age. Add a method to display the student's details.
o Answer:

#include <iostream>
using namespace std;

class Student {
public:
string name;
int age;

void displayDetails() {
cout << "Name: " << name << endl;
cout << "Age: " << age << endl;
}
};

int main() {
Student s;
s.name = "Alice";
s.age = 20;
s.displayDetails();
return 0;
}

SECTION B: Database Development and Administration (20 Marks)

1. (10 Marks) Write SQL commands to:


a) Create a table Books with columns BookID, Title, and Author.
b) Delete a record where BookID = 101.

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


o Answer:

CREATE TABLE Books (


BookID INT PRIMARY KEY,
Title VARCHAR(100),
Author VARCHAR(50)
);

DELETE FROM Books WHERE BookID = 101;

2. (10 Marks) Explain the difference between a primary key and a unique key in a database.
o Answer:
▪ Primary Key: Ensures each row in a table has a unique identifier; a table can only have one primary key.
▪ Unique Key: Ensures all values in a column are unique; a table can have multiple unique keys.

SECTION C: Web Design (15 Marks)

1. (8 Marks) Create a basic HTML form with fields for Name, Email, and a Submit button.
o Answer:

<!DOCTYPE html>
<html>
<head>
<title>Simple Form</title>
</head>
<body>
<form action="submit.php" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name"><br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email"><br><br>
<button type="submit">Submit</button>
</form>
</body>
</html>

2. (7 Marks) Write a PHP script to fetch all records from a users table in a MySQL database and display them in an HTML table.

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


o Answer:

<?php

$conn = mysqli_connect("localhost", "root", "", "school");

if (!$conn) {

die("Connection failed: " . mysqli_connect_error());

$result = mysqli_query($conn, "SELECT * FROM users");

echo "<table border='1'><tr><th>ID</th><th>Name</th><th>Email</th></tr>";

while ($row = mysqli_fetch_assoc($result)) {

echo "<tr><td>" . $row['ID'] . "</td><td>" . $row['Name'] . "</td><td>" . $row['Email'] . "</td></tr>";

echo "</table>";

mysqli_close($conn);

?>

SECTION D: Networking (15 Marks)

1. (10 Marks) Define the following terms:


a) Subnetting
b) Network Topology

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92


o Answer:
a) Subnetting: The process of dividing a network into smaller, more manageable subnetworks to improve organization and
security.
b) Network Topology: The physical or logical arrangement of devices in a network, such as star, ring, or bus topology.
2. (5 Marks) What is the primary purpose of an IP address?
o Answer: The primary purpose of an IP address is to uniquely identify a device on a network and enable communication between
devices.

Dean of Studies (+237) 6 54 24 19 83 info@swissLinkedu.com Director: (+237) 6 79 89 48 92

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy