0% found this document useful (0 votes)
9 views1 page

SAMPLE (Final of Discrete)

Uploaded by

saqibjaveduk9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

SAMPLE (Final of Discrete)

Uploaded by

saqibjaveduk9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Exam: Final Course: Discrete Structures

Max. Marks: 50 Time Duration: 2 Hours

Q.1. [1, 1, 1, 2, 2] CLO-1


Compute.
(i) a mod b (ii) Floor(number) (iii) Ceiling(number)
(iv) ∑𝑏𝑘=𝑎 (𝑒𝑥𝑝𝑟𝑒𝑠𝑠𝑖𝑜𝑛) (v) ∏𝑏𝑖=𝑎 (𝑒𝑥𝑝𝑟𝑒𝑠𝑠𝑖𝑜𝑛)

Q.2. [2, 4] CLO-3


(a) Let f be a function defined by its formula. Find out whether f is bijective.
(b) Find the number of positive integers that are less than or equal to x and are divisibly by y or z.

Q.3. [4, 2] CLO-2


(a) Apply the hash function to find out …..
(b) Among n people, at least how many have the same …..?

Q.4. [2, 3] CLO-1


(a) Give example of …. functions.
(b) Let R be a relation on the set A. Find out whether R is reflexive, symmetric, and transitive.

Q.5. [4, 4, 2] CLO-3


(a) Define theorem … and Apply it on the number xyz.
(b) Find gcd(a, b) using Euclidean Algorithm.
(c) Give example of ….. primes.

Q.6. [4, 4] CLO-4


(a) Given a sorted list of numbers. Perform linear/binary search on this list to find number x.
(b) Consider a list of numbers. Arrange it in ascending order using Bubble/Selection sort.

Q.7. [2, (4,2)] CLO-1


(a) Define tree.
(b) Re-draw the following graph on your answer sheet and then:
i) Write down set V and set E. Is the degree of vertices same or different?
ii) Locate a cycle in the graph and write the vertices that make up its path.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy