AnnKrepchenko

Untitled

Jul 21st, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.12 KB | None | 0 0
  1.  
  2.  
  3. TestQuestion.create(
  4. text: 'Which interface provides the capability to store objects using a key-value pair?',
  5. answer1: 'Java.util.Map',
  6. answer2: 'Java.util.Set',
  7. answer3: 'Java.util.List',
  8. answer4: 'Java.util.Collection',
  9. correct_answer: 1,
  10. skill: 'Java'
  11. )
  12.  
  13.  
  14. TestQuestion.create(
  15. text: 'Which of the following will not directly cause a thread to stop?',
  16. answer1: 'notify()',
  17. answer2: 'wait()',
  18. answer3: 'InputStream access',
  19. answer4: 'sleep()',
  20. correct_answer: 1,
  21. skill: 'Java'
  22. )
  23.  
  24. TestQuestion.create(
  25. text: 'Which class or interface defines the wait(), notify(),and notifyAll() methods?',
  26. answer1: 'Class',
  27. answer2: 'Thread',
  28. answer3: 'Runnable',
  29. answer4: 'Object',
  30. correct_answer: 4,
  31. skill: 'Java'
  32. )
  33.  
  34. TestQuestion.create(
  35. text: 'How many roles in Scrum Team?',
  36. answer1: '2',
  37. answer2: '3',
  38. answer3: '4',
  39. answer4: '4',
  40. correct_answer: 2,
  41. skill: 'Agile'
  42. )
  43.  
  44.  
  45. TestQuestion.create(
  46. text: ' What is an epic?',
  47. answer1: 'A customer described software feature that is itemized in the product backlog',
  48. answer2: 'Prepared parts which defines project or business functions, and it is delivered in a particular sprint as expected.',
  49. answer3: 'List of all desired features and is owned by the product owner',
  50. answer4: 'Prototypes and Wireframes',
  51. correct_answer: 1,
  52. skill: 'Agile'
  53. )
  54.  
  55. TestQuestion.create(
  56. text: 'Markup tags tell the web browser',
  57. answer1: 'How to organise the page',
  58. answer2: 'How to display the page',
  59. answer3: 'How to display message box on page',
  60. answer4: 'None of these',
  61. correct_answer: 2,
  62. skill: 'HTML'
  63. )
  64.  
  65. TestQuestion.create(
  66. text: 'The common element which describe the web page, is ?',
  67. answer1: 'heading',
  68. answer2: 'paragraph',
  69. answer3: 'list',
  70. answer4: 'All of these',
  71. correct_answer: 4,
  72. skill: 'HTML'
  73. )
  74.  
  75.  
  76.  
  77. TestQuestion.create(
  78. text: 'White spaces in XML includes',
  79. answer1: 'Things like space characters, new lines and tabs',
  80. answer2: 'Only spaces',
  81. answer3: 'Space between two double quotes',
  82. answer4: 'None of these',
  83. correct_answer: 3,
  84. skill: 'XML'
  85. )
  86.  
  87. TestQuestion.create(
  88. text: 'The tags elements in XML are',
  89. answer1: 'case-insensitive',
  90. answer2: 'case-sensitive',
  91. answer3: 'browser dependent',
  92. answer4: 'none of these',
  93. correct_answer: 2,
  94. skill: 'XML'
  95. )
  96.  
  97. TestQuestion.create(
  98. text: ' C++ encourages structuring.a software as a collection of components that are?',
  99. answer1: 'highly cohesive and loosely coupled',
  100. answer2: 'not highly cohesive but loosely coupled',
  101. answer3: 'highly cohesive and tightly coupled',
  102. answer4: 'not highly cohesive but tightly coupled',
  103. correct_answer: 1,
  104. skill: 'C++'
  105. )
  106.  
  107.  
  108. TestQuestion.create(
  109. text: 'C++ was originally developed by; ',
  110. answer1: 'Clocksin and Mellish',
  111. answer2: 'Donald E. Knuth',
  112. answer3: 'Sir Richard Hadlee',
  113. answer4: 'Bjame Stroustrup',
  114. correct_answer: 4,
  115. skill: 'C++'
  116. )
  117.  
  118. TestQuestion.create(
  119. text: 'Which one of the following is not true?',
  120. answer1: 'An interface can extend another interface.',
  121. answer2: 'A class which is implementing an interface must implement all the methods of the interface.',
  122. answer3: 'An interface can implement another interface.',
  123. answer4: 'An interface is a solution for multiple inheritance in java.',
  124. correct_answer: 3,
  125. skill: 'OOP'
  126. )
  127.  
  128. TestQuestion.create(
  129. text: 'Which one is the correct keyword for defining a constant in Swift?',
  130. answer1: 'const',
  131. answer2: 'final',
  132. answer3: 'def',
  133. answer4: 'let',
  134. correct_answer: 3,
  135. skill: 'Swift'
  136. )
  137.  
  138.  
  139. TestQuestion.create(
  140. text: 'You can add a row using SQL in a database with which of the following?',
  141. answer1: 'ADD',
  142. answer2: 'CREATE',
  143. answer3: 'INSERT',MAKEBjame Stroustrup',
  144. correct_answer: 3,
  145. skill: 'SQLite'
  146. )
  147.  
  148. TestQuestion.create(
  149. text: 'The HAVING clause does which of the following?',
  150. answer1: 'Acts like a WHERE clause but is used for groups rather than rows.',
  151. answer2: 'Acts like a WHERE clause but is used for rows rather than columns.',
  152. answer3: 'Acts like a WHERE clause but is used for columns rather than groups.',
  153. answer4: 'Acts EXACTLY like a WHERE clause.',
  154. correct_answer: 1,
  155. skill: 'SQLite'
  156. )
  157.  
  158. TestQuestion.create(
  159. text: 'Which one is the correct keyword for defining a constant in Swift?',
  160. answer1: 'const',
  161. answer2: 'final',
  162. answer3: 'def',
  163. answer4: 'let',
  164. correct_answer: 3,
  165. skill: 'Swift'
  166. )
  167.  
  168.  
  169. TestQuestion.create(
  170. text: 'What is Singleton?',
  171. answer1: 'Separates object construction from its representation',
  172. answer2: 'A class of which only a single instance can exist',
  173. answer3: 'A fully initialized instance to be copied or cloned',
  174. answer4: 'Match interfaces of different classes',
  175. correct_answer: 2,
  176. skill: 'Patterns'
  177. )
  178.  
  179. TestQuestion.create(
  180. text: 'What type of pattern belong Strategy to?',
  181. answer1: 'Creational',
  182. answer2: 'Anti',
  183. answer3: 'Structural',
  184. answer4: 'Behavioral',
  185. correct_answer: 4,
  186. skill: 'Patterns'
  187. )
  188.  
  189. TestQuestion.create(
  190. text: 'What is JSON?',
  191. answer1: 'JavaScript On Network',
  192. answer2: 'JavaScript Object Notation',
  193. answer3: 'Java Source Object Notation',
  194. answer4: 'Java Source On Network',
  195. correct_answer: 2,
  196. skill: 'JSON'
  197. )
  198.  
  199. TestQuestion.create(
  200. text: 'Which of the following process is given the name β€œsuper daemon” in Unix?',
  201. answer1: 'sysinit',
  202. answer2: 'init',
  203. answer3: 'inetd ',
  204. answer4: 'proc',
  205. correct_answer: 2,
  206. skill: 'Linux'
  207. )
Advertisement
Add Comment
Please, Sign In to add comment