University of Dublin Trinity College Faculty of Engineering and Systems Sciences

advertisement
University of Dublin
Trinity College
Faculty of Engineering and Systems Sciences
Department of Computer Science
Diploma in Information Systems
Junior Freshman
Business Methods
Dr. Brendan Browne
Test Paper Part 2
Please answer all Questions
2015
Question 1
(a) A person invests €15000 at 8% annual rate compounded monthly. Find the
future value (FV ) in
(i) 9 months (ii) 15 months and (iii) 6.5 years.
[ 3 marks]
(b) Convert 45.67 8 and CD95.616 to their binary form.
[ 4 marks]
(c) Convert 110110110.011 to decimal and then to octal and hexadecimal
[ 9marks]
 17 9  1 
 6 8 4 




(d) If A  11 5 8  and B   8 3 7 
  11 7  9 
 5 11 12 




Find (i) A  B , (ii) AB and (iii) BA .
Write a few lines of pseudocode to add two matrices A and B both
of order m n .
[ 9 marks]
Question 2
(a) Consider the function f : 4,5,9  A, B, Cgiven by f (4)  A, f (5)  C and
f (9)  B . Draw its arrow diagram and state its domain, codomain and range.
Is it (i) onto and (ii) one-to-one ? Explain. Does it have an inverse f 1 and if so
what is it ?
[ 5 marks]
(b) Briefly explain in the light of (a) why the ASCII code is a function with an
inverse.
[ 2 marks]
(c) Find the solution of the two simultaneous equations
7 x  11y  29
3x  5 y  7
by plotting the two equations and finding their
point of intersection. Use graph paper. Confirm your answer
algebraically.
[ 9 marks]
(d) The demand and supply functions for a good are given by
Pd  180  0.5Qd -----demand function
Ps  60  0.7Qs -----supply function
Calculate the equilibrium price and quantity graphically. Confirm your answer
algebraically.
[ 9 marks]
Download