studium 0.16.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of studium might be problematic. Click here for more details.

Files changed (887) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +3211 -0
  3. data/bin/ask_exam_question +7 -0
  4. data/bin/check_description_of_these_lectures +7 -0
  5. data/bin/curriculum_module_displayer +7 -0
  6. data/bin/cycle +7 -0
  7. data/bin/d10 +7 -0
  8. data/bin/d100 +7 -0
  9. data/bin/d15 +7 -0
  10. data/bin/d20 +7 -0
  11. data/bin/d25 +7 -0
  12. data/bin/d3 +7 -0
  13. data/bin/d30 +7 -0
  14. data/bin/d5 +7 -0
  15. data/bin/determine_curricula +7 -0
  16. data/bin/display_lecture_url +7 -0
  17. data/bin/exam_registration_at +7 -0
  18. data/bin/exam_statistics +7 -0
  19. data/bin/exams_per_month +9 -0
  20. data/bin/finished_exams_at_this_university +7 -0
  21. data/bin/flashcards +7 -0
  22. data/bin/from_curriculum_id_to_university +9 -0
  23. data/bin/location_to_this_exam_topic.rb +7 -0
  24. data/bin/mandatory_continuous_assessment +7 -0
  25. data/bin/mandatory_upcoming_courses +10 -0
  26. data/bin/n_ECTS +7 -0
  27. data/bin/n_exam_questions_already_answered +16 -0
  28. data/bin/nquestions +7 -0
  29. data/bin/nsolved +7 -0
  30. data/bin/open_last_exam_question_asked_file +7 -0
  31. data/bin/passed_exams +7 -0
  32. data/bin/passed_pr/303/274fungsimmanente_courses +7 -0
  33. data/bin/pdf_for +7 -0
  34. data/bin/random_exam_topic +7 -0
  35. data/bin/report_solved_topics +7 -0
  36. data/bin/return_n_ects_from_this_file +7 -0
  37. data/bin/return_n_questions_solved_in_total +7 -0
  38. data/bin/rti_conflict +7 -0
  39. data/bin/search_for_n_ects +7 -0
  40. data/bin/show_lectures_on_the_commandline +7 -0
  41. data/bin/show_passed_exams_having_this_grade +7 -0
  42. data/bin/show_themes +7 -0
  43. data/bin/solved +9 -0
  44. data/bin/solved_ects +7 -0
  45. data/bin/studienkennzahl +7 -0
  46. data/bin/studium +7 -0
  47. data/bin/studium_skeleton +7 -0
  48. data/bin/ufind +7 -0
  49. data/bin/upcoming_exams +7 -0
  50. data/bin/week_parser +7 -0
  51. data/doc/ECTS_CONSIDERATIONS/ECTS_CONSIDERATIONS.md +82 -0
  52. data/doc/HOW_TO_DETERMINE_WHICH_PART_IS_THE_QUESTION_AND_WHICH_PART_IS_THE_ANSWER/HOW_TO_DETERMINE_WHICH_PART_IS_THE_QUESTION_AND_WHICH_PART_IS_THE_ANSWER.md +44 -0
  53. data/doc/README.gen +3164 -0
  54. data/doc/SQL_database_specification/SQL_database_specification.md +46 -0
  55. data/doc/deprecated_components/deprecated_components.md +46 -0
  56. data/doc/documentation_for_the_file_lecture_information/documentation_for_the_file_lecture_information.md +311 -0
  57. data/doc/elegant_colours/elegant_colours.md +21 -0
  58. data/doc/statistics/yearly_statistics.md +8 -0
  59. data/doc/todo/todo_for_the_graphical_parts_of_the_studium_gem_including_www_related_aspects.md +92 -0
  60. data/doc/todo/todo_for_the_studium_gem.md +55 -0
  61. data/img/STUDIES.png +0 -0
  62. data/lib/studium/autoinclude.rb +7 -0
  63. data/lib/studium/base/base.rb +3229 -0
  64. data/lib/studium/base/colours.rb +246 -0
  65. data/lib/studium/base/commandline_arguments_module/commandline_arguments_module.rb +115 -0
  66. data/lib/studium/base/prototype/prototype.rb +230 -0
  67. data/lib/studium/base/runmode_module/runmode_module.rb +103 -0
  68. data/lib/studium/c/README.md +2 -0
  69. data/lib/studium/c/a.out +0 -0
  70. data/lib/studium/c/obtain_random_entry.c +11 -0
  71. data/lib/studium/check_and_sanitize/README.md +15 -0
  72. data/lib/studium/check_and_sanitize/check_curriculum_for_correct_separation_of_bachelor_and_master.rb +141 -0
  73. data/lib/studium/check_and_sanitize/check_for_all_exam_topics_being_registered.rb +118 -0
  74. data/lib/studium/check_and_sanitize/check_for_correct_themes_of_each_course.rb +100 -0
  75. data/lib/studium/check_and_sanitize/check_for_existing_description_of_this_lecture.rb +194 -0
  76. data/lib/studium/check_and_sanitize/check_important_exams.rb +132 -0
  77. data/lib/studium/check_and_sanitize/check_the_lecture_information_file.rb +166 -0
  78. data/lib/studium/check_and_sanitize/find_duplicate_lectures.rb +124 -0
  79. data/lib/studium/check_and_sanitize/missing_priority_entry.rb +44 -0
  80. data/lib/studium/check_and_sanitize/sanitize_lecture_information.rb +427 -0
  81. data/lib/studium/check_and_sanitize/sanitize_this_string_containing_the_lva_dates.rb +79 -0
  82. data/lib/studium/colours/colours.rb +587 -0
  83. data/lib/studium/colours/sfancy.rb +49 -0
  84. data/lib/studium/colours/sfile.rb +39 -0
  85. data/lib/studium/colours/simp.rb +40 -0
  86. data/lib/studium/colours/use_colours.rb +39 -0
  87. data/lib/studium/colours/use_this_colour_for_exam_questions_and_exam_answers.rb +80 -0
  88. data/lib/studium/commandline/commandline.rb +1839 -0
  89. data/lib/studium/constants/colours.rb +16 -0
  90. data/lib/studium/constants/constants.rb +533 -0
  91. data/lib/studium/constants/curricula_related_constants.rb +504 -0
  92. data/lib/studium/constants/exam_topics.rb +156 -0
  93. data/lib/studium/constants/file_lecture_information.rb +55 -0
  94. data/lib/studium/constants/image_constants.rb +272 -0
  95. data/lib/studium/constants/regexes.rb +58 -0
  96. data/lib/studium/constants/roebe_specific_constants.rb +216 -0
  97. data/lib/studium/constants/standalone_constants.rb +372 -0
  98. data/lib/studium/constants/web_constants.rb +28 -0
  99. data/lib/studium/css/project.css +267 -0
  100. data/lib/studium/curricula/attribute_lecture_to_curriculum/attribute_boku_lecture_to_curriculum.rb +384 -0
  101. data/lib/studium/curricula/attribute_lecture_to_curriculum/attribute_lecture_to_curriculum.rb +238 -0
  102. data/lib/studium/curricula/curricula_from_this_website/curricula_from_this_website.rb +141 -0
  103. data/lib/studium/curricula/curriculum.rb +213 -0
  104. data/lib/studium/curricula/curriculum_as_string.rb +280 -0
  105. data/lib/studium/curricula/curriculum_module_displayer/constants.rb +33 -0
  106. data/lib/studium/curricula/curriculum_module_displayer/curriculum_module_displayer.rb +417 -0
  107. data/lib/studium/curricula/curriculum_module_displayer/initialize.rb +25 -0
  108. data/lib/studium/curricula/curriculum_module_displayer/menu.rb +45 -0
  109. data/lib/studium/curricula/curriculum_module_displayer/reset.rb +74 -0
  110. data/lib/studium/curricula/curriculum_module_displayer/run.rb +20 -0
  111. data/lib/studium/curricula/curriculum_module_displayer/set_use_this_curriculum.rb +93 -0
  112. data/lib/studium/curricula/curriculum_module_displayer/show_and_report.rb +190 -0
  113. data/lib/studium/curricula/determine_curricula/constants.rb +11 -0
  114. data/lib/studium/curricula/determine_curricula/determine_curricula.rb +36 -0
  115. data/lib/studium/curricula/determine_curricula/help.rb +39 -0
  116. data/lib/studium/curricula/determine_curricula/initialize.rb +48 -0
  117. data/lib/studium/curricula/determine_curricula/menu.rb +151 -0
  118. data/lib/studium/curricula/determine_curricula/misc.rb +403 -0
  119. data/lib/studium/curricula/determine_curricula/report.rb +143 -0
  120. data/lib/studium/curricula/determine_curricula/reset.rb +59 -0
  121. data/lib/studium/curricula/determine_curricula/run.rb +19 -0
  122. data/lib/studium/curricula/determine_elective_courses_in_this_curriculum.rb +112 -0
  123. data/lib/studium/curricula/display_bachelor_curricula.rb +90 -0
  124. data/lib/studium/curricula/handle_curricula/README.md +9 -0
  125. data/lib/studium/curricula/handle_curricula/handle_curricula.rb +100 -0
  126. data/lib/studium/curricula/handle_curricula/misc.rb +798 -0
  127. data/lib/studium/curricula/mitteilungsbl/303/244tter/mitteilungsbl/303/244tter.rb +323 -0
  128. data/lib/studium/curricula/modules/display_on_the_commandline.rb +319 -0
  129. data/lib/studium/curricula/modules/return_n_ects_in_this_module.rb +75 -0
  130. data/lib/studium/curricula/n_percent_solved_in_this_curriculum.rb +75 -0
  131. data/lib/studium/curricula/prepare_individual_curriculum.rb +304 -0
  132. data/lib/studium/curricula/random_curriculum_creator/random_curriculum_creator.rb +164 -0
  133. data/lib/studium/curricula/show_all_unfinished_courses_of_this_curriculum/show_all_unfinished_courses_of_this_curriculum.rb +116 -0
  134. data/lib/studium/curricula/show_lectures_of_this_curriculum.rb +114 -0
  135. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/show_lectures_of_this_curriculum_id.rb +554 -0
  136. data/lib/studium/curricula/show_solved_percentage_among_the_registered_curricula.rb +87 -0
  137. data/lib/studium/curricula/sorted_individual_curricula.rb +121 -0
  138. data/lib/studium/ects/boku_ects_splitter.rb +128 -0
  139. data/lib/studium/ects/ects_per_university/ects_per_university.rb +179 -0
  140. data/lib/studium/ects/ects_scanner.rb +141 -0
  141. data/lib/studium/ects/ects_to_university_parser.rb +142 -0
  142. data/lib/studium/ects/last_entry_is_curriculum.rb +150 -0
  143. data/lib/studium/ects/n_ects_in_these_lectures.rb +196 -0
  144. data/lib/studium/ects/n_ects_points_in_mandatory_presence_courses.rb +50 -0
  145. data/lib/studium/ects/return_n_ects_from_this_file.rb +59 -0
  146. data/lib/studium/ects/return_n_ects_from_this_url.rb +197 -0
  147. data/lib/studium/ects/search_for_n_ects/OLD_search_for_n_ects.rb +0 -0
  148. data/lib/studium/ects/search_for_n_ects/search_for_n_ects.rb +719 -0
  149. data/lib/studium/ects/show_completed_ects_in_all_curricula.rb +232 -0
  150. data/lib/studium/ects/show_passed_credits_per_curriculum.rb +276 -0
  151. data/lib/studium/ects/simple_total_ects_points.rb +135 -0
  152. data/lib/studium/ects/solved_ects/constants.rb +19 -0
  153. data/lib/studium/ects/solved_ects/reset.rb +51 -0
  154. data/lib/studium/ects/solved_ects/solved_ects.rb +325 -0
  155. data/lib/studium/ects/solved_ects_per_university/reset.rb +25 -0
  156. data/lib/studium/ects/solved_ects_per_university/solved_ects_per_university.rb +106 -0
  157. data/lib/studium/ects/still_missing.rb +129 -0
  158. data/lib/studium/ects/sum_of_ects.rb +144 -0
  159. data/lib/studium/encoding/encoding.rb +109 -0
  160. data/lib/studium/exam_topics/RNAi_siRNA_and_miRNA +100 -0
  161. data/lib/studium/exam_topics/abfall_als_ressource +86 -0
  162. data/lib/studium/exam_topics/advanced_biochemistry +927 -0
  163. data/lib/studium/exam_topics/advanced_biotechnology +234 -0
  164. data/lib/studium/exam_topics/advanced_cellbiology +219 -0
  165. data/lib/studium/exam_topics/advanced_chemistry +527 -0
  166. data/lib/studium/exam_topics/advanced_immunology +152 -0
  167. data/lib/studium/exam_topics/advanced_microbiology +44 -0
  168. data/lib/studium/exam_topics/advanced_topics_in_plant_sciences +109 -0
  169. data/lib/studium/exam_topics/advanced_virology +245 -0
  170. data/lib/studium/exam_topics/ageing +153 -0
  171. data/lib/studium/exam_topics/agrar_ecology +67 -0
  172. data/lib/studium/exam_topics/agrarmarkt +73 -0
  173. data/lib/studium/exam_topics/agrarphysik +35 -0
  174. data/lib/studium/exam_topics/alcohols +31 -0
  175. data/lib/studium/exam_topics/algorithms +77 -0
  176. data/lib/studium/exam_topics/allergie +76 -0
  177. data/lib/studium/exam_topics/allgemeine_genetik +1006 -0
  178. data/lib/studium/exam_topics/allgemeine_mikrobiologie +1008 -0
  179. data/lib/studium/exam_topics/aminoacids +464 -0
  180. data/lib/studium/exam_topics/analytische_chemie_1 +133 -0
  181. data/lib/studium/exam_topics/analytische_chemie_2 +31 -0
  182. data/lib/studium/exam_topics/anatomie +295 -0
  183. data/lib/studium/exam_topics/anorganische_chemie +350 -0
  184. data/lib/studium/exam_topics/anthropologie +138 -0
  185. data/lib/studium/exam_topics/antibodies_and_antigens +791 -0
  186. data/lib/studium/exam_topics/apoptosis +35 -0
  187. data/lib/studium/exam_topics/archaea +112 -0
  188. data/lib/studium/exam_topics/archaeo_viruses +7 -0
  189. data/lib/studium/exam_topics/architecture +8 -0
  190. data/lib/studium/exam_topics/artificial_intelligence +89 -0
  191. data/lib/studium/exam_topics/atomemissionsspektrometrie +6 -0
  192. data/lib/studium/exam_topics/audio +11 -0
  193. data/lib/studium/exam_topics/bacteriophages +266 -0
  194. data/lib/studium/exam_topics/basic_biochemistry +1008 -0
  195. data/lib/studium/exam_topics/basic_biotechnology +1011 -0
  196. data/lib/studium/exam_topics/basic_chemistry +1007 -0
  197. data/lib/studium/exam_topics/basic_virology +1007 -0
  198. data/lib/studium/exam_topics/bauwesen +6 -0
  199. data/lib/studium/exam_topics/betriebssysteme +128 -0
  200. data/lib/studium/exam_topics/betriebswirtschaftslehre +29 -0
  201. data/lib/studium/exam_topics/bioanalytik_und_biosensoren +391 -0
  202. data/lib/studium/exam_topics/biochips +79 -0
  203. data/lib/studium/exam_topics/bioelektrochemie +57 -0
  204. data/lib/studium/exam_topics/biofilms +54 -0
  205. data/lib/studium/exam_topics/bioinformatics +511 -0
  206. data/lib/studium/exam_topics/biological_therapeutics +156 -0
  207. data/lib/studium/exam_topics/biologie +149 -0
  208. data/lib/studium/exam_topics/biomarkers +137 -0
  209. data/lib/studium/exam_topics/biomaterials +90 -0
  210. data/lib/studium/exam_topics/biomembranes +6 -0
  211. data/lib/studium/exam_topics/bionik +65 -0
  212. data/lib/studium/exam_topics/biophysik +34 -0
  213. data/lib/studium/exam_topics/biopolymers +10 -0
  214. data/lib/studium/exam_topics/bioprozesstechnik +149 -0
  215. data/lib/studium/exam_topics/bioressourcenmanagement +78 -0
  216. data/lib/studium/exam_topics/birds +5 -0
  217. data/lib/studium/exam_topics/bodenkunde +384 -0
  218. data/lib/studium/exam_topics/bodenmikrobiologie +40 -0
  219. data/lib/studium/exam_topics/cancerbiology +484 -0
  220. data/lib/studium/exam_topics/cell_cultures +229 -0
  221. data/lib/studium/exam_topics/cellbiology +1011 -0
  222. data/lib/studium/exam_topics/cellular_transport_and_protein_secretion +27 -0
  223. data/lib/studium/exam_topics/cellular_vesicles +11 -0
  224. data/lib/studium/exam_topics/cellulose +6 -0
  225. data/lib/studium/exam_topics/chemische_technologie_anorganischer_stoffe +209 -0
  226. data/lib/studium/exam_topics/chemische_technologie_organischer_stoffe +25 -0
  227. data/lib/studium/exam_topics/chemisches_labor +60 -0
  228. data/lib/studium/exam_topics/chemokines_and_cytokines +45 -0
  229. data/lib/studium/exam_topics/chemotaxis_quorum_sensing_and_motility_in_prokaryotes +116 -0
  230. data/lib/studium/exam_topics/citric_acid_cycle +84 -0
  231. data/lib/studium/exam_topics/clinical_microbiology +516 -0
  232. data/lib/studium/exam_topics/computer_science +308 -0
  233. data/lib/studium/exam_topics/computer_vision_and_computer_graphics +13 -0
  234. data/lib/studium/exam_topics/crispr +51 -0
  235. data/lib/studium/exam_topics/cyanobacteria +44 -0
  236. data/lib/studium/exam_topics/cytogenetics_and_chromosome_biology +579 -0
  237. data/lib/studium/exam_topics/databases_and_sql +126 -0
  238. data/lib/studium/exam_topics/dna_mutation_and_dna_repair +70 -0
  239. data/lib/studium/exam_topics/dna_replication +67 -0
  240. data/lib/studium/exam_topics/ecogenetics +26 -0
  241. data/lib/studium/exam_topics/ecological_agriculture +12 -0
  242. data/lib/studium/exam_topics/ecology +330 -0
  243. data/lib/studium/exam_topics/economy +218 -0
  244. data/lib/studium/exam_topics/electron_microscopy +7 -0
  245. data/lib/studium/exam_topics/elektronenmikroskopie +356 -0
  246. data/lib/studium/exam_topics/elektrophorese +132 -0
  247. data/lib/studium/exam_topics/elektrotechnik_und_elektrizit/303/244t +42 -0
  248. data/lib/studium/exam_topics/elisa +55 -0
  249. data/lib/studium/exam_topics/embryologie_und_entwicklung +650 -0
  250. data/lib/studium/exam_topics/endospores_and_spores +104 -0
  251. data/lib/studium/exam_topics/enzymes_and_cofactors +393 -0
  252. data/lib/studium/exam_topics/epigenetik +187 -0
  253. data/lib/studium/exam_topics/erste_hilfe +174 -0
  254. data/lib/studium/exam_topics/ethik +143 -0
  255. data/lib/studium/exam_topics/evolution_and_evolutionary_genetics +367 -0
  256. data/lib/studium/exam_topics/excel +7 -0
  257. data/lib/studium/exam_topics/fish +19 -0
  258. data/lib/studium/exam_topics/fluorescence_microscopy +10 -0
  259. data/lib/studium/exam_topics/food_microbiology_and_food_biotechnology +92 -0
  260. data/lib/studium/exam_topics/forensik +11 -0
  261. data/lib/studium/exam_topics/forstwirtschaft +53 -0
  262. data/lib/studium/exam_topics/fortgeschrittene_genetik +643 -0
  263. data/lib/studium/exam_topics/fortgeschrittene_gentechnik +218 -0
  264. data/lib/studium/exam_topics/fortgeschrittene_physik +6 -0
  265. data/lib/studium/exam_topics/fungi +119 -0
  266. data/lib/studium/exam_topics/genetische_krankheiten +198 -0
  267. data/lib/studium/exam_topics/genexpression +1008 -0
  268. data/lib/studium/exam_topics/genomics_and_metagenomics +280 -0
  269. data/lib/studium/exam_topics/gentechnik_und_praktische_biochemie +954 -0
  270. data/lib/studium/exam_topics/geochemistry +67 -0
  271. data/lib/studium/exam_topics/geography +9 -0
  272. data/lib/studium/exam_topics/geologie_und_mineralogie +624 -0
  273. data/lib/studium/exam_topics/geometrie +56 -0
  274. data/lib/studium/exam_topics/geschichte +95 -0
  275. data/lib/studium/exam_topics/gluconeogenesis +72 -0
  276. data/lib/studium/exam_topics/glycogen +45 -0
  277. data/lib/studium/exam_topics/glycolysis +118 -0
  278. data/lib/studium/exam_topics/glykomik +121 -0
  279. data/lib/studium/exam_topics/glyoxylatzyklus +31 -0
  280. data/lib/studium/exam_topics/grassland_cultivation +32 -0
  281. data/lib/studium/exam_topics/hormone +148 -0
  282. data/lib/studium/exam_topics/html +8 -0
  283. data/lib/studium/exam_topics/human_ecology +8 -0
  284. data/lib/studium/exam_topics/hygiene +224 -0
  285. data/lib/studium/exam_topics/imaging_and_microscopy +267 -0
  286. data/lib/studium/exam_topics/immunanalytik +94 -0
  287. data/lib/studium/exam_topics/immunologie +1011 -0
  288. data/lib/studium/exam_topics/informatik +117 -0
  289. data/lib/studium/exam_topics/innate_immunity +42 -0
  290. data/lib/studium/exam_topics/insekten +64 -0
  291. data/lib/studium/exam_topics/insulin_and_diabetes +57 -0
  292. data/lib/studium/exam_topics/java +618 -0
  293. data/lib/studium/exam_topics/javascript +20 -0
  294. data/lib/studium/exam_topics/klima +6 -0
  295. data/lib/studium/exam_topics/kryptographie +9 -0
  296. data/lib/studium/exam_topics/landtechnik +26 -0
  297. data/lib/studium/exam_topics/lebensmittel_und_getr/303/244nke +223 -0
  298. data/lib/studium/exam_topics/lebensmitteltechnologie +16 -0
  299. data/lib/studium/exam_topics/light_microscopy +19 -0
  300. data/lib/studium/exam_topics/linux_and_unix +36 -0
  301. data/lib/studium/exam_topics/lipids +141 -0
  302. data/lib/studium/exam_topics/macroeconomics +39 -0
  303. data/lib/studium/exam_topics/marketing +7 -0
  304. data/lib/studium/exam_topics/mathematics +297 -0
  305. data/lib/studium/exam_topics/medizin_und_biomedizinische_technik +254 -0
  306. data/lib/studium/exam_topics/medizinische_chemie_und_pharmazie +437 -0
  307. data/lib/studium/exam_topics/messtechnik_und_regeltechnik +104 -0
  308. data/lib/studium/exam_topics/metabolismus +478 -0
  309. data/lib/studium/exam_topics/meteorologie_und_atmosph/303/244re +120 -0
  310. data/lib/studium/exam_topics/microbial_ecology +36 -0
  311. data/lib/studium/exam_topics/microcontrollers +11 -0
  312. data/lib/studium/exam_topics/mikrobielle_lebensgemeinschaften +54 -0
  313. data/lib/studium/exam_topics/mikrobielle_physiologie +285 -0
  314. data/lib/studium/exam_topics/mitochondria +40 -0
  315. data/lib/studium/exam_topics/mixed +287 -0
  316. data/lib/studium/exam_topics/molecular_biology_of_plants +272 -0
  317. data/lib/studium/exam_topics/molekulare_medizin +133 -0
  318. data/lib/studium/exam_topics/nanotechnologie +453 -0
  319. data/lib/studium/exam_topics/nature_conservation_and_biodiversity +244 -0
  320. data/lib/studium/exam_topics/naturstoffe +9 -0
  321. data/lib/studium/exam_topics/netzwerke +63 -0
  322. data/lib/studium/exam_topics/neurobiology +307 -0
  323. data/lib/studium/exam_topics/nucleotide_sequencing +41 -0
  324. data/lib/studium/exam_topics/nutztierethologie +11 -0
  325. data/lib/studium/exam_topics/object_oriented_modeling +14 -0
  326. data/lib/studium/exam_topics/obstbau +249 -0
  327. data/lib/studium/exam_topics/organische_chemie +1007 -0
  328. data/lib/studium/exam_topics/organische_chemie_2 +136 -0
  329. data/lib/studium/exam_topics/paleobiology +39 -0
  330. data/lib/studium/exam_topics/parasitic_diseases_and_molecular_infection_biology +336 -0
  331. data/lib/studium/exam_topics/patent_law +55 -0
  332. data/lib/studium/exam_topics/pathologie +731 -0
  333. data/lib/studium/exam_topics/pcr +155 -0
  334. data/lib/studium/exam_topics/pentosephosphatweg +61 -0
  335. data/lib/studium/exam_topics/peroxisomes_glycosomes_and_lysosomes +66 -0
  336. data/lib/studium/exam_topics/pflanzenanatomie +261 -0
  337. data/lib/studium/exam_topics/pflanzenbau +24 -0
  338. data/lib/studium/exam_topics/pflanzenschutz +35 -0
  339. data/lib/studium/exam_topics/pflanzenwissenschaften +1009 -0
  340. data/lib/studium/exam_topics/pharmaceutical_biotechnology +251 -0
  341. data/lib/studium/exam_topics/physik +446 -1
  342. data/lib/studium/exam_topics/physikalische_chemie +79 -0
  343. data/lib/studium/exam_topics/physiology_and_histology +536 -0
  344. data/lib/studium/exam_topics/phytochemie +33 -0
  345. data/lib/studium/exam_topics/plant_biotechnology +131 -0
  346. data/lib/studium/exam_topics/plant_breeding +64 -0
  347. data/lib/studium/exam_topics/plant_development +50 -0
  348. data/lib/studium/exam_topics/populationsgenetik +138 -0
  349. data/lib/studium/exam_topics/posttranslationale_modifikation_von_proteinen +197 -0
  350. data/lib/studium/exam_topics/projektmanagement +220 -0
  351. data/lib/studium/exam_topics/prokaryote_genetics +562 -0
  352. data/lib/studium/exam_topics/protein_engineering +35 -0
  353. data/lib/studium/exam_topics/proteolyse +38 -0
  354. data/lib/studium/exam_topics/proteomik +41 -0
  355. data/lib/studium/exam_topics/protozoans +24 -0
  356. data/lib/studium/exam_topics/prozesstechnik +95 -0
  357. data/lib/studium/exam_topics/psychologie +18 -0
  358. data/lib/studium/exam_topics/python +372 -0
  359. data/lib/studium/exam_topics/quality_management +266 -0
  360. data/lib/studium/exam_topics/rechtsgrundlagen +123 -0
  361. data/lib/studium/exam_topics/research_topics_in_immunobiology +42 -0
  362. data/lib/studium/exam_topics/rna_and_dna +519 -0
  363. data/lib/studium/exam_topics/rna_seq +13 -0
  364. data/lib/studium/exam_topics/robotics +12 -0
  365. data/lib/studium/exam_topics/ruby +238 -0
  366. data/lib/studium/exam_topics/ruby_on_rails +63 -0
  367. data/lib/studium/exam_topics/scientific_writing_and_publishing +38 -0
  368. data/lib/studium/exam_topics/semisynthese_von_proteinen_und_nukleotiden +120 -0
  369. data/lib/studium/exam_topics/sexualbiologie +183 -0
  370. data/lib/studium/exam_topics/signal_transduction_and_laser_systems +212 -0
  371. data/lib/studium/exam_topics/sozialbiologie +9 -0
  372. data/lib/studium/exam_topics/splicing_exons_and_introns +65 -0
  373. data/lib/studium/exam_topics/statistik +268 -0
  374. data/lib/studium/exam_topics/stemcells +181 -0
  375. data/lib/studium/exam_topics/stickstofffixierung +91 -0
  376. data/lib/studium/exam_topics/structural_bioinformatics +54 -0
  377. data/lib/studium/exam_topics/strukturbiologie +423 -0
  378. data/lib/studium/exam_topics/system_biology_and_synthetic_biology +108 -0
  379. data/lib/studium/exam_topics/systematische_zoologie +439 -0
  380. data/lib/studium/exam_topics/technical_ecology +144 -0
  381. data/lib/studium/exam_topics/technische_chemie +208 -0
  382. data/lib/studium/exam_topics/technische_grundlagen_der_informatik +39 -0
  383. data/lib/studium/exam_topics/technische_mikrobiologie +393 -0
  384. data/lib/studium/exam_topics/technisches_zeichnen +5 -0
  385. data/lib/studium/exam_topics/the_bacterial_cell_wall +98 -0
  386. data/lib/studium/exam_topics/the_c_plus_plus_programming_language +531 -0
  387. data/lib/studium/exam_topics/the_c_programming_language +133 -0
  388. data/lib/studium/exam_topics/the_cellcycle +98 -0
  389. data/lib/studium/exam_topics/the_european_union +121 -0
  390. data/lib/studium/exam_topics/the_interferon_system +39 -0
  391. data/lib/studium/exam_topics/the_microbiome +164 -0
  392. data/lib/studium/exam_topics/the_universe +31 -0
  393. data/lib/studium/exam_topics/theoretische_chemie +5 -0
  394. data/lib/studium/exam_topics/theoretische_informatik +161 -0
  395. data/lib/studium/exam_topics/thermodynamics +21 -0
  396. data/lib/studium/exam_topics/tierzucht +139 -0
  397. data/lib/studium/exam_topics/toxikologie +453 -0
  398. data/lib/studium/exam_topics/transcription +185 -0
  399. data/lib/studium/exam_topics/translation_ribosomes_and_translational_control +154 -0
  400. data/lib/studium/exam_topics/umweltbiotechnologie +64 -0
  401. data/lib/studium/exam_topics/umweltchemie +233 -0
  402. data/lib/studium/exam_topics/urbanism_and_traffic +19 -0
  403. data/lib/studium/exam_topics/urea_cycle +56 -0
  404. data/lib/studium/exam_topics/vaccines_and_vaccination +250 -0
  405. data/lib/studium/exam_topics/vectors_and_gene_therapy +247 -0
  406. data/lib/studium/exam_topics/verfahrenstechnik +37 -0
  407. data/lib/studium/exam_topics/verhaltensbiologie +56 -0
  408. data/lib/studium/exam_topics/veterinary_medicine +10 -0
  409. data/lib/studium/exam_topics/vitamine +32 -0
  410. data/lib/studium/exam_topics/wasserkunde +138 -0
  411. data/lib/studium/exam_topics/weinbau +86 -0
  412. data/lib/studium/exam_topics/wissenschaft +20 -0
  413. data/lib/studium/exam_topics/yeast +104 -0
  414. data/lib/studium/exam_topics/zoologie +334 -0
  415. data/lib/studium/exams/afterburn/afterburn.rb +304 -0
  416. data/lib/studium/exams/ask_exam_from_the_upcoming_exams_pool.rb +150 -0
  417. data/lib/studium/exams/ask_exam_question/ask_exam_question.rb +2757 -0
  418. data/lib/studium/exams/ask_exam_topic_question.rb +112 -0
  419. data/lib/studium/exams/ask_question_from_alias.rb +141 -0
  420. data/lib/studium/exams/ask_question_from_any_of_the_still_missing_lectures.rb +130 -0
  421. data/lib/studium/exams/ask_question_from_grouped_themes.rb +141 -0
  422. data/lib/studium/exams/ask_question_from_last_topic.rb +91 -0
  423. data/lib/studium/exams/ask_random_question.rb +195 -0
  424. data/lib/studium/exams/autoinclude.rb +7 -0
  425. data/lib/studium/exams/average_grade/average_grade.rb +402 -0
  426. data/lib/studium/exams/csv/create_csv_passed_exams_file.rb +217 -0
  427. data/lib/studium/exams/cycle.rb +291 -0
  428. data/lib/studium/exams/dataset/dataset.rb +128 -0
  429. data/lib/studium/exams/designate_ten_random_exam_topics/designate_ten_random_exam_topics.rb +88 -0
  430. data/lib/studium/exams/exam/exam.rb +130 -0
  431. data/lib/studium/exams/exam_bubble/exam_bubble.rb +445 -0
  432. data/lib/studium/exams/exam_bubble/menu_for_the_main_loop.rb +111 -0
  433. data/lib/studium/exams/exam_question/README.md +3 -0
  434. data/lib/studium/exams/exam_question/exam_question.rb +427 -0
  435. data/lib/studium/exams/exam_registration_at/constants.rb +49 -0
  436. data/lib/studium/exams/exam_registration_at/exam_registration_at.rb +242 -0
  437. data/lib/studium/exams/exam_registration_at/help.rb +46 -0
  438. data/lib/studium/exams/exam_registration_at/menu.rb +81 -0
  439. data/lib/studium/exams/exam_registration_at/report_and_show.rb +133 -0
  440. data/lib/studium/exams/exam_registration_at/reset.rb +54 -0
  441. data/lib/studium/exams/exam_statistics_from_this_file/exam_statistics_from_this_file.rb +119 -0
  442. data/lib/studium/exams/exam_topics.rb +194 -0
  443. data/lib/studium/exams/exams.rb +20 -0
  444. data/lib/studium/exams/exams_per_month/exams_per_month.rb +2429 -0
  445. data/lib/studium/exams/exams_this_week.rb +182 -0
  446. data/lib/studium/exams/fix_exam_dates.rb +121 -0
  447. data/lib/studium/exams/frozen.rb +36 -0
  448. data/lib/studium/exams/last_exams/last_exams.rb +398 -0
  449. data/lib/studium/exams/lectures_without_exam_entry.rb +137 -0
  450. data/lib/studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb +1359 -0
  451. data/lib/studium/exams/move_all_unsolved_exam_questions_to_the_top_of_the_file.rb +173 -0
  452. data/lib/studium/exams/move_the_last_exam_question_to_the_top_of_the_file/move_the_last_exam_question_to_the_top_of_the_file.rb +111 -0
  453. data/lib/studium/exams/n_exams_in_these_topics.rb +477 -0
  454. data/lib/studium/exams/next_exam.rb +107 -0
  455. data/lib/studium/exams/next_exams.rb +378 -0
  456. data/lib/studium/exams/open_exam_associated_url/open_exam_associated_url.rb +154 -0
  457. data/lib/studium/exams/open_last_exam_question_asked_file/constants.rb +15 -0
  458. data/lib/studium/exams/open_last_exam_question_asked_file/initialize.rb +29 -0
  459. data/lib/studium/exams/open_last_exam_question_asked_file/open_last_exam_question_asked_file.rb +110 -0
  460. data/lib/studium/exams/push_solved_questions_on_top.rb +180 -0
  461. data/lib/studium/exams/questions_solved_from_day_to_day/questions_solved_from_day_to_day.rb +374 -0
  462. data/lib/studium/exams/remote_ftp_url.rb +52 -0
  463. data/lib/studium/exams/repeat_last_question.rb +78 -0
  464. data/lib/studium/exams/report_total_amount_of_questions_and_answers_for.rb +116 -0
  465. data/lib/studium/exams/show_all_passed_exams_of_this_university.rb +252 -0
  466. data/lib/studium/exams/show_backlog_of_exams/show_backlog_of_exams.rb +116 -0
  467. data/lib/studium/exams/show_next_exams_for.rb +133 -0
  468. data/lib/studium/exams/show_themes/constants.rb +28 -0
  469. data/lib/studium/exams/show_themes/menu.rb +61 -0
  470. data/lib/studium/exams/show_themes/misc.rb +537 -0
  471. data/lib/studium/exams/show_themes/reset.rb +62 -0
  472. data/lib/studium/exams/show_themes/show_themes.rb +27 -0
  473. data/lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb +1375 -0
  474. data/lib/studium/exams/solve_all_questions_from_this_topic.rb +114 -0
  475. data/lib/studium/exams/solved/constants.rb +32 -0
  476. data/lib/studium/exams/solved/help.rb +24 -0
  477. data/lib/studium/exams/solved/initialize.rb +55 -0
  478. data/lib/studium/exams/solved/menu.rb +41 -0
  479. data/lib/studium/exams/solved/reset.rb +28 -0
  480. data/lib/studium/exams/solved/solved.rb +326 -0
  481. data/lib/studium/exams/timetable/constants.rb +142 -0
  482. data/lib/studium/exams/timetable/timetable.rb +450 -0
  483. data/lib/studium/exams/unsolve_all_questions_from_this_topic.rb +163 -0
  484. data/lib/studium/exams/upcoming_exams/upcoming_exams.rb +556 -0
  485. data/lib/studium/exams/upcoming_exams_at_the_boku/constants.rb +23 -0
  486. data/lib/studium/exams/upcoming_exams_at_the_boku/html.rb +64 -0
  487. data/lib/studium/exams/upcoming_exams_at_the_boku/upcoming_exams_at_the_boku.rb +194 -0
  488. data/lib/studium/exams/upcoming_exams_dataset.rb +247 -0
  489. data/lib/studium/exams/upcoming_registered_exams/upcoming_registered_exams.rb +257 -0
  490. data/lib/studium/exams/upload_exam_topics.rb +360 -0
  491. data/lib/studium/graphviz/README.md +4 -0
  492. data/lib/studium/graphviz/bachelor_vector_based_strategies.dot +160 -0
  493. data/lib/studium/graphviz/master_vector_based_strategies.dot +46 -0
  494. data/lib/studium/gui/gtk3/README.md +1 -0
  495. data/lib/studium/gui/gtk3/ask_exam_question/ask_exam_question.config +6 -0
  496. data/lib/studium/gui/gtk3/ask_exam_question/ask_exam_question.rb +760 -0
  497. data/lib/studium/gui/gtk3/ask_exam_question/manifest.yml +12 -0
  498. data/lib/studium/gui/gtk3/control_panel/control_panel.rb +39 -0
  499. data/lib/studium/gui/gtk3/curriculum_viewer/curriculum_viewer.rb +513 -0
  500. data/lib/studium/gui/gtk3/ects_per_university/ects_per_university.rb +217 -0
  501. data/lib/studium/gui/gtk3/exam_question_widget/exam_question_widget.rb +1889 -0
  502. data/lib/studium/gui/gtk3/expand_time_range/expand_time_range.rb +34 -0
  503. data/lib/studium/gui/gtk3/information_about_a_lecture/information_about_a_lecture.rb +34 -0
  504. data/lib/studium/gui/gtk3/lecture_information/lecture_information.rb +200 -0
  505. data/lib/studium/gui/gtk3/show_upcoming_exams/show_upcoming_exams.rb +34 -0
  506. data/lib/studium/gui/java/exam_question/ExamQuestion$1.class +0 -0
  507. data/lib/studium/gui/java/exam_question/ExamQuestion.class +0 -0
  508. data/lib/studium/gui/java/exam_question/ExamQuestion.java +215 -0
  509. data/lib/studium/gui/javafx/exam_question_widget/exam_question_widget.rb +58 -0
  510. data/lib/studium/gui/jruby/exam_question_widget/exam_question_widget.rb +317 -0
  511. data/lib/studium/gui/libui/ask_exam_question/ask_exam_question.rb +349 -0
  512. data/lib/studium/gui/shared_code/control_panel/control_panel_module.rb +314 -0
  513. data/lib/studium/gui/shared_code/exam_question_widget/exam_question_widget_module.rb +39 -0
  514. data/lib/studium/gui/shared_code/expand_time_range/expand_time_range.css +0 -0
  515. data/lib/studium/gui/shared_code/expand_time_range/expand_time_range_module.rb +190 -0
  516. data/lib/studium/gui/shared_code/information_about_a_lecture/information_about_a_lecture_module.rb +180 -0
  517. data/lib/studium/gui/shared_code/show_upcoming_exams/show_upcoming_exams_module.rb +206 -0
  518. data/lib/studium/images/libui_ask_exam_question.png +0 -0
  519. data/lib/studium/images/outdated.png +0 -0
  520. data/lib/studium/images/small_logos/DNA.png +0 -0
  521. data/lib/studium/images/small_logos/README.md +2 -0
  522. data/lib/studium/images/small_logos/solved.png +0 -0
  523. data/lib/studium/images/studies_favicon.png +0 -0
  524. data/lib/studium/java/README.md +5 -0
  525. data/lib/studium/java/studium/AskExamQuestion.java +461 -0
  526. data/lib/studium/java/studium/Base.java +123 -0
  527. data/lib/studium/java/studium/Constants.java +122 -0
  528. data/lib/studium/java/studium/EnsureThatTheLogDirectoryExists.java +57 -0
  529. data/lib/studium/java/studium/Mkdir.java +13 -0
  530. data/lib/studium/java/studium/OpenLastExamQuestionurlLinkViaTheBrowser.java +90 -0
  531. data/lib/studium/java/studium/ReturnNQuestionsSolvedInTotal.java +69 -0
  532. data/lib/studium/java/studium/Solved.java +112 -0
  533. data/lib/studium/java/studium/Test.java +60 -0
  534. data/lib/studium/java/studium/studium/AskExamQuestion.class +0 -0
  535. data/lib/studium/java/studium/studium/Base.class +0 -0
  536. data/lib/studium/java/studium/studium/Constants.class +0 -0
  537. data/lib/studium/java/studium/studium/EnsureThatTheLogDirectoryExists.class +0 -0
  538. data/lib/studium/java/studium/studium/Mkdir.class +0 -0
  539. data/lib/studium/java/studium/studium/OpenLastExamQuestionurlLinkViaTheBrowser.class +0 -0
  540. data/lib/studium/java/studium/studium/ReturnNQuestionsSolvedInTotal.class +0 -0
  541. data/lib/studium/java/studium/studium/Solved.class +0 -0
  542. data/lib/studium/java/studium/studium/Test.class +0 -0
  543. data/lib/studium/jobs/jobs.rb +80 -0
  544. data/lib/studium/logging/README.md +2 -0
  545. data/lib/studium/logging/ensure_that_the_log_directory_exists.rb +58 -0
  546. data/lib/studium/logging/html_log_directory.rb +42 -0
  547. data/lib/studium/logging/log_directory.rb +112 -0
  548. data/lib/studium/logging/store_last_question_asked_into_file.rb +137 -0
  549. data/lib/studium/parsers/README.md +2 -0
  550. data/lib/studium/parsers/custom_exam_results_parser.rb +209 -0
  551. data/lib/studium/parsers/parse_lva_dates.rb +233 -0
  552. data/lib/studium/parsers/parse_remote_lecture.rb +331 -0
  553. data/lib/studium/project/project.rb +88 -0
  554. data/lib/studium/requires/common_popular_requires.rb +37 -0
  555. data/lib/studium/requires/commonly_used_requires.rb +14 -0
  556. data/lib/studium/requires/require_class_exams_solved.rb +7 -0
  557. data/lib/studium/requires/require_ects_scripts.rb +27 -0
  558. data/lib/studium/requires/require_encoding.rb +7 -0
  559. data/lib/studium/requires/require_the_check_and_sanitize_files.rb +31 -0
  560. data/lib/studium/requires/require_the_curricula_files.rb +28 -0
  561. data/lib/studium/requires/require_the_exam_question_class.rb +7 -0
  562. data/lib/studium/requires/require_the_exams_files.rb +46 -0
  563. data/lib/studium/requires/require_the_logging_files.rb +23 -0
  564. data/lib/studium/requires/require_the_parsers.rb +28 -0
  565. data/lib/studium/requires/require_the_studium_constants.rb +10 -0
  566. data/lib/studium/requires/require_the_studium_project.rb +70 -0
  567. data/lib/studium/requires/require_the_toplevel_methods.rb +27 -0
  568. data/lib/studium/requires/require_the_utility_scripts.rb +34 -0
  569. data/lib/studium/requires/require_upcoming_exams.rb +7 -0
  570. data/lib/studium/requires/require_yaml.rb +7 -0
  571. data/lib/studium/requires/return_remote_homepage_of_this_lecture.rb +7 -0
  572. data/lib/studium/requires/with_GUI.rb +13 -0
  573. data/lib/studium/requires/www_mode.rb +17 -0
  574. data/lib/studium/statistics/README.md +4 -0
  575. data/lib/studium/statistics/best_exam_months.rb +92 -0
  576. data/lib/studium/statistics/curriculum_comparer/curriculum_comparer.rb +386 -0
  577. data/lib/studium/statistics/determine_exam_statistics_from_this_file.rb +142 -0
  578. data/lib/studium/statistics/exam_topics_that_are_about_to_be_completed.rb +119 -0
  579. data/lib/studium/statistics/max_stats.rb +170 -0
  580. data/lib/studium/statistics/new_questions_per_year.rb +147 -0
  581. data/lib/studium/statistics/report_how_many_ects_points_per_curriculum_were_completed.rb +167 -0
  582. data/lib/studium/statistics/report_how_many_exam_questions_were_answered.rb +474 -0
  583. data/lib/studium/statistics/show_exam_statistics.rb +66 -0
  584. data/lib/studium/statistics/show_which_courses_are_in_a_bachelor_or_master_curriculum_respectively.rb +104 -0
  585. data/lib/studium/statistics/top_stats.rb +127 -0
  586. data/lib/studium/toplevel_methods/all_passed_exams.rb +37 -0
  587. data/lib/studium/toplevel_methods/already_solved_this_lecture.rb +101 -0
  588. data/lib/studium/toplevel_methods/available_topics.rb +161 -0
  589. data/lib/studium/toplevel_methods/calculate_pr/303/274fungsimmanente_lectures_from_this_file.rb +55 -0
  590. data/lib/studium/toplevel_methods/copy_the_last_backup_of_file_lecture_information.rb +34 -0
  591. data/lib/studium/toplevel_methods/curriculum_related_code.rb +1038 -0
  592. data/lib/studium/toplevel_methods/does_this_course_require_mandatory_presence.rb +52 -0
  593. data/lib/studium/toplevel_methods/download.rb +161 -0
  594. data/lib/studium/toplevel_methods/e.rb +16 -0
  595. data/lib/studium/toplevel_methods/ects_from_lectures.rb +250 -0
  596. data/lib/studium/toplevel_methods/editor.rb +67 -0
  597. data/lib/studium/toplevel_methods/esystem.rb +29 -0
  598. data/lib/studium/toplevel_methods/filter_away_invalid_questions.rb +77 -0
  599. data/lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb +3807 -0
  600. data/lib/studium/toplevel_methods/has_this_lecture_been_already_passed_but_the_id_was_changed_lateron.rb +42 -0
  601. data/lib/studium/toplevel_methods/has_this_module_been_completed.rb +208 -0
  602. data/lib/studium/toplevel_methods/install_the_project_on_the_given_hostsystem.rb +32 -0
  603. data/lib/studium/toplevel_methods/is_on_roebe.rb +27 -0
  604. data/lib/studium/toplevel_methods/is_this_exam_topic_included.rb +46 -0
  605. data/lib/studium/toplevel_methods/is_this_homepage_registered.rb +32 -0
  606. data/lib/studium/toplevel_methods/is_this_lecture_a_practical_course.rb +93 -0
  607. data/lib/studium/toplevel_methods/is_this_lecture_registered_in_upcoming_exams.rb +45 -0
  608. data/lib/studium/toplevel_methods/java.rb +32 -0
  609. data/lib/studium/toplevel_methods/lecture_information.rb +108 -0
  610. data/lib/studium/toplevel_methods/lva_numbers.rb +358 -0
  611. data/lib/studium/toplevel_methods/main_dataset.rb +73 -0
  612. data/lib/studium/toplevel_methods/map_input_to_this_curriculum_filename.rb +607 -0
  613. data/lib/studium/toplevel_methods/methods_related_to_files_and_directories.rb +481 -0
  614. data/lib/studium/toplevel_methods/misc.rb +580 -0
  615. data/lib/studium/toplevel_methods/n_questions_available.rb +141 -0
  616. data/lib/studium/toplevel_methods/n_topics_available.rb +63 -0
  617. data/lib/studium/toplevel_methods/names_of_all_solved_exams.rb +77 -0
  618. data/lib/studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb +69 -0
  619. data/lib/studium/toplevel_methods/opnn.rb +27 -0
  620. data/lib/studium/toplevel_methods/passed_this_exam_on.rb +105 -0
  621. data/lib/studium/toplevel_methods/read_delay_between_questions_from_file.rb +36 -0
  622. data/lib/studium/toplevel_methods/regexes.rb +90 -0
  623. data/lib/studium/toplevel_methods/registered_for_this_exam.rb +83 -0
  624. data/lib/studium/toplevel_methods/remove_comments.rb +27 -0
  625. data/lib/studium/toplevel_methods/remove_exam_topics_that_were_already_answered.rb +27 -0
  626. data/lib/studium/toplevel_methods/remove_tags.rb +35 -0
  627. data/lib/studium/toplevel_methods/report.rb +439 -0
  628. data/lib/studium/toplevel_methods/return_all_exams_on_this_day.rb +69 -0
  629. data/lib/studium/toplevel_methods/return_dataset_for_this_exam_topic.rb +45 -0
  630. data/lib/studium/toplevel_methods/return_ects_from_this_lecture_stored_in_the_file_lecture_information.rb +194 -0
  631. data/lib/studium/toplevel_methods/return_hash_of_already_solved_lectures.rb +46 -0
  632. data/lib/studium/toplevel_methods/return_last_exam_question.rb +34 -0
  633. data/lib/studium/toplevel_methods/return_lva_number_of_this_lecture.rb +72 -0
  634. data/lib/studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb +90 -0
  635. data/lib/studium/toplevel_methods/return_n_questions_were_answered_for_this_topic.rb +62 -0
  636. data/lib/studium/toplevel_methods/return_proper_university_image.rb +86 -0
  637. data/lib/studium/toplevel_methods/return_question_answer_string_from_this_topic.rb +63 -0
  638. data/lib/studium/toplevel_methods/return_remote_homepage_of_this_lecture.rb +11311 -0
  639. data/lib/studium/toplevel_methods/return_remote_moodle_link_of_this_lecture.rb +2405 -0
  640. data/lib/studium/toplevel_methods/return_sanitized_dataset_from_the_file_lecture_information.rb +110 -0
  641. data/lib/studium/toplevel_methods/return_theme_of_the_next_upcoming_exam.rb +40 -0
  642. data/lib/studium/toplevel_methods/runmode.rb +97 -0
  643. data/lib/studium/toplevel_methods/sanitized_dataset_from_file_passed_exams_per_month.rb +53 -0
  644. data/lib/studium/toplevel_methods/set_last_file_for_exam_questions.rb +64 -0
  645. data/lib/studium/toplevel_methods/set_this_cd_alias_to.rb +92 -0
  646. data/lib/studium/toplevel_methods/spacer.rb +18 -0
  647. data/lib/studium/toplevel_methods/time.rb +297 -0
  648. data/lib/studium/toplevel_methods/total_ects_points_passed.rb +73 -0
  649. data/lib/studium/toplevel_methods/try_to_guess_the_most_likely_lva_id.rb +58 -0
  650. data/lib/studium/toplevel_methods/try_to_return_the_expanded_name_of_this_lecture.rb +64 -0
  651. data/lib/studium/toplevel_methods/unfinished.rb +51 -0
  652. data/lib/studium/toplevel_methods/url.rb +106 -0
  653. data/lib/studium/toplevel_methods/verbose_truth.rb +36 -0
  654. data/lib/studium/toplevel_methods/when_was_this_lecture_passed.rb +54 -0
  655. data/lib/studium/toplevel_methods/word_wrap.rb +56 -0
  656. data/lib/studium/toplevel_methods/write_into_file_related_functionality.rb +197 -0
  657. data/lib/studium/toplevel_methods/yes_or_no_ja_oder_nein.rb +33 -0
  658. data/lib/studium/universities_in_austria/README.md +2 -0
  659. data/lib/studium/universities_in_austria/boku/README.md +4 -0
  660. data/lib/studium/universities_in_austria/boku/boku_/303/266ffnungszeiten.rb +28 -0
  661. data/lib/studium/universities_in_austria/boku/show_three_pillars_of_these_lectures.rb +110 -0
  662. data/lib/studium/universities_in_austria/boku/three_pillars.rb +237 -0
  663. data/lib/studium/universities_in_austria/tu_vienna/README.md +6 -0
  664. data/lib/studium/universities_in_austria/tu_vienna/tu_ferien.rb +42 -0
  665. data/lib/studium/universities_in_austria/tu_vienna/tu_/303/266ffnungszeiten.rb +34 -0
  666. data/lib/studium/university_course/university_course.rb +409 -0
  667. data/lib/studium/utility_scripts/attribute_lectures_to_university/attribute_lectures_to_university.rb +375 -0
  668. data/lib/studium/utility_scripts/audio_stats.rb +171 -0
  669. data/lib/studium/utility_scripts/auto_stud/auto_stud.rb +252 -0
  670. data/lib/studium/utility_scripts/auto_stud/constants.rb +18 -0
  671. data/lib/studium/utility_scripts/auto_stud/initialize.rb +23 -0
  672. data/lib/studium/utility_scripts/auto_stud/misc.rb +18 -0
  673. data/lib/studium/utility_scripts/autopurge_this_lecture_date.rb +93 -0
  674. data/lib/studium/utility_scripts/average_grade_of_this_curriculum.rb +155 -0
  675. data/lib/studium/utility_scripts/blocked_courses.rb +146 -0
  676. data/lib/studium/utility_scripts/calendar/README.md +2 -0
  677. data/lib/studium/utility_scripts/calendar/calendar.rb +251 -0
  678. data/lib/studium/utility_scripts/calendar/misc.rb +35 -0
  679. data/lib/studium/utility_scripts/check_description_of_these_lectures.rb +221 -0
  680. data/lib/studium/utility_scripts/course_registrations/course_registrations.rb +98 -0
  681. data/lib/studium/utility_scripts/courses/courses.rb +177 -0
  682. data/lib/studium/utility_scripts/create/README.md +2 -0
  683. data/lib/studium/utility_scripts/create/webpage_of_university.rb +129 -0
  684. data/lib/studium/utility_scripts/create/webpage_of_university_BOKU.rb +61 -0
  685. data/lib/studium/utility_scripts/create/webpage_of_university_TU.rb +60 -0
  686. data/lib/studium/utility_scripts/create/webpage_of_university_UniWien.rb +60 -0
  687. data/lib/studium/utility_scripts/create_database/create_database.rb +106 -0
  688. data/lib/studium/utility_scripts/current_lectures_belonging_to_both_bachelor_and_master_curriculum.rb +113 -0
  689. data/lib/studium/utility_scripts/currently_participating_in_these_lectures/currently_participating_in_these_lectures.rb +104 -0
  690. data/lib/studium/utility_scripts/display_lecture_url/display_lecture_url.rb +176 -0
  691. data/lib/studium/utility_scripts/expand_time_range/expand_time_range.rb +521 -0
  692. data/lib/studium/utility_scripts/finished_exams_at_this_university/finished_exams_at_this_university.rb +173 -0
  693. data/lib/studium/utility_scripts/foreign_language_percentage/constants.rb +23 -0
  694. data/lib/studium/utility_scripts/foreign_language_percentage/foreign_language_percentage.rb +149 -0
  695. data/lib/studium/utility_scripts/foreign_language_percentage/help.rb +31 -0
  696. data/lib/studium/utility_scripts/foreign_language_percentage/initialize.rb +25 -0
  697. data/lib/studium/utility_scripts/foreign_language_percentage/menu.rb +158 -0
  698. data/lib/studium/utility_scripts/foreign_language_percentage/report.rb +62 -0
  699. data/lib/studium/utility_scripts/foreign_language_percentage/reset.rb +50 -0
  700. data/lib/studium/utility_scripts/foreign_language_percentage/run.rb +19 -0
  701. data/lib/studium/utility_scripts/generate_spreadsheet/generate_spreadsheet.rb +354 -0
  702. data/lib/studium/utility_scripts/generate_spreadsheet/misc.rb +144 -0
  703. data/lib/studium/utility_scripts/holidays/holidays.rb +156 -0
  704. data/lib/studium/utility_scripts/homepage_of_these_courses/homepage_of_these_courses.rb +125 -0
  705. data/lib/studium/utility_scripts/lectures_attributed_to_universities/lectures_attributed_to_universities.rb +336 -0
  706. data/lib/studium/utility_scripts/lva_dates_of_the_important_courses.rb +111 -0
  707. data/lib/studium/utility_scripts/lva_nummer/lva_nummer.rb +431 -0
  708. data/lib/studium/utility_scripts/mandatory_lectures_in_this_month/mandatory_lectures_in_this_month.rb +316 -0
  709. data/lib/studium/utility_scripts/moodle/moodle.rb +213 -0
  710. data/lib/studium/utility_scripts/name_of_this_lva_id/name_of_this_lva_id.rb +110 -0
  711. data/lib/studium/utility_scripts/new_stud.rb +324 -0
  712. data/lib/studium/utility_scripts/next_week/next_week.rb +103 -0
  713. data/lib/studium/utility_scripts/not_yet_registered/not_yet_registered.rb +120 -0
  714. data/lib/studium/utility_scripts/open_last_exam_question_url_link_via_the_browser.rb +76 -0
  715. data/lib/studium/utility_scripts/passed_ects_per_year/passed_ects_per_year.rb +313 -0
  716. data/lib/studium/utility_scripts/passed_pr/303/274fungsimmanente_courses/passed_pr/303/274fungsimmanente_courses.rb +181 -0
  717. data/lib/studium/utility_scripts/pdf/README.md +2 -0
  718. data/lib/studium/utility_scripts/pdf/create_pdf_file_for_this_exam_topic.rb +355 -0
  719. data/lib/studium/utility_scripts/pdf/hexapdf_support.rb +50 -0
  720. data/lib/studium/utility_scripts/preparatory_meetings/preparatory_meetings.rb +317 -0
  721. data/lib/studium/utility_scripts/priority/priority.rb +164 -0
  722. data/lib/studium/utility_scripts/priority_points/priority_points.rb +263 -0
  723. data/lib/studium/utility_scripts/publish_my_exams/publish_my_exams.rb +174 -0
  724. data/lib/studium/utility_scripts/regexes/README.md +1 -0
  725. data/lib/studium/utility_scripts/regexes/generate_regex.rb +314 -0
  726. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_available_moodle_links.rb +55 -0
  727. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_registered_lectures.rb +48 -0
  728. data/lib/studium/utility_scripts/report_outdated_timetable_entries/report_outdated_timetable_entries.rb +142 -0
  729. data/lib/studium/utility_scripts/report_whether_this_lecture_is_registered_in_the_file_lecture_information/report_whether_this_lecture_is_registered_in_the_file_lecture_information.rb +128 -0
  730. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/individual_resolve_practical_courses_date_conflicts.rb +254 -0
  731. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/resolve_practical_courses_date_conflicts.rb +265 -0
  732. data/lib/studium/utility_scripts/scrape_remote_university_url.rb +138 -0
  733. data/lib/studium/utility_scripts/semester_schedule_creator/semester_container.rb +144 -0
  734. data/lib/studium/utility_scripts/semester_schedule_creator/semester_schedule_creator.rb +374 -0
  735. data/lib/studium/utility_scripts/semesterplaner/semesterplaner.rb +311 -0
  736. data/lib/studium/utility_scripts/set_aliases_based_on_this_file.rb +97 -0
  737. data/lib/studium/utility_scripts/show_all_passed_master_lectures/show_all_passed_master_lectures.rb +126 -0
  738. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/show_conflicting_lva_lectures.rb +1385 -0
  739. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/constants.rb +23 -0
  740. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/menu.rb +63 -0
  741. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/reset.rb +33 -0
  742. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/run.rb +50 -0
  743. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/show_descriptions_of_lectures_belonging_to_this_module.rb +145 -0
  744. data/lib/studium/utility_scripts/show_lecturers/show_lecturers.rb +147 -0
  745. data/lib/studium/utility_scripts/show_lectures/show_lectures.rb +910 -0
  746. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_language/show_lectures_fitting_to_this_language.rb +121 -0
  747. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_theme/show_lectures_fitting_to_this_theme.rb +105 -0
  748. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/show_lectures_on_the_commandline.rb +3167 -0
  749. data/lib/studium/utility_scripts/show_lectures_on_this_day/show_lectures_on_this_day.rb +150 -0
  750. data/lib/studium/utility_scripts/show_lva_dates_of_this_lecture/show_lva_dates_of_this_lecture.rb +182 -0
  751. data/lib/studium/utility_scripts/show_mixed_bachelor_master_courses/show_mixed_bachelor_master_courses.rb +92 -0
  752. data/lib/studium/utility_scripts/show_outdated_lva_dates/show_outdated_lva_dates.rb +214 -0
  753. data/lib/studium/utility_scripts/show_passed_exams_having_this_grade/show_passed_exams_having_this_grade.rb +91 -0
  754. data/lib/studium/utility_scripts/show_solved_english_lectures/show_solved_english_lectures.rb +139 -0
  755. data/lib/studium/utility_scripts/steop/README.md +4 -0
  756. data/lib/studium/utility_scripts/steop/show_all_steop_lectures.rb +93 -0
  757. data/lib/studium/utility_scripts/steop/steop_lectures_in_this_curriculum.rb +284 -0
  758. data/lib/studium/utility_scripts/steop/steop_lva_dates.rb +119 -0
  759. data/lib/studium/utility_scripts/studienkennzahl/studienkennzahl.rb +116 -0
  760. data/lib/studium/utility_scripts/studium_skeleton/studium_skeleton.rb +242 -0
  761. data/lib/studium/utility_scripts/stundenplan.rb +600 -0
  762. data/lib/studium/utility_scripts/sync_studium_relevant_entries_one_level_downwards.rb +217 -0
  763. data/lib/studium/utility_scripts/ufind/ufind.rb +106 -0
  764. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/constants.rb +26 -0
  765. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/run.rb +20 -0
  766. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/upcoming_mandatory_presence_courses.rb +187 -0
  767. data/lib/studium/utility_scripts/video_lecture_downloader/video_lecture_downloader.rb +107 -0
  768. data/lib/studium/utility_scripts/week_parser/constants.rb +23 -0
  769. data/lib/studium/utility_scripts/week_parser/help.rb +32 -0
  770. data/lib/studium/utility_scripts/week_parser/menu.rb +59 -0
  771. data/lib/studium/utility_scripts/week_parser/misc.rb +373 -0
  772. data/lib/studium/utility_scripts/week_parser/reset.rb +65 -0
  773. data/lib/studium/utility_scripts/week_parser/run.rb +18 -0
  774. data/lib/studium/utility_scripts/week_parser/show.rb +236 -0
  775. data/lib/studium/utility_scripts/week_parser/week_parser.rb +49 -0
  776. data/lib/studium/utility_scripts/weekday_parser.rb +155 -0
  777. data/lib/studium/utility_scripts/weekly_schedule.rb +198 -0
  778. data/lib/studium/utility_scripts/wochenplanung/wochenplanung.rb +267 -0
  779. data/lib/studium/version/version.rb +46 -0
  780. data/lib/studium/www/exams/exams.cgi +54 -0
  781. data/lib/studium/www/fast_ask_exam_question/fast_ask_exam_question.cgi +156 -0
  782. data/lib/studium/www/handle_curricula/handle_curricula.cgi +154 -0
  783. data/lib/studium/www/next_generation_exam_question_trainer/next_generation_exam_question_trainer.cgi +112 -0
  784. data/lib/studium/www/next_generation_exam_question_trainer/solved.cgi +26 -0
  785. data/lib/studium/www/sinatra/app.rb +231 -0
  786. data/lib/studium/www/sinatra/curriculum_displayer/curriculum_displayer.rb +162 -0
  787. data/lib/studium/www/sinatra/misc.rb +115 -0
  788. data/lib/studium/www/statistics/statistics.cgi +82 -0
  789. data/lib/studium/www/upcoming_exams/upcoming_exams.cgi +36 -0
  790. data/lib/studium/yaml/ad_hoc_trainer/README.md +2 -0
  791. data/lib/studium/yaml/ad_hoc_trainer/exam_topics.md +22 -0
  792. data/lib/studium/yaml/allowed_themes_for_courses/allowed_themes_for_courses.yml +348 -0
  793. data/lib/studium/yaml/array_allowed_entries_for_the_file_lecture_information/array_allowed_entries_for_the_file_lecture_information.yml +71 -0
  794. data/lib/studium/yaml/available_exam_topics/available_exam_topics.yml +234 -0
  795. data/lib/studium/yaml/backlog_of_exams.yml +37 -0
  796. data/lib/studium/yaml/colours/custom_colours.yml +50 -0
  797. data/lib/studium/yaml/colours/use_colours.yml +1 -0
  798. data/lib/studium/yaml/current_exams.yml +30 -0
  799. data/lib/studium/yaml/curricula/README.md +39 -0
  800. data/lib/studium/yaml/curricula/bachelor/bachelor_agrarwissenschaften_033255.yml +147 -0
  801. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_basisblock_033630.yml +71 -0
  802. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_botanik_033630.yml +100 -0
  803. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_ecology_033630.yml +74 -0
  804. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_mikrobiologie_und_genetik_033630.yml +122 -0
  805. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_molekulare_biologie_033630.yml +106 -0
  806. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_zoologie_033630.yml +87 -0
  807. data/lib/studium/yaml/curricula/bachelor/bachelor_chemie_033662.yml +165 -0
  808. data/lib/studium/yaml/curricula/bachelor/bachelor_dummy_curriculum.yml +182 -0
  809. data/lib/studium/yaml/curricula/bachelor/bachelor_elektrotechnik_und_informationstechnik_033235.yml +13 -0
  810. data/lib/studium/yaml/curricula/bachelor/bachelor_forstwirtschaft_033225.yml +115 -0
  811. data/lib/studium/yaml/curricula/bachelor/bachelor_informatik_033521.yml +136 -0
  812. data/lib/studium/yaml/curricula/bachelor/bachelor_ktww_033231.yml +84 -0
  813. data/lib/studium/yaml/curricula/bachelor/bachelor_lmbt_033217.yml +121 -0
  814. data/lib/studium/yaml/curricula/bachelor/bachelor_medizinische_informatik_033533.yml +283 -0
  815. data/lib/studium/yaml/curricula/bachelor/bachelor_molekularbiologie_033665.yml +95 -0
  816. data/lib/studium/yaml/curricula/bachelor/bachelor_nutrition_science_033638.yml +119 -0
  817. data/lib/studium/yaml/curricula/bachelor/bachelor_pharmazie_033305.yml +170 -0
  818. data/lib/studium/yaml/curricula/bachelor/bachelor_technische_chemie_033290.yml +131 -0
  819. data/lib/studium/yaml/curricula/bachelor/bachelor_technische_informatik_033535.yml +23 -0
  820. data/lib/studium/yaml/curricula/bachelor/bachelor_ubrm_033227.yml +142 -0
  821. data/lib/studium/yaml/curricula/bachelor/bachelor_verfahrenstechnik_033273.yml +167 -0
  822. data/lib/studium/yaml/curricula/bachelor/bachelor_wirtschaftsinformatik_033526.yml +29 -0
  823. data/lib/studium/yaml/curricula/experimental/bachelor_informatik_in_den_lebenswissenschaften.yml +137 -0
  824. data/lib/studium/yaml/curricula/individual/bachelor_formale_logik.yml +88 -0
  825. data/lib/studium/yaml/curricula/individual/bachelor_informatik_und_molekulare_biologie.yml +1161 -0
  826. data/lib/studium/yaml/curricula/individual/bachelor_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +1157 -0
  827. data/lib/studium/yaml/curricula/individual/master_bioinformatics_and_nanobiotechnology_in_molecular_medicine.yml +306 -0
  828. data/lib/studium/yaml/curricula/individual/master_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +741 -0
  829. data/lib/studium/yaml/curricula/master/master_bioinformatik_066875.yml +75 -0
  830. data/lib/studium/yaml/curricula/master/master_biologie_molekulare_mikrobiologie_mikrobielle_oekologie_und_immunbiologie_066830.yml +78 -0
  831. data/lib/studium/yaml/curricula/master/master_biologische_chemie_066863.yml +66 -0
  832. data/lib/studium/yaml/curricula/master/master_dummy_curriculum.yml +197 -0
  833. data/lib/studium/yaml/curricula/master/master_genetik_und_entwicklungsbiologie_066877.yml +89 -0
  834. data/lib/studium/yaml/curricula/master/master_lmbt_066418.yml +112 -0
  835. data/lib/studium/yaml/curricula/master/master_molecular_biology_066865.yml +72 -0
  836. data/lib/studium/yaml/curricula/master/master_molekulare_biologie_066834.yml +151 -0
  837. data/lib/studium/yaml/curricula/master/master_pharmazie_066605.yml +176 -0
  838. data/lib/studium/yaml/curricula/master/master_technische_chemie_066490.yml +123 -0
  839. data/lib/studium/yaml/curricula/outdated/master_bioinformatics_and_molecular_biotechnology_including_aspects_from_molecular_medicine.yml +438 -0
  840. data/lib/studium/yaml/curricula/outdated/master_food_science_and_plant_biotechnology.yml +31 -0
  841. data/lib/studium/yaml/curricula.yml +562 -0
  842. data/lib/studium/yaml/daily_questions_solved/daily_questions_solved.yml +1849 -0
  843. data/lib/studium/yaml/default_delay.yml +4 -0
  844. data/lib/studium/yaml/default_encoding.yml +1 -0
  845. data/lib/studium/yaml/directory_to_the_exam_topics.yml +0 -0
  846. data/lib/studium/yaml/editor.yml +1 -0
  847. data/lib/studium/yaml/exams/next_exams_to_do.md +9 -0
  848. data/lib/studium/yaml/file_for_exam_questions.yml +1 -0
  849. data/lib/studium/yaml/german/README.md +2 -0
  850. data/lib/studium/yaml/german/german_to_english_month_names.yml +16 -0
  851. data/lib/studium/yaml/grouped_themes/grouped_themes.yml +258 -0
  852. data/lib/studium/yaml/holidays/holidays.yml +201 -0
  853. data/lib/studium/yaml/important_exams.yml +274 -0
  854. data/lib/studium/yaml/inscription_dates_of_universities.yml +60 -0
  855. data/lib/studium/yaml/lecture_aliases.yml +138 -0
  856. data/lib/studium/yaml/lecture_information/lecture_information.yml +63818 -0
  857. data/lib/studium/yaml/log_dir.yml +1 -0
  858. data/lib/studium/yaml/main_topic/main_topic.yml +11 -0
  859. data/lib/studium/yaml/max_stats.yml +256 -0
  860. data/lib/studium/yaml/meta_themes +1 -0
  861. data/lib/studium/yaml/mitbelegung/README.md +4 -0
  862. data/lib/studium/yaml/mitbelegung/mitbelegung.yml +21 -0
  863. data/lib/studium/yaml/mitteilungsbl/303/244tter/mitteilungsbl/303/244tter.yml +363 -0
  864. data/lib/studium/yaml/n_total_questions.yml +1 -0
  865. data/lib/studium/yaml/rename_konsole_tab.yml +1 -0
  866. data/lib/studium/yaml/semester_planner/README.md +4 -0
  867. data/lib/studium/yaml/semester_planner/semester_planner.yml +189 -0
  868. data/lib/studium/yaml/show_topic.yml +1 -0
  869. data/lib/studium/yaml/statistics/lecture_information.yml +1 -0
  870. data/lib/studium/yaml/statistics/max_stats.yml +239 -0
  871. data/lib/studium/yaml/statistics/statistics.yml +77 -0
  872. data/lib/studium/yaml/week/01_monday.yml +25 -0
  873. data/lib/studium/yaml/week/02_tuesday.yml +68 -0
  874. data/lib/studium/yaml/week/03_wednesday.yml +63 -0
  875. data/lib/studium/yaml/week/04_thursday.yml +20 -0
  876. data/lib/studium/yaml/week/05_friday.yml +31 -0
  877. data/lib/studium/yaml/week/06_saturday.yml +16 -0
  878. data/lib/studium/yaml/week/07_sunday.yml +0 -0
  879. data/lib/studium/yaml/week/README.md +10 -0
  880. data/lib/studium.rb +5 -0
  881. data/studium.gemspec +82 -0
  882. data/test/testing_colourized_question_and_answer.rb +18 -0
  883. data/test/testing_studium.rb +244 -0
  884. data/test/testing_studium_base_class.rb +31 -0
  885. data/test/testing_the_file_lecture_information.rb +18 -0
  886. data/test/testing_time_component.rb +29 -0
  887. metadata +1101 -0
@@ -0,0 +1,618 @@
1
+ # =========================================================================== #
2
+ # === Java (the programming language)
3
+ #
4
+ # Rekord war: 509 Fragen, 429 beantwortet, 80 nicht beantwortet, Anfang
5
+ # Oktober 2022.
6
+ # 602 Fragen, 454 beantwortet, 148 nicht beantwortet (April 2023)
7
+ # =========================================================================== #
8
+
9
+ - Java has a <one>.clone()</one> method, on which class? On: <one>Object.clone()</one>
10
+ - In Java: a <one>class variable</one> <two>is associated with ... </two>? The <one>class</one>, rather than an instance.
11
+ - In Java: to square a number we use ... ? Math.pow(base_number_here, exponent_there);
12
+ - In Java, respektive in vielen verschiedenen Programmiersprachen: was ist damit gemeint wenn wir sagen das eine Variable initialisiert wird? Das ihr <one>erstmalig ein Wert zugewiesen wird</one>.
13
+ - In Java: what is meant with the term <one>compound assignment</one>? This is an operator that performs a calculation and an assignment at the same time. An example is <two>x += 4</two>.
14
+ - In Java: ist folgender Code gültig: <one>int Int;</one> A: <one>Ja</one>.
15
+ - In Java: do <one>abstract classes</one> have a <two>constructor</two>? <one>Yes</one>.
16
+ - The programming language C makes use of <one>printf()</one>. <two>Does Java have an equivalent</two>? Yes, called: <one>System.out.format()</one>
17
+ - In Java: before we make use of, for instance, <one>scanner.nextInt()</one>, we should do ... ? Use: <one>scanner.hasNextInt()</one>
18
+ - In Java: is this valid syntax?: <one>5++</one> A: No it is not valid syntax in Java.
19
+ - In Java: warum mag der Wert <one>null</one> relevant sein? Um zum Beispiel zwischen dem Wert 0 und dem Zustand 'nicht initialisiert' <one>unterscheiden zu können</one>.
20
+ - In Java: how to <one>print an error-line</one>? Use: <one>System.err.println()</one>
21
+ - In Java: is the following syntax valid? <one>float x = 42.0;</one> A: <one>No</one>. We would have to use <two>float x = 99.0F;</two> here.
22
+ - In Java: ist folgende Syntax gültig? <one>return;</one> A: <one>Ja</one>. Sie ermöglicht <two>ein vorzeitiges Beenden einer void-Methode</two>.
23
+ - The <one>Java disassembler</one> <two>can be invoked from the commandline</two> <three>via ... </three>? <one>javap</one>
24
+ - In Java: <one>how</one> to iterate over a <two>List</two> called <three>foobar</three>? <one>foobar.forEach(item -> {</one>
25
+ - In Java: given a List, such as <one>foobar</one>, how can we <two>add an element on the last position</two>? Via: <one>foobar.set(index - 1, 99);</one>
26
+ - Name <one>a famous java motto</one>. A: <one>„Write it once, run it everywhere.“</one>
27
+ - In Java: what is the difference between <one>File().mkdir()</one> and <one>File().mkdirs()</one>? The second variant will also <one>create subdirectories</one>, <two>if necessary</two>.
28
+ - In Java, but also in other programming languages: <one>if we have two for-loops, what is the big O notation for these</one>? <one>O(n²)</one>
29
+ - In Java: which <one>loop-constructs</one> <two>can be used</two>? (1) <one>for</one> loops (2) <one>while</one> loops (3) <one>do-while</one> loops
30
+ - In Java: <one>non-primitive data types</one> are also called <two>reference types</two>. <three>Why</three>? Because <one>these types refer to objects</one>.
31
+ - In Java: wird <one>die Anzahl der Elemente eines Arrays</one> <two>bei der Deklaration festgelegt</two>? <one>Nein</one>.
32
+ - In Java: <one>how</one> can we <two>initialize a new Array that holds the same content for all of its fields</two>, such as the integer number <three>42</three>? Via the <one>java.util.Arrays.fill() method</one>. A more concise example would be: <two>Arrays.fill(array_goes_in_here, 42);</two>
33
+ - Nenne einen <one>praktischen Grund</one> wieso wir darauf Wert legen sollten rekursive Datenstrukturen zu verstehen. A: <one>Rekursive Datenstrukturen</one> sind in der Praxis wichtig, da sie <two>unlimitierte Mengen an Daten aufnehmen können</two>.
34
+ - Are <one>Exceptions</one> in Java objects? <one>Yes</one>.
35
+ - Threads in Java are objects that implement the ... interface. A: The <one>Runnable</one> interface.
36
+ - In Java: is it possible to use <one>multiple interfaces in a class</one>? <one>Yes</one> - <two>simply separate their names with commas</two>. Example: <three>implements Runnable, Observable {</three>.
37
+ - In Java: what value will <one>x</one> have in the following code? <two>double x = 5.5; x++;</two>? A: <one>6.5</one>.
38
+ - In Java: <one>32</one> / <one>5</one> returns ... ? <one>6</one>.
39
+ - In Java: <one>System.err</one> is an instance of <two>class ...</two>? <one>class PrintStream</one>
40
+ - In Java: <one>System.out</one> is a class variable that <two>contains an instance of the class ... </two>? <one>PrintStream</one>.
41
+ - In Java: the statement <one>double e = 5.10e+6;</one> is equivalent to ... ? <one>double e = 5100000D;</one>
42
+ - The <one>data types</one> in Java <two>can be split into which two big groups</two>? (1) <one>primitive types</one> (2) <one>reference types</one>
43
+ - In Java: what does <one>autoboxing</one> mean? <one>Autoboxing</one> refers to <two>the automatic conversion between primitive types and matching object types</two>.
44
+ - What does it mean when it is said that Java is a strongly typed language? This simply means that whenever a variable is declared, its variable type must also be specified.
45
+ - In Java: a constant is created by using which (slightly awkward) declaration? <one>static final</one>, such as <two>static final int X = 42;</two>.
46
+ - In Java: what is <one>the default value of local variables</one>? <one>Local variables</one> <two>do not have a default value</two>.
47
+ - In Java: a <one>local variable</one> is a variable that is ... ? declared within the body of a method.
48
+ - In Java: do we have to <one>explicitly declare all variables before using them</one>? <one>Yes</one>.
49
+ - In Java: is <one>class foobar</one> <two>a valid name</two>? <one>Yes</one> - <two>the first character may be lowercased</two>.
50
+ - In Java: are <one>import statements</one> ever required? Not really. We could also specify the full name, such as via <one>javax.swing.JOptionPane</one>.
51
+ - In Java's <one>printf()</one>, the newline character can be specified via ... ? <one>%n</one>
52
+ - Give <one>an example</one> for <two>a declaration statement in Java</two>. A: <one>int i;</one>
53
+ - In Ruby we can use begin/rescue. In Java, <one>begin</one> would be equal to ... ? <one>try</one>, such as in <two>try {} catch (Exception e) { throw new RuntimeException(); }</two>.
54
+ - In Java: <one>how</one> to specifically call another <two>constructor</two>? Via <one>this()</one>. A more complete example follows: <two>public Foobar(String name, int arg1, float arg2) {; this(arg1, arg2);</two>
55
+ - In Java: name <one>a method</one> that class Object is quite famous for. A: <one>.toString()</one>.
56
+ - In Java: is the following syntax a valid variable name? <one>int[][] data0_001</one>? A: <one>Yes</one>. <two>We may use _ underscores in variable numbers, unless they are at the very beginning of that name</two>.
57
+ - The <one>Builder pattern</one> in Java <two>simulates ... </two>? <one>named optional parameters</one>, as found in other programming languages such as Python and Scala.
58
+ - <one>All</one> <two>Java String instances</two> are stored in the ... by the JVM. A: In the <one>String Pool</one>.
59
+ - In Java, respektive in vielen verschiedenen Programmiersprachen: <one>wann</one> können wir sagen das eine <two>Zuweisung</two> <three>destruktiv</three> ist? Wenn sie einen <one>alten Wert</one> <two>in einer Variablen</two> <three>überschreibt</three>.
60
+ - In Java: kann der <one>+</one> Operator <two>überladen</two> werden? <one>Ja</one>.
61
+ - In Java: <one>how</one> can we identify a <two>class variable</two>? Via the <one>static</one> keyword.
62
+ - In Java: <one>the minimal syntax to define an Array</one> is ... ? <one>[]</one>
63
+ - The syntax for a <one>lambda expression</one> in Java was added in which Java version? In <one>Java 8</one>.
64
+ - If we wish to <one>copy</one> an <two>ArrayList</two>, <three>which method should be used</three>? Use <one>.clone()</one>. URL: https://www.geeksforgeeks.org/arraylist-clone-method-in-java-with-examples/
65
+ - In Java: given the class <one>public class Human {</one>, how would the associated constructor be called, syntax-wise? <one>public Human() {</one>, inside the <two>public class Human {</two> part.
66
+ - Warum können wir sagen das Fehler in einem Java-Programm ein Sicherheitsrisiko darstellen mag? Da solche Fehler zum Einbrechen in ein System genutzt werden können.
67
+ - In Java: can an <one>int</one> method <two>return null;</two>? <one>No</one>. The error message <two>incompatible types: <null> cannot be converted to int</two> would appear.
68
+ - In Java: is <one>ArrayDeque</one> <two>growable</two>? <one>Yes</one>.
69
+ - In Java: <one>Methoden ohne static</one> sind ... ? <one>Objektmethoden</one>. URL: http://www.gailer-net.de/tutorials/java/Notes/chap25/ch25_10.html
70
+ - In Java: ist <one>ein char array</one>, wie zum Beispiel <two>char[] c = {'H', 'e', 'l', 'l', 'o'};</two>, veränderlich? <one>Ja</one>.
71
+ - In Java: how to convert an <one>Integer</one> to a <two>String</two>? Via: <one>Integer.toString(int)</one> such as in <one>Integer.toString(5)</one>.
72
+ - In Java: name a big difference between an <one>Array</one> and an <one>ArrayList</one>. A: <one>Arrays</one> have <two>a fixed size</two> whereas <one>ArrayLists</one> have <two>a variable size</two>.
73
+ - In Java: can an <one>ArrayDeque</one> implementation be used both as a <two>Stack</two> as well as a <two>Queue</two>? <one>Yes</one>.
74
+ - <one>Andere Bezeichnung</one> für einen <two>Schleifendurchlauf</two>? Eine <one>Iteration</one>.
75
+ - In Java: <one>wann</one> werden <two>implizite Typkonvertierungen</two> durchgeführt? Nur wenn diese <one>ohne Informationsverlust</one> erfolgen können.
76
+ - In Java: können wir <one>this</one> verwenden innerhalb einer <two>static</two> Methode? Nein, da hier kein aktuelles Objekt zugreifbar ist.
77
+ - In Java: <one>where</one> are <two>Iterators</two> found? In the <one>java.util package</one>.
78
+ - In Java: give another name for <one>explicit type casting</one>. A: <one>Narrowing</one>. URL: https://www.tutorialspoint.com/what-is-narrowing-in-java-explain
79
+ - Nenne eine wichtige <one>Pseudovariable</one> in Java. A: <one>this</one>.
80
+ - In Java: kann eine Klasse mehrere Konstruktoren enthalten? <one>Ja</one>.
81
+ - In Java: wenn wir das keyword <one>public</one> vor einer Klasse weglassen, welche Einschränkung ergibt sich dadurch? Diese Klasse kann nur als <one>Hilfsklasse</one> verwendet werden.
82
+ - Warum sollten wir in Java <one>Objektvariablen</one> mit <two>private</two> deklarieren? Da sie fast immer nur <one>Implementierungsdetails</one> darstellen.
83
+ - In Java gibt es <one>Arrays.sort()</one>. <two>Gibt es sort(String i)</two>? <one>Nein</one>. Es ist hier <two>sort(Object[] a)</two>.
84
+ - In Java: can <one>fields</one> have <two>different types</two>? <one>Yes</one>.
85
+ - In Java: is <one>new</one> a keyword? <one>Yes</one>.
86
+ - In Java: classes that are developed to process other classes are called ... ? <one>generics</one>.
87
+ - In Java: the keyword <one>public</one> in front of method names is called ... ? An <one>access modifier</one>.
88
+ - In Java: what should be kept in mind when <one>Arrays.binarySearch()</one> is used? That this method will only work for <one>sorted Arrays</one>.
89
+ - In Java: was könnten wir als ein <one>Abstraktionswerkzeug</one> betrachten? <one>Methoden</one>.
90
+ - Give a specific example for <one>an annotation in Java</one>. A: <one>@Override</one>. URL: https://beginnersbook.com/2014/07/override-annotation-in-java/
91
+ - In Java: a better name for an <one>interface</one> may be ... ? <one>Skeletons</one>.
92
+ - In Java: if we wish to add elements to <one>a linked list</one> at the first and at the last position, what should we do? Make use of <one>x.addFirst("D")</one> and <one>x.addLast("C")</one>.
93
+ - In Java: is the following code valid: <one>int x = 123_34;</one> A: <one>Yes</one>. <two>Underscores in integer variables are valid since as of Java version 7</two>.
94
+ - In Java: if we have <one>two integer values</one>, 3 and 4, how to determine which one of these is higher? Use <one>Integer.max()</one> such as in: <two>int max = Integer.max(2, 7);</two>
95
+ - In Ruby we can use <one>self.foo =</one>. In Java, this would be ... ? <one>this.foo =</one>
96
+ - Was könnten wir als einen <one>Indikator</one> für die Einfachheit eines Programms ansehen, grob betrachtet? Die <one>Anzahl an Fallunterscheidungen</one>.
97
+ - In Java: can a class have <one>several different constructors</one>? <one>Yes</one> - <two>if they have a different number or type of arguments</two>.
98
+ - In Java: is <one>code completion</one> available in <three>JShell</three>? Yes - one has to make use of the <one>tab</one> key on the keyboard for this functionality.
99
+ - In Java: what is <one>String.valueOf()</one> used for? We can convert different types, such as int, or double, <one>into a String</one>.
100
+ - In Java meinen wir mit <one>Abstraktion</one> eigentlich welch anderen, etwas besseren Begriff? <one>Datenabstraktion</one>.
101
+ - Ruby has <one>.each</one>. <two>What would the equivalent look like in java</two>? <one>x.forEach(item -> {</one>
102
+ - In Java, via <one>scanner</one>: <two>how to read a full line</two>? Make use of <one>.nextLine()</one>.
103
+ - In Java: show <one>the required syntax</one> <two>how to create an Array with three integer values</two> already initialized. A: <one>int[] x = { 1, 2, 3 };</one>
104
+ - In Java: can <one>constructors</one> contain <two>parameters</two>? <one>Yes</one>, of course. Example: <two>Foobar(double i) { x = i; }</two>
105
+ - In Java: can we compare <one>floats</one> and <one>doubles</one> using <three>==</three>? <one>No</one>.
106
+ - <one>Java 9</one> was <two>released in which year</two>? <one>2017</one>. URL: https://en.wikipedia.org/wiki/Java_version_history#Java_9
107
+ - Name the <one>two main Java build tools</one>. A: (1) <one>Gradle</one> (2) <one>Maven</one>
108
+ - In Java: we can use <one>try</one>/<one>catch</one> statements. <two>What other statement can follow the catch-statement</two>? The <one>finally</one> clause. URL: https://docs.oracle.com/javase/tutorial/essential/exceptions/finally.html
109
+ - In Java: give an alternative for <one>true</one>. A: <one>Boolean.TRUE</one>
110
+ - <one>Java</one> is <two>a statically typed language</two>. <three>What does this mean</three>? A language is statically typed, <one>if the data type of the variables are known at compile time</one>.
111
+ - Give an example in Java for a simple <one>for-loop</one>. A: <one>for (int i = 0; i < 5; i++) { System.out.println(i); }</one>
112
+ - In Java: a <one>keyword that specifies the accessibility of program units and their components</one> is called ... ? a <one>visibility attribute</one>.
113
+ - In Java: why is it <one>not</one> necessary to import the <two>java.lang</two> package? Because the <one>Object class</one> makes use of it, and <two>every class in Java inherits from the Object class anyway</two>.
114
+ - In Java: provide another name for the word <one>encapsulation</one>. A: <one>Information hiding</one>. URL: https://www.javatpoint.com/encapsulation
115
+ - In Java: how to shorten <one>Math.PI</one> to <one>PI</one>? Make use of: <one>import static java.lang.Math.*;</one>
116
+ - In Java: what is meant with the term <one>single inheritance</one>? This refers to the fact that each Java class can <one>have only one superclass</one>.
117
+ - In Java: do <one>Arrays</one> have a <three>fixed size</three>? <one>Yes</one>.
118
+ - In Java: <one>nenne zwei Listen</one>, die jeweils mit dem Buchstaben <two>A</two> respektive <two>L</two> beginnen. A: (1) <one>ArrayList</one> (2) <one>LinkedList</one>
119
+ - In Java: how to <one>remove all numbers from a given String</one> <two>x</two>? Use: <one>x.replaceAll("[0-9]","");</one>
120
+ - In Java: <one>a class</one> <two>groups which two aspects</two>? (1) <one>fields</one> (2) <one>methods</one>
121
+ - In Java: how to find out the name of a String class, stored in the variable <one>foo</one>? <one>foo.getClass().getName();</one>
122
+ - In Java: how can we <one>include every class from a given package</one>? We use a trailing <one>asterisk</one>, aka <two>*</two>, at the end of the Java library.
123
+ - <one>How</one> to efficiently create a new String in Java, <two>syntax-wise</two>? <one>String x = "abc";</one>
124
+ - A <one>Set</one> in Java should actually be called ... ? A <one>HashSet</one>. URL: https://www.geeksforgeeks.org/set-in-java/
125
+ - In Java: <one>every application begins with a class name</one>. <two>This class-name has which important constraint</two>? <one>The class name must match the filename</one>.
126
+ - In Java: ergibt <one>System.out.println(0.1 + 0.3 == 0.4);</one> <two>true</two>? <one>Ja</one>.
127
+ - <one>How</one> can we check whether two float values in Java are <two>equal</two>? We can use <one>Float.compare(f3, 4.4f) == 0</one>.
128
+ - In Java: wir sehen die <one>lineare Suche</one> sowie die <two>binäre Suche</two>, in Bezug auf Arrays. <three>Gibt es einen Vorteil der linearen Suche gegenüber der binären Suche</three>? <one>Ja</one> - <two>die lineare Suche funktioniert auch bei Arrays die nicht sortiert sind</two>. <three>Die binäre Suche hingegen funktioniert nur bei sortierten Arrays</three>.
129
+ - In Java: do <one>Interfaces</one> <two>have a constructor</two>? <one>No</one>.
130
+ - In Java: wann ist <one>return;</one> sinnvoll? Zum Beispiel wenn wir eine <one>void-Methode</one> <two>vorzeitig beenden möchten</two>.
131
+ - In Java: the code <one>int i = 3;</one> is the same as ... ? <one>int i = +3;</one>
132
+ - ... is <one>the superclass of all errors</one> that can be thrown in a Java application. A: <one>Throwable</one>.
133
+ - In Java: show an example for <one>class Foobar</one> how a simple field is defined, <three>syntax-wise</three>. A: <one>public class Foobar { String xyz;</one>
134
+ - In Java: <one>why</one> may we wish to make use of <two>static</two> when it comes to <three>import-statements</three>? So that we can avoid having to type, for example, Math.PI. Example: <one>import static java.lang.Math.PI;</one>
135
+ - In Java: for a string, and the method called <one>.substring()</one>, <two>does the second parameter there include the specified character</two>? <one>No</one>, it works in an <two>exclusive</two> manner.
136
+ - In Java: wird <one>der Speicherplatz für ein Array</one> <two>bei der Deklaration reserviert</two>? <one>Nein</one>.
137
+ - In Java: does a <one>boolean variable</one> have <two>a default</two>? <one>Yes</one>, which is set to <two>false</two> - at the least for <three>an instance variable</three>.
138
+ - In Java: wie erhalten wir den <one>Maximalwert eines Integers</one>? <one>Integer.MAX_VALUE</one>
139
+ - How to <one>exit</one> in java? Use: <one>System.exit(0);</one>
140
+ - Does Java have <one>multiple inheritance</one>? <one>No</one>.
141
+ - There are at the least two ways in Java how to create a new <one>string</one>. One would be: <two>String s = "Welcome";</two> and the other would be <two>String s = new String("Welcome");</two>. How are these two ways called, respectively? The first one is <two>a string literal</two>; the second one is by instantiating a new String object, via <one>new</one>.
142
+ - In Java: <one>are primitive datatypes allocated on a stack</one>? <one>Yes</one>.
143
+ - In Java, <one>every application begins with ... </one>? A <one>class name</one>.
144
+ - In Java: <one>float</one> and <one>double</one> are not equivalent. One difference is the number of bits necessary. <two>How many bits do these two types occupy each</two>? (1) <one>float</one>: <two>32 bits</two> (2) <one>double</one>: <two>64 bits</two>
145
+ - In Java: ist ein <one>int</one> grösser als ein <one>long</one>? Nein; <one>long ist größer</one> als <two>int</two>.
146
+ - In Java: how to extract a shorter string from a longer string, when working on a variable called <one>x</one>? <one>x.substring(20, 30)</one>.
147
+ - In Java: <one>can a class exist without a constructor</one>? <one>No</one>.
148
+ - When a Java program ends because <one>an error occurs during its execution</one>, we call this ... ? An <one>exception was thrown</one>.
149
+ - In Java: <one>abstract</one> versus <one>interfaces</one>: <two>which of these two is more flexible</two>? <one>Interfaces</one>. <two>A class may extend only one abstract class, but it can implement multiple interfaces</two>.
150
+ - In Java: if we make use of the <one>switch()</one> statement, do we also have to use <two>break</two> <three>to terminate each case statement</three>? <one>Yes</one>.
151
+ - What is <one>Scanner</one> used for in Java? <two>Scanner</two> in Java <one>obtains user input</one>.
152
+ - In Java we can use the <one>short</one> data type. So if we have code like this, <two>short x = 5000;</two>, <three>how big could x actually be</three>? <one>-32768 to 32767</one> - so, a maximum of <two>32767</two>.
153
+ - In Java: <one>String concatenation</one> is implemented through <two>which class</two> and which method? Through the <one>StringBuffer class</one> and its <two>.append()</two> method.
154
+ - In Java: we can combine two strings via <one>+</one>, or via which method? Via: <one>.concat()</one> URL: https://beginnersbook.com/2013/12/java-string-concat-method-example/
155
+ - In Java: how to count from <one>0</one> to <one>5</one>, <three>without</three> using a <two>for loop</two>? <one>int i = 0; while (i < 5) { System.out.println(i); i++; }</one>
156
+ - In Java: how are <one>dynamic arrays</one> called? <one>ArrayList</one>. URL: https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html
157
+ - In Java: how to test whether a String is similar to another String? Make use of the method <one>.equals();</one>.
158
+ - In Java: <one>Classes are templates for</one> ... ? <one>Creating objects</one>.
159
+ - The Boxing variant, in Java, for <one>char</one>, is ... ? <one>Character</one> (more accurately: <two>class Character</two>). URL: https://docs.oracle.com/javase/7/docs/api/java/lang/Character.html
160
+ - In Java: <one>formal parameters</one> are ... ? Those parameters that <one>appear in a method declaration</one>.
161
+ - In Java: <one>how</one> can we eliminate an entry from the Array called <two>foo</two>? We can use <one>.remove()</one>, as in <two>foo.remove(index);</two>. (This works at the least for an ArrayList)
162
+ - In Java: bei einer <one>verkürzten for-Schleife</one>, <two>kann diese Liste beim Durchlaufen verändert werden</two>? <one>Nein</one>.
163
+ - In Java: does the <one>constructor</one> to a class use a <two>return type</two>? <one>No</one>; it may not even have one assigned to itself.
164
+ - <one>Iterators</one> are used in Java to browse through ... ? <one>Collections</one>. URL: https://www.javatpoint.com/collections-in-java
165
+ - Einen Bruch, in Java, können wir über ... realisieren. A: Über <one>Rational()</one>.
166
+ - In Java: zeige ein Beispiel für eine <one>Deklaration mit Initialisierung</one>. A: <one>int number = 10;</one>
167
+ - In Java: would <one>Integer.parseInt("abc")</one> <two>throw an error</two>? <two>Yes</two>. The string accepted by this method must consist of <one>numbers only</one>.
168
+ - <one>Java</one> <two>make use of which three kinds of variables</two>? (1) <one>instance variables</one> (2) <one>class variables</one> (3) and <one>local variables</one>
169
+ - In Java: may a <one>null reference</one> <two>be used to access a static variable or method</two>? <one>Yes</one>.
170
+ - In Java: show an example how to define an <one>octal number</one>. A: <one>int octal = 0144;</one>
171
+ - Give an example for an <one>object diagram</one> used in Java. A: An <one>UML diagram</one>. URL: https://en.wikipedia.org/wiki/Unified_Modeling_Language
172
+ - Is the <one>byte</one> data type in Java <two>cyclic in nature</two>? <one>Yes</one>.
173
+ - In Java: <one>what operator</one> is used to call an object's constructor method, and create a new object? <one>new</one>
174
+ - In Java: what is the '<one>opposite</one>' to a constructor method? A <one>finalizer method</one>. URL: https://www.geeksforgeeks.org/finalize-method-in-java-and-how-to-override-it/
175
+ - In Ruby we can do: <one>'-' * 80</one>. How could this be done in Java? <one>"-".repeat(80)</one>
176
+ - In Java: show how to create a multidimensional Array with 52 elements each storing 7 elements, in a variable called <one>foo</one>. A: <one>int[][] foo = new int[52][7];</one>
177
+ - In Java: <one>how do we catch multiple exceptions in one go</one>? A: Example: via <one>catch (NullPointerException|IOException exception)</one>
178
+ - Does Java have to be translated to <one>machine language</one>? <one>Yes</one>.
179
+ - In Java: what is meant with an <one>abstract</one> class? This is <one>a class that cannot be used to create objects</one>. We can, however had, inherit this class from another class and thus access its code.
180
+ - Ruby has <one>hash.has_key?</one>. What would be <three>the equivalent method in Java</three>? <one>hash.containsKey("key_goes_in_here")</one>
181
+ - <one>Java</one> has <three>how many primitive data types</three>? <one>Eight</one> (<two>8</two>).
182
+ - In Java: does <one>the default constructor</one> call a method? <one>Yes</one> - it will call <two>super()</two>.
183
+ - In Java: what does the <one>final</one> keyword mean when applied onto a variable? That a variable is <one>unchangeable</one>, aka <two>read-only</two> - <three>it can not be modified afterwards</three>.
184
+ - In Java: if an array has 10 slots, and we try to access slot 11, what error will be issued? <one>ArrayIndexOutOfBoundsException</one>.
185
+ - In Java: <one>how</one> to import all classes from the <two>util package</two>? Use the following syntax: <one>import java.util.*;</one>
186
+ - In Java: <one>wie</one> überprüfen wir ob ein Array möglicherweise nicht mit einem String belegt ist? <one>if (x != null) {}</one>
187
+ - In Java: consider that we have syntax such as this: <one>public static void main(String... args) {</one>. What do the three <three>...</three> indicate here? The three dots are referred to as <one>varargs</one>. They allow us to <two>pass several Strings to the method at hand</two>.
188
+ - In Java: sind <one>primitive Datentypen</one> <two>Klassen</two>? <one>Nein</one>.
189
+ - In Java: is there a trade-off when working with <one>BigInteger</one>? <one>Yes</one> - the operation may be <two>slow</two>.
190
+ - In Java: how is <one><></one> called? This is the <one>diamond operator</one>.
191
+ - In Java: <one>the default value</one> for a <two>float</two> is ... ? <one>0.0</one>.
192
+ - In Java: the <one>String Pool</one> has a default size of ... ? <one>1009</one>.
193
+ - The keyword <one>var</one> in Java has which constraint in regards to its use? It will only work for local variables, so <one>var a = 10;</one> would refer to a local variable inside of a method.
194
+ - In Java: what will happen with the following code: <one>int number = 6.7;</one>? A: This code will <one>yield a compilation error</one>.
195
+ - In Java: given that we have something like: <one>public class Foobar { int x = 10;</one>. How can we <three>forbid</three> any modification to <two>x</two>? Use the <one>final</one> keyword. Example: <two>final int x = 10;</two> URL: https://www.geeksforgeeks.org/g-fact-48/
196
+ - In Java: does the following code work, syntax-wise: <one>"car".equals(null)</one>? A: <one>Yes</one>.
197
+ - Is the following syntax valid, in Java: <one>boolean break = false;</one>? A: No, this is not allowed, as <one>break</one> is a <two>keyword</two>.
198
+ - In Java: wir können die Position eines Zeichens, in einem String, mittels <one>.indexOf()</one> überprüfen. <two>Wie geht dies von rechter Seite des Strings her</two>? Via <one>.lastIndexOf()</one>.
199
+ - In Java: was meinen wir mit <one>elementaren Typen</one>? Dies sind <one>Typen die nicht weiter zerlegbar sind</one>, wie zum Beispiel <two>byte</two>.
200
+ - In <two>Java</two> we typically see code such as <one>public static void main(String[] args) {</one>, but this can also be modified by more code afterwards the <two>()</two>, but before the <two>{</two>. Give a specific example for this. A: <one>public static void main(String[] args) throws IOException {</one>
201
+ - In Java: is this syntax valid: <one>foo = -1.234 F</one>? A: <one>Yes</one>.
202
+ - In Java: <one>which keyword</one> is used to create (or denote) a <two>subclass</two>? <one>extends</one>.
203
+ - In Java: what does a <one>leading zero</one> denote, for a number-literal such as <three>012</three>? That this is an <one>octal</one> value, aka a <two>base-8 number</two>.
204
+ - Java uses which <one>two top-level access modifiers</one>? (1) <one>public</one> (2) <one>none</one>
205
+ - How to <one>output text</one> in Java? Via <one>System.out.println()</one>.
206
+ - In Java: give a specific example for an <one>enum</one>. A: <one>public enum Gender { FEMALE, MALE, UNDEFINED }</one>
207
+ - In Java: nenne ein anderes Wort für eine <one>explizite Typanpassung</one>. A: <one>Cast</one>.
208
+ - Say that we have a button, in <one>Java's swing toolkit</one>. How can we add an <two>on-button-click-event</two>? We use <one>button.addActionListener()</one>, for example.
209
+ - In Java: what would <one>System.out.println(0 + ' ');</one> output? <one>32</one>.
210
+ - In Java: what is <one>the typical default value for reference types</one>? <one>null</one>
211
+ - In Java: consider the following code. What would the value of <one>b</one> be? <one>int a = 17; int b = a++;</one> A: <one>b</one> would be <two>17</two>.
212
+ - In Java: ist folgende Syntax gültig: <one>Integer.parseInt("-1");</one>? A: <one>Ja</one>.
213
+ - In Java: is the following syntax valid: <one>final int x; x = 10; System.out.println(x);</one>? A: <one>Yes</one>.
214
+ - In Java: name the <one>visibility keywords</one>. A: (1) <one>public</one> (2) <one>private</one> (3) <one>protected</one>
215
+ - In Java: <one>is the following syntax valid</one>? <two>String[] foo = { "one", "two", "three", "fourth" };</two>? A: <one>Yes</one>.
216
+ - In Java: what do <one>setters</one> return? Setters in Java <one>return nothing</one>.
217
+ - In Java: specifically show a way <one>how to obtain user input</one>. A: Use <one>Scanner user_input = new Scanner(System.in); String name = user_input.nextLine();</one>.
218
+ - In Java: <one>-19.99</one> is called ... ? A <one>float</one>.
219
+ - In Java: does <one>the value of a class variable</one> affect all its instances? <one>Yes</one>.
220
+ - In Java: is an <one>enum</one> is by default <two>final</two>? <one>Yes</one>.
221
+ - What is <one>the size of a char in Java</one>? <one>16 bits</one>.
222
+ - In Java: we can iterate through an <one>enum</one>, by calling which method specifically? <one>.values()</one>, such as in <two>for (EnumNameHere entry : EnumNameHere.values()) {</two>.
223
+ - In Java: if we have an array such as <one>double[][][] z = new double[2][2][2];</one>, <two>what values will this array have</two>? <one>0.0</one>.
224
+ - In Java: how to convert a <one>string</one>, such as <two>"42"</two>, to an <one>int</one>? Use: <one>Integer.parseInt()</one>
225
+ - In Java: what is a <one>nested class</one>? A nested class is <one>a class defined inside of another class</one>.
226
+ - The <one>short</one> data type in Java begins at <two>-128</two> or at <two>-32768</two>? It begins at <one>-32768</one>.
227
+ - In Java: can <one>Arrays</one> hold <two>heterogeneous element</two>? <one>No</one>.
228
+ - In Java: <one>how</one> do we <two>define class variables</two>, syntax-wise, such as for a String class variable? By making use of the <one>static keyword</one> before the variable itself. Example: <two>static String surname = "Mendoza";</two>
229
+ - Java hat <one>welche vier Datentypen für ganze Zahlen</one>? (1) <one>byte</one> (2) <one>short</one> (3) <one>int</one> (4) <one>long</one>
230
+ - In Java: what could we call a <one>decisional statement</one>? For instance, <one>if (condition) {} else {}</one>.
231
+ - In Java: are <one>arrays</one> part of <two>the collections framework</two>? <one>Yes</one>.
232
+ - In Java: how to conditionally compare a variable <one>x</one> to the string character called <two>"a"</two>? <one>if (x.equals("a")) {</one>
233
+ - In Java: can a <one>final</one> <two>class</two> be subclassed? <one>No</one>.
234
+ - In Java: name <one>two different methods</one> to <two>compare Arrays</two>. A: (1) <one>java.util.Arrays.equals()</one> (2) <one>java.util.Arrays.deepEquals()</one>
235
+ - In Java: wird ein <one>Referenztyp</one> durch eine Java-Klasse implementiert? <one>Ja</one>.
236
+ - <one>Inheritance</one> <two>introduces which two types of classes</two>? (1) <one>subclass</one> (2) <one>superclass</one>
237
+ - In Java: to <one>access a value in a HashMap</one>, which method is used? The <one>.get()</one> method, such as in <two>foo.get("key_goes_in_here");</two>
238
+ - In Java: is it possible to redeclare the same variable? <one>No</one> - <two>the Java compiler does not allow this</two>.
239
+ - In Java, the <one>main()</one> method is required. <two>What is the default argument given to it</two>? <one>String[] args</one>.
240
+ - In Java: we can extract a substring from a given string, via <one>.substring()</one>. What will be the case when we provide only one argument, aka <two>x.substring(20)</two>? Then this will mean <two>to include the remaining part of the string</two>, after the first 20 characters. In Java parlance this will be <one>x.length() - 1</one>.
241
+ - In Java: how to convert a String such as <one>"12"</one> into an <two>Integer</two>? Use <one>Integer.valueOf("12");</one> or <one>Integer.parseInt("12");</one>.
242
+ - In Java: how do we call the <one>action of handling an unexpected event</one>? This is called <one>catching the exception</one>.
243
+ - In Java: can <one>String</one> be used with <two>switch</two>? <one>Yes</one>, since as of <two>Java 7</two> this is possible.
244
+ - Is it possible <one>to have multiple classes in same java file</one>? <one>Yes</one>.
245
+ - In Java: how to determine whether a given String called <one>x</one> is empty? <one>x.isEmpty()</one>
246
+ - In Java: kann eine Methode <two>mehrere return-Anweisungen</two> verwenden? <one>Ja</one>, dies ist möglich.
247
+ - In Java: is the following syntax valid: <one>return(42);</one>. A: <one>Yes</one>. <two>() parens can be used for return</two>, but usually they are omitted.
248
+ - In Java: ist folgende Syntax gültig: <one>double a, b;</one>? A: <one>Ja</one>.
249
+ - In Java: is this valid syntax: <one>var x = List.of("one", "two", "three");</one>? A: <one>Yes</one>.
250
+ - What is <one>the default value</one> of the <two>byte</two> datatype in Java? The default value of the <one>byte</one> datatype is <two>0</two>.
251
+ - In Java: is the following code valid and will it work: <one>int x = 5; System.out.println("abc "+x);</one>? Yes, it will work. <two>In Java Numbers become Strings upon using</two> <one>+</one>.
252
+ - <one>To execute a Java program on a machine</one>, <two>the machine needs an installation of ... </two>? The <one>Java Runtime Environment</one> (<two>JRE</two>). URL: https://en.wikipedia.org/wiki/Java_(software_platform)#Java_Runtime_Environment
253
+ - <one>Java does not really have multiple inheritance</one>, but we can <two>sort of simulate</two> that via ... ? <one>Interfaces</one>.
254
+ - Does Java include a <one>default constructor</one> for all (custom-defined) classes? <one>Yes</one>.
255
+ - In Java: can we declare a whole class via <one>final</one>? <one>Yes</one>.
256
+ - In Java: <one>how to denote a global variable</one>? Attach <one>static</one> before that variable.
257
+ - In Java: how to convert the string <one>'foobar'</one>, stored in the variable <two>x</two>, into <one>'FOOBAR'</one>? Via <one>x.toUpperCase()</one>
258
+ - In Java: ist <one>int i = 20 % 6;</one> gültiger Code? A: Ja. <two>i</two> hat danach den Wert <one>2</one>.
259
+ - In Java: ist folgende Syntax valide: <one>Collection<String> list = new ArrayList<String>();</one>? A: <one>Ja</one>.
260
+ - The <one>byte data type</one> in Java <two>ends at ... </two>? <one>127</one>.
261
+ - In Java: how can we <one>upcase</one> a String, as stored in the variable <three>x</three>? Via <one>x.toUpperCase()</one>.
262
+ - <one>Java packages</one> typically contain a file called <two>package-info.java</two>. Is this file compiled as well or does it merely provide a textual description of the package at hand? It <one>is</one> <two>also</two> <one>compiled as well</one>.
263
+ - In Java: <one>which keyword</one> is used <two>to refer to the current object</two>? <one>this</one>.
264
+ - In Java: <one>all String instances</one> are stored by the JVM in ... ? In the <one>String Pool</one>.
265
+ - In Java: <one>Interfaces</one> <two>that declare no method definitions are called ... </two>? <one>Marker interfaces</one>. URL: https://www.baeldung.com/java-marker-interfaces
266
+ - In Java: kann eine Klasse mehr als nur eine <one>main-Methode</one> besitzen? <one>Nein</one>.
267
+ - In Java: can <one>immutable objects</one> <two>be modified</two>? <one>No</one>.
268
+ - In Java: <one>scanner</one> can be used to input data from a program. For example, <two>.nextLine()</two> can be used to <three>read a string input</three>. Name two other methods that can be used on <one>scanner</one>, that also begin with the word next. A: (1) <one>nextInt()</one>: <two>to read in an integer input</two> (2) <one>nextFloat()</one>: <two>to read in a float number input</two>
269
+ - In Java: can <one>for</one> loops make use of a function, such as <three>foobar()</three>? <one>Yes</one>.
270
+ - In Java: wie nennen wir eine <one>teilweise Auswertung</one>? Dies bezeichnet eine <one>short circuit evaluation</one>. Ein Beispiel hierfür wäre der Operator <one>&&</one>.
271
+ - In Java: can <one>a boolean</one> <two>be compared</two> <one>to an integer</one>? <one>No</one>.
272
+ - In Java: <one>which method is used</one> <two>when two strings ought to be compared</two>? The <one>.compareTo()</one> method.
273
+ - <one>Errors</one> are typically called how, in Java? <one>Exceptions</one>.
274
+ - In Java: <one>can a class have multiple constructors</one>? <one>Yes</one>.
275
+ - In Java: <one>how to create an Array of Strings with 10 elements</one>? <one>String[] foo = new String[10];</one>
276
+ - In Java: wird bei einer <one>Konkatenation</one> von String Objekten mit + ein neues String Objekt erzeugt? <one>Ja</one>, immer.
277
+ - In Java: when <one>new</one> is used to create a new object, <two>where</two> <three>is this object stored</three>? It is <one>stored inside the heap memory</one>.
278
+ - In Java: the <one>char</one> data type is used to store ... ? <one>A single character</one>. Example: <two>char x = 'X';</two>.
279
+ - In Java: <one>welche Werte</one> hat <two>new String[3];</two>? <one>null</one>, <one>null</one> und <one>null</one>.
280
+ - In Java: <one>how</one> to test if a String is at the end of another string? Use: <one>.endsWith()</one>
281
+ - In Java: we can make use of <one>interfaces</one>, and let a class refer to it. If the class is named Foo, and the interface is named Bar, how would we write a class that follows this interface, <two>syntax-wise</two>? Use: <one>public class Foo implements Bar {}</one>
282
+ - In Java: <one>the minimum value</one> for a <two>byte</two> is ... ? <one>-128</one>.
283
+ - In Java: <one>Module</one> <two>existieren seit welcher Version von Java</two>? Seit <one>Version 9</one>. URL: https://en.wikipedia.org/wiki/Java_version_history#Java_9
284
+ - Was, zum Beispiel, ist eine <one>Wrapper-Klasse</one> in Java? Zum Beispiel <one>Integer</one> für <two>int</two>.
285
+ - In Java: <one>JARs</one> is <two>an abbreviation for ... </two>? <one>Java Archives</one>. URL: https://en.wikipedia.org/wiki/JAR_(file_format)
286
+ - Nenne ein Beispiel für die <one>verzweigte Rekursion</one>. A: Die <one>Fibonacci-Zahlen</one>.
287
+ - In <one>modern Java</one>: is the following code valid: <three>final var x = 1001;</three>? A: <one>Yes</one>.
288
+ - In Java: werden <one>Array-Elemente</one> <two>automatisch initialisiert</two>? <one>Ja</one>.
289
+ - In Java: the three <one>.</one>, aka <one>...</one>, is also known as ... ? <one>varargs</one>.
290
+ - In Java: <one>what kinds of methods</one> apply to all objects of a class rather than an individual object? <one>Class methods</one>. URL: https://www.w3schools.com/java/java_class_methods.asp
291
+ - In Java: the two values <one>0</one> and <one>0.0</one> are different. How so? The one with the <one>0.0</one> - aka the one with the decimal point - is <two>more precise</two>.
292
+ - In Java: <one>can we extend a class</one> that has been <two>final</two>ized? No we can not. <one>A final class can not be extended</one>.
293
+ - In Java: ist die folgende Syntax erlaubt? <one>int[] array = new int[5]; array[2]++;</one>? A: <one>Ja</one>.
294
+ - In Java: <one>public class Sample {</one> is actually a shortcut for ... ? <one>public class Sample extends Object {</one>.
295
+ - In Java: what is <one>String[]</one>? This is a <one>simple String array</one>.
296
+ - In Java: give an example how to subclass from <one>Thread</one>. A: <one>public class Foo extends Thread</one>
297
+ - In Java: is the following syntax valid syntax in java: <one>switch("two")</one>? A: <one>Yes</one>.
298
+ - In Java: is the <one>main()</one> method <two>mandatory for running a java-program</two>? <one>Yes</one>. If it is missing then the error <two>"main method not found in the class"</two> will be issued.
299
+ - In Java: ist der <one>== Operator</one> geeignet für Arrays? <one>Nein</one>, da er nur vergleicht ob ob Arrays die gleichen Referenzen haben, nicht ob der Inhalt des Arrays stimmt.
300
+ - In Java: how to return all but the first token in a String stored in the variable <one>x</one>? Use <one>x.substring(1)</one>. <two>Leaving the second argument out defaults to the full length of the string</two>.
301
+ - What is a <three>blank</three> <one>final variable</one> in Java? This is <one>a final variable that is not initialized during declaration</one>. Example: <two>final int i;</two><three> i = 30;</three>.
302
+ - In Java: consider the following code - what will be the output/display? <one>String x = "Hellow"; System.out.println(x.indexOf("t"));</one> A: <one>-1</one>, as <two>"t"</two> can not be found in the given String.
303
+ - In Java: given code such as <one>private boolean done;</one>, how would the <three>getter-method</three> for this look like? It would look like <one>public boolean isDone() {</one>.
304
+ - <one>When</one> was the programming language <two>Java</two> created? In the year <one>1996</one>. URL: https://en.wikipedia.org/wiki/Java_(programming_language)#Versions
305
+ - Name a <one>'pool'</one> used by Java. A: The <one>Java String Pool</one>.
306
+ - <one>Java's form of inheritance</one> is called ... ? <one>single inheritance</one>.
307
+ - In Java: show how to create an <one>abstract class</one> called <three>Foobar</three>. A: <one>public abstract class Foobar {</one>
308
+ - In Java: is the following code valid Java code: <one>int _null = 3;</one>. A: <one>Yes</one> it is.
309
+ - The programming language Java makes use of which <one>comments</one>? (1) // (2) /* */
310
+ - In Java: <one>wann</one> ergibt <two>x || y</two> sofort true? Sofern <one>x == true</one> - es reicht somit bereits wenn <two>x</two> true ist.
311
+ - In Java: kann <one>eine Klasse</one> in ihrem Namen eine Zahl inkludieren, wie zum Beispiel <two>class Foobar1</two>? <one>Ja</one>.
312
+ - In Java: <one>how</one> can we check for equality of Strings while disregarding the case of a variable? We can use <one>string.equalsIgnoreCase("y")</one>, thus via: <two>.equalsIgnoreCase()</two>
313
+ - In Java: how can we convert the hex number <one>int hex = 0xA;</one> to <two>char</two>? Via: <one>System.out.println((char) hex);</one>
314
+ - In Java: how do we declare <one>annotations</one>? Via the <two>@</two> <one>symbol</one>.
315
+ - In Java: show how to create a <one>two-dimensional Array</one> <two>via a short-hand notation</two>. A: <one>int[][] x = {{1, 0}, {0, 1}};</one>
316
+ - In Java: can a <one>set</one> include <two>duplicates</two>? <one>No</one>.
317
+ - In ruby we can use <one>puts "hi"</one>. <two>How would the equivalent Java code be</two>? <one>System.out.println("hi");</one>
318
+ - In Java: is it <one>faster</one> to perform a search on <three>sorted arrays</three> than it is to search on <three>unsorted arrays</three>? <one>Yes</one>.
319
+ - In Java: how does the method <one>foobar()</one> accept (and return) a string as its main argument? <one>String foobar(String x) {</one>.
320
+ - In Java: what is <one>the default value of a String variable</one>? <one>null</one>.
321
+ - In Java: is this valid syntax: <one>while(true) {</one>? A: <one>Yes</one>.
322
+ - In Java: does <one>Inheritance</one> apply to <two>interfaces</two> as well? <one>Yes</one>.
323
+ - In Java: die <one>wrapper-Klasse</one> zu <two>float</two> ist ... ? <one>Float</one>.
324
+ - In Java: can <one>class methods</one> use <two>this</two>? <one>No</one>.
325
+ - In Java: what are <one>mocks</one>? <one>Mocks</one> are <two>objects that register calls they receive</two>.
326
+ - In Java: how to convert the string <one>"10"</one> into the integer <two>10</two>? <one>String number = "10"; int result = Integer.parseInt(number);</one>
327
+ - In Java: ist <one>;</one> alleine eine Anweisung? <two>Ja</two> - dies ist eine <one>leere Anweisung</one>.
328
+ - In Java: show code how to create a String variable that is <one>not 'initialized'</one>. A: <one>String x = null;</one>.
329
+ - In Java: what is the <one>class method</one> <three>Math.max()</three> doing? It will take two arguments and then <one>return the higher of the two</one>.
330
+ - In Java: ist die folgende Syntax gültig: <one>String[] x = new String[3];</one>? A: <one>Ja</one>.
331
+ - In Java: does <one>java.lang.Object</one> contain a <two>.toString() method</two>? <one>Yes</one>.
332
+ - In Java: comparing <one>float versus double</one>, <two>which of these two is more precise</two>? The <one>double</one> data type is more precise than the <one>float</one> data type.
333
+ - In Java: can the <one>new</one> keyword <two>be used to create arrays</two>? <one>Yes</one>.
334
+ - In Java: was passiert <one>am Ende der main-Methode</one>? Hier <one>terminiert</one> das Programm.
335
+ - In Java: when comparing <one>float</one> and <one>double</one> to one another, <two>which of these two take more space</two>? <one>Double</one>, at <two>64 bits</two>. <one>Float</one> occupies only <two>32 bits</two>.
336
+ - In Java: <one>how to load other files</one>? Via, for instance, <one>import java.util.Scanner;</one>. More generally: <one>import a.b.C;</one>
337
+ - Java's <one>ArrayList</one> class has a method called <two>.add()</two>. Name a method that is faster than <two>.add()</two>, while allowing us to essentially do the same. A: <one>.addAll()</one>.
338
+ - In Java: <one>die Wurzel einer Zahl</one> ziehen wir mit ... ? <one>Math.sqrt()</one>. URL: https://www.javatpoint.com/java-math-sqrt-method
339
+ - In Java: nenne eine statische Methode aus <one>Math</one>. A: <one>Math.round();</one>
340
+ - Nenne <one>zwei Schlüsselwörter</one>, mit denen wir <two>den Ablauf von Schleifen beeinflussen können</two>, in Java. A: (1) <one>continue</one> (2) <one>break</one>
341
+ - In Java: <one>the String class is immutable</one>. <two>If we need a mutable string, what should we use instead</two>? Use class <one>StringBuffer</one> instead.
342
+ - In Java: wenn wir <one>continue;</one> in einer <two>for-Schleife</two> verwenden, via i++, wird i dennoch um +1 verändert? <one>Ja</one>.
343
+ - In Java: what is <one>mandatory</one> when defining a <two>global variable</two>? The use of the keyword <one>static</one>.
344
+ - In Java: can we compare a <one>boolean</one> to an <two>integer</two>? <one>No</one>.
345
+ - In Java: give another name for the <one>conditional operator</one>. A: The conditional operator is also called <one>the ternary operator</one>.
346
+ - What is the Java motto in regards to <one>portability</one>? <one>„Write once, run everywhere."</one>
347
+ - In Java: how to convert a <one>String</one> to a double? Use <one>Double.parseDouble()</one>, such as in <two>Double.parseDouble("1")</two>.
348
+ - In Java: can <one>Boolean values</one> be used in a <three>casting operation</three>, e. g. <two>to cast them into another type of variable</two>? <one>No</one>.
349
+ - In Java: what is an <one>inner class</one>? An <one>inner class</one> is a class declared <two>nested within another class</two>.
350
+ - In Ruby we can check whether we have an integer via <one>.is_a? Integer</one>. <two>How can we do this in Java</two>? <one>if (x instanceof Integer)</one>
351
+ - Was meinen wir mit <one>optionalen Modifikatoren</one> in Java? Das ist zum Beispiel <one>public</one> oder <one>private</one> bei einer <two>Methode</two>.
352
+ - In Java: can an <one>interface</one> be <two>declared within a class</two>? <one>Yes</one>. Example: <two>class Foo { interface Bar {</two>.
353
+ - In Java: wie nennen wir <one>Sprachkonstrukte</one> wie <two>if-Anweisungen</two> und <two>while-Schleifen</two>? <one>Kontrollstrukturen</one>.
354
+ - In Java: can we jump to the next iteration of a <one>for loop</one>? Yes, via a <two>continue</two> <one>statement</one> - or more accurately, use <two>continue;</two>.
355
+ - Is <one>(Object)</one> valid syntax in Java? <one>Yes</one>.
356
+ - In Java: for <one>user-input</one> we often include the <two>Scanner class</two>. <three>This class can be found where</three>? In <one>java.util</one>.
357
+ - In Java: is the following code true? <one>(Integer.MAX_VALUE + 1) == Integer.MIN_VALUE</one>? A: <one>Yes</one>.
358
+ - In Java: how can we use <one>varargs</one>, <two>syntax-wise</two>? By making use of three <one>.</one>, aka <one>...</one>. Example: <two>public static void foobar(int ... a)</two>
359
+ - The <two>exceptions</two> covered by the <one>Java APIs</one> are called ... ? <one>Built-in exceptions</one>.
360
+ - <one>Javadoc comments</one> <two>should use which syntax</two>? /<one>**</one> and /<one>*</one>.
361
+ - Show an example how to use <one>a boolean</one> in Java. A: <one>boolean foo = true;</one> - see also https://www.homeandlearn.co.uk/java/boolean_values.html.
362
+ - In Java: can a program have <one>more than one execution thread</one>? <one>Yes</one>.
363
+ - In Java: kann eine <one>switch-Variable</one> auch ein <three>ENUM</three> sein? <one>Ja</one>.
364
+ - In Java: how can we <one>upcase</one> (capitalize) a String stored in the variable <two>x</two>? Via <one>x.toUpperCase()</one>.
365
+ - In Java: are <one>local variables</one> <two>assigned any value</two>, <three>by default</three>? <one>No</one>.
366
+ - In Java: is this syntax valid? <one>double[] x;</one>? A: <one>Yes</one>.
367
+ - In Java: in a typical for-loop such as <one>for (int i = 0; i < 10; i++) {</one>, when will <two>i</two> be incremented? <one>After</one> the for-loop has finished, so in the example code shown, i will first have a value of 0, then 1, then 2 and so forth up to 9.
368
+ - In Java: <one>how to obtain a specific character in a String variable called</one> <two>x</two>? Use <one>.charAt()</one>. Example: <two>String x = "ABCDEFG"; char c = x.charAt(4); System.out.println(c);</two>.
369
+ - In Java: kann eine <one>short</one>-Variable den Wert <two>100000</two> speichern? <one>Nein</one>. Der maximale Wert einer <two>short</two>-Variable in Java ist <three>32767</three>.
370
+ - Is <one>var</one> a keyword in Java? No, <one>var</one> is not a keyword in Java.
371
+ - In Java: for a given method in a given class, is it possible to define the same method name, such as two times <one>public void foobar()</one>? Yes - there still has to be a difference between these two methods, such as <two>different argument types</two>. Example: <one>public void foobar(char c)</one> and <one>public void foobar(char c, int number)</one>.
372
+ - In Java: <one>is this valid syntax</one>: <two>5d</two> / <two>3</two>? A: <one>Yes</one>.
373
+ - In Java: how can we avoid that <three>an attribute</three> such as <one>public class Foo {</one> <two>int x = 10;</two><one> }</one> is changed at a later time? We can use <one>final</one>, as in: <two>final int x = 10;</two>.
374
+ - In Java: how do we add the <i>key</i> <one>"cat"</one> and the value <two>"tom"</two> to a <three>Hash</three>? Use <one>hash.put(a, b)</one> as in <one>hash.put("cat", "tom");</one>.
375
+ - In Java: what does <one>JAR</one> mean? <one>JAR</one> stands for <two>Java Archive</two>. URL: https://en.wikipedia.org/wiki/JAR_%28file_format%29
376
+ - Does Java have <one>global variables</one>? <one>No</one>.
377
+ - In Java: what will the result of this code be: <one>"10" + 20</one>? <one>"1020"</one>.
378
+ - In Java: name a simple way how to check for a string stored in the variable <one>x</one> being equal to several conditions at the same time. A: <one>if (x.matches("b|break|quit"))</one>
379
+ - In Java: do we need to use <one>forward declarations</one>? <one>No</one>.
380
+ - In Java we should have the filename be the same as the name of the (main) class at hand, but this is only valid for ... ? For when it is a <one>public</one> class.
381
+ - In Java: is it possible to pass a char array into <one>new String()</one>? <one>Yes</one>.
382
+ - In Java: at the top-level, which <one>access modifiers</one> can be used? (1) <one>public</one> (2) <one>none</one>
383
+ - In Java: how do we in general call <one>a class that does not need to be instantiated</one>? This is <one>an abstract class</one>.
384
+ - In Java: just about the most important method for <one>StringBuilder</one> is ... ? <one>.append("A");</one>.
385
+ - Show an <one>enhanced for loop</one> in Java, for the variable <three>x</three>. A: <one>for (String entry : x) {</one>
386
+ - In Java: syntax-wise, <one>exception handling</one> <two>begins with ... </two>? <one>try {</one>.
387
+ - In Java: how to denote a <one>double negation</one>? We have to use () such as in <one>!(!x)</one>.
388
+ - In Java: are <one>local variables</one> by default initialized to a (default) value? No they are not. Local variables in Java are <one>always uninitialized</one>.
389
+ - In Java: is the following code valid: <one>int x = 15; x = 20;</one>? Yes - <one>x</one> will simply have the value <two>20</two>.
390
+ - In Java: is a <one>public class</one> <two>visible to all classes everywhere</two>? <one>Yes</one>.
391
+ - In Java: do <one>inner classes</one> <two>have their own class files</two>? <one>Yes</one>. URL: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html
392
+ - In <one>1997</one>, with the release of <two>Java 1.1</two>: <three>how many Java developers were about, world-wide</three>? Approximatively <one>400,000 Java developers</one>.
393
+ - Die <one>Iterator-Form</one> einer for-Schleife wird, in Java, auch wie genannt? <one>forEach</one>-Schleife. Beispiel: <two>String[] x = new String[] { "a", "b", "c", "d" }; for (String entry: x) {}</two>
394
+ - In Java: give an example for a <one>setter</one> method. A: <one>public void setFoo(String i) { this.foo = i; }</one>
395
+ - In Java: how do we call the variable <one>foo</one> in the following code? <two>String[] foo = { "A", "B", "C" };</two>? A: This is an <one>array</one> - <two>a String array</two>.
396
+ - In Java: die <one>verkürzte for-Schleife</one> kann verwendet werden, wenn das <two>... Interface</two> implementiert wird. A: <one>Iterable</one>. URL: https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html
397
+ - In Java: is the following syntax valid? <one>long x = 1234567890 L;</one>? A: <one>Yes</one>.
398
+ - In Java: wie erreichen wir das eine Array-Variable, wie zum Beispiel <one>foobar</one>, nicht mehr referenziert wird? Verwende: <one>foobar = null;</one>
399
+ - In Java: if we wish to use a <one>currency</one>, what should we use specifically? <one>java.math.BigDecimal</one>.
400
+ - <one>Utility classes in Java</one> are available under ... ? <one>java.util</one>.
401
+ - In Java: given code such as <two>int z</two> = <two>(int)(x </two>/<two> y);</two>, is the <one>precedence of casting</one> higher than that of arithmetic calculation? <one>Yes</one> it is.
402
+ - In Java: the code <one>i = 1; j = i++;</one> will have what values for i and j? <two>i</two> will be <one>2</one> and <two>j</two> will be <one>1</one>.
403
+ - In Java: using <one>Math.ceil(-45.78)</one> will yield ... ? <one>-45.0</one>.
404
+ - In Java: what would the following code yield? <one>System.out.print("Hello" + 4);</one>. A: It would print the String <one>"Hello4"</one>.
405
+ - In Java: <one>beginnt</one> <two>die Indexzählung eines Arrays</two> immer bei 0? <one>Ja</one>.
406
+ - In Java: show what is meant with <one>unary, postfix</one>. A: For instance <one>i++</one>.
407
+ - In Java: ist der folgende <one>type cast</one> notwendig: <two>byte x = (byte)(125 + 100);</two>? A: <one>Ja</one>.
408
+ - In Java: can <one>the size of arrays</one> <two>be changed after such an array was created</two>? <one>No</one>.
409
+ - In Java: given a string such as <one>"abcabc"</one>, how to we convert all the <two>c</two> into <three>d</three>? Via: <one>.replace('c', 'd')</one>
410
+ - In Java: whenever we make use of a <one>switch</one> statement we should never forget to do what? To <one>include a</one> <two>default</two> <one>statement</one>.
411
+ - In Java: show a concise way how to create an <one>array</one>. A: <one>int[] array = {1,4,3,2};</one>
412
+ - In Java: <one>can</one> <two>try</two> <one>statements be nested</one>? <one>Yes</one>.
413
+ - In Java: can <one>an interface</one> <two>be instantiated</two>? <one>No</one>.
414
+ - In Java: a class that does not need to be instantiated, but groups together fields and methods for other classes to inherit, or provide a concrete implementation for, is called ... ? An <one>abstract class</one>. URL: https://docs.oracle.com/javase/tutorial/java/IandI/abstract.html
415
+ - In Java: ist folgender Code gültig: <one>boolean a = !!false;</one>? A: <one>Ja</one>.
416
+ - In Java: is it possible to subclass from the <one>Object class</one>? <one>Yes</one>. In fact, <two>this will happen anyway if no specific superclass is specified</two>. <three>Every new class will, by default, inherit directly from Object, unless another superclass has been specified</three>.
417
+ - In Java: show syntax for a global variable. A: <one>static int x;</one>
418
+ - In Java: all data is stored in <one>two different types of memory</one> named ... ? (1) <one>heap</one> (2) <one>stock</one>
419
+ - In Java: nenne <one>eine Voraussetzung für das Einsammeln von Arrays</one>. A: Der Array <one>darf nicht mehr referenziert werden</one>.
420
+ - <one>Java</one> uses <two>which type conversion</two>? A: (1) <one>automatic type conversion</one> (2) <one>explicit type conversion</one>
421
+ - In Java: können wir <one>Operatoren neu definieren</one>? <one>Nein</one>.
422
+ - In Java: was ist <one>der Unterschied</one> zwischen dem <two>Präinkrement-Operator ++a</two> und dem <two>Postinkrement-Operator a++</two>? (1) Beim <one>Präinkrement-Operator</one> wird die Variable <two>vor</two> ihrer weiteren Verwendung <one>um 1 erhöht</one>. (2) Beim <one>Postinkrement-Operator</one> wird die Variable <two>nach</two> seiner weiteren Verwendung <one>um 1 erhöht</one>.
423
+ - When using <one>a sealed class</one> in Java, <two>how can we designate a specific class that may extend the sealed class</two>? By making use of the keyword <one>permits</one>.
424
+ - Nenne <one>zwei Wege</one> wie <two>bei der Rekursion</two> Daten weitergereicht werden können. A: (1) durch <one>Parameter</one> (2) durch <one>Rückgabewerte</one>, die wiederum in Berechnungen einfließen können
425
+ - In Java: <one>what kind of variables can a class consist of</one>? (1) <one>local variable</one> (2) <one>instance variables</one> (3) <one>class variables</one>
426
+ - In Java: why can we not use <one>==</one> to compare two Strings? Because <one>==</one> with String objects just checks whether they are <two>the exact same object</two>.
427
+ - In order to <one>create a directory in Java</one>, <two>name a concise way how this could be done past Java 7</two>. A: <one>Files.createDirectories()</one>, such as in <one>Files.createDirectories(Paths.get("</one>/<one>path</one>/to/directory<one>"));</one>
428
+ - Ruby has <one>class Hash</one>. <two>In Java this is equivalent to ... </two>? <one>Map</one>, aka <two>java.util.Map</two>, which can be used as a data container for <three>key-value pairs</three>.
429
+ - In <one>Java version 14</one>, <two>the switch statement was improved</two>. <three>What can we now omit</three>? <one>break</one>, provided that we use the new -> syntax.
430
+ - In Java: nenne ein Beispiel für einen Operator der <one>rechtsassoziativ</one> ist. A: Der <one>Zuweisungsoperator</one>.
431
+ - Was meinen wir mit einer <one>fundierten, rekursiven Methode</one>? Wenn es eine <one>erreichbare Abbruchbedingung</one> gibt.
432
+ - The <one>lambda expression</one> in Java <two>follows which syntax</two>? <one>item -> {​ }</one>.
433
+ - In Java: show an alternative to the following code, without using a String literal. <one>String s = new String("Hello");</one>. A: <one>var s = new String("Hello");</one>.
434
+ - Die <one>Infixform</one> in Java sieht, zum Beispiel, wie aus? <one>a + b</one> - wobei dies zwei verschiedene Variablen sind.
435
+ - In Java: given the following code, what would be the result: <one>int x; x = 2.5;</one>? A: This would lead to <one>the error message</one> <two>incompatible types: possible lossy conversion from double to int</two>.
436
+ - In Java: say that we wish to create a <one>class Foo</one>, which should be <two>a subclass</two> of <three>class Bar</three>. How to do so, syntax-wise? <one>class Foo extends Bar {}</one>.
437
+ - In Java: is the following valid syntax: <one><ArrayList>Integer</one>? A: No - it should rather be <one>ArrayList<Integer></one>.
438
+ - In Java: <one>how can we typically iterate over a collection</one>? <one>items.forEach(item -> {</one>
439
+ - In Java: <one>Character.MIN_VALUE</one> specifically holds which value? <one>'\u0000'</one>
440
+ - In Java: the <one>switch</one> keyword requires what argument? The <one>variable that is to be checked</one>.
441
+ - In modern Java it is possible to use a <one>for-each</one> loop. Give an example for this, by making use of the following Array called <two>foobar</two>: <three>String[] foobar = { "Volvo", "BMW", "Ford", "Mazda" };</three>. A: <one>for (String i : foobar) { System.out.println(i); }</one>
442
+ - In Java: warum gibt es hier keinen Fehler: <one>int x = 'A';</one>? A: Da <one>eine implizite Umwandlung</one> des char-Wertes 'A' in den int-Wert <two>65</two> stattfindet.
443
+ - In Java: does the <one>main method</one> need to be <three>static</three>? Yes, due to the way how the <one>Java Virtual Machine</one> works. <two>Otherwise it would not be possible to execute the file</two>/<two>code at hand</two>.
444
+ - Is this code valid, in Java: <one>int foo = 0; int foo = 0;</one>? A: <one>No</one> - Java will notify that <two>the variable foo is already defined in the scope</two>.
445
+ - In Java: given a class such as <one>public class Foo {}</one>, <two>how do we call the instructor for this class</two>? <one>public Foo(parameters_here) {}</one>
446
+ - In Java: how can we declare an <one>Array</one> holding different string objects? We make use of <one>[]</one>, such as in: <two>String[] cars = {"Volvo", "BMW", "Ford", "Mazda"};</two>.
447
+ - In Java: how do we typically <one>generate a random number</one>? We will make use of <one>Math.random()</one>. URL: https://www.geeksforgeeks.org/java-math-random-method-examples/
448
+ - In Java: the class <one>class Computer {</one>'s constructor is ... ? <one>Computer() {</one>, inside that class definition.
449
+ - In Java: what is <one>this</one>? In Java <one>this</one> is <two>a reference to the current object</two>.
450
+ - In Java: why is a <one>float</one> often written like so: <two>float x = 123.45F;</two>? A: This <one>avoids a conversion step</one> which would otherwise happen if the <one>F</one> is omitted. Thus <two>it helps save a bit of time</two>.
451
+ - In Java: is the following syntax valid: <one>new Scanner("Hello world!");</one>? A: Yes, this is <one>valid syntax</one>. <two>We can provide a String as input to Scanner() too</two>.
452
+ - In Java: sollten wir eher <one>int[] number;</one> oder <one>int number[];</one> verwenden? Eher <one>int[] number;</one>, also die erste Variante.
453
+ - In the <one>Java JDK</one>: there are <two>which two classes</two> that can be used to read user data from the command line? (1) <one>java.util.Scanner</one> (2) <one>java.io.Console</one>
454
+ - In Java: the <one>byte</one> data type can store whole numbers from ... to ... ? From <one>-128</one> to <one>+127</one>.
455
+ - In Java: can we use <one>==</one> to compare two strings to one another? <two>No</two> - we have to use the <one>.equals()</one> method instead.
456
+ - In Java: wie überprüfen wir auf <one>das folgende Element bei einem Iterator</one>? Via: <one>.hasNext()</one>
457
+ - In Java: how can we get rid of all elements in an Array stored in the variable <one>x</one>? Use: <one>x.clear();</one>
458
+ - In Ruby we may check for a nil value via <one>x.nil?</one>. <two>How would the equivalent look in Java</two>? <one>(x == null)</one>
459
+ - In Java: given <one>public class Foobar {}</one>, <two>how is the constructor called</two>, syntax-wise? <one>public Foobar() {}</one>
460
+ - In Java: what is meant with the <one>Singleton Pattern</one>? That <one>this specific class only has one instance</one>.
461
+ - In Java: show code how to <one>return a number between (and including) 1 to 10</one>. A: <one>import java.util.Random; return new Random().nextInt(10)+1;</one>
462
+ - In Java: give a specific example for <one>compacting import statements</one>. A: <one>import static java.lang.Math.*;</one>
463
+ - In Java: how does an <one>Array</one> typically look like, <two>syntax-wise</two>? <one>String[] foobar;</one>
464
+ - In Java: <one>the java compiler</one> turns the source code, <two>stored in a .java file</two>, into ... ? <one>Byte code</one>, with a <lightgreen>.class</lightgreen> file extension.
465
+ - In Java: can annotations such as <one>@SuppressWarnings</one> have <two>parameters</two>? Yes; parameters such as <one>overrides</one>.
466
+ - In Java, there are <one>three types of variables</one>. <two>Name them</two>. A: (1) <one>fields</one> (2) <one>local variables</one> (3) <one>static variables</one>
467
+ - In Java, we can use <one>try</one>/<one>catch to catch errors</one>. Show the whole <two>catch-line</two> as an example. A: <one>} catch (Exception e) {</one>.
468
+ - <one>Why</one> do we use the <two>final</two> keyword in Java? The <one>final</one> keyword is useful whenever we wish to have a variable store the very same value, such as the constant <two>PI</two> being 3.14159 (and so forth).
469
+ - Does Java deal with <one>pointers</one>? <one>No</one> - Java makes use of <two>automatic memory management</two>, so developers do not have to worry about memory management.
470
+ - In Java: <one>when</one> do <two>unchecked exceptions</two> show up? An unchecked exception typically <one>shows up during program execution</one>.
471
+ - In Java: how would we define a <one>package</one>? A <one>package</one> is <two>a collection of classes and interfaces</two>.
472
+ - Why may <one>rounding</one> be problematic in Java? Because rounding <one>can cause a loss of precision</one>.
473
+ - In Java: how to split a String stored in the variable called <one>x</one> into an Array of one character each? <one>String[] splitted = x.split("");</one>
474
+ - In Java: what is a <one>literal</one>? A <one>literal</one> is <two>a data whose value is exactly specified</two>.
475
+ - In Java: <one>Object types</one> are organized in ... ? <one>Packages</one>.
476
+ - In Java: when creating a <one>constructor</one>, is the <two>()</two> mandatory? Yes. Example: <one>public Foobar() {}</one>
477
+ - In Java: how is the <one>!= operator</one> called, in general? This is a <one>comparison operator</one>.
478
+ - What is the main idea behind the <one>volatile</one> keyword in Java? <one>volatile</one> means that <two>the variable will be stored in the main memory</two>, rather than in CPU cache.
479
+ - In Java: why is <one>List.of()</one> used? So that we can <one>add multiple entries to an Array</one> (the list at hand). Example: <two>List.of("one", "two", "three");</two>
480
+ - In Java: wie würde eine Klassenvariable <one>foobar</one> aussehen, von der Syntax her betrachtet? <one>public class A { private static int foobar;</one>
481
+ - Was meinen wir mit <one>linksassoziativ</one>? Das zum Beispiel <one>3 + 4 + 5</one> eigentlich <one>(3 + 4) + 5</one> ist.
482
+ - In Java: we can have <one>an error message</one> stating <two>Binary Numeric Promotion</two>. <three>What is this and how does it occur</three>? This means that even though a program has variables with data type as a <one>short</one>, these variables will be converted to an <one>integer</one> (int) during execution.
483
+ - In Java: what is <one>the size of an int variable</one>? <one>32 bit</one>.
484
+ - In Java, by default: <one>how to create a new directory</one>? Use something like <one>import java.io.File; new File(this_directory).mkdir();</one>.
485
+ - In Java: how to convert a String such as <one>"cat"</one> into an array containing <two>['c','a','t']</two>? Use <one>.toCharArray()</one>, as in <three>"cat".toCharArray()</three>.
486
+ - In Java: the maximum value for an <one>int</one> is ... ? <one>2_147_483_647</one>.
487
+ - In Java: what is an <one>abstract method</one>? This is <one>a method without an implementation</one>.
488
+ - In Java, for a given class: <one>how can we avoid that the default constructor is called upon instantiation</one>? We simply declare an <one>explicit constructor</one>.
489
+ - In Java: the <one>java.util.Sets</one> includes <two>three interfaces</two> used to represent sets. <three>Which ones are these, in alphabetical order</three>? (1) <one>HashSet</one> (2) <one>LinkedHashSet</one> (3) <one>TreeSet</one>
490
+ - In Ruby we can create a new array via <two>Array.new</two>. How would we do the same in Java, with the variable name being <one>foobar</one>? We can use <two>ArrayList()</two>, as in <one>import java.util.ArrayList; ArrayList<String> cars = new ArrayList<String>;</one>.
491
+ - In Java: <one>float x = 75.5f;</one> is valid syntax. What would be the case if the <two>f</two> would be missing? Then this would be a <one>double</one> instead.
492
+ - Give an example, in Java, for a <one>collection</one>. A: The <one>ArrayList</one>, as part of <two>java.util</two>.
493
+ - In Java: what is meant with the term <one>static method</one>? This is <one>a method that can be accessed without creating an object of the class</one>.
494
+ - In Java: a <one>block</one> creates ... ? <one>a scope for the local variables created within that block</one>.
495
+ - In Java: how do we convert an <one>int</one> to a <two>float</two> value, such as starting from the integer value 12? Use <one>float x = Integer.valueOf(12).floatValue();</one>
496
+ - In Java: what is meant with the term <one>type inference</one>? This is when we derive the type of a variable or an expression from the context of its use.
497
+ - In Java: how to create a string as the binary representation of the number 9, aka <one>1001</one>? Use <one>String x = Integer.toBinaryString(9);</one>
498
+ - In Java: what do we mean with <one>class attributes</one>? <two>Class attributes are variables within a class</two>. Example: <one>public class Foobar { int x = 5; }</one>
499
+ - What does the keyword <one>final</one> mean in Java, applied onto a method? That <one>this method can not be overridden</one> and it will not change during the execution of the program.
500
+ - In Java: how could we define what a <one>static variable</one> is or why it is used? A static variable is one that <one>can be used without the need to instantiate a class</one>.
501
+ - Was ist mit dem Begriff <one>destruktive Zuweisung</one> gemeint? Dies ist <one>eine Zuweisung</one>, die den Wert, den eine Variable vor der Zuweisung gehabt hat, ändert.
502
+ - In Java: show which methods should be used for an Array, to <one>find the maximum value of integers in said Array</one>, via a <three>stream</three>. A: <one>Arrays.stream(array).max().getAsInt();</one>
503
+ - In Java: the <one>char</one> type ranges from <three>0</three> up to ... ? <one>65535</one>.
504
+ - In Java: show the code for an Array of Strings, called <one>foobar</one>, that is being initialized. A: <one>String[] foobar = new String[] { "one", "two", "three" };</one>
505
+ - In Java: the <one>TreeSet</one> will sort data by ... ? <one>value</one>.
506
+ - Why is <one>compacting</one> used in Java? This will <one>reduce the number of import-lines used</one>. Example: <two>import static java.lang.Math.PI;</two> <two>import static java.lang.Math.sqrt;</two> versus <two>import static java.lang.Math.*;</two>
507
+ - In Java: what is <one>transient</one> used for? Transient will <one>mark data that should not be serialized</one>.
508
+ - In Java: was ist mit dem Begriff <one>Implizite Typumwandlung</one> gemeint? Dies ist eine Typumwandlung bei der ein elementarer Typ mit einem kleineren Wertebereich zu einem elementaren Typ mit einem größeren Wertebereich konvertiert wird, zum Beispiel <one>short</one> <two>→</two> <one>int</one>.
509
+ - In Java: what is meant with <one>serialization</one>? When the state of an object state <one>can be saved to a (local) binary file</one>.
510
+ - In Java: <one>static variables</one> are typically used how or where? They are <one>used as constants</one>. To keep them constant they are also typically defined via <two>final</two> as well.
511
+ - In Java: show syntax how to create a <three>Hash</three> that stores keys and values as Strings, via the variable <one>foo</one>. A: <one>import java.util.HashMap; HashMap<String, String> foo = new HashMap<String, String>();</one>
512
+ - In Java: does a <one>subclass</one> <two>contain more behavior than the corresponding superclass</two>? Typically <one>yes</one> it does. []
513
+ - In Java: gibt es einen <one>Array</one>, der sowohl <two>int</two> als auch <two>float</two> Elemente besitzt? <one>Nein</one>. []
514
+ - In Java: which one of the following two variants is the way to go about specifying a String: <one>String[] args</one> or <one>String args[]</one>? Only the first variant, <one>String[] args</one>, should be used. (<two>Both are valid because Java once tried to appeal to C++ programmers, who used the second variant.</two>) []
515
+ - In Java: related to <one>null</one> is <two>which exception</two> in particular? The <one>NullPointerException</one>. URL: https://en.wikibooks.org/wiki/Java_Programming/Preventing_NullPointerException []
516
+ - In Java: when an exception is caught, but no further information is printed out, how is this then called? This is called <one>exception swallowing</one>. []
517
+ - In Java: <one>is the following code valid</one>: <two>interface Foo { interface Bar</two>? A: <one>Yes</one>. []
518
+ - In Java: <one>is it possible</one> to <two>cast</two> <three>objects</three>? <one>Yes</one>. []
519
+ - In Java: how to set and print a string called <one>foobar</one>? <one>String foobar = "foobar"; System.out.println(foobar);</one> []
520
+ - In Java: can the <one>package declaration</one> include <two>numbers</two>? <one>Yes</one>. []
521
+ - Java has which primitive types for <one>floating-point numbers</one>? (1) <one>double</one> (2) <one>float</one> []
522
+ - In Java: the most important method in the <one>Comparable interface</one> is ... ? <one>.compareTo()</one> URL: https://www.javatpoint.com/Comparable-interface-in-collection-framework []
523
+ - In Java: if we have <one>an integer value for a character</one>, <three>char</three>, such as: <three>char character = 'a';</three>, <two>how can we return the associated number</two>? <one>int ascii = (int) character;</one> []
524
+ - In Java: is it possible to use <one>static</one> when making use of the <three>import</three> statement? <one>Ye</one>s - we can use <two>import static java.lang.Math.PI;</two>, for instance. <three>import</three> comes <four>before static</four> here. []
525
+ - In Java we have the <one>AWT</one>, which stands for ... ? <one>Abstract Window Toolkit</one>. URL: https://en.wikipedia.org/wiki/Abstract_Window_Toolkit []
526
+ - In Java: what is a <one>nested loop</one>? This is <one>a loop within another loop</one>. []
527
+ - In Java: the <one>default value of a char type variable</one> is... ? <one>\0</one>. []
528
+ - In a Java class, is the following syntax valid: <one>public static final int LIFESPAN = 100;</one> A: <one>Yes</one>. []
529
+ - In Java: the result of <one>Math.round(2.2)</one> would be ... ? <one>2</one>. []
530
+ - In Java: does <one>indentation</one> count? <one>No</one>. []
531
+ - The <one>first</one> <two>graphical user interface</two> (<three>GUI</three>) toolkit that shipped with Java was ... ? The <one>AWT library</one> (<two>Abstract Window Toolkit</two>). URL: https://en.wikipedia.org/wiki/Abstract_Window_Toolkit []
532
+ - Does <one>Java</one> make use of <two>switch</two>/<two>case statements</two>? <one>Yes</one>. []
533
+ - In Java: how many <one>package</one> statements <two>can there be in a given source file</two>? <one>Only one</one>. []
534
+ - Besitzt Java <one>anonyme Klassen</one>? <one>Ja</one>. []
535
+ - In Java: does <one>JavaFX</one> <two>support</two> <three>Cascading Style Sheets (CSS)</three>? <one>Yes</one>. []
536
+ - In Java: is the following code valid: <one>int zahl = 1; String s = "Hallo Nr." + zahl1;</one> A: <one>Yes</one>, this is valid Java code. <two>The number will be converted automatically</two>. []
537
+ - In Java: is the code <one>long x = 3_123_456L;</one> <two>valid syntax</two>? <one>Yes</one>. []
538
+ - In Java: is <one>char</one> a <two>unicode char</two>? <one>Yes</one>. []
539
+ - In Java: what do <one>setters</one> return? <two>Setters</two> (in Java) return <one>nothing</one>. []
540
+ - In Java: <one>how</one> to <two>sort an Array</two>? Use: <one>Arrays.sort();</one> []
541
+ - In Java: how do we call the <one>{}</one> part, officially? <one>Block delimiters</one>. []
542
+ - In Java: in a given class, <one>numeric variables</one> (of a given field) are <two>initialized to some value</two>? <one>Yes</one>, to <two>0</two>. []
543
+ - Eine <one>monadische Methode</one> <two>hat wieviele Argumente</two>? <one>1</one>. []
544
+ - Java hat <one>wieviele binäre Operatoren</one>? <two>5</two> - und zwar <one>+</one>, <one>-</one>, <one>*</one>, / sowie <one>%</one>. []
545
+ - In Java: does <one>Date</one> <tworespond to</two> <three>.getTime()</three>? <one>Yes</one>. []
546
+ - In Java: wie konvertieren wir den String <one>"ABC"</one> zu <one>"abc"</one>? <one>"ABC".toLowerCase()</one> []
547
+ - In Java: <oneis the following syntax valid</one>: <two>while (true) {}</two> A: <one>Yes</one>. []
548
+ - In Java: is <one>byte x = 10;</one> <two>valid syntax</two>? <one>Yes</one>. []
549
+ - In Java: is <one>.6</one> <two>valid syntax</two>? <one>Yes</one> - it stands for the value <two>0.6</two>, <three>a float</three>. []
550
+ - In Java: <one>all arrays</one> have which <two>instance variable</two>? <one>.length</one> []
551
+ - The <one>first Java version</one> <two>was officially released in ... </two>? <one>1996</one>. URL: https://en.wikipedia.org/wiki/Java_(programming_language)#Versions []
552
+ - In Java: is an <one>enum</one> <two>final</two> <three>by default</three>? <one>Yes</one>. []
553
+ - In Java: give an example for <one>a non-primitive data type</one>. A: A <one>String</one>. []
554
+ - In Java: wie viele <one>else</one>-Zweige können nach einem <two>if</two>-Zweig verwendet werden? Nur <one>einer</one>. []
555
+ - In Java: is <one>var</one> a <two>keyword</two>? <one>No</one>. []
556
+ - In Java: <one>can we declare our own annotations</one>? <one>Yes</one>, via the <two>@ symbol</two>, <three>followed by the annotation's name</three>. []
557
+ - Does Java have <one>enums</one>? <one>Yes</one>. []
558
+ - Does Java have <one>templates</one>? <one>No</one>. []
559
+ - In Java: can the <one>hyphen</one>, aka <two>-</two>, be used in a <three>Java package name</three>? <one>No</one>. []
560
+ - In Java: if an <one>explicit constructor</one> <two>is declared</two>, will the default constructor be generated? <one>No</one>. []
561
+ - Java can run, without modification, in many different computing environments. <one>How is this feature called</one>, in general? <one>Platform neutrality</one>. URL: https://net-informations.com/java/intro/platform.htm []
562
+ - In Java: how to do a <one>strip</one> on a String variable called <two>x</two>, like we may do in ruby? Use <one>x.trim()</one> - but actually we <two>can</two> also use <one>x.strip()</one>. []
563
+ - Do <one>classes in Java</one> make use of <two>super()</two>? <one>Yes</one>. []
564
+ - In Java: <one>creating an object based on a class</one> <two>is called ... </two>? <one>Instantiation</one>. []
565
+ - In Java: can <one>a local variable</one> be used before it is declared? <one>No</one>. []
566
+ - In Java: what does <one>String.valueOf()</one> return? A <one>string</one>. []
567
+ - Is Java <one>case sensitive</one>? <one>Yes</one>. []
568
+ - <one>Who</one> is considered to be <two>the father of the Java programming language</two>? <one>James Gosling</one>. URL: https://en.wikipedia.org/wiki/James_Gosling []
569
+ - In Java: is <one>instanceof</one> <two>a keyword</two>? <one>Yes</one>. []
570
+ - Does <one>the Java compiler</one> allow a <two>re-declaration</two> <three>of the same variable</three>? <one>No</one>, the Java compiler does not allow for this. []
571
+ - In Java: is <one>double d1 = 12E4d;</one> valid syntax? <one>Yes</one>. []
572
+ - In Java: <one>how</one> can we <two>add items to a Hashmap</two>? Via the <one>.put()</one> method, such as in: <two>hash_map_here.put("foo", "bar");</two> []
573
+ - Is the expression <one>float x = 75.5f;</one> <two>valid Java code</two>? <one>Yes</one>. []
574
+ - In Java: say that <one>we want to shift all bits</one>, <two>of a given number</two>. <three>We have to multiply by ... </three>to achieve this. A: We have to <one>multiply by 2</one>. []
575
+ - In Java: <one>how to determine the size of a string</one>, such as for <two>x = "abc"</two>? Via: <one>x.length()</one> []
576
+ - In Java: <one>shift left</one> is actually like <two>a multiplication with ... </two>? <one>2</one>. []
577
+ - In Java: can we use a variable called <one>null</one>? <one>No</one>. []
578
+ - In Java: <one>name a string-related method for Arrays</one>. A: <one>java.util.Arrays.toString()</one> []
579
+ - In Java: is <one>a public class</one> <two>visible to all other classes</two>? <one>Yes</one>. []
580
+ - In Java: can a <one>primitive</one> be <two>dereferenced</two>? <one>No</one>. []
581
+ - In Java: is <one>var r = 'R';</one> <two>as fast as</two> <one>var r = "R";</one>? Interestingly, <one>using the single quotes is faster than using the double quotes here</one>. []
582
+ - In Java: ist ein <one>short</one> <two>größer</two> als ein <one>byte</one>? <one>Ja</one>. []
583
+ - In Java: is an <one>int</one> <two>bigger</two> than a <one>short</one>? <one>Yes</one>. []
584
+ - In Java: dürfen in <one>Klassenmethoden</one> <two>this</two> vorkommen? <one>Nein</one>. []
585
+ - In Java: if we <one>wish to represent an object as a string</one>, what can we do? We can <one>define</one> a <two>.toString()</two> method. []
586
+ - In Java: ist <one>int x = "abc";</one> <two>erlaubt</two>? <one>Nein</one>; dies würde folgenden <two>Fehler</two> verursachen: <three>error: incompatible types: String cannot be converted to int</three> []
587
+ - In Java: can an <one>enum</one> <two>contain methods</two>? <one>Yes</one>. []
588
+ - In Java: <one>ist dies gültiger Code</one>: <two>double foo(double a, b, c) {</two> A: <one>Nein</one>. []
589
+ - In Java: show <one>an example</one> how to set a <two>char</two> variable. A: <one>char a = 'A';</one> []
590
+ - In Java: ist folgende Syntax gültig: <one>long foobar = 100000000000000L;</one> A: <one>Ja</one>. []
591
+ - The <one>Java programming language</one> <two>contains how many different primitive types</two>? <one>Eight</one> (8). []
592
+ - In Java: a normally spaced <one>hello world program</one>, has <two>how many different lines of code</two>? <one>5</one>. []
593
+ - In Java: its <one>data types</one> can be divided into <two>which two general groups</two>? (1) <one>Primitive data types</one> (2) <one>Non-primitive data types</one> []
594
+ - How is the <one>.index</one> method called in Java? <one>.indexOf()</one> []
595
+ - <one>Which comments</one> <two>are available in Java</two>? (1) // comments (2) /<one>* *</one>/ multiline comments []
596
+ - Are <one>arrays</one> <two>objects</two>, in Java? <one>Yes</one>. []
597
+ - In Java: is the following syntax valid: <one>double a, b, c;</one> A: <one>Yes</one>. <two>We can put several variables after we specified the type to them</two>. []
598
+ - In Java: ist folgender Code gültig: <one>string x = "abc";</one> A: Nein. <one>string</one> muss groß geschrieben sein, also wie folgt: <two>String</two>. []
599
+ - Is the following syntax valid Java code: <one>int Integer = 24;</one>? A: <one>Yes</one>. []
600
+ - In Java: ist folgende Syntax gültig: <one>Integer.parseInt("");</one> A: <one>Nein</one>. []
601
+ - In Java: können <one>lokale Variablen</one> <two>durch andere Methoden verändert werden</two>? <one>Nein</one>. []
602
+ - Java has how many <one>Primitive Data Types</one>? <one>Eight</one> (<two>8</two>). []
603
+ - In Java: <one>how to prevent a class from being subclassed</one>? Use the <one>final</one> keyword. []
604
+ - In Java: is the following syntax valid: <one>new Continent().print();</one> A: <one>Yes</one>. []
605
+ - Können <one>rekursive Methoden</one> <two>Schleifen ersetzen</two>? <one>Ja</one>. []
606
+ - In Java: is the following syntax valid: <one>new java.util.Random();</one> A: <one>Yes</one>. []
607
+ - Can <one>HTML markup</one> be used in <two>JavaDoc</two>? <one>Yes</one>. URL: https://en.wikipedia.org/wiki/Javadoc []
608
+ - Does Java have a <one>continue</one> statement? <one>Yes</one>. []
609
+ - In Java: nach außen hin keinen sichtbaren Seitenffekt sehen wir zum Beispiel bei ... ? <one>void</one> <two>Methoden</two>. []
610
+ - In Java: <one>is the following syntax valid</one>: <two>String x = null;</two> A: <one>Yes</one>. []
611
+ - In Java: <one>how</one> to <two>find out whether a String stored in the variable</two> <three>x</three> <four>begins with a given substring</four>? Use <one>.startsWith</one>, as in: <two>String x = "Hello"; x.startsWith("He");</two> []
612
+ - In Java: is the <one>String class</one> <two>mutable</two>? <one>No</one> - the <two>String class</two> in Java is <three>immutable</three>. []
613
+ - Java calls <one>instance variables</one> how? <one>Object variables</one>. []
614
+ - In the <one>IntelliJ IDEA editor</one>: what is indicated <two>when a font is striked through</two>? That this is <one>a deprecated API</one>. []
615
+ - In Java: do <one>arrays</one> <two>perform better than</two> <three>lists</three>? <one>Yes</one>. []
616
+ - In Java: <one>beginnen</one> <two>Schlüsselwörter</two> immer mit einem <three>Kleinbuchstaben</three>? <one>Ja</one>. []
617
+ - In Java: <one>how</one> to import all of <two>java.util</two>? Use: <one>import java.util.*;</one> []
618
+ - In Java: what will <one>@SuppressWarnings</one> effectively do? It will make the compiler hide the possible warnings that will be defined in the annotation's parameters.