CSE101 S1 Theory Assignment 1
CSE101 S1 Theory Assignment 1
Assignment 1
FALL 2024
Total Marks: 20
1. In a university building, several departments are connected to provide internet
access and facilitate communication between staff and students. The computer
lab, library, and administrative offices each have their own devices connected to
a central Wi-Fi network, which allows them to share resources and access online
services within the building. Arman, a university IT technician, wants to identify
the type of network used in the building. He notes that the network provides
connectivity only within the university premises and does not extend beyond it.
a. What type of network is being used within the university building? Explain
why this network type is suitable for the university’s needs. [3]
b. If priority is achieving constant data speed, which option will you choose
between Ethernet and Wi-Fi? Justify your answer briefly. [2]
c. What is TTL (Time to Live) in the context of a ping command? [2]
2. Kausar, Rohan, Lily, Amir, and Sara are part of a university mentorship program
that connects students across different platforms to collaborate and share
knowledge. Kausar, Rohan, and Lily are connected with each other on Facebook.
Only Amir, Lily, and Rohan are members of the University Forum platform, which
initially served as a space for discussing research topics. Recently, Amir has
focused on a specialized research area that only Rohan shares an interest in.
So, they are connected but due to this shift in focus, Amir has disconnected from
Lily on the forum, finding her updates less relevant. However, Lily remains
connected with Rohan on the forum, as they continue to share general academic
interests. Additionally, Rohan follows Kausar and Amir on LinkedIn, while Amir
also follows Rohan, but Kausar doesn’t follow Rohan.
3. Make a flowchart and a pseudocode of a program that reads fifty numbers from
the user, and prints only the numbers that are divisible by 5. [3+3]