College of Computing & Information Sciences Discrete Mathematics (Assignment-2)
College of Computing & Information Sciences Discrete Mathematics (Assignment-2)
Plagiarism:
“Plagiarism is copying another person’s text or ideas and passing the copied material as your own
work. You must both delineate (i.e., separate and identify) the copied text from your text and give
credit to (i.e., cite the source) the source of the copied text to avoid accusations of plagiarism.
Plagiarism is considered fraud and has potentially harsh consequences including loss of job, loss
of reputation, and the assignation of reduced or failing grade in a course.
Instructions:
Your solution should free from plagiarism
All those assignments fall in plagiarism, will not be graded
Late submission will also not be graded
(Q.1) Data stored on a computer disk or transmitted over a data network are usually
represented as a string of bytes. Each byte is made up of 8-bit. How many bytes
are required to encode 100 bits of data? Using ceil and floor function
(Q.2) A function f is defined by f(x) = px + q. Given that f(1) = 5 and f(-2) = 10, find the value of
p and of q. find f -1(x) and f2(x)
(Q.5) Suppose that a and b are integers, a ≡ 11 (mod 19), and b ≡ 3 (mod 19). Find the integer c with
0 ≤ c ≤ 18 such that
(Q.6) Describe the Fibonacci series recursion. Draw the recursion tree for n = 5.