Question 1
(a) Describe the five IP addressing classes. Provide an example for each of classes in binary and dotted-decimal representation.
(b) Show the conversion of each of the addresses.
(c) Describe the function of the subnet address for each of the classes and how does it work. [20 Marks]
Question 2
(a) Define message switching, circuit switching and packet switching. Draw a diagram for each method to show the difference between them.
(b) Identify the samples of network environment that use each of this switching method.
(c) What are the advantages and disadvantages?
Question 3
(a) Write a simple program to create three processes using fork() commands. Use any THREE (3) of the six system calls to show how each child process executes new subprograms using exec’s minions.
(b) Show the output of each of the child process with different data samples. [20 Marks]
Question 4
(a) Compare the bus topology and the star topology. Draw a complete diagram for any given environment for each of the LAN topology.
(b) Using your own assumptions and scenario for each topology to illustrate the concept. Provide the details requirements including the hardware and infrastructure to set-up the proposed solution. [20 Marks]
Question 5
(a) Write a simple program in your Linux environment using C++ to identify PID, PPID and GID for the processes created in Question 3 and display the real and effective user ID. [12 Marks] (b) Modify the program you wrote for Question 3 and include the alarm system call to kill one of the processes that you had created in 30 second.





Question 2):
Switched communication networks are those in which the data transmitted between various intermediate nodes is routed from source to destination. Switching is the technique by which nodes monitor or transfer data between different points on a network to transmit it. There are three switching methods:
1) message Switching :
End-users communicate in message switching by sending and receiving messages which included all the data to be exchanged.Messages are the tiniest single unit. Not directly linking the sender and the receiver. There are multiple intermediate data transfer nodes to ensure the message reaches its destination. Data networks converted to messages are thus called hop-by - hop systems.
message switching has two important characteristics: 1) store and forword: A store-and-forward switch can forward a message only when there are ample resources available and data is acknowledged by the next hop. 2) message delivery: This bundles all of the information in a single message and moves it to the destination node from source. Message must have a header containing the information about routing the message, including the source and destination.
Advantages:
As message switching can store message for which communication channel is not accessible, it helps to minimize network traffic congestion. In message switching, the network devices share the data channels. This makes traffic control effective by prioritising the messages.
Disadvantages:
In message switching, message needs to be stored which requires a large storage capacity for any intermediate device in the network. Message switching can not be used for applications in real time, since storing messages causes delay.
2) circuit Switching:
circuit switching is connection oriented i.e. a physical path between the sender and receiver of the message before a message is delivered. and initially it is designed for voice communication. Inflexible, since all parts of a transmission follow the same path once a direction is set. Once the message is sent to the receiver, the source tells the network about the transmission completion and all the switches issued. The link and other connecting devices are then used to set up a different connection. Circuit switching is always implemented at the Physical Layer.
Circuit Switching can be implemented using two technologies :
1) Space Division Switching
2) Time Division Switching.
advantages:
The main benefit of circuit switching is the establishment between the computers of a committed transmission channel which gives a guaranteed data rate. There is no delay in data flow in circuit switching because of the dedicated transmission path.
Disadvantage:
Establishing relations takes a long time. When setting Minimal delay in transmission.p dedicated channels more bandwidth is needed. It can not be used to transmit any other data, even if the channel is free as the circuit switching link is dedicated.
3) packet Switching:
PAcket Switching is connectionless, because no physical link is formed before the transmission begins. This is divided into some manageable bits, called packets, in packet switching before the message is transmitted. Those packets are routed from source to destination one by one. Packet Swapping uses the technique of Store and Forward when swapping the packets; every hop first stores the packet and then forwardes it.
advantages:
Less effective in terms of bandwidth, because the reservation circuit idea isn't there. Minimal delay in transmission. More tolerant of fault because packets that follow different paths, unlike Circuit Switching, if any connection is down.
disadvantages:
Packet Switching don’t give packets in order, whereas Circuit
Switching provides ordered delivery of packets because all the
packets follow the same path.
Since the packets are unordered, we need to provide sequence
numbers to each packet.
Complexity is more at each node because of the facility to follow
multiple path.
Transmission delay is more because of rerouting.
Question 1 (a) Describe the five IP addressing classes. Provide an example for each of classes...
Questions: 1) Write a simple program to create three processes using fork() commands. Use any three of the six system calls to show how each child process executes new sub-programs using exec’s minions. Show the output of each of the child process with different data samples. 2) Write a simple program in your Linux environment using C++ to identify PID, PPID and GID for the processes created in Question 1 and display the real and effective user ID. 3) Modify...
I will provide, best rating. Please help me out understand how to solve part 2 of this problem. I'm not sure how to make this work using ONLY the exec-family. No system() function call. 1. Using either a UNIX or a Linux system, write a C program that forks a child process that ultimately becomes a zombie process. This zombie process must remain in the system for at least 10 seconds. Process states can be obtained from the command: ps...
Question 1- 20 marks The Internal Environment or Culture of an organization consists of seven (7) elements of which Human Resource Standards is one. Required: List and briefly describe ten (10) Human Resource policies/procedures (2 marks each) that are important to an organization that will help to guard against Internal Control weaknesses. (20 marks) Question 2- 12 marks The active involvement and support of senior management is necessary in every facet of Information Security. Required: List and briefly describe the...
QUESTION 3 (25 MARKS) Describe TWO (2) advantages and TWO (2) disadvantages of digital transmission (C01: P01 - 4 marks) b Sampling, quantization and coding are the three processes used to represent an analog signal in digital form. Considering an input signal into an 8-bit Pulse Code Modulation (PCM) system is a 20 Vpp 50-Hz, answer the followings: i. Using appropriate diagram briefly describe TWO (2) basic methods to perform the sampling function. (CO2: PO2 - 2 marks) Determine the...
How to do this question ?
B2-(13 MARKS) Consider a perfectly competitive industry in which each firm i has a total cost function given by the equation: TC,- 128+ 4q+ 2q. Further, assume that the industry demand finction is given by the following: P = 84-20 a) Describe the long nun market equilibrium. That is, identify the equilibrium price and quantity output for each firm, the number of fims in the industry and the level of producer and consumer surplus....
a. Describe TWO (2) advantages and TWO (2) disadvantages of digital transmission. (CO1: PO1 - 4 marks) b. Sampling, quantization and coding are the three processes used to represent an analog signal in digital form. Considering an input signal into an 8-bit Pulse Code Modulation (PCM) system is a 20 Vp-p 50-Hz, answer the followings: i. Using appropriate diagram briefly describe TWO (2) basic methods to perform the sampling function. (CO2: PO2 - 2 marks) Determine the number of quantization...
Question 2 The Australian Blueberry Growers’ Association recently reported findings that blueberry flowers provide a good source of nectar to the beekeepers to help produce more honey. (a) Using an appropriate diagram, show the perfectly competitive equilibrium in the Australian blueberry market. Also show the quantity of blueberries that would maximise social surplus. Is this equal to the market equilibrium quantity? Fully explain your answer. [4 marks] (b) Why would deadweight loss occur in this market? Identify the area for...
Question 1 (30 points You are required to state and describe which manufacturing processes to use for the manufacture of the shown part. This may include more than one manufacturing process (primary step and then one or more secondary steps). Study the shape carefully and consider all acceptable options to achieve the final shape given. The part is made of a brass alloy and its largest diameter is 30 cm, with a weight of 17 kg. Suu A. [10 marks]...
hai can anyone help me on this question
QUESTION 3 [30 Marks] a) After a part is manufactured, some of its surfaces may require surface treatments in order to improve its properties and characteristics. State five methods that can be done in case hardening process for a metal. Describe in details one of case hardening process with the aid of schematic diagram of the process chosen. (15 Marks) b) One of the surface treatment method is physical vapour deposition (PVD)...
The students enrolled in honors biology at a high school were given the task of using a spreadsheet program to investigate a topic in genetics. All students in the class had similar background knowledge of the topic. Some students in the class had no spreadsheet experience, Group R, and needed time to learn the program to complete the task. The rest of the students, Group S, had previous spreadsheet experience and typically took less time to complete the task. Each...