Advertisement
akosiraff

15 MCQ (TCO 7) Arguments and parameters must match in

Jun 27th, 2013
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/15-mcq-tco-7-arguments-and-parameters-must-match-in/
  3. 1 . (TCO 7) Arguments and parameters must match in _____. (Points : 4)
  4. data type
  5. numbers of parameters
  6. the order of parameters
  7. All of the above
  8. 2. (TCO 8) Which function prototype indicates that the parameter is passed by reference? (Points : 4)
  9. int myFunction( double &)
  10. int myFunction(double)
  11. int myFunction(double *)
  12. int myFunction(&)
  13. 3. (TCO 8) The process of passing a variable’s value to a function is called _____. (Points : 4)
  14. passing by reference
  15. passing by value
  16. localization
  17. globalization
  18. 4. (TCO 9) What type of menu first displays the main menu and then, based on the user’s selection, displays a submenu? (Points : 4)
  19. Single-level menu
  20. Multiple-level menu
  21. Step-level menu
  22. Sublevel menu
  23. 5. (TCO 9) What is not part of the menu valued selections process? (Points : 4)
  24. Input validation loop
  25. Including the default clause in the case structure
  26. State
  27. Use of an else clause
  28. 6. (TCO 9) A(n) _____ represents an entity in the real world that can be distinctly identified. (Points : 4)
  29. class
  30. function
  31. object
  32. method
  33. 7. (TCO 10) Bug errors are _____ errors. (Points : 4)
  34. logic
  35. syntax
  36. binary
  37. asp.net
  38. 8. (TCO 11) What is the value of the subscript for the first element of an array? (Points : 4)
  39. Undefined
  40. 1
  41. 0
  42. Determined by the declaration of the array
  43. 9. (TCO 11) Which of the following techniques can be used to process the elements of a single-dimensional array? (Points : 4)
  44. Selection structure
  45. Looping structure
  46. Sequence structure
  47. None of the above
  48. 10. (TCO 11) A three-row, four-column array has a total of how many elements? (Points : 4)
  49. Seven
  50. 12
  51. 16
  52. One
  53. 11. (TCO 12) Given the following array:
  54. int profit [5] = {10, 20, 31, 55, 66};
  55. The following statement would replace which value?
  56. profit [4] = profit[1] + 3; (Points : 4)
  57. 55 with 13
  58. 66 with 13
  59. 66 with 23
  60. 55 with 23
  61. 12. (TCO 12) In the variable initialization: char course [20] = Devry University, the character at course [2] will be _____. (Points : 4)
  62. D
  63. e
  64. v
  65. r
  66. a space
  67. 13. (TCO 13) Files to which data is written are known as _____. (Points : 4)
  68. output files
  69. input files
  70. active files
  71. sequential files
  72. 14. (TCO 13) Sometimes, a project will need to save data inputted by the user so it can be used again. This data stored will later be accessed from a _____. (Points : 4)
  73. program file
  74. project file
  75. data file
  76. user file
  77. 15. (TCO 13) When reading data from a sequential file, the data will be read _____. (Points : 4)
  78. in alphabetical order
  79. sorted from smallest to largest
  80. in key field order
  81. in the order in which it was written
  82.  
  83. Download: http://solutionzip.com/downloads/15-mcq-tco-7-arguments-and-parameters-must-match-in/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement