Advertisement
here2share

MultipleChoiceQA.txt

Nov 29th, 2014
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A GUI:
  2. d.) Both a and b.
  3. a.) uses buttons, menus, and icons.
  4. b.) should be easy for a user to manipulate.
  5. c.) stands for Graphic Use Interaction.
  6. e.) All are correct.
  7.  
  8. What does IDE stand for?
  9. a.) Integrated Development Environment
  10. b.) Integrated Design Environmente
  11. c.) Immersive Development Environment
  12. d.) Immersive Debugging Environment
  13. e.) None are correct.
  14.  
  15. For which task does the IDE provide multiple ways to accomplish the task?
  16. e.) All are correct.
  17. a.) Putting a control on the form.
  18. b.) Running the program.
  19. c.) Activating the property window for a control.
  20. d.) Both a and b.
  21.  
  22. Which task is accomplished in the Code editor?
  23. c.) Adding event procedures to the form.
  24. a.) Adding forms to the project.
  25. b.) Adding controls to the form.
  26. d.) Both a and b.
  27. e.) All are correct.
  28.  
  29. Which is NOT a feature of a GUI that makes learning a program easy for users?
  30. d.) Commands
  31. a.) Online help
  32. b.) WYSIWYG formatting
  33. c.) Dialog boxes
  34. e.) Icons
  35.  
  36. Which of the following is correct about Python?
  37. e.) All are correct.
  38. a.) Python is a byte-code compiled programming language.
  39. b.) Python uses a virtual machine to run machine-abstracted instructions.
  40. c.) Python is an object-oriented language.
  41. d.) Python is a declarative programming language.
  42.  
  43. An object is composed of:
  44. e.) All are correct.
  45. a.) properties.
  46. b.) methods.
  47. c.) events.
  48. d.) Both a and b.
  49.  
  50. Which statement about objects is true?
  51. d.) One class can create many objects.
  52. a.) One object is used to create one class.
  53. b.) One class is used to create one object.
  54. c.) One object can create many classes.
  55. e.) There is no relationship between objects and classes.
  56.  
  57. The exit_key_handler property belongs to which object?
  58. b.) Form
  59. a.) Button
  60. c.) Label
  61. d.) TextBox
  62. e.) Timer
  63.  
  64. A click event procedure stud for the label control can be created by:
  65. e.) All are correct.
  66. a.) selecting the object and event from the code editor window's drop-down boxes.
  67. b.) typing the code in the code editor window.
  68. c.) by double clicking the control.
  69. d.) Both a and b.
  70.  
  71. In event-driven programming an event is generated by:
  72. e.) All are correct.
  73. a.) the system.
  74. b.) a user's action.
  75. c.) the program itself.
  76. d.) Both a and b.
  77.  
  78. The Tick event is found only in which object?
  79. e.) Timer
  80. a.) Form
  81. b.) Button
  82. c.) TextBox
  83. d.) Label
  84.  
  85. The Activated event is found only in which object?
  86. a.) Form
  87. b.) Button
  88. c.) TextBox
  89. d.) Label
  90. e.) Timer
  91.  
  92. The Rnd statement will generate a(n):
  93. e.) decimal value between 0.0 and up to 1.0, but NOT including 1.0.
  94. a.) decimal value between 0.01 and 1.00.
  95. b.) integer value between 0.01 and 1.00.
  96. c.) decimal value between 0.0 and 1.0.
  97. d.) integer value between 0.0 and 1.0.
  98.  
  99. Which is NOT an integer data type?
  100. a.) Single
  101. b.) Byte
  102. c.) Short
  103. d.) Integer
  104. e.) Long
  105.  
  106. Which is a numeric data type?
  107. d.) Both a and b.
  108. a.) Floating point
  109. b.) Integer
  110. c.) Boolean
  111. e.) All are correct.
  112.  
  113. The name of a constant:
  114. d.) does NOT have to begin with a letter and can be either upper or lower case.
  115. a.) must both begin with a letter and be all upper case.
  116. b.) does NOT have to begin with a letter but must be all upper case.
  117. c.) must begin with a letter but can be upper or lower case.
  118. e.) None are correct.
  119.  
  120. The left side of an assignment statement will hold:
  121. d.) Both a and b.
  122. a.) a variable.
  123. b.) an object property.
  124. c.) an expression.
  125. e.) All are correct.
  126.  
  127. The right side of an assignment statement will hold:
  128. c.) an expression.
  129. a.) a variable.
  130. b.) an object property.
  131. d.) Both a and b.
  132. e.) All are correct.
  133.  
  134. The Items property of a ComboBox:
  135. a.) is a collection of items.
  136. b.) is the same as the Items property of a ListBox.
  137. c.) contains methods and properties.
  138. d.) Both a and b.
  139. e.) All are correct.
  140.  
  141. A Loop is an iterative statement because it:
  142. b.) runs the same block of statements repeatedly.
  143. a.) selects a block of statements to run.
  144. c.) selects a block of statements and runs it repeatedly.
  145. d.) selects a block of statements and runs it a specified number of times.
  146. e.) All are correct.
  147.  
  148. An Exception is another name for a:
  149. c.) runtime error.
  150. a.) compile error.
  151. b.) logic error.
  152. d.) superficial error.
  153. e.) syntax error.
  154.  
  155. The methodology where code is broken into small, logical procedures is called:
  156. d.) modular programming.
  157. a.) event-driven programming.
  158. b.) functional programming.
  159. c.) granular programming.
  160. e.) procedural programming.
  161.  
  162. Why should a variable NOT be declared as a module variable?
  163. e.) All are correct.
  164. a.) It prevents a procedure from being self contained.
  165. b.) It makes it easier to document the code.
  166. c.) Local variable names can be reused in other procedures.
  167. d.) Both a and b.
  168.  
  169. Which method will arrange the elements of an array in alphabetical order?
  170. e.) Sorted
  171. a.) Arrange
  172. b.) Assemble
  173. c.) Order
  174. d.) Seq
  175.  
  176. Where is a single element of data stored?
  177. a.) Field
  178. b.) Record
  179. c.) Table
  180. d.) Both a and b.
  181. e.) All are correct.
  182.  
  183. Which of the following is part of an object?
  184. d.) Both a and b.
  185. a.) Methods
  186. b.) Properties
  187. c.) Instances
  188. e.) All are correct.
  189.  
  190. Properties are used to represent:
  191. c.) data.
  192. a.) actions.
  193. b.) classes.
  194. d.) events.
  195. e.) instances.
  196.  
  197. Methods are used to represent:
  198. a.) actions.
  199. b.) classes.
  200. c.) data.
  201. d.) events.
  202. e.) instances.
  203.  
  204. A method in a class is:
  205. d.) Both a and b.
  206. a.) a sub procedure.
  207. b.) a function.
  208. c.) an event.
  209. e.) All are correct.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement