DMS Final Assessment 01
DMS Final Assessment 01
Course Code & Name: CSC 1201 Discrete Mathematical Structures Duration: 2 hrs
Important Instructions:
Read all assessment carefully and then ask for the questions.
Students are required to Submit/turn in their Assessments on Google Form only. Assessment
submitted through any other Mode will not be considered submitted and will not be marked.
Students are required to turn in the assessment in a pdf file.
The name of file must be Registration Number_Name.
Answers copied or submitted of unasked question may result in zero marks for the question.
Write your Reg.No._Name & Page No. on every sheet.
Sheets should be turned in in order and scanned. Do not upload pictures of your sheets.
-------------------------------------------------------------------------------------------------------------------------------
Attempt all questions: Write all steps while solving
Q1(a) Express the statement using predicates, quantifiers and conditional connectives.
“In every online class few students have connectivity issue and they do not join the class.”
(b) Data are transmitted over a particular Ethernet network in blocks of 1500 bytes. How
many blocks are required to transmit the 784 kilobytes of data over this Ethernet network?
Q2(a) For which positive integers 𝑛 is 3𝑛 + 4 ≤ 2𝑛 ? Prove the inequality using mathematical
induction.
(b) Given the following information about a computer program, find the mistake in the
program using rules of inference.
i. There is an undeclared variable or there is a syntax error in the first five lines.
ii. If there is a syntax error in the first five lines, then there is a missing semicolon or a
variable name is misspelled.
iii. There is not a missing semicolon.
iv. There is not a misspelled variable name. (5+2.5=7.5 Marks)
Page 1 of 2
Q3 Solve the following using counting techniques. (1+2+2=05 Marks)
(a) The landline telephone numbers in the phone system in Islamabad city consist of seven
digits, with the first digit not equal to zero. How many different numbers can be assigned
in this system?
(b) There are 12 signs of the zodiac. How many people are needed to guarantee that at least
six of these people have the same sign?
(c) How many bit strings of length 10 contain at least five 0s?
Q5(a) Two simple graphs are given with the following adjacency matrices.
0 0 0 1 0 1 1 1
𝐺 = [0 0 1 1] , 𝐻 = [1 0 1 0].
0 1 0 1 1 1 0 0
1 1 1 0 1 0 0 0
Determine whether 𝐺 and 𝐻 are isomorphic to each other? Give reason(s).
(b) Draw the Depth First Search and Breadth First Search spanning trees rooted at 3 for the
graph given below. (5+2.5=7.5 Marks)
***END***
Page 2 of 2