MORE SOLUTIONS, HANDOUTS AND PAST PAPERS FREELY VISIT
VUAnswer.pk
CS502 ASSIGNMENT 2 SOLUTION SPRING 2025
Due Date: 23-June-2025
Total Marks: 20
DO NOT COPY PASTE THE SAME
FOR PAID SOLUTION CONTACT US
WHATSAPP 03162965677
Assignment Submission Instruction:
You are supposed to submit your assignment in Doc or Docx format.
Question No. 1 Marks:
05
The following Graph shows the road connections among four cities labeled as A, B, C, and D.
Your task is to create an adjacency list to accurately represent it.
FOR PAID ASSIGNMENTS CORRECT SOLUTION
WhatsApp: +923162965677
MORE SOLUTIONS, HANDOUTS AND PAST PAPERS FREELY VISIT
VUAnswer.pk
Note: You can either use MS word/Any tool for creating the adjacency list OR you can draw it
on paper and paste the image in solution.
FOR PAID ASSIGNMENTS CORRECT SOLUTION
WhatsApp: +923162965677
MORE SOLUTIONS, HANDOUTS AND PAST PAPERS FREELY VISIT
VUAnswer.pk
Question No. 2 Marks: 5 +
5 = 10
List down In and Out- Degrees of vertices of the given directed graph.
SOLUTION
FOR PAID ASSIGNMENTS CORRECT SOLUTION
WhatsApp: +923162965677
MORE SOLUTIONS, HANDOUTS AND PAST PAPERS FREELY VISIT
VUAnswer.pk
Vertex In Degree Out Degree
A 3 2
B 3 0
C 2 1
D 1 2
E 0 4
FOR PAID ASSIGNMENTS CORRECT SOLUTION
WhatsApp: +923162965677
MORE SOLUTIONS, HANDOUTS AND PAST PAPERS FREELY VISIT
VUAnswer.pk
REGARD - SARIM
WHATSAPP +923162965677
PLEASE NOTE:
Don't copy-paste the same answer.
Make sure you can make some changes to your solution file before
submitting copy paste solution will be marked zero.
If you found any mistake then correct yourself and inform me.
Before submitting an assignment must check your assignment requirement
file.
If you need some help or question about file and solutions feel free to ask.
FOR FREE ASSIGNMENTS SOLUTIONS VISIT
VUAnswer.pk
FOR PAID ASSIGNMENTS CORRECT SOLUTION
WhatsApp: +923162965677