Assignemtn solution for CS61 spring 2020

Assignment solution CS601


S. No.
Question
Answer
1
Which type of topology is used in the Hall-1?
Mesh
2
What is total number of links required in the identified topology for the Hall-1?
N(n-1)/2
3
What is total number of ports being used in the identified topology in the Hall-1?
n-1 for each device
4
What computer topology is being used in the Hall-2?
star
5
Identify the connecting device that is being used in the identified topology for the Hall-2?
Hub, swith
6
Which category (geographical wise) of network exists is in Hall-1?
LAN
7
Which category (geographical wise) of network exists is in Hall-2?
LAN
8
Identify the type of network being created when the networks of both countries are connected with each other for meetings of PMs.
Point to Point
9
Identify the communication mode which is enabling both the PMs to listen and speak to each other at the same time?
Full duplex
10
Which layer’s device will be used to connect the networks of both countries for video conferencing?
Data link layer, physical layer, network layer




Assignment No 2 Solution for cs 502 spring 2019

solution for assignment no 2 spring 2019
is here
Question No 1

Question No  01:   (Marks:  10)
a) Draw the final Min-Heap structure for the following array; show the final result (tree) only.

1, 5, 7, 25, 13, 19, 12, 30, 27, 26
Solution:
 


b) Draw the final Max-Heap structure for the following array; show the final result (tree) only.

30, 27, 19, 25, 26, 5, 12, 1, 13, 7
solution
 



Question No. 02   (Marks   10)

You are given an array; you have to apply partition algorithm of quick sort on this array. You are required to show all the steps of partition algorithm.


9
1
7
20
12
18
2
15
4
17




for complete solution please download link given below

Solution:

 
  complete file please download from here cs 502 assignment no 2 spring 2019 solution

Featured Post

Assignemtn solution for CS61 spring 2020

Assignment solution CS601 S. No. Question Answer 1 Which type of topology is used in ...