: 2013 2014 2014


: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

  1. b) Determine whether the fourth column vector forms a linear combination with the first three column vectors.
  2. a) Find a matrix B that is row equivalent to A.
  3. Q−6:[2+1+1 marks]Consider a linear system whose augmented matrix is of the form: . For what values of a and b will the system have: a) No Solution; b) A unique solution; c) Infinitely many solutions.
  4. Q−6:[2+1+1 marks]Consider a linear system whose augmented matrix is of the form:
  5. c) Find the matrix B such that .
  6. b) Find a matrix C such that .
  7. a) Write the linear system in matrix form .
  8. Q−5:[1 + 2 + 2 marks]. Consider the linear system: .
  9. b) Solve the system by applying the Gaussian elimination method.
  10. a) Write the augmented matrix for the system.
  11. Q−3:[1+4 marks]Consider the linear system:
  12. c) Compute |-2A.AT.A-1|
  13. a) Write the coefficient matrix A of the system
  14. Q−2: [1+3+2 marks]For the system:
  15. e) The vectors form a linear combination with .
  16. d) The vectors are linearly independent.
  17. c) If AB = 0, thenA = B = 0.
  18. b) If (c1 , c2) is a solution of the 2 x 2 system , then, for any real number k, the ordered pair (kc1 , kc2) is a solution.
  19. a) If m1 ≠m2 in the system , where m1 , m2 , b1 , and b2 are constants, then the system has a unique solution.
  20. M132: Linear algebra
  21. e) Estimate the population in the year 2020.
  22. d) What was the population in 1960?
  23. c) What is the growth constant?
  24. b) What was the initial population (the population in 1950) ?
  25. a) Find the formula for P(t).
  26. Q−8: [51 Marks] Let P(t) be the population (in millions) of a certain city t years after 1950, and suppose that P(t) satisfies the differential equation P′(t) = 0.017 P(t), P(0)= 2560
  27. b) Use the logarithmic differentiation to differentiate the function
  28. a) Differentiate the function
  29. A window is being built and the bottom is a rectangle and the top is a semicircle. If there is 12 m of framing materials what must the dimensions of the window be to let in the most light
  30. e) Find the points of inflection, if any.
  31. d) Find the intervals on which the graph of f (x) is concave up or concave down.
  32. c) Find the local maximum and minimum of f (x), if any.
  33. b) Find the intervals on which f (x) is increasing or decreasing.
  34. Q−4: [2+3 Marks] Use the definition of the derivative to find f ′(x) if
  35. Use the definition of the derivative to find f ′(x) if
  36. Find the slope of the tangent line to the following curves at the designated points
  37. c) Describe the domains of f (x) and g(x).
  38. b) Find g (f (x)), and describe its domain
  39. a) Find f (g(x)) and describe its domain.
  40. Q−2: [2+2+1 Marks] Let .
  41. b) Find the points of intersection, if any, of the graphs of y = f (x) and y = -4 .
  42. a) Find the zeros of g(x) and h(x).
  43. Q−1: [4+1 Marks] let
  44. Find the probability of accident rain or no rain.
  45. Suppose that city records produced the following probability data on a driver being an accident on the last day of a Memorial Day Weekend
  46. A committee of 3 juniors and 3 seniors is to be formed from the members of a club having 18 juniors and 15 seniors. How many different committees are possible?
  47. How many permutations are there of the letters in the word BANANA?
  48. You are considering 10 different colleges. Before you decide to apply to the colleges, you want to visit some or all of them. In how many orders you can visit:
  49. Why might the range be an unhelpful measure of spread for these particular data?
  50. a) Find the range of the earnings.
  51. Calculate the standard deviation of the earnings.
  52. Calculate the lower and upper quartiles, and find the inter-quartile range.
  53. Calculate the mean, median and mode.
  54. Below are the earnings, for a particular week, of 15 staff (including the owner) working in a small business
  55. e) Find the cumulative distribution function.
  56. d) Find the mean and standard deviation.
  57. The density function for a random variable X is given by where k is a constant
  58. Q-6: [2+2+2+3+3Marks] The density function for a random variable X is given by where k is a constant
  59. e) Calculate the variance and standard deviation of the random variable X.
  60. d) Find the mean of the random variable X.
  61. b) Find the probability distribution and the cumulative distribution of the random variable X.
  62. a) List the possible elements of the sample space S for the three tosses of the coin and to each sample point assign a value x of X.
  63. Q-5: A coin is tossed three times. Let X be a random variable representing the number of heads in three tosses of a coin. The coin is unbalanced and a head has a 60% chance of occurrence.
  64. Q-5: [2+2+3+2+3Marks] A coin is tossed three times. Let X be a random variable representing the number of heads in three tosses of a coin. The coin is unbalanced and a head has a 60% chance of occurrence.
  65. d) If the product is not defective, what is the probability that it was made by machine ?
  66. c) If the product is defective, what is the probability it was made by machine ?
  67. b) What is the probability that it is not defective
  68. a) What is the probability that it is defective
  69. A manufacturer has 3 machines , make 20%, 30% and 50%, respectively, of the products. It is known from past experience that 2%, 3% and 4% of the products made by each machine respectively are defective. If a finished product is randomly selected
  70. Q-4: [2+2+3+3Marks] A manufacturer has 3 machines , make 20%, 30% and 50%, respectively, of the products. It is known from past experience that 2%, 3% and 4% of the products made by each machine respectively are defective. If a finished product is ra
  71. d) Find the probability of an accident, given rain.
  72. c) Find the probability of an accident and rain.
  73. b) Find the probability of rain, accident or no accident.
  74. a) Find the probability of accident rain or no rain.
  75. Accident (A) No accident (A) Total Rain (R) 0.025 0.335 0.360 No rain (R) 0.015 0.625 0.640 Total 0.040 0.960 1.00
  76. Q-3: [3+3+1+3Marks] Suppose that city records produced the following probability data on a driver being an accident on the last day of a Memorial Day Weekend.
  77. c) A committee of 3 juniors and 3 seniors is to be formed from the members of a club having 18 juniors and 15 seniors. How many different committees are possible?
  78. b) How many permutations are there of the letters in the word BANANA?
  79. i- 6 of the colleges ii- All ten colleges
  80. a) You are considering 10 different colleges. Before you decide to apply to the colleges, you want to visit some or all of them. In how many orders you can visit:
  81. e) Why might the range be an unhelpful measure of spread for these particular data?
  82. c) Calculate the standard deviation of the earnings.
  83. Calculate the lower and upper quartiles, and find the inter-quartile range.
  84. a) Calculate the mean, median and mode.
  85. Weekly earnings () 280 370 305 285 480 1,260 210 340 280 290 315 325 370 360 280
  86. Q−1: [2+3+3+1+1 Marks] Below are the earnings, for a particular week, of 15 staff (including the owner) working in a small business:
  87. Below are the earnings, for a particular week, of 15 staff (including the owner) working in a small business
  88. Microcontroller A: - The clock speed of the processor is 33.554432 MHz - 25-bit counter/timer. - 1024 bytes RAM. - 256 bytes non-volatile, read-write memory. - Watchdog timer
  89. Microcontroller B: - The clock speed of the processor is 131.072 KHz - 18-bit counter/timer. - 512 bytes RAM. - 128 bytes non-volatile, read-write memory. - Watchdog timer
  90. Which microcontroller would you choose from the above two if you need to generate clock pulse every 2 seconds? (Give reasons).
  91. Microcontroller A: - The clock speed of the processor is 33.554432 MHz - 25-bit counter/timer. - 1024 bytes RAM. - 256 bytes non-volatile, read-write memory. - Watchdog timer Microcontroller B: - The clock speed of the processor is 131.072 KHz - 18-b
  92. (ii) State if 2s complement overflow has occurred. Justify your answer.
  93. (i) Add these two numbers in binary. Show the carry bits in your working.
  94. (b) The following two 8-bit binary code words both represent 2s complement integers: 0101 1010 0110 1111
  95. (b) The following two 8-bit binary code words both represent 2s complement integers:
  96. (ii) Work out what this code word represents if it is instead the code for a signed integer using 2s complement representation. Show your work.
  97. (i) Write down what this code word represents if it is the code for a text character using 7-bit ASCII code with a zero inserted in the leftmost position. (2 marks)
  98. (a) This part relates to the 8-bit binary code word 0101 0001
  99. e. What does the loop do? Do not give a description on an instruction-by- instruction level; give the overall task of the loop in brief
  100. d. Why is the following instruction: add immediate rB 0000 used?
  101. c. The loop reads successive data items from a block of locations in data memory. What are the lowest and highest addresses (in hexadecimal) of the locations in this block?
  102. b. How many times in total will the set of instructions within the loop be executed?
  103. a. The subroutine includes a loop. Which register is being used as the loop counter?
  104. load immediate r1 0000 load immediate r3 0012 load immediate rA 0500 load register-indirect via rA rB add immediate rB 0000 jump if zero relative 0001 jump relative 0001 add immediate r1 0001 add immediate rA 0001 subtract immediate r3 0001 jump if z
  105. In this question, all numbers are in hexadecimal. This part of the question refers to the following subroutine for the T224 simulated processor:
  106. This question carries 25% of the assignment marks. It enables you to demonstrate your mastery of Learning Outcomes 4, 5, 10, 13 and 19 of Block 2.
  107. The processor needs to find out whether the patient has pressed a button to change the desired temperature. It does this examining the state of the two buttons. If one has been pressed, the stored value for the desired temperature is changed appropri
  108. Draw a flowchart for this part of the total task, assuming that a button will not have been pressed more than once
  109. b. The processor needs to find out whether the patient has pressed a button to change the desired temperature. It does this examining the state of the two buttons. If one has been pressed, the stored value for the desired temperature is changed appro
  110. Draw the flowchart that corresponds to the above list using appropriate shapes for the boxes and drawing appropriate linking lines. Note that the flowchart includes at least one loop.
  111. - Input actual temperature.
  112. - Output the valve settings.
  113. - Does actual temperature equal desired temperature?
  114. The new desired temperature will be shown on the display. - The processor in the computer will compare the temperature inside the lounge with the desired temperature
  115. - Switch fan off.
  116. - Switch fan on.
  117. and if they are not the same it will switch on a fan to supply air of an appropriate temperature to the interior of the lounge. The processor controls the temperature of this air supply by setting a valve to a hot air supply and a valve to a cool air
  118. - Workout the valve settings.
  119. a. The processors task in this climate-control system includes the following items:
  120. a. The processors task in this climate-control system includes the following items: - Workout the valve settings. - Switch fan on. - Switch fan off. - Does actual temperature equal desired temperature? - Output the valve settings. - Input actual te
  121. The processor controls the temperature of this air supply by setting a valve to a hot air supply and a valve to a cool air supply appropriately. Each of these valves has a number of settings, ranging from fully shut to fully open.
  122. button labeled UP will cause the desired temperature to increase by 1C and pressing the button labeled DOWN will cause the desired temperature to decrease by 1C
  123. The desired temperature will be factory pre-set to 25 C. The patient will be able to change this temperature by means of two buttons. Pressing the button labeled UP will cause the desired temperature to increase by 1C and pressing the button labele
  124. - There will be a small display to show the desired temperature. It will consist of two 7-segment displays showing the digits, plus a pre-set display showing the C.
  125. Some lounges in medical centers incorporate climate control, whereby a computer is used to maintain the temperature inside the lounge at a setting chosen by the patient. The climate control will be computer-controlled and will operate as follows
  126. T224: Computers and Processors
  127. :Apple iPhone 5S/5C+Apple iPad Air - Silver - 32GB
  128. 1. What is the function of the following: a. Control Unit. b. Main Memory. c. Compiler.
  129. Consider an image of size 1000 X 720 pixels which requires 2160000 bytes to be stored inside the computer. Find the number of bits used to represent each pixel, the pixel amplitude and the coloring system used for the image
  130. Show all the steps required to convert the decimal value 1980 to its octal representation
  131. Show all the steps required to convert the binary value 111000101 to its decimal representation
  132. Any feature of the analogue world can be taken inside the boundary of the computer using two-steps process. Mentions the two steps with brief explanation giving an example that illustrates the steps
  133. Explain the advantage of complex representations using the traffic signs as an example
  134. From your understanding of the term complex representation, briefly explain why traffic signs are considered to be complex representations
  135. Representations play a central role in facilitating communication by establishing a relationship between some form and some meaningful content subject to some convention; mention the two conditions for effective representation
  136. Define a search engine. Give examples on two search engines you use
  137. Explain the difference between the Internet and the Web
  138. b. How can you avoid plagiarism when writing your TMAs?
  139. a. Briefly define the term plagiarism.
  140. One showing the case when the user selected to buy a white laptop.
  141. One showing the case when the user selected to buy a black laptop.
  142. One showing the case when the user selected to buy a PC.
  143. Test your program and run it to make sure it works properly. In your Solution document insert three screenshots for the output
  144. Assume that all strings used in the program and entered by a user are in small letters.
  145. Print the user selection, price and discounted price in the output window
  146. Give the following discount on the price and calculate the discounted price as follows: - PC: 20%. - Black laptop: 15%. - White laptop: 10%.
  147. Calculate the price of the user selection as follows: - PC: 1700$. - Black laptop: 2500$. - White laptop: 3000$.
  148. If the user selected a "laptop" then ask the user to select which color he wants "white" or "black". Read the answer from the user and store it in a variable.
  149. Ask the user if he wants to buy a "pc" or a "laptop". Read the answer from the user and store it in a variable.
  150. a. Using nested if-else statement, write JavaScript program that works according to the following specifications:
  151. Calculate the area and volume of the cube using the following formulas: Area = 6 *(edge length)2 volume = (edge length)3
  152. Read the edge length of a cube
  153. a. Write JavaScript program to calculate area and volume of a cube. The program should work according to the following specifications: [
  154. What is the exact output after these instructions have been executed? You need to draw a simple tracing table that shows how you got your answer.
  155. How many times will the loop be executed
  156. The condition, the loop body, and any instruction(s) that is (are) not in the loop body
  157. The following flowchart diagram shows a loop structure program
  158. Not (a and not b) not a or b
  159. Use truth tables to show whether the following two Boolean expressions are equivalent or not
  160. c. Compiler.
  161. Main Memory.
  162. Control Unit
  163. What is the function of the following
  164. Consider an image of size 1000 X 720 pixels which requires 2160000 bytes to be stored inside the computer. Find the number of bits used to represent each pixel, the pixel amplitude and the coloring system used for the image.
  165. Show all the steps required to convert the decimal value 1980 to its octal representation
  166. Show all the steps required to convert the binary value 111000101 to its decimal representation.
  167. Any feature of the analogue world can be taken inside the boundary of the computer using two-steps process. Mentions the two steps with brief explanation giving an example that illustrates the steps
  168. Explain the advantage of complex representations using the traffic signs as an example
  169. From your understanding of the term complex representation, briefly explain why traffic signs are considered to be complex representations? Explain the advantage of complex representations using the traffic signs as an example.
  170. Representations play a central role in facilitating communication by establishing a relationship between some form and some meaningful content subject to some convention; mention the two conditions for effective representation
  171. Define a search engine. Give examples on two search engines you use
  172. Explain the difference between the Internet and the Web
  173. b. How can you avoid plagiarism when writing your TMAs?
  174. M150 Data, computing and information
  175. a. Briefly define the term plagiarism.
  176. Print the array elements in the output window
  177. Ask the user to enter any 10 numbers and fill them in the array
  178. Define JavaScript function occurrence(anArray,num), that takes an array anArray and a number num as arguments. The function returns the number of occurrences of num in anArray
  179. Declare an array of 10 elements
  180. Define a JavaScript function occurrence(anArray,num), that takes an array anArray and a number num as arguments. The function returns the number of occurrences of num in anArray
  181. In the context of UI design, define and briefly explain (using your own understanding) the terms: visibility, affordance, tolerance and consistency
  182. What is a user interface? Give two examples of user interfaces you use in your daily life.
  183. Briefly define the term HCI. What's the purpose of this kind of study?
  184. one showing the program prompting for the game name, with you having entered the name but not yet pressed OK
  185. Use an appropriate methods to: − Increment the game by two chances. − Print the game information
  186. Create a game instance and initialize its properties by the values entered by the user. Chance should be set to 1.
  187. Prompt the user for values of name and level of a game he wants to create
  188. Implement the methods getName(),getLevel (), getChance(), and displayInfo() according to the above specifications.
  189. Write the Game constructor function Game(aName, aLevel, aChance)
  190. displayInfo(): a method that displays the name, level and the chance of the game in an alert box, using the three methods: getName() and getLevel() and getChance().
  191. moveForward(): a method that gives the next chance (i.e. increments chance by 1) only if the chance is less than 6. Otherwise, set it to 1.
  192. getChance(): a method that returns the chance of playing the game
  193. getLevel(): a method that returns the level selected of the game
  194. getName(): a method that returns the name of the game
  195. The Game object type has the following methods
  196. The Game object can go forward to further chances, however, the maximum value of chance is 6.
  197. chance: a number (from 1 to 6) representing the chance of playing the game.
  198. level: a string representing the level of the game, such as easy, moderate, difficult.
  199. name: a string representing the name of the Game.
  200. You are required to model a new user-defined object type, Game. The Game object type has the following properties:
  201. What information do we usually find in function specifications?
  202. Provide a copy of the specifications of all the functions youve used in writing your program.
  203. Insert a screenshot that shows the resulted output of parts c and d.
  204. Change the state to be 30 December 2000. You should not create a new date. - Display the day name. - Display it in long form
  205. Display the day name. - Display it in long form.
  206. Change the state to be 30 December 2000. You should not create a new date.
  207. For the Date object you've created in a. do the following
  208. Calculate the difference in years between the two dates and print it in the output window
  209. Create another Date object representing the date 13 November 2013
  210. Create a Date object representing the date 2 June 1950.
  211. In unit9, page 21 you were introduced to the methods associated with Date object. In the same unit, section 4.2 you learned how to use functions from the "dateLibrary.js" in JavaScript programs. The specifications for all the functions in t
  212. Run your program two times: one where the number 0 is an element on the array and another time where the number 0 is not in the array. Provide two screenshots of the two required outputs of your program. This should also show the arrays elements
  213. Run your program two times: one where the number 0 is an element on the array and another time where the number 0 is not in the array
  214. Using the function occurrence(), display on the screen the number of occurrences of number 0 in the array. If the number 0 doesnt exist in the array, you should display a suitable message also
  215. Print the array elements in the output window.
  216. Ask the user to enter any 10 numbers and fill them in the array
  217. Declare an array of 10 elements
  218. Define a JavaScript function occurrence(anArray,num), that takes an array anArray and a number num as arguments. The function returns the number of occurrences of num in anArray.
  219. M150 Data, computing and information
  220. m256 tma answer assignment solution m256
  221. M256, Software development with Java Fall 2013 2014
  222. Consider the following use case for this system. List Departments Tutors The administrator identifies abranch, the system displays all departmentsof that branch, and then the administrator selects one of the displayed departments, the system display
  223. department20anddepartment2, assume that the object department20is selected which has the tutorsrepresented by the objectstutor7, tutor11, tutor20andtutor3
  224. the administrator selects one of the displayed departments, the system displays the tutors of that department
  225. For this question you should use a scenario based on a branch represented by an object branch4 which has a number of departments represented by the objects department3, department20anddepartment2, assume that the object department20is selected which
  226. List Departments Tutors The administrator identifies abranch, the system displays all departmentsof that branch, and then the administrator selects one of the displayed departments, the system displays the tutors of that department.
  227. Consider the following use case for this system.
  228. The following is a use case description and a class diagramfor the Arab Open University (AOU) system.
  229. Write the corresponding core code of the sequence diagram you drew in part(d).
  230. On the basis of cascading design, construct a walk-through and a sequence diagram for this scenario.
  231. Write down a specification for the coordinating method(s) for this use case.
  232. Draw a sequence diagram showing just the communication between the userinterfaceobjectand the coordinatingobject(aOUCoord)for this scenario. You should assume that the user interface has already identified the relevant branch object.
  233. Draw an object diagram illustrating the relevant objects and the links for this scenario.
  234. a. Draw an object diagram illustrating the relevant objects and the links for this scenario.
  235. b. Draw a sequence diagram showing just the communication between the userinterfaceobjectand the coordinatingobject(aOUCoord)for this scenario. You should assume that the user interface has already identified the relevant branch object.
  236. d. On the basis of cascading design, construct a walk-through and a sequence diagram for this scenario.
  237. e. Write the corresponding core code of the sequence diagram you drew in part(d).
  238. State an invariant mentioned explicitly in the requirements document which cant be implemented on the class diagram.
  239. State an invariant mentioned explicitly in the requirements documentwhich cant be implemented on the class diagram.
  240. Give the class descriptions, including a brief comment for each class and attribute.
  241. Construct a class diagram including all class diagram entities (classes, multiplicities and associations) and including any generalization relationship if needed.
  242. Classify the conceptual classes identified in part (a) as tangible entity, role, event, organizational unit, or abstract entity.
  243. Identify the conceptual classes of the Arab Open Universitysystem, and then write their names according to UML conventions.
  244. e. State an invariant mentioned explicitly in the requirements documentwhich cant be implemented on the class diagram.
  245. class diagram including all class diagram entities (classes, multiplicities and associations) and including any generalization relationship if needed
  246. d. Give the class descriptions, including a brief comment for each class and attribute.
  247. c. Construct a class diagram including all class diagram entities (classes, multiplicities and associations) and including any generalization relationship if needed.
  248. b. Classify the conceptual classes identified in part (a) as tangible entity, role, event, organizational unit, or abstract entity.
  249. the conceptual classes of the Arab Open Universitysystem, and then write their names according to UML conventions
  250. The data held about a GCC includes current position, past position, detailed education.