11000010118 59 BEST Match the statement on the left to the o

11000010118 5-9 BEST Match the statement on the left to the one on the right 5. The memory 6. Object code 7. CPU 8. ALU 9. Source code A. Computer Language instructions 8. Combines Arithmetic logic unit and control unit C. Stores instructions and data D. The place where logic is evaluated among other things. E. A computer program F. The results of compiler operations on the source code G. G. Item on the left has no match on the right 10. Express in scientific notation to five digit accuracy? 35,767,890,003 .11. Express in scientific notation to 3 digit accuracy?. 0.0000003259555 12. Define a declaration statement in C++ for the following symbolic constant: charge on e1.602177 x 10 on e1.602177 x 1013 Coulomb 13. Write a single C++ statement for the following formula (use functions pow). and proper function. Height-GMxIn\') pow), and proper natural logarithnm +0.89x If double x,yz and x-3 and y = 8 assumed at the start of each of the following, evaluate them. 14, yN3 15. zx+1/(2x-y) 16 z (x, x+(x+y)) 14-16 A. Manipulator to display the decimal notation B. Manipulator to set columns number on output to number C. Flag for decimal notation D. Flag right justify output E. Manipulator to set number of significant digits to n F. Manipulator to display the decimal point G. Item on left has no match on the right 17-22 Match the item on the left with the meaning on the right. Just show LETTER answer. 17. ios::fixed 18. ios::left 19. showpoint 20. setprecision(n) 21. setw(n) 22. fixed 23. Write a single C++ statement for the following formula using appropriate C++ functions center = e-arcos(a)(r-arr-, assume variables defined 24. Translate the following C++ statement to the proper algebraic equation. U sqrt (5%\"h/(2+G/(m*pow(r,3)))); 25. What is the final value of z in the following program segments? double a(10.8),z; int n (3), y y=a/n ; zay+a;

Solution

5-9 ) Match the following :

5. The memory - b. Stores instructions and data // We use two kinds of memory RAM an ROM one is permanant menory and other is temporary memory to store the data and files

6. Object code - f. The results of compiler operations on the source code // In the object oriented programming , once the source code is compiled, a .class file is created which contains object code which is an intermediate output which is understood by the computer in 0s and 1s

7.CPU - b. Combines arthmetic logic unti and control unit // CPU consists of three units - ALU, control unti and the cache to store temporary answers

8.ALU- d. A place where logic is evaluated among the others // the name suggests - arithmetic and logical unit

9.Source code - a .Computer language instructions

10. given 35,767,890003 to five digit accuracy is 35768E6 or 35768*10^6 // we rounded off 767 and made it into 10 powers for scientific notation

11. given , 0.0000003259555 to five digit accuracy , 32595E-12 // similar to previous quesion

12. For the given formula ,

 11000010118 5-9 BEST Match the statement on the left to the one on the right 5. The memory 6. Object code 7. CPU 8. ALU 9. Source code A. Computer Language ins

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site