studium 0.13.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

Files changed (871) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +2785 -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 +7 -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/search_for_n_ects +7 -0
  38. data/bin/show_lectures_on_the_commandline +7 -0
  39. data/bin/show_themes +7 -0
  40. data/bin/solved +9 -0
  41. data/bin/solved_ects +7 -0
  42. data/bin/studienkennzahl +7 -0
  43. data/bin/studium +7 -0
  44. data/bin/studium_skeleton +7 -0
  45. data/bin/ufind +7 -0
  46. data/bin/upcoming_exams +7 -0
  47. data/bin/week_parser +7 -0
  48. data/doc/ECTS_CONSIDERATIONS.md +81 -0
  49. data/doc/HOW_TO_DETERMINE_WHICH_PART_IS_THE_QUESTION_AND_WHICH_PART_IS_THE_ANSWER.md +44 -0
  50. data/doc/README.gen +2742 -0
  51. data/doc/SQL_database_specification.md +46 -0
  52. data/doc/deprecated_components.md +24 -0
  53. data/doc/documentation_for_the_file_lecture_information.md +311 -0
  54. data/doc/elegant_colours.md +21 -0
  55. data/doc/todo/TODO_FOR_STUDIUM_GEM.md +112 -0
  56. data/doc/todo/TODO_FOR_THE_GRAPHICAL_PARTS_OF_THE_STUDIUM_GEM_INCLUDING_WWW_RELATED_ASPECTS.md +35 -0
  57. data/img/STUDIES.png +0 -0
  58. data/lib/studium/autoinclude.rb +7 -0
  59. data/lib/studium/base/base.rb +2710 -0
  60. data/lib/studium/base/prototype.rb +543 -0
  61. data/lib/studium/c/README.md +2 -0
  62. data/lib/studium/c/a.out +0 -0
  63. data/lib/studium/c/obtain_random_entry.c +11 -0
  64. data/lib/studium/check_and_sanitize/README.md +11 -0
  65. data/lib/studium/check_and_sanitize/check_curriculum_for_correct_separation_of_bachelor_and_master.rb +141 -0
  66. data/lib/studium/check_and_sanitize/check_for_all_exam_topics_being_registered.rb +110 -0
  67. data/lib/studium/check_and_sanitize/check_for_correct_themes_of_each_course.rb +90 -0
  68. data/lib/studium/check_and_sanitize/check_for_existing_description_of_this_lecture.rb +189 -0
  69. data/lib/studium/check_and_sanitize/check_the_lecture_information_file.rb +163 -0
  70. data/lib/studium/check_and_sanitize/find_duplicate_lectures.rb +115 -0
  71. data/lib/studium/check_and_sanitize/missing_priority_entry.rb +44 -0
  72. data/lib/studium/check_and_sanitize/sanitize_this_string_containing_the_lva_dates.rb +79 -0
  73. data/lib/studium/colours/colours.rb +549 -0
  74. data/lib/studium/colours/sfancy.rb +46 -0
  75. data/lib/studium/colours/sfile.rb +35 -0
  76. data/lib/studium/colours/simp.rb +40 -0
  77. data/lib/studium/colours/use_colours.rb +39 -0
  78. data/lib/studium/colours/use_this_colour_for_exam_questions_and_exam_answers.rb +80 -0
  79. data/lib/studium/commandline/commandline.rb +932 -0
  80. data/lib/studium/commandline/menu.rb +903 -0
  81. data/lib/studium/constants/colours.rb +14 -0
  82. data/lib/studium/constants/constants.rb +2142 -0
  83. data/lib/studium/constants/image_constants.rb +217 -0
  84. data/lib/studium/constants/web_constants.rb +25 -0
  85. data/lib/studium/css/project.css +267 -0
  86. data/lib/studium/curricula/curriculum.rb +210 -0
  87. data/lib/studium/curricula/curriculum_as_string.rb +280 -0
  88. data/lib/studium/curricula/curriculum_module_displayer/constants.rb +33 -0
  89. data/lib/studium/curricula/curriculum_module_displayer/curriculum_module_displayer.rb +417 -0
  90. data/lib/studium/curricula/curriculum_module_displayer/initialize.rb +25 -0
  91. data/lib/studium/curricula/curriculum_module_displayer/menu.rb +45 -0
  92. data/lib/studium/curricula/curriculum_module_displayer/reset.rb +74 -0
  93. data/lib/studium/curricula/curriculum_module_displayer/run.rb +20 -0
  94. data/lib/studium/curricula/curriculum_module_displayer/set_use_this_curriculum.rb +93 -0
  95. data/lib/studium/curricula/curriculum_module_displayer/show_and_report.rb +190 -0
  96. data/lib/studium/curricula/determine_curricula/constants.rb +11 -0
  97. data/lib/studium/curricula/determine_curricula/determine_curricula.rb +36 -0
  98. data/lib/studium/curricula/determine_curricula/help.rb +39 -0
  99. data/lib/studium/curricula/determine_curricula/initialize.rb +48 -0
  100. data/lib/studium/curricula/determine_curricula/menu.rb +151 -0
  101. data/lib/studium/curricula/determine_curricula/misc.rb +403 -0
  102. data/lib/studium/curricula/determine_curricula/report.rb +143 -0
  103. data/lib/studium/curricula/determine_curricula/reset.rb +59 -0
  104. data/lib/studium/curricula/determine_curricula/run.rb +19 -0
  105. data/lib/studium/curricula/determine_elective_courses_in_this_curriculum.rb +112 -0
  106. data/lib/studium/curricula/display_bachelor_curricula.rb +90 -0
  107. data/lib/studium/curricula/mitteilungsbl/303/244tter/mitteilungsbl/303/244tter.rb +324 -0
  108. data/lib/studium/curricula/modules/display_on_the_commandline.rb +319 -0
  109. data/lib/studium/curricula/modules/return_n_ects_in_this_module.rb +75 -0
  110. data/lib/studium/curricula/n_percent_solved_in_this_curriculum.rb +75 -0
  111. data/lib/studium/curricula/prepare_individual_curriculum.rb +304 -0
  112. data/lib/studium/curricula/random_curriculum_creator/random_curriculum_creator.rb +163 -0
  113. data/lib/studium/curricula/show_lectures_of_this_curriculum.rb +114 -0
  114. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/constants.rb +11 -0
  115. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/initialize.rb +27 -0
  116. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/menu.rb +35 -0
  117. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/misc.rb +264 -0
  118. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/report.rb +163 -0
  119. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/reset.rb +64 -0
  120. data/lib/studium/curricula/show_lectures_of_this_curriculum_id/show_lectures_of_this_curriculum_id.rb +38 -0
  121. data/lib/studium/curricula/show_solved_percentage_among_the_registered_curricula.rb +87 -0
  122. data/lib/studium/ects/boku_ects_splitter.rb +128 -0
  123. data/lib/studium/ects/ects_per_university.rb +179 -0
  124. data/lib/studium/ects/ects_scanner.rb +141 -0
  125. data/lib/studium/ects/ects_to_university_parser.rb +142 -0
  126. data/lib/studium/ects/last_entry_is_curriculum.rb +150 -0
  127. data/lib/studium/ects/n_ects_in_these_lectures.rb +196 -0
  128. data/lib/studium/ects/n_ects_points_in_mandatory_presence_courses.rb +50 -0
  129. data/lib/studium/ects/return_n_ects_from_this_file.rb +59 -0
  130. data/lib/studium/ects/return_n_ects_from_this_url.rb +196 -0
  131. data/lib/studium/ects/search_for_n_ects.rb +614 -0
  132. data/lib/studium/ects/show_completed_ects_in_all_curricula.rb +191 -0
  133. data/lib/studium/ects/show_passed_credits_per_curriculum.rb +276 -0
  134. data/lib/studium/ects/simple_total_ects_points.rb +135 -0
  135. data/lib/studium/ects/solved_ects/constants.rb +19 -0
  136. data/lib/studium/ects/solved_ects/reset.rb +51 -0
  137. data/lib/studium/ects/solved_ects/solved_ects.rb +325 -0
  138. data/lib/studium/ects/solved_ects_per_university/reset.rb +25 -0
  139. data/lib/studium/ects/solved_ects_per_university/solved_ects_per_university.rb +106 -0
  140. data/lib/studium/ects/still_missing.rb +129 -0
  141. data/lib/studium/ects/sum_of_ects.rb +144 -0
  142. data/lib/studium/encoding/encoding.rb +108 -0
  143. data/lib/studium/exam_topics/RNAi_siRNA_and_miRNA +86 -0
  144. data/lib/studium/exam_topics/abfall_als_ressource +86 -0
  145. data/lib/studium/exam_topics/advanced_biochemistry +781 -0
  146. data/lib/studium/exam_topics/advanced_biotechnology +214 -0
  147. data/lib/studium/exam_topics/advanced_cellbiology +27 -0
  148. data/lib/studium/exam_topics/advanced_chemistry +504 -0
  149. data/lib/studium/exam_topics/advanced_microbiology +43 -0
  150. data/lib/studium/exam_topics/advanced_topics_in_plant_sciences +85 -0
  151. data/lib/studium/exam_topics/advanced_virology +218 -0
  152. data/lib/studium/exam_topics/ageing +114 -0
  153. data/lib/studium/exam_topics/agrar_ecology +63 -0
  154. data/lib/studium/exam_topics/agrarmarkt +71 -0
  155. data/lib/studium/exam_topics/agrarphysik +35 -0
  156. data/lib/studium/exam_topics/alcohols +29 -0
  157. data/lib/studium/exam_topics/algorithms +52 -0
  158. data/lib/studium/exam_topics/allergie +75 -0
  159. data/lib/studium/exam_topics/allgemeine_genetik +1006 -0
  160. data/lib/studium/exam_topics/allgemeine_mikrobiologie +946 -0
  161. data/lib/studium/exam_topics/aminoacids +438 -0
  162. data/lib/studium/exam_topics/analytische_chemie_1 +132 -0
  163. data/lib/studium/exam_topics/analytische_chemie_2 +31 -0
  164. data/lib/studium/exam_topics/anatomie +290 -0
  165. data/lib/studium/exam_topics/anorganische_chemie +311 -0
  166. data/lib/studium/exam_topics/anthropologie +116 -0
  167. data/lib/studium/exam_topics/antibodies_and_antigens +764 -0
  168. data/lib/studium/exam_topics/apoptosis +35 -0
  169. data/lib/studium/exam_topics/archaea +60 -0
  170. data/lib/studium/exam_topics/architecture +8 -0
  171. data/lib/studium/exam_topics/artificial_intelligence +81 -0
  172. data/lib/studium/exam_topics/atomemissionsspektrometrie +6 -0
  173. data/lib/studium/exam_topics/audio +11 -0
  174. data/lib/studium/exam_topics/bacteriophages +240 -0
  175. data/lib/studium/exam_topics/basic_biochemistry +1002 -0
  176. data/lib/studium/exam_topics/basic_biotechnology +1001 -0
  177. data/lib/studium/exam_topics/basic_chemistry +1007 -0
  178. data/lib/studium/exam_topics/basic_virology +1008 -0
  179. data/lib/studium/exam_topics/bauwesen +6 -0
  180. data/lib/studium/exam_topics/betriebssysteme +126 -0
  181. data/lib/studium/exam_topics/betriebswirtschaftslehre +29 -0
  182. data/lib/studium/exam_topics/bioanalytik_und_biosensoren +382 -0
  183. data/lib/studium/exam_topics/biochips +78 -0
  184. data/lib/studium/exam_topics/bioelektrochemie +57 -0
  185. data/lib/studium/exam_topics/biofilms +22 -0
  186. data/lib/studium/exam_topics/bioinformatics +503 -0
  187. data/lib/studium/exam_topics/biological_therapeutics +153 -0
  188. data/lib/studium/exam_topics/biologie +137 -0
  189. data/lib/studium/exam_topics/biomarkers +106 -0
  190. data/lib/studium/exam_topics/biomaterials +89 -0
  191. data/lib/studium/exam_topics/biomembranes +6 -0
  192. data/lib/studium/exam_topics/bionik +65 -0
  193. data/lib/studium/exam_topics/biophysik +34 -0
  194. data/lib/studium/exam_topics/biopolymers +10 -0
  195. data/lib/studium/exam_topics/bioprozesstechnik +149 -0
  196. data/lib/studium/exam_topics/bioressourcenmanagement +78 -0
  197. data/lib/studium/exam_topics/bodenkunde +373 -0
  198. data/lib/studium/exam_topics/bodenmikrobiologie +40 -0
  199. data/lib/studium/exam_topics/cancerbiology +442 -0
  200. data/lib/studium/exam_topics/cell_cultures +155 -0
  201. data/lib/studium/exam_topics/cellbiology +995 -0
  202. data/lib/studium/exam_topics/cellular_transport_and_protein_secretion +27 -0
  203. data/lib/studium/exam_topics/cellulose +6 -0
  204. data/lib/studium/exam_topics/chemische_technologie_anorganischer_stoffe +209 -0
  205. data/lib/studium/exam_topics/chemische_technologie_organischer_stoffe +25 -0
  206. data/lib/studium/exam_topics/chemisches_labor +60 -0
  207. data/lib/studium/exam_topics/chemotaxis_and_motility_in_prokaryotes +87 -0
  208. data/lib/studium/exam_topics/citric_acid_cycle +80 -0
  209. data/lib/studium/exam_topics/clinical_microbiology +492 -0
  210. data/lib/studium/exam_topics/computer_graphics +5 -0
  211. data/lib/studium/exam_topics/computer_science +280 -0
  212. data/lib/studium/exam_topics/crispr +28 -0
  213. data/lib/studium/exam_topics/cyanobacteria +42 -0
  214. data/lib/studium/exam_topics/cytogenetics_and_chromosome_biology +551 -0
  215. data/lib/studium/exam_topics/cytokines +5 -0
  216. data/lib/studium/exam_topics/databases_and_sql +106 -0
  217. data/lib/studium/exam_topics/dna_mutation_and_dna_repair +35 -0
  218. data/lib/studium/exam_topics/dna_replication +56 -0
  219. data/lib/studium/exam_topics/ecogenetics +26 -0
  220. data/lib/studium/exam_topics/ecological_agriculture +12 -0
  221. data/lib/studium/exam_topics/ecology +314 -0
  222. data/lib/studium/exam_topics/economy +211 -0
  223. data/lib/studium/exam_topics/elektronenmikroskopie +354 -0
  224. data/lib/studium/exam_topics/elektrophorese +89 -0
  225. data/lib/studium/exam_topics/elektrotechnik_und_elektrizit/303/244t +41 -0
  226. data/lib/studium/exam_topics/elisa +54 -0
  227. data/lib/studium/exam_topics/embryologie_und_entwicklung +547 -0
  228. data/lib/studium/exam_topics/endospores_and_spores +104 -0
  229. data/lib/studium/exam_topics/enzymes_and_cofactors +345 -0
  230. data/lib/studium/exam_topics/epigenetik +179 -0
  231. data/lib/studium/exam_topics/ethik +138 -0
  232. data/lib/studium/exam_topics/evolution_and_evolutionary_genetics +328 -0
  233. data/lib/studium/exam_topics/excel +7 -0
  234. data/lib/studium/exam_topics/fish +19 -0
  235. data/lib/studium/exam_topics/fluorescence_microscopy +7 -0
  236. data/lib/studium/exam_topics/food_microbiology_and_food_biotechnology +71 -0
  237. data/lib/studium/exam_topics/forensik +11 -0
  238. data/lib/studium/exam_topics/forstwirtschaft +53 -0
  239. data/lib/studium/exam_topics/fortgeschrittene_genetik +511 -0
  240. data/lib/studium/exam_topics/fortgeschrittene_gentechnik +211 -0
  241. data/lib/studium/exam_topics/fortgeschrittene_physik +6 -0
  242. data/lib/studium/exam_topics/fungi +79 -0
  243. data/lib/studium/exam_topics/genetische_krankheiten +176 -0
  244. data/lib/studium/exam_topics/genexpression +1008 -0
  245. data/lib/studium/exam_topics/genomics_and_metagenomics +244 -0
  246. data/lib/studium/exam_topics/gentechnik_und_praktische_biochemie +901 -0
  247. data/lib/studium/exam_topics/geochemistry +67 -0
  248. data/lib/studium/exam_topics/geography +8 -0
  249. data/lib/studium/exam_topics/geologie_und_mineralogie +621 -0
  250. data/lib/studium/exam_topics/geometrie +47 -0
  251. data/lib/studium/exam_topics/geschichte +93 -0
  252. data/lib/studium/exam_topics/gluconeogenesis +59 -0
  253. data/lib/studium/exam_topics/glycogen +25 -0
  254. data/lib/studium/exam_topics/glycolysis +109 -0
  255. data/lib/studium/exam_topics/glykomik +100 -0
  256. data/lib/studium/exam_topics/glyoxylatzyklus +31 -0
  257. data/lib/studium/exam_topics/grassland_cultivation +32 -0
  258. data/lib/studium/exam_topics/hormone +134 -0
  259. data/lib/studium/exam_topics/html +7 -0
  260. data/lib/studium/exam_topics/human_ecology +8 -0
  261. data/lib/studium/exam_topics/hygiene +191 -0
  262. data/lib/studium/exam_topics/imaging_and_microscopy +241 -0
  263. data/lib/studium/exam_topics/immunanalytik +94 -0
  264. data/lib/studium/exam_topics/immunologie +982 -0
  265. data/lib/studium/exam_topics/informatik +97 -0
  266. data/lib/studium/exam_topics/innate_immunity +22 -0
  267. data/lib/studium/exam_topics/insekten +57 -0
  268. data/lib/studium/exam_topics/insulin_and_diabetes +57 -0
  269. data/lib/studium/exam_topics/java +502 -0
  270. data/lib/studium/exam_topics/javascript +12 -0
  271. data/lib/studium/exam_topics/klima +6 -0
  272. data/lib/studium/exam_topics/kryptographie +5 -0
  273. data/lib/studium/exam_topics/landtechnik +26 -0
  274. data/lib/studium/exam_topics/lebensmittel +208 -0
  275. data/lib/studium/exam_topics/lebensmitteltechnologie +16 -0
  276. data/lib/studium/exam_topics/linux +5 -0
  277. data/lib/studium/exam_topics/lipids +94 -0
  278. data/lib/studium/exam_topics/macroeconomics +40 -0
  279. data/lib/studium/exam_topics/mathematics +254 -0
  280. data/lib/studium/exam_topics/medizin_und_biomedizinische_technik +250 -0
  281. data/lib/studium/exam_topics/medizinische_chemie_und_pharmazie +398 -0
  282. data/lib/studium/exam_topics/messtechnik_und_regeltechnik +104 -0
  283. data/lib/studium/exam_topics/metabolismus +406 -0
  284. data/lib/studium/exam_topics/microbial_ecology +35 -0
  285. data/lib/studium/exam_topics/microcontrollers +11 -0
  286. data/lib/studium/exam_topics/mikrobielle_lebensgemeinschaften +33 -0
  287. data/lib/studium/exam_topics/mikrobielle_physiologie +172 -0
  288. data/lib/studium/exam_topics/mitochondria +32 -0
  289. data/lib/studium/exam_topics/mixed +278 -0
  290. data/lib/studium/exam_topics/molecular_biology_of_plants +242 -0
  291. data/lib/studium/exam_topics/molekulare_medizin +131 -0
  292. data/lib/studium/exam_topics/nanotechnologie +453 -0
  293. data/lib/studium/exam_topics/nature_conservation_and_biodiversity +166 -0
  294. data/lib/studium/exam_topics/naturstoffe +9 -0
  295. data/lib/studium/exam_topics/netzwerke +32 -0
  296. data/lib/studium/exam_topics/neurobiology +267 -0
  297. data/lib/studium/exam_topics/nucleotide_sequencing +32 -0
  298. data/lib/studium/exam_topics/nutztierethologie +11 -0
  299. data/lib/studium/exam_topics/object_oriented_modeling +14 -0
  300. data/lib/studium/exam_topics/obstbau +234 -0
  301. data/lib/studium/exam_topics/organische_chemie +1007 -0
  302. data/lib/studium/exam_topics/organische_chemie_2 +118 -0
  303. data/lib/studium/exam_topics/paleobiology +35 -0
  304. data/lib/studium/exam_topics/parasitic_diseases_and_molecular_infection_biology +335 -0
  305. data/lib/studium/exam_topics/patent_law +55 -0
  306. data/lib/studium/exam_topics/pathologie +717 -0
  307. data/lib/studium/exam_topics/pcr +144 -0
  308. data/lib/studium/exam_topics/pentosephosphatweg +41 -0
  309. data/lib/studium/exam_topics/peroxisomes_glycosomes_and_lysosomes +54 -0
  310. data/lib/studium/exam_topics/pflanzenanatomie +255 -0
  311. data/lib/studium/exam_topics/pflanzenbau +24 -0
  312. data/lib/studium/exam_topics/pflanzenschutz +35 -0
  313. data/lib/studium/exam_topics/pflanzenwissenschaften +1009 -0
  314. data/lib/studium/exam_topics/pharmaceutical_biotechnology +250 -0
  315. data/lib/studium/exam_topics/physik +433 -1
  316. data/lib/studium/exam_topics/physikalische_chemie +86 -0
  317. data/lib/studium/exam_topics/physiology_and_histology +506 -0
  318. data/lib/studium/exam_topics/phytochemie +33 -0
  319. data/lib/studium/exam_topics/plant_biotechnology +128 -0
  320. data/lib/studium/exam_topics/plant_breeding +64 -0
  321. data/lib/studium/exam_topics/plant_development +50 -0
  322. data/lib/studium/exam_topics/populationsgenetik +136 -0
  323. data/lib/studium/exam_topics/posttranslationale_modifikation_von_proteinen +191 -0
  324. data/lib/studium/exam_topics/projektmanagement +219 -0
  325. data/lib/studium/exam_topics/prokaryote_genetics +531 -0
  326. data/lib/studium/exam_topics/protein_engineering +8 -0
  327. data/lib/studium/exam_topics/proteolyse +33 -0
  328. data/lib/studium/exam_topics/proteomik +40 -0
  329. data/lib/studium/exam_topics/prozesstechnik +95 -0
  330. data/lib/studium/exam_topics/psychologie +13 -0
  331. data/lib/studium/exam_topics/python +353 -0
  332. data/lib/studium/exam_topics/quality_management +256 -0
  333. data/lib/studium/exam_topics/rechtsgrundlagen +115 -0
  334. data/lib/studium/exam_topics/research_topics_in_immunobiology +42 -0
  335. data/lib/studium/exam_topics/rna_and_dna +395 -0
  336. data/lib/studium/exam_topics/rna_seq +11 -0
  337. data/lib/studium/exam_topics/ruby +146 -0
  338. data/lib/studium/exam_topics/ruby_on_rails +63 -0
  339. data/lib/studium/exam_topics/scientific_writing_and_publishing +38 -0
  340. data/lib/studium/exam_topics/semisynthese_von_proteinen_und_nukleotiden +120 -0
  341. data/lib/studium/exam_topics/sexualbiologie +62 -0
  342. data/lib/studium/exam_topics/signal_transduction_and_laser_systems +167 -0
  343. data/lib/studium/exam_topics/splicing_exons_and_introns +63 -0
  344. data/lib/studium/exam_topics/statistik +233 -0
  345. data/lib/studium/exam_topics/stemcells +158 -0
  346. data/lib/studium/exam_topics/stickstofffixierung +75 -0
  347. data/lib/studium/exam_topics/structural_bioinformatics +54 -0
  348. data/lib/studium/exam_topics/strukturbiologie +380 -0
  349. data/lib/studium/exam_topics/system_biology_and_synthetic_biology +101 -0
  350. data/lib/studium/exam_topics/systematische_zoologie +433 -0
  351. data/lib/studium/exam_topics/technical_ecology +144 -0
  352. data/lib/studium/exam_topics/technische_chemie +202 -0
  353. data/lib/studium/exam_topics/technische_grundlagen_der_informatik +26 -0
  354. data/lib/studium/exam_topics/technische_mikrobiologie +393 -0
  355. data/lib/studium/exam_topics/technisches_zeichnen +5 -0
  356. data/lib/studium/exam_topics/the_bacterial_cell_wall +97 -0
  357. data/lib/studium/exam_topics/the_c_plus_plus_programming_language +489 -0
  358. data/lib/studium/exam_topics/the_c_programming_language +129 -0
  359. data/lib/studium/exam_topics/the_cellcycle +81 -0
  360. data/lib/studium/exam_topics/the_european_union +119 -0
  361. data/lib/studium/exam_topics/the_interferon_system +38 -0
  362. data/lib/studium/exam_topics/the_microbiome +163 -0
  363. data/lib/studium/exam_topics/the_universe +12 -0
  364. data/lib/studium/exam_topics/theoretische_chemie +5 -0
  365. data/lib/studium/exam_topics/theoretische_informatik +157 -0
  366. data/lib/studium/exam_topics/tierzucht +94 -0
  367. data/lib/studium/exam_topics/toxikologie +408 -0
  368. data/lib/studium/exam_topics/transcription +82 -0
  369. data/lib/studium/exam_topics/translation_ribosomes_and_translational_control +142 -0
  370. data/lib/studium/exam_topics/umweltbiotechnologie +63 -0
  371. data/lib/studium/exam_topics/umweltchemie +233 -0
  372. data/lib/studium/exam_topics/urbanism_and_traffic +19 -0
  373. data/lib/studium/exam_topics/urea_cycle +55 -0
  374. data/lib/studium/exam_topics/vaccines_and_vaccination +242 -0
  375. data/lib/studium/exam_topics/vectors_and_gene_therapy +240 -0
  376. data/lib/studium/exam_topics/verfahrenstechnik +32 -0
  377. data/lib/studium/exam_topics/veterinary_medicine +10 -0
  378. data/lib/studium/exam_topics/vitamine +24 -0
  379. data/lib/studium/exam_topics/wasserkunde +137 -0
  380. data/lib/studium/exam_topics/weinbau +59 -0
  381. data/lib/studium/exam_topics/wissenschaft +18 -0
  382. data/lib/studium/exam_topics/yeast +102 -0
  383. data/lib/studium/exam_topics/zoologie +330 -0
  384. data/lib/studium/exams/afterburn/afterburn.rb +257 -0
  385. data/lib/studium/exams/ask_exam_from_the_upcoming_exams_pool.rb +150 -0
  386. data/lib/studium/exams/ask_exam_topic_question.rb +112 -0
  387. data/lib/studium/exams/ask_question_from_alias.rb +141 -0
  388. data/lib/studium/exams/ask_question_from_any_of_the_still_missing_lectures.rb +131 -0
  389. data/lib/studium/exams/ask_question_from_grouped_themes.rb +141 -0
  390. data/lib/studium/exams/ask_question_from_last_topic.rb +91 -0
  391. data/lib/studium/exams/ask_random_question.rb +195 -0
  392. data/lib/studium/exams/autoinclude.rb +7 -0
  393. data/lib/studium/exams/csv/create_csv_passed_exams_file.rb +217 -0
  394. data/lib/studium/exams/cycle.rb +291 -0
  395. data/lib/studium/exams/dataset.rb +123 -0
  396. data/lib/studium/exams/designate_ten_random_exam_topics/designate_ten_random_exam_topics.rb +88 -0
  397. data/lib/studium/exams/exam/exam.rb +130 -0
  398. data/lib/studium/exams/exam_question/README.md +3 -0
  399. data/lib/studium/exams/exam_question/answer.rb +177 -0
  400. data/lib/studium/exams/exam_question/constants.rb +111 -0
  401. data/lib/studium/exams/exam_question/exam_question.rb +1135 -0
  402. data/lib/studium/exams/exam_question/menu.rb +333 -0
  403. data/lib/studium/exams/exam_question/misc.rb +895 -0
  404. data/lib/studium/exams/exam_question/question.rb +91 -0
  405. data/lib/studium/exams/exam_question/reset.rb +96 -0
  406. data/lib/studium/exams/exam_registration_at/constants.rb +49 -0
  407. data/lib/studium/exams/exam_registration_at/exam_registration_at.rb +242 -0
  408. data/lib/studium/exams/exam_registration_at/help.rb +46 -0
  409. data/lib/studium/exams/exam_registration_at/menu.rb +81 -0
  410. data/lib/studium/exams/exam_registration_at/report_and_show.rb +133 -0
  411. data/lib/studium/exams/exam_registration_at/reset.rb +54 -0
  412. data/lib/studium/exams/exam_statistics_from_this_file/exam_statistics_from_this_file.rb +119 -0
  413. data/lib/studium/exams/exam_topics.rb +194 -0
  414. data/lib/studium/exams/exams.rb +20 -0
  415. data/lib/studium/exams/exams_per_month/exams_per_month.rb +2438 -0
  416. data/lib/studium/exams/exams_this_week.rb +182 -0
  417. data/lib/studium/exams/fix_exam_dates.rb +121 -0
  418. data/lib/studium/exams/frozen.rb +36 -0
  419. data/lib/studium/exams/last_exams/last_exams.rb +398 -0
  420. data/lib/studium/exams/lectures_without_exam_entry.rb +137 -0
  421. data/lib/studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb +1956 -0
  422. 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
  423. data/lib/studium/exams/n_exams_in_these_topics.rb +404 -0
  424. data/lib/studium/exams/next_exam.rb +107 -0
  425. data/lib/studium/exams/next_exams.rb +378 -0
  426. data/lib/studium/exams/open_exam_associated_url.rb +154 -0
  427. data/lib/studium/exams/open_last_exam_question_asked_file/constants.rb +15 -0
  428. data/lib/studium/exams/open_last_exam_question_asked_file/initialize.rb +29 -0
  429. data/lib/studium/exams/open_last_exam_question_asked_file/open_last_exam_question_asked_file.rb +109 -0
  430. data/lib/studium/exams/pr/303/274fung.rb +289 -0
  431. data/lib/studium/exams/push_solved_questions_on_top.rb +180 -0
  432. data/lib/studium/exams/questions_solved_from_day_to_day/questions_solved_from_day_to_day.rb +377 -0
  433. data/lib/studium/exams/remote_ftp_url.rb +52 -0
  434. data/lib/studium/exams/repeat_last_question.rb +78 -0
  435. data/lib/studium/exams/show_all_passed_exams_of_this_university.rb +252 -0
  436. data/lib/studium/exams/show_backlog_of_exams.rb +117 -0
  437. data/lib/studium/exams/show_next_exams_for.rb +133 -0
  438. data/lib/studium/exams/show_themes/constants.rb +28 -0
  439. data/lib/studium/exams/show_themes/menu.rb +61 -0
  440. data/lib/studium/exams/show_themes/misc.rb +537 -0
  441. data/lib/studium/exams/show_themes/reset.rb +62 -0
  442. data/lib/studium/exams/show_themes/show_themes.rb +27 -0
  443. data/lib/studium/exams/show_upcoming_exams/consider_autogenerating_exam_aliases.rb +181 -0
  444. data/lib/studium/exams/show_upcoming_exams/constants.rb +82 -0
  445. data/lib/studium/exams/show_upcoming_exams/help.rb +33 -0
  446. data/lib/studium/exams/show_upcoming_exams/initialize.rb +77 -0
  447. data/lib/studium/exams/show_upcoming_exams/menu.rb +60 -0
  448. data/lib/studium/exams/show_upcoming_exams/report.rb +200 -0
  449. data/lib/studium/exams/show_upcoming_exams/reset.rb +45 -0
  450. data/lib/studium/exams/show_upcoming_exams/run.rb +20 -0
  451. data/lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb +544 -0
  452. data/lib/studium/exams/solve_all_questions_from_this_topic.rb +114 -0
  453. data/lib/studium/exams/solved/constants.rb +32 -0
  454. data/lib/studium/exams/solved/help.rb +24 -0
  455. data/lib/studium/exams/solved/initialize.rb +55 -0
  456. data/lib/studium/exams/solved/menu.rb +41 -0
  457. data/lib/studium/exams/solved/reset.rb +28 -0
  458. data/lib/studium/exams/solved/solved.rb +313 -0
  459. data/lib/studium/exams/unsolve_all_questions_from_this_topic.rb +162 -0
  460. data/lib/studium/exams/upcoming_exams/constants.rb +15 -0
  461. data/lib/studium/exams/upcoming_exams/help.rb +41 -0
  462. data/lib/studium/exams/upcoming_exams/initialize.rb +27 -0
  463. data/lib/studium/exams/upcoming_exams/menu.rb +79 -0
  464. data/lib/studium/exams/upcoming_exams/misc.rb +415 -0
  465. data/lib/studium/exams/upcoming_exams/reset.rb +34 -0
  466. data/lib/studium/exams/upcoming_exams/run.rb +26 -0
  467. data/lib/studium/exams/upcoming_exams/upcoming_exams.rb +32 -0
  468. data/lib/studium/exams/upcoming_exams_at_the_boku/constants.rb +23 -0
  469. data/lib/studium/exams/upcoming_exams_at_the_boku/html.rb +64 -0
  470. data/lib/studium/exams/upcoming_exams_at_the_boku/upcoming_exams_at_the_boku.rb +194 -0
  471. data/lib/studium/exams/upcoming_exams_dataset.rb +247 -0
  472. data/lib/studium/exams/upload_exam_topics.rb +360 -0
  473. data/lib/studium/graphviz/README.md +4 -0
  474. data/lib/studium/graphviz/bachelor_vector_based_strategies.dot +160 -0
  475. data/lib/studium/graphviz/master_vector_based_strategies.dot +46 -0
  476. data/lib/studium/gui/gtk3/README.md +1 -0
  477. data/lib/studium/gui/gtk3/ask_exam_question/ask_exam_question.config +6 -0
  478. data/lib/studium/gui/gtk3/ask_exam_question/ask_exam_question.rb +760 -0
  479. data/lib/studium/gui/gtk3/ask_exam_question/manifest.yml +12 -0
  480. data/lib/studium/gui/gtk3/control_panel/control_panel.rb +39 -0
  481. data/lib/studium/gui/gtk3/curriculum_viewer/curriculum_viewer.rb +510 -0
  482. data/lib/studium/gui/gtk3/ects_per_university/ects_per_university.rb +217 -0
  483. data/lib/studium/gui/gtk3/exam_question_widget/exam_question_widget.rb +1887 -0
  484. data/lib/studium/gui/gtk3/expand_time_range/expand_time_range.rb +34 -0
  485. data/lib/studium/gui/gtk3/information_about_a_lecture/information_about_a_lecture.rb +34 -0
  486. data/lib/studium/gui/gtk3/lecture_information/lecture_information.rb +200 -0
  487. data/lib/studium/gui/gtk3/show_upcoming_exams/show_upcoming_exams.rb +34 -0
  488. data/lib/studium/gui/java/exam_question/ExamQuestion$1.class +0 -0
  489. data/lib/studium/gui/java/exam_question/ExamQuestion.class +0 -0
  490. data/lib/studium/gui/java/exam_question/ExamQuestion.java +215 -0
  491. data/lib/studium/gui/javafx/exam_question_widget/exam_question_widget.rb +58 -0
  492. data/lib/studium/gui/jruby/exam_question_widget/exam_question_widget.rb +317 -0
  493. data/lib/studium/gui/libui/ask_exam_question/ask_exam_question.rb +349 -0
  494. data/lib/studium/gui/shared_code/control_panel/control_panel_module.rb +314 -0
  495. data/lib/studium/gui/shared_code/exam_question_widget/exam_question_widget_module.rb +39 -0
  496. data/lib/studium/gui/shared_code/expand_time_range/expand_time_range.css +0 -0
  497. data/lib/studium/gui/shared_code/expand_time_range/expand_time_range_module.rb +190 -0
  498. data/lib/studium/gui/shared_code/information_about_a_lecture/information_about_a_lecture_module.rb +180 -0
  499. data/lib/studium/gui/shared_code/show_upcoming_exams/show_upcoming_exams_module.rb +206 -0
  500. data/lib/studium/images/libui_ask_exam_question.png +0 -0
  501. data/lib/studium/images/small_logos/DNA.png +0 -0
  502. data/lib/studium/images/small_logos/README.md +2 -0
  503. data/lib/studium/images/studies_favicon.png +0 -0
  504. data/lib/studium/java/Mkdir.java +15 -0
  505. data/lib/studium/java/README.md +2 -0
  506. data/lib/studium/java/ask_exam_question/AskExamQuestion.java +477 -0
  507. data/lib/studium/java/solved/Solved.class +0 -0
  508. data/lib/studium/java/solved/Solved.java +110 -0
  509. data/lib/studium/java/utility_scripts/OpenLastExamQuestionurlLinkViaTheBrowser.class +0 -0
  510. data/lib/studium/java/utility_scripts/OpenLastExamQuestionurlLinkViaTheBrowser.java +80 -0
  511. data/lib/studium/logging/README.md +2 -0
  512. data/lib/studium/logging/ensure_that_the_log_directory_exists.rb +47 -0
  513. data/lib/studium/logging/html_log_directory.rb +41 -0
  514. data/lib/studium/logging/log_directory.rb +112 -0
  515. data/lib/studium/logging/store_last_question_asked_into_file.rb +137 -0
  516. data/lib/studium/parsers/README.md +2 -0
  517. data/lib/studium/parsers/custom_exam_results_parser.rb +206 -0
  518. data/lib/studium/parsers/parse_lva_dates.rb +190 -0
  519. data/lib/studium/parsers/parse_remote_lecture.rb +325 -0
  520. data/lib/studium/project/project.rb +76 -0
  521. data/lib/studium/requires/common_popular_requires.rb +37 -0
  522. data/lib/studium/requires/commonly_used_requires.rb +14 -0
  523. data/lib/studium/requires/require_class_exams_solved.rb +7 -0
  524. data/lib/studium/requires/require_ects_scripts.rb +27 -0
  525. data/lib/studium/requires/require_encoding.rb +7 -0
  526. data/lib/studium/requires/require_the_check_and_sanitize_files.rb +31 -0
  527. data/lib/studium/requires/require_the_curricula_files.rb +28 -0
  528. data/lib/studium/requires/require_the_exam_question_class.rb +7 -0
  529. data/lib/studium/requires/require_the_exams_files.rb +45 -0
  530. data/lib/studium/requires/require_the_logging_files.rb +23 -0
  531. data/lib/studium/requires/require_the_parsers.rb +28 -0
  532. data/lib/studium/requires/require_the_studium_constants.rb +10 -0
  533. data/lib/studium/requires/require_the_studium_project.rb +54 -0
  534. data/lib/studium/requires/require_the_toplevel_methods.rb +27 -0
  535. data/lib/studium/requires/require_the_utility_scripts.rb +49 -0
  536. data/lib/studium/requires/require_upcoming_exams.rb +7 -0
  537. data/lib/studium/requires/require_yaml.rb +7 -0
  538. data/lib/studium/requires/return_remote_homepage_of_this_lecture.rb +7 -0
  539. data/lib/studium/requires/with_GUI.rb +13 -0
  540. data/lib/studium/requires/www_mode.rb +17 -0
  541. data/lib/studium/statistics/README.md +4 -0
  542. data/lib/studium/statistics/best_exam_months.rb +92 -0
  543. data/lib/studium/statistics/curriculum_comparer.rb +336 -0
  544. data/lib/studium/statistics/determine_exam_statistics_from_this_file.rb +142 -0
  545. data/lib/studium/statistics/exam_topics_that_are_about_to_be_completed.rb +119 -0
  546. data/lib/studium/statistics/max_stats.rb +170 -0
  547. data/lib/studium/statistics/new_questions_per_year.rb +147 -0
  548. data/lib/studium/statistics/report_how_many_ects_points_per_curriculum_were_completed.rb +167 -0
  549. data/lib/studium/statistics/report_how_many_exam_questions_were_answered.rb +473 -0
  550. data/lib/studium/statistics/show_exam_statistics.rb +60 -0
  551. data/lib/studium/statistics/show_which_courses_are_in_a_bachelor_or_master_curriculum_respectively.rb +104 -0
  552. data/lib/studium/statistics/top_stats.rb +127 -0
  553. data/lib/studium/toplevel_methods/all_passed_exams.rb +37 -0
  554. data/lib/studium/toplevel_methods/already_solved_this_lecture.rb +100 -0
  555. data/lib/studium/toplevel_methods/available_topics.rb +156 -0
  556. data/lib/studium/toplevel_methods/average_grade.rb +141 -0
  557. data/lib/studium/toplevel_methods/calculate_pr/303/274fungsimmanente_lectures_from_this_file.rb +55 -0
  558. data/lib/studium/toplevel_methods/copy_the_last_backup_of_file_lecture_information.rb +34 -0
  559. data/lib/studium/toplevel_methods/curriculum_related_code.rb +999 -0
  560. data/lib/studium/toplevel_methods/determine_local_directory_of_this_lecture.rb +72 -0
  561. data/lib/studium/toplevel_methods/does_this_course_require_mandatory_presence.rb +51 -0
  562. data/lib/studium/toplevel_methods/download.rb +163 -0
  563. data/lib/studium/toplevel_methods/e.rb +16 -0
  564. data/lib/studium/toplevel_methods/ects_from_lectures.rb +250 -0
  565. data/lib/studium/toplevel_methods/editor.rb +65 -0
  566. data/lib/studium/toplevel_methods/esystem.rb +22 -0
  567. data/lib/studium/toplevel_methods/filter_away_invalid_questions.rb +77 -0
  568. data/lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb +3442 -0
  569. data/lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb +136 -0
  570. data/lib/studium/toplevel_methods/has_this_lecture_been_already_passed_but_the_id_was_changed_lateron.rb +42 -0
  571. data/lib/studium/toplevel_methods/has_this_module_been_completed.rb +206 -0
  572. data/lib/studium/toplevel_methods/install_the_project_on_the_given_hostsystem.rb +32 -0
  573. data/lib/studium/toplevel_methods/is_on_roebe.rb +26 -0
  574. data/lib/studium/toplevel_methods/is_this_exam_topic_included.rb +46 -0
  575. data/lib/studium/toplevel_methods/is_this_homepage_registered.rb +31 -0
  576. data/lib/studium/toplevel_methods/is_this_lecture_a_practical_course.rb +100 -0
  577. data/lib/studium/toplevel_methods/is_this_lecture_registered_in_upcoming_exams.rb +42 -0
  578. data/lib/studium/toplevel_methods/java.rb +32 -0
  579. data/lib/studium/toplevel_methods/lecture_information.rb +106 -0
  580. data/lib/studium/toplevel_methods/lva_numbers.rb +355 -0
  581. data/lib/studium/toplevel_methods/main_dataset.rb +73 -0
  582. data/lib/studium/toplevel_methods/methods_related_to_directories.rb +225 -0
  583. data/lib/studium/toplevel_methods/methods_related_to_files.rb +205 -0
  584. data/lib/studium/toplevel_methods/misc.rb +169 -0
  585. data/lib/studium/toplevel_methods/n_questions_available.rb +137 -0
  586. data/lib/studium/toplevel_methods/n_topics_available.rb +63 -0
  587. data/lib/studium/toplevel_methods/names_of_all_solved_exams.rb +71 -0
  588. data/lib/studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb +69 -0
  589. data/lib/studium/toplevel_methods/opnn.rb +25 -0
  590. data/lib/studium/toplevel_methods/passed_this_exam_on.rb +105 -0
  591. data/lib/studium/toplevel_methods/pristine.rb +69 -0
  592. data/lib/studium/toplevel_methods/read_delay_between_questions_from_file.rb +34 -0
  593. data/lib/studium/toplevel_methods/regexes.rb +90 -0
  594. data/lib/studium/toplevel_methods/registered_for_this_exam.rb +62 -0
  595. data/lib/studium/toplevel_methods/remove_comments.rb +26 -0
  596. data/lib/studium/toplevel_methods/remove_exam_topics_that_were_already_answered.rb +27 -0
  597. data/lib/studium/toplevel_methods/remove_tags.rb +32 -0
  598. data/lib/studium/toplevel_methods/report.rb +419 -0
  599. data/lib/studium/toplevel_methods/return_all_exams_on_this_day.rb +66 -0
  600. data/lib/studium/toplevel_methods/return_dataset_for_this_exam_topic.rb +41 -0
  601. data/lib/studium/toplevel_methods/return_div_timetable_of_upcoming_exams.rb +498 -0
  602. data/lib/studium/toplevel_methods/return_ects_from_this_lecture_stored_in_the_file_lecture_information.rb +194 -0
  603. data/lib/studium/toplevel_methods/return_hash_of_already_solved_lectures.rb +46 -0
  604. data/lib/studium/toplevel_methods/return_last_exam_question.rb +34 -0
  605. data/lib/studium/toplevel_methods/return_local_path_of_this_pwdstud.rb +60 -0
  606. data/lib/studium/toplevel_methods/return_lva_number_of_this_lecture.rb +72 -0
  607. data/lib/studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb +90 -0
  608. data/lib/studium/toplevel_methods/return_n_questions_were_answered_for_this_topic.rb +60 -0
  609. data/lib/studium/toplevel_methods/return_proper_university_image.rb +86 -0
  610. data/lib/studium/toplevel_methods/return_question_answer_string_from_this_topic.rb +63 -0
  611. data/lib/studium/toplevel_methods/return_remote_homepage_of_this_lecture.rb +9400 -0
  612. data/lib/studium/toplevel_methods/return_remote_moodle_link_of_this_lecture.rb +1661 -0
  613. data/lib/studium/toplevel_methods/return_sanitized_dataset_from_the_file_lecture_information.rb +110 -0
  614. data/lib/studium/toplevel_methods/return_theme_of_the_next_upcoming_exam.rb +38 -0
  615. data/lib/studium/toplevel_methods/rinstall2.rb +34 -0
  616. data/lib/studium/toplevel_methods/rti_conflict.rb +35 -0
  617. data/lib/studium/toplevel_methods/runmode.rb +87 -0
  618. data/lib/studium/toplevel_methods/sanitized_dataset_from_file_passed_exams_per_month.rb +52 -0
  619. data/lib/studium/toplevel_methods/set_last_file_for_exam_questions.rb +64 -0
  620. data/lib/studium/toplevel_methods/set_this_cd_alias_to.rb +86 -0
  621. data/lib/studium/toplevel_methods/show_passed_exams_having_this_grade.rb +34 -0
  622. data/lib/studium/toplevel_methods/spacer.rb +18 -0
  623. data/lib/studium/toplevel_methods/time.rb +239 -0
  624. data/lib/studium/toplevel_methods/total_ects_points_passed.rb +72 -0
  625. data/lib/studium/toplevel_methods/try_to_guess_the_most_likely_lva_id.rb +57 -0
  626. data/lib/studium/toplevel_methods/try_to_return_the_expanded_name_of_this_lecture.rb +63 -0
  627. data/lib/studium/toplevel_methods/unfinished.rb +51 -0
  628. data/lib/studium/toplevel_methods/url.rb +100 -0
  629. data/lib/studium/toplevel_methods/verbose_truth.rb +36 -0
  630. data/lib/studium/toplevel_methods/when_was_this_lecture_passed.rb +54 -0
  631. data/lib/studium/toplevel_methods/word_wrap.rb +56 -0
  632. data/lib/studium/toplevel_methods/write_into_file_related_functionality.rb +189 -0
  633. data/lib/studium/toplevel_methods/yes_or_no_ja_oder_nein.rb +33 -0
  634. data/lib/studium/universities_in_austria/README.md +2 -0
  635. data/lib/studium/universities_in_austria/boku/README.md +4 -0
  636. data/lib/studium/universities_in_austria/boku/boku_/303/266ffnungszeiten.rb +28 -0
  637. data/lib/studium/universities_in_austria/boku/show_three_pillars_of_these_lectures.rb +110 -0
  638. data/lib/studium/universities_in_austria/boku/three_pillars.rb +237 -0
  639. data/lib/studium/universities_in_austria/tu_vienna/README.md +6 -0
  640. data/lib/studium/universities_in_austria/tu_vienna/tu_ferien.rb +42 -0
  641. data/lib/studium/universities_in_austria/tu_vienna/tu_/303/266ffnungszeiten.rb +34 -0
  642. data/lib/studium/utility_scripts/attribute_lecture_to_curriculum/attribute_boku_lecture_to_curriculum.rb +384 -0
  643. data/lib/studium/utility_scripts/attribute_lecture_to_curriculum/attribute_lecture_to_curriculum.rb +238 -0
  644. data/lib/studium/utility_scripts/attribute_lectures_to_university/attribute_lectures_to_university.rb +375 -0
  645. data/lib/studium/utility_scripts/audio_stats.rb +171 -0
  646. data/lib/studium/utility_scripts/auto_stud/auto_stud.rb +252 -0
  647. data/lib/studium/utility_scripts/auto_stud/constants.rb +18 -0
  648. data/lib/studium/utility_scripts/auto_stud/initialize.rb +23 -0
  649. data/lib/studium/utility_scripts/auto_stud/misc.rb +18 -0
  650. data/lib/studium/utility_scripts/autopurge_this_lecture_date.rb +93 -0
  651. data/lib/studium/utility_scripts/average_grade_of_this_curriculum.rb +101 -0
  652. data/lib/studium/utility_scripts/calendar/README.md +2 -0
  653. data/lib/studium/utility_scripts/calendar/calendar.rb +251 -0
  654. data/lib/studium/utility_scripts/calendar/misc.rb +35 -0
  655. data/lib/studium/utility_scripts/check_description_of_these_lectures.rb +221 -0
  656. data/lib/studium/utility_scripts/create_database/create_database.rb +106 -0
  657. data/lib/studium/utility_scripts/current_lectures_belonging_to_both_bachelor_and_master_curriculum.rb +113 -0
  658. data/lib/studium/utility_scripts/currently_participating_in_these_lectures/currently_participating_in_these_lectures.rb +104 -0
  659. data/lib/studium/utility_scripts/display_lecture_url.rb +160 -0
  660. data/lib/studium/utility_scripts/expand_time_range/expand_time_range.rb +414 -0
  661. data/lib/studium/utility_scripts/finished_exams_at_this_university.rb +94 -0
  662. data/lib/studium/utility_scripts/foreign_language_percentage/constants.rb +23 -0
  663. data/lib/studium/utility_scripts/foreign_language_percentage/foreign_language_percentage.rb +149 -0
  664. data/lib/studium/utility_scripts/foreign_language_percentage/help.rb +31 -0
  665. data/lib/studium/utility_scripts/foreign_language_percentage/initialize.rb +25 -0
  666. data/lib/studium/utility_scripts/foreign_language_percentage/menu.rb +158 -0
  667. data/lib/studium/utility_scripts/foreign_language_percentage/report.rb +62 -0
  668. data/lib/studium/utility_scripts/foreign_language_percentage/reset.rb +50 -0
  669. data/lib/studium/utility_scripts/foreign_language_percentage/run.rb +19 -0
  670. data/lib/studium/utility_scripts/generate_spreadsheet/generate_spreadsheet.rb +354 -0
  671. data/lib/studium/utility_scripts/generate_spreadsheet/misc.rb +144 -0
  672. data/lib/studium/utility_scripts/holidays/holidays.rb +150 -0
  673. data/lib/studium/utility_scripts/homepage_of_these_courses.rb +118 -0
  674. data/lib/studium/utility_scripts/lecture_downloader.rb +107 -0
  675. data/lib/studium/utility_scripts/lectures_attributed_to_universities.rb +336 -0
  676. data/lib/studium/utility_scripts/lva_dates_of_the_important_courses.rb +111 -0
  677. data/lib/studium/utility_scripts/lva_nummer.rb +431 -0
  678. data/lib/studium/utility_scripts/mandatory_lectures_in_this_month/mandatory_lectures_in_this_month.rb +316 -0
  679. data/lib/studium/utility_scripts/name_of_this_lva_id.rb +110 -0
  680. data/lib/studium/utility_scripts/new_stud.rb +324 -0
  681. data/lib/studium/utility_scripts/next_week.rb +103 -0
  682. data/lib/studium/utility_scripts/open_last_exam_question_url_link_via_the_browser.rb +76 -0
  683. data/lib/studium/utility_scripts/passed_ects_per_year/passed_ects_per_year.rb +177 -0
  684. data/lib/studium/utility_scripts/passed_pr/303/274fungsimmanente_courses/passed_pr/303/274fungsimmanente_courses.rb +181 -0
  685. data/lib/studium/utility_scripts/pdf/README.md +2 -0
  686. data/lib/studium/utility_scripts/pdf/create_pdf_file_for_this_exam_topic.rb +355 -0
  687. data/lib/studium/utility_scripts/pdf/hexapdf_support.rb +50 -0
  688. data/lib/studium/utility_scripts/preparatory_meetings/preparatory_meetings.rb +312 -0
  689. data/lib/studium/utility_scripts/priority.rb +164 -0
  690. data/lib/studium/utility_scripts/priority_points/priority_points.rb +263 -0
  691. data/lib/studium/utility_scripts/publish_my_exams.rb +174 -0
  692. data/lib/studium/utility_scripts/regexes/README.md +1 -0
  693. data/lib/studium/utility_scripts/regexes/generate_regex.rb +300 -0
  694. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_available_moodle_links.rb +55 -0
  695. data/lib/studium/utility_scripts/regexes/generate_regexes_for_the_registered_lectures.rb +48 -0
  696. data/lib/studium/utility_scripts/report_outdated_timetable_entries/report_outdated_timetable_entries.rb +142 -0
  697. data/lib/studium/utility_scripts/report_total_amount_of_questions_and_answers_for.rb +116 -0
  698. data/lib/studium/utility_scripts/report_whether_this_lecture_is_registered_in_the_file_lecture_information.rb +128 -0
  699. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/individual_resolve_practical_courses_date_conflicts.rb +254 -0
  700. data/lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/resolve_practical_courses_date_conflicts.rb +265 -0
  701. data/lib/studium/utility_scripts/scrape_remote_university_url.rb +138 -0
  702. data/lib/studium/utility_scripts/semester_schedule_creator/semester_container.rb +144 -0
  703. data/lib/studium/utility_scripts/semester_schedule_creator/semester_schedule_creator.rb +374 -0
  704. data/lib/studium/utility_scripts/semesterplaner.rb +289 -0
  705. data/lib/studium/utility_scripts/set_aliases_based_on_this_file.rb +95 -0
  706. data/lib/studium/utility_scripts/show_all_passed_master_lectures.rb +119 -0
  707. data/lib/studium/utility_scripts/show_conflicting_lva_lectures/show_conflicting_lva_lectures.rb +1238 -0
  708. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/constants.rb +23 -0
  709. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/menu.rb +63 -0
  710. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/reset.rb +33 -0
  711. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/run.rb +50 -0
  712. data/lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/show_descriptions_of_lectures_belonging_to_this_module.rb +145 -0
  713. data/lib/studium/utility_scripts/show_lecturers/show_lecturers.rb +147 -0
  714. data/lib/studium/utility_scripts/show_lectures/constants.rb +11 -0
  715. data/lib/studium/utility_scripts/show_lectures/help.rb +34 -0
  716. data/lib/studium/utility_scripts/show_lectures/initialize.rb +23 -0
  717. data/lib/studium/utility_scripts/show_lectures/menu.rb +127 -0
  718. data/lib/studium/utility_scripts/show_lectures/misc.rb +584 -0
  719. data/lib/studium/utility_scripts/show_lectures/reset.rb +89 -0
  720. data/lib/studium/utility_scripts/show_lectures/run.rb +27 -0
  721. data/lib/studium/utility_scripts/show_lectures/show_lectures.rb +48 -0
  722. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_language/show_lectures_fitting_to_this_language.rb +121 -0
  723. data/lib/studium/utility_scripts/show_lectures_fitting_to_this_theme/show_lectures_fitting_to_this_theme.rb +105 -0
  724. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/constants.rb +17 -0
  725. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/determine.rb +673 -0
  726. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/help.rb +44 -0
  727. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/html.rb +605 -0
  728. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/initialize.rb +56 -0
  729. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/konsole.rb +32 -0
  730. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/menu.rb +472 -0
  731. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/misc.rb +837 -0
  732. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/reset.rb +121 -0
  733. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/run.rb +44 -0
  734. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/show.rb +106 -0
  735. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/show_lectures_on_the_commandline.rb +261 -0
  736. data/lib/studium/utility_scripts/show_lectures_on_the_commandline/sorted_individual_curricula.rb +121 -0
  737. data/lib/studium/utility_scripts/show_lectures_on_this_day.rb +149 -0
  738. data/lib/studium/utility_scripts/show_lva_dates_of_this_lecture.rb +169 -0
  739. data/lib/studium/utility_scripts/show_mixed_bachelor_master_courses/show_mixed_bachelor_master_courses.rb +91 -0
  740. data/lib/studium/utility_scripts/show_outdated_lva_dates/show_outdated_lva_dates.rb +210 -0
  741. data/lib/studium/utility_scripts/show_solved_english_lectures/show_solved_english_lectures.rb +139 -0
  742. data/lib/studium/utility_scripts/steop/README.md +4 -0
  743. data/lib/studium/utility_scripts/steop/show_all_steop_lectures.rb +93 -0
  744. data/lib/studium/utility_scripts/steop/steop_lectures_in_this_curriculum.rb +284 -0
  745. data/lib/studium/utility_scripts/steop/steop_lva_dates.rb +119 -0
  746. data/lib/studium/utility_scripts/studienkennzahl.rb +116 -0
  747. data/lib/studium/utility_scripts/studium_skeleton/studium_skeleton.rb +227 -0
  748. data/lib/studium/utility_scripts/stundenplan.rb +595 -0
  749. data/lib/studium/utility_scripts/sync_studium_relevant_entries_one_level_downwards.rb +217 -0
  750. data/lib/studium/utility_scripts/ufind/ufind.rb +98 -0
  751. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/constants.rb +26 -0
  752. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/run.rb +20 -0
  753. data/lib/studium/utility_scripts/upcoming_mandatory_presence_courses/upcoming_mandatory_presence_courses.rb +181 -0
  754. data/lib/studium/utility_scripts/week_parser/constants.rb +23 -0
  755. data/lib/studium/utility_scripts/week_parser/help.rb +32 -0
  756. data/lib/studium/utility_scripts/week_parser/menu.rb +59 -0
  757. data/lib/studium/utility_scripts/week_parser/misc.rb +373 -0
  758. data/lib/studium/utility_scripts/week_parser/reset.rb +65 -0
  759. data/lib/studium/utility_scripts/week_parser/run.rb +18 -0
  760. data/lib/studium/utility_scripts/week_parser/show.rb +236 -0
  761. data/lib/studium/utility_scripts/week_parser/week_parser.rb +49 -0
  762. data/lib/studium/utility_scripts/weekday_parser.rb +155 -0
  763. data/lib/studium/utility_scripts/weekly_schedule.rb +198 -0
  764. data/lib/studium/utility_scripts/wochenplanung.rb +261 -0
  765. data/lib/studium/version/version.rb +46 -0
  766. data/lib/studium/www/curricula_displayer.cgi +197 -0
  767. data/lib/studium/www/curriculum_displayer.rb +162 -0
  768. data/lib/studium/www/exams.cgi +53 -0
  769. data/lib/studium/www/fast_ask_exam_question.cgi +155 -0
  770. data/lib/studium/www/sinatra/app.rb +231 -0
  771. data/lib/studium/www/sinatra/misc.rb +115 -0
  772. data/lib/studium/www/statistics/statistics.cgi +59 -0
  773. data/lib/studium/yaml/ad_hoc_trainer/README.md +2 -0
  774. data/lib/studium/yaml/ad_hoc_trainer/exam_topics.md +15 -0
  775. data/lib/studium/yaml/allowed_themes_for_exams.yml +344 -0
  776. data/lib/studium/yaml/array_allowed_entries_for_the_file_lecture_information.yml +70 -0
  777. data/lib/studium/yaml/available_exam_topics/available_exam_topics.yml +234 -0
  778. data/lib/studium/yaml/backlog_of_exams.yml +37 -0
  779. data/lib/studium/yaml/colours/custom_colours.yml +28 -0
  780. data/lib/studium/yaml/colours/use_colours.yml +1 -0
  781. data/lib/studium/yaml/current_exams.yml +19 -0
  782. data/lib/studium/yaml/curricula/README.md +9 -0
  783. data/lib/studium/yaml/curricula/bachelor/bachelor_agrarwissenschaften_033255.yml +142 -0
  784. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_basisblock_033630.yml +65 -0
  785. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_botanik_033630.yml +84 -0
  786. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_ecology_033630.yml +74 -0
  787. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_mikrobiologie_und_genetik_033630.yml +120 -0
  788. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_molekulare_biologie_033630.yml +104 -0
  789. data/lib/studium/yaml/curricula/bachelor/bachelor_biologie_zoologie_033630.yml +87 -0
  790. data/lib/studium/yaml/curricula/bachelor/bachelor_chemie_033662.yml +165 -0
  791. data/lib/studium/yaml/curricula/bachelor/bachelor_dummy_curriculum.yml +183 -0
  792. data/lib/studium/yaml/curricula/bachelor/bachelor_elektrotechnik_und_informationstechnik_033235.yml +13 -0
  793. data/lib/studium/yaml/curricula/bachelor/bachelor_forstwirtschaft_033225.yml +115 -0
  794. data/lib/studium/yaml/curricula/bachelor/bachelor_informatik_033521.yml +130 -0
  795. data/lib/studium/yaml/curricula/bachelor/bachelor_ktww_033231.yml +84 -0
  796. data/lib/studium/yaml/curricula/bachelor/bachelor_lmbt_033217.yml +118 -0
  797. data/lib/studium/yaml/curricula/bachelor/bachelor_medizinische_informatik_033533.yml +203 -0
  798. data/lib/studium/yaml/curricula/bachelor/bachelor_molekularbiologie_033665.yml +95 -0
  799. data/lib/studium/yaml/curricula/bachelor/bachelor_nutrition_science_033638.yml +119 -0
  800. data/lib/studium/yaml/curricula/bachelor/bachelor_pharmazie_033305.yml +170 -0
  801. data/lib/studium/yaml/curricula/bachelor/bachelor_technische_chemie_033290.yml +129 -0
  802. data/lib/studium/yaml/curricula/bachelor/bachelor_technische_informatik_033535.yml +23 -0
  803. data/lib/studium/yaml/curricula/bachelor/bachelor_ubrm_033227.yml +136 -0
  804. data/lib/studium/yaml/curricula/bachelor/bachelor_verfahrenstechnik_033273.yml +167 -0
  805. data/lib/studium/yaml/curricula/bachelor/bachelor_wirtschaftsinformatik_033526.yml +29 -0
  806. data/lib/studium/yaml/curricula/individual/bachelor_informatik_und_molekulare_biologie.yml +1161 -0
  807. data/lib/studium/yaml/curricula/individual/bachelor_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +1157 -0
  808. data/lib/studium/yaml/curricula/individual/master_bioinformatics_and_nanobiotechnology_in_molecular_medicine.yml +306 -0
  809. data/lib/studium/yaml/curricula/individual/master_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml +741 -0
  810. data/lib/studium/yaml/curricula/master/master_bioinformatik_066875.yml +76 -0
  811. data/lib/studium/yaml/curricula/master/master_biologie_molekulare_mikrobiologie_mikrobielle_oekologie_und_immunbiologie_066830.yml +78 -0
  812. data/lib/studium/yaml/curricula/master/master_biologische_chemie_066863.yml +61 -0
  813. data/lib/studium/yaml/curricula/master/master_dummy_curriculum.yml +197 -0
  814. data/lib/studium/yaml/curricula/master/master_genetik_und_entwicklungsbiologie_066877.yml +89 -0
  815. data/lib/studium/yaml/curricula/master/master_lmbt_066418.yml +111 -0
  816. data/lib/studium/yaml/curricula/master/master_molekulare_biologie_066834.yml +142 -0
  817. data/lib/studium/yaml/curricula/master/master_pharmazie_066605.yml +170 -0
  818. data/lib/studium/yaml/curricula/master/master_technische_chemie_066490.yml +123 -0
  819. data/lib/studium/yaml/curricula/outdated/master_bioinformatics_and_molecular_biotechnology_including_aspects_from_molecular_medicine.yml +438 -0
  820. data/lib/studium/yaml/curricula/outdated/master_food_science_and_plant_biotechnology.yml +31 -0
  821. data/lib/studium/yaml/curricula.yml +538 -0
  822. data/lib/studium/yaml/daily_questions_solved.yml +1468 -0
  823. data/lib/studium/yaml/default_delay.yml +4 -0
  824. data/lib/studium/yaml/default_encoding.yml +1 -0
  825. data/lib/studium/yaml/directory_to_the_exam_topics.yml +0 -0
  826. data/lib/studium/yaml/editor.yml +1 -0
  827. data/lib/studium/yaml/file_for_exam_questions.yml +1 -0
  828. data/lib/studium/yaml/german/README.md +2 -0
  829. data/lib/studium/yaml/german/german_to_english_month_names.yml +16 -0
  830. data/lib/studium/yaml/grouped_themes.yml +192 -0
  831. data/lib/studium/yaml/holidays.yml +194 -0
  832. data/lib/studium/yaml/important_exams.yml +226 -0
  833. data/lib/studium/yaml/inscription_dates_of_universities.yml +60 -0
  834. data/lib/studium/yaml/lecture_aliases.yml +138 -0
  835. data/lib/studium/yaml/lecture_information/lecture_information.yml +55870 -0
  836. data/lib/studium/yaml/log_dir.yml +1 -0
  837. data/lib/studium/yaml/main_topic.yml +11 -0
  838. data/lib/studium/yaml/max_stats.yml +241 -0
  839. data/lib/studium/yaml/meta_themes/README.md +13 -0
  840. data/lib/studium/yaml/meta_themes/biochemistry.md +6 -0
  841. data/lib/studium/yaml/meta_themes/bioinformatics.md +6 -0
  842. data/lib/studium/yaml/meta_themes/biotechnology.md +9 -0
  843. data/lib/studium/yaml/meta_themes/chemistry.md +9 -0
  844. data/lib/studium/yaml/meta_themes/genetics.md +10 -0
  845. data/lib/studium/yaml/meta_themes/immunology.md +5 -0
  846. data/lib/studium/yaml/meta_themes/metabolic_pathways.md +12 -0
  847. data/lib/studium/yaml/meta_themes/molecular_biology.md +9 -0
  848. data/lib/studium/yaml/meta_themes/protein_engineering.md +10 -0
  849. data/lib/studium/yaml/meta_themes/statistics.md +2 -0
  850. data/lib/studium/yaml/mitbelegung/README.md +4 -0
  851. data/lib/studium/yaml/mitbelegung/mitbelegung.yml +23 -0
  852. data/lib/studium/yaml/mitteilungsbl/303/244tter/mitteilungsbl/303/244tter.yml +363 -0
  853. data/lib/studium/yaml/n_total_questions.yml +1 -0
  854. data/lib/studium/yaml/rename_konsole_tab.yml +1 -0
  855. data/lib/studium/yaml/show_topic.yml +1 -0
  856. data/lib/studium/yaml/statistics/max_stats.yml +239 -0
  857. data/lib/studium/yaml/statistics/statistics.yml +69 -0
  858. data/lib/studium/yaml/week/01_monday.yml +5 -0
  859. data/lib/studium/yaml/week/02_tuesday.yml +75 -0
  860. data/lib/studium/yaml/week/03_wednesday.yml +62 -0
  861. data/lib/studium/yaml/week/04_thursday.yml +14 -0
  862. data/lib/studium/yaml/week/05_friday.yml +31 -0
  863. data/lib/studium/yaml/week/06_saturday.yml +16 -0
  864. data/lib/studium/yaml/week/07_sunday.yml +0 -0
  865. data/lib/studium/yaml/week/README.md +13 -0
  866. data/lib/studium.rb +5 -0
  867. data/studium.gemspec +80 -0
  868. data/test/testing_studium.rb +244 -0
  869. data/test/testing_studium_base_class.rb +17 -0
  870. data/test/testing_time_component.rb +29 -0
  871. metadata +1078 -0
@@ -0,0 +1,489 @@
1
+ # =========================================================================== #
2
+ # === C++
3
+ #
4
+ # All about the C++ programming language.
5
+ # =========================================================================== #
6
+
7
+ - In C++: kann eine Funktion mehrere Werte mittels return zurückgeben? Nein.
8
+ - In C++: was genau enthält ein <one>Zeiger</one>? Ein <two>Zeiger</two> enthält die <one>Adresse des Speicherplatzes</one>, an dem das Datenelement zu finden ist.
9
+ - In C++: was meinen wir mit <one>variable++</one>? Dies liefert zunächst den alten Wert von "variable" als Resultat zurück; danach wird der Wert von <one>variable</one> um 1 erhöht.
10
+ - In C++: is <one>void</one> a <two>return type</two>? Yes it is. []
11
+ - In C++: kann bei <one>cin.fail()</one> der Stream weiter verwendet werden? Ja. []
12
+ - In C++: der Ergebnistyp von <one>main()</one> ist ... ? <one>int</one>. []
13
+ - In C++: wie <one>gruppieren</one> wir eine grosse Zahl? Mit ', wie zum Beispiel in: <one>int b { 1'000'000 };</one>
14
+ - In C++: gilt die Anweisung <one>cout.precision(10)</one> für alle Aufrufe von <two>cout</two> in Folge? Ja. []
15
+ - In C++: wieso ergibt <one>0.4 * 0.4</one> nicht <one>0.16</one>? Weil <two>0.4</two> <one>binär nicht exakt darstellbar ist</one>.
16
+ - In C++, every <one>variable</one> has what? A <one>specific type</one>.
17
+ - In C++: wenn wir Dateien lesen oder in Dateien schreiben wollen müssen wir welchen header verwenden? <<one>fstream</one>>
18
+ - In C++: what is <one>a const member function</one>? This is a member function that guarantees it will not modify the object or call any non-const member functions, as they may modify the object.
19
+ - In C++: give an example for a method called <one>foobar()</one> with <three>placeholder arguments</three>. A: <one>void foobar(int, int);</one>.
20
+ - In C++: is it possible to <one>overload a function</one> simply by changing the number of arguments to that function? Yes.
21
+ - In C++: what does the <one>abbreviation</one> <two>STL</two> stand for? <one>Standard template library</one>. []
22
+ - In <one>C++</one>: how do we call <two>f(a)</two> in general? This is <one>a function call</one>. []
23
+ - In C++: if we have an expression containing values of type <one>int</one> and <one>double</one>, C++ may change the int operand to double. How is this conversion called officially? This is called <one>a promotion</one>; C++ thus <two>promotes</two> int to a double. []
24
+ - In C++: how do we call the process of determining the expression's value? <one>Evaluation</one>. []
25
+ - In C++: how can we <one>obtain a substring</one> from a String object, say, <two>x</two>? We can use: <one>x.substr(0, 42);</one> where <two>0</two> and <two>42</two> denote the <three>start</three> and <three>end</three> position of the given substring at hand. []
26
+ - Enthält ein <one>struct</one> in C++ Funktionen? <two>Nein</two> - es <one>enthält nur Daten</one>.
27
+ - In C++: how do we call a line such as <one>#include <iostream></one>? This is a <one>preprocessor directive</one>. []
28
+ - In C++: <one>how to obtain user input</one>? Use: <one>cin >> user_input;</one> []
29
+ - In C++: was bedeutet <one>int a {}</one>? Dies weist der Variablen <one>a</one> den <one>Wert 0</one> zu. []
30
+ - In C++: the <one>function prototype for time</one> is in ... ? <one><ctime></one>. []
31
+ - In C++: the keyword <one>inline</one> can be used in connection with ... ? A <one>function</one>.
32
+ - In C++: a program consists of <one>several separately compiled parts</one>, called ... ? <one>Translation Units</one>. []
33
+ - What is <one>the most important function for a C++ program</one>? <one>main()</one> []
34
+ - Wann wird, in C++, die exception <one>std::bad_alloc</one> ausgegeben? Wenn kein Speicherplatz mehr vorhanden ist.
35
+ - Does C++ make use of <one>three access modifiers</one>? Yes - <one>public</one>, <one>private</one> and <one>protected</one> are all supported. []
36
+ - In C++: give <three>an example</three> for a <one>label</one>. A: This is <one>an identifier</one> followed by a colon, such as <royalblue>begin:</royalblue>.
37
+ - In C++: sollten wir <one>using namespace xyZ;</one> in header Dateien verwenden? Nein. []
38
+ - Wie lautet der <one>Verkettungsoperator</one> bei <two>Strings</two>, in C++? <one>x + y</one> []
39
+ - In C++: is the <one>name</one> <two>_</two> a valid name for a <three>variable</three>? Yes it is. []
40
+ - In C++: wie erhalten wir die <one>Größe eines Datentyps</one>? Mit Hilfe von <one>sizeof()</one>. []
41
+ - In C++ unterscheidet sich der <one>array</one> von dem vector in der Initialisierung, und zwar wie ... ? Der array benötigt zwei {{}}; der vector nur ein {}.
42
+ - In a <one>C++ enum</one>: can the separate enumeration constants have the same integer value? Yes. []
43
+ - In C++: how is the <one>>> operator</one> called? This is <one>the extraction operator</one>. URL: https://www.tutorialspoint.com/cplusplus/input_output_operators_overloading.htm []
44
+ - C++ treats <one>all floating-point numbers</one>, such as <two>7.33</two>, that can be found in a program's source code as ... by default? As <one>double values</one>. []
45
+ - In <one>C++</one>: <two>auto limit = 10.0</two> would be equivalent to ... ? <one>double limit = 10.0</one>. []
46
+ - In C++: the most common error in regards to <one>switch statements</one> is ... ? To <one>forget</one> to terminate a case with a <two>break</two> statement. []
47
+ - In C++: beim Input/Output verwenden wir zum Beispiel <one>cin.ignore(1000, '\n')</one>. Was bedeutet die Zahl <three>1000</three> hier? Dies bedeutet das alles bis zum Zeilenende verworfen wird, aber höchstens 1000 Zeichen.
48
+ - In C++: Wie lesen wir zwei <one>String-Variablen</one> als user input möglichst effizient ein? <one>cin >> string1 >> string2</one>. []
49
+ - In C++: what is the main difference between <one>float</one> and <one>double</one>? <one>double</one> can simply store more digits, and is thus more accurate when it comes to numbers with a decimal point.
50
+ - In C++: why the name <one>float</one>? This stands for <one>floating point</one>.
51
+ - In C++: why was the name <one>double</one> chosen to have a special meaning in the language? This is <one>historic</one>. The term <two>double</two> is short for <peru>double-precision floating point</peru>.
52
+ - Wenn wir C++ code mittels <one>GCC</one> kompilieren, wie können wir alle Warnungen anzeigen? Mittels <one>-Wall</one>. []
53
+ - In C++: gib ein anderes Wort an für den <one>Prototyp einer Funktion</one>. A: Die <one>Funktionsdeklaration</one>. []
54
+ - In C++: what value does <one>EOF</one> usually have? <one>-1</one>. []
55
+ - In C++: <one>32 bits</one> are n bytes? <one>4 bytes</one>. []
56
+ - Der <one>Satz von Böhm</one>/<one>Jacopini</one> 1966 besagt, das sich ein beliebiger Programmablauf nur mit drei Programmkonstrukten verwirklichen lässt. Welchen drei? (1) <one>Sequenz von Anweisungen</one> (2) <one>Entscheidung</one> (3) <one>Iteration</one>
57
+ - In C++: wariable names are said to be <one>lvalues</one>. What does this abbreviation mean? <one>lvalues</one> stands for <two>left values</two>. []
58
+ - What means to have a <one>LIFO data structure</one>, literally? A <one>Last-in, first-out</one> data structure. []
59
+ - In C++: bei <one>wchar_t Typen</one>, verwenden wir statt <two>cout</two> was? <one>wcout</one>. URL: http://www.cplusplus.com/reference/iostream/wcout/ []
60
+ - In C++: was meinen wir mit <one>sequenziell</one>? Dies meint das Anweisungen in der von dem Programmierer vorgegebenen Reihenfolge ausgeführt werdem.
61
+ - What is usually <one>the first line</one> in a C++ program? <one>#include <iostream></one>. []
62
+ - In C++: was ergibt <one>int i{869}; cout << i</one>/<one>10.0;</one>? <one>86.9</one>. []
63
+ - In C++: how do we call <one>a statement</one> that introduces a new name into a program and sets aside memory for a variable? A <one>definition</one>. []
64
+ - Can a <one>function prototype</one>, in C++, have default values whereas the defined function does not specify any default values? <one>Yes</one>. In this case, the function prototype takes precedence (possibly because the compiler "sees" it first). []
65
+ - In C++: gehört der Datentyp <one>string</one> zum Namespace <peru>std</peru>? Ja. []
66
+ - The <one>first line</one> in a typical C++ program is ... ? <one>#include <iostream></one>. []
67
+ - Nenne ein bekanntes Beispiel für eine <one>direkte Rekursion</one>. A: Die <one>Fibonacci Zahlen</one>.
68
+ - Eine <one>Gleitkommazahl</one> in C++ wird am besten durch ... repräsentiert? <one>double</one> wie zum Beispiel <one>double x</one>. []
69
+ - In C++: <one>&& operator</one> versus the <one>|| operator</one>. Which one of these two has the <two>higher precedence</two>? The <one>&& operator</one>. []
70
+ - In C++: how to convert a <one>string</one> into an <one>integer</one>? Via <one>stoi()</one>. []
71
+ - Wie drücke ich <one>und</one> in C++ aus? <one>&&</one>. []
72
+ - How do we <one>terminate</one> each individual case statement in C++? Via a <one>break</one> statement. []
73
+ - Wie erstellen wir in C++ <one>eine Endlosschleife</one> mit <one>for</one>? <one>for (;;);</one> []
74
+ - In C++: how do we call the <one>--</one> operator? This is the <one>unary decrement operator</one>. []
75
+ - Wie nennen wir <one>!</one> in C++? <one>Negationsoperator</one>. []
76
+ - In C++: ergibt <one>sizeof("a");</one> das gleiche Ergebnis wie <one>sizeof('a')</one>? Nein. []
77
+ - In C++: welchen Unterschied definiert C++ zwischen einer <one>Prozedur</one> und einer <one>Funktion</one>? Die <one>Funktion</one> liefert einen Wert zurück. (In C++ gibt es in dem Sinne keine Prozedur; <two>void</two> kommt der Definition einer Prozedur noch am nächsten.)
78
+ - In C++: zeige <one>unäres plus</one> und <one>unäres Minus</one>. A: (1) <one>unäres Plus</one>: <two>+x</two> (2) <one>unäres Minus</one>: <two>-x</two> []
79
+ - In C++: wozu wird die Funktion <one>stod()</one> verwendet? Um einen <one>String</one> in eine <one>double</one>-Zahl zu konvertieren. Beispiel: <one>std::stod (foobar);</one>. URL: http://www.cplusplus.com/reference/string/stod/ []
80
+ - How do we know which code elements in a C++ file are used by the preprocessor? These lines all start with a <one>#</one> character/token. []
81
+ - In C++: is <one>the >> operator</one> sensitive to type? <one>Yes</one>. []
82
+ - In C++: was meinen wir mit einer <one>ungepufferten Ausgabe</one>, zum Beispiel bei <two>cerr</two>? Das <one>die Ausgabe sofort auf dem Bildschirm erfolgt</one>. []
83
+ - In C++: how to find out <one>how many elements</one> are stored in the <two>vector v</two>? Via <one>v.size()</one>. URL: http://www.cplusplus.com/reference/vector/vector/size/ []
84
+ - In C++: was ergibt folgender Code: <one>double a{869}; double b{10}; cout << a</one>/<one>b;</one> A: <one>86.9</one>
85
+ - In C++: <one>which character</one> follows the "case" statement? The <one>:</one> character. []
86
+ - In C++: the name <one>endl</one> is an abbreviation for <two>end line</two> and belongs to which namespace? <one>endl</one> belongs to the namespace <two>std</two>. []
87
+ - In C++: at <one>UML</one>, what does a leading plus sign (<two>+</two>) indicate? That this method is <one>public</one>, e. g. a <two>public member function in C++</two>. []
88
+ - In C++: are there <three>keywords</three> with <one>uppercase letters</one>? No. []
89
+ - In C++: ein <one>char-Zeichen</one> verwendet wieviele bytes? Ein byte. []
90
+ - In C++: let's assume that we have two numbers, <one>a</one> and <one>b</one>, being 6 and 5 respectively. We wish to divide these two and obtain the true float result, aka <two>1.2</two>. What shall we do there? <one>result = static_cast< double > (a) / b;</one>
91
+ - In C++: the default precision for floating-point values is normally set to ... ? <one>Six digits of precision</one>. []
92
+ - In C++: how to delay for <one>3 seconds</one> before showing output? <one>#include <unistd.h>; sleep(3);</one>
93
+ - Müssen in C++ Variablen sofort initialisiert werden? Nein. []
94
+ - In C++: which variable stores <one>the number of arguments given to a program</one>? <one>argc</one>. []
95
+ - In C++: gegeben sei ein <one>enum</one> wie <two>enum days { sun, mon, tue, wed, thu, fri, sat } aDay;</two> - welchen Wert hat <violet>sun</violet> hier? <one>0</one>. []
96
+ - In C++: welche <one>Zahl</one> ist <two>false</two>? <one>0</one>. []
97
+ - In C++: <one>size_t</one> is similar to unsigned int, but the difference is ... ? <one>size_t is larger</one>; in fact, it is large enough to include the biggest object of the system. This is important on 64 bit systems.
98
+ - How do we <one>denote functions with no type in C++</one>? Via <one>void</one>. Example: <one>void foobar() { return; }</one> []
99
+ - In C++: <one>bevor</one> wir einen Namen verwenden (für eine Variable), müssen wir dem Compiler mitteilen welcher Typ verwendet werden soll. Wie nennen wir diesen Vorgang? <one>Deklaration</one>. []
100
+ - In C++: does <one>the string type</one> keep track of <two>the number of characters it holds</two>? <one>Yes</one>. []
101
+ - In C++: Ausgabe von: <one>double x {12.5}; cout << 3 </one>/<one> 2 + x;</one>? <one>13.5</one>. []
102
+ - Give an example in C++ for <one>chained assignment</one>. A: <one>a = b = c = d;</one> []
103
+ - In C++: which function is used to position back from the end of a file object? <one>seekg()</one>
104
+ - Wie deklarieren wir eine Variable, innerhalb einer Funktion, in C++ <one>global</one>? Mit Hilfe des keywords <one>static</one>. []
105
+ - In C++: what is the return type of the function with prototype: <one>int foobar(char a, float b, double c);</one>? The <one>return type</one> of this function is <two>int</two>. []
106
+ - In C++: was ergibt folgender Code <one>00000000000000000000000000000101</one> <two>&</two> <one>00000000000000000000000000000110</one>? <one>00000000000000000000000000000100</one>
107
+ - In C++: can we <one>convert char to float</one>? Yes. []
108
+ - In C++: wie nennen wir eine Zahl die mit <one>0x</one> beginnt? Dies ist eine sogenannte <one>Hexadezimalzahl</one>. []
109
+ - In C++: what is <one>the final value of x</one> when the code <two>int x; for(x=0; x<10; x++) {}</two> is run? <two>x</two> will have the value of <one>10</one>. []
110
+ - In C++: what value must <one>a destructor</one> return? <two>Destructors</two> in C++ <one>do not return a value</one>. []
111
+ - In C++: what is <one>the index number</one> of the last element of an array with <two>29 elements</two>? <one>28</one>. []
112
+ - How to read a line of text from the keyboard, in C++? We can use the <one>getline()</one> <royalblue>function</royalblue>, defined in the <string> header. []
113
+ - In C++: wie heben wir ein <one>Makro</one> auf? Mittels <one>#undef</one>. []
114
+ - Can <one>C++</one> be considered as <two>a superset to C</two>? Yes. []
115
+ - In C++: what does "vector<int> v(6);" mean? That we have <one>a vector holding 6 integer values</one>.
116
+ - Statt einer <one>Schleife</one> kann man oft welche Alternative verwenden? Eine <one>Rekursion</one>. []
117
+ - In C++: Was ergibt folgender code: <one>int a = 8; cout << a--;</one>? <one>8</one>. []
118
+ - In C++: we may use the <one>inline</one> keyword. Why would we may want to use <three>inline functions</three>? In order to <one>increase the speed of the resulting program</one>.
119
+ - Wie ist eine <one>void-Funktion</one> in C++ definiert? Dies ist <one>eine Funktion, die nichts zurück gibt</one>. []
120
+ - In C++: der <one>natürliche Typ für Ganzzahlen</one> ist ... ? <one>int</one>. []
121
+ - Wofür steht eigentlich <one>short</one> in C++? <one>short</one> steht für <one>short int</one>.
122
+ - Es gibt in C++ die Funktion <one>stoul</one>. Wofür stehen diese Buchstaben? Für <one>string to unsigned long</one>. []
123
+ - Wie verwenden wir <one>Exceptions</one> in C++? Mit Hilfe von "try {}" und "throw" sowie "catch (int err)".
124
+ - Wie werden <one>einzelne Zeichen</one> in C++ genannt? <one>char</one>. []
125
+ - What do we mean, in C++, with <one>narrowing conversions</one>? This is when we put a value into an object that may be too small, aka <one>too narrow</one>, to hold it.
126
+ - In C++: bindet <one>&&</one> stärker als <one>||</one>? Ja. []
127
+ - In C++: can <one>a vector</one> store an int and a string at the same time? No. []
128
+ - In C++: ist <one>12.3f</one> eine valide Anweisung? Ja - das <one>f</one> steht für ein <one>Float</one>. []
129
+ - In C++: welche <one>include-Direktive</one> wird für <two>assert()</two> verwendet? <one>#include <cassert></one>. []
130
+ - In C++: warum existiert der komische Name <one>cctype</one>? Da <one>ctype</one> in C existiert und in C++ typischerweise ein <two>c</two> davor hinzugefügt wird, um dies von den header-Dateien von C zu unterscheiden. []
131
+ - Ist <one>2.998e8</one> ein gültiger Wert in C++? Ja. []
132
+ - Ist <one>"Hello world!"</one> ein <two>Literal</two>, in C++? Ja. []
133
+ - <one>Unsigned</one> geht typischerweise, bei char in C++, von 0 bis 255. Wie kann ich mir den Wert <two>255</two> eventuell merken? <one>-128 + 127 = 255</one> []
134
+ - What do we mean with a <one>single-entry</one>/<one>single-exit</one> control statement? This is <one>a statement that has only one way to enter and only one way to exit from this particular control statement</one>.
135
+ - Was bedeutet <one>iostream</one>? <one>input output stream</one> []
136
+ - In C++: the <one>members to belong to a struct</one>, are <two>private or public</two> by default? They are <one>public</one> by default. []
137
+ - In C++: wenn wir einen <one>Vektor deklarieren</one> möchten, müssen wir bei der Syntax zuerst vector schreiben oder zuerst den Datentyp? Zuerst <one>vector</one>, also zum Beispiel <two>vector<string> foobar</two>. []
138
+ - Gibt es <one>try</one> / <one>catch</one> in C++? Ja. []
139
+ - In C++: where can we find <one>numeric_limits</one>? In "<limits>".
140
+ - Wie drücken wir <one>oder</one> in C++ aus? <one>||</one>. []
141
+ - In C++: is <one>int</one> a <two>keyword</two>? Yes it is. []
142
+ - In C++: can we <one>alias</one> namespaces? Yes. []
143
+ - In C++: can the <one>increment</one> for a <two>for</two> statement be negative? Yes. In this case we call it a <one>decrement</one>; and for loop will count downwards.
144
+ - In C++: the <one>size of a char</one> is typically ... ? <one>1</one>. []
145
+ - In C++: vergleiche den <one>Wertebereich</one> von <two>signed char</two> und <two>unsigned char</two>. A: (1) <one>signed char</one>: <two>-128 bis +127</two> (2) <one>unsigned char</one>: <two>0 bis +255</two> []
146
+ - Is the <one>input operator >></one> in C++ sensitive to <three>type</three>? Yes. []
147
+ - Is <one>C++ object code</one> <two>portable</two> among different operating systems? No. []
148
+ - In C++: nenne einen wichtigen Unterschied zwischen einem array und vector. A: Die Anzahl der enthaltenen Elemente kann bei einem vector zur Laufzeit verändert werden. Bei einem array hingegen muss die Anzahl der Elemente zur compile-time feststehen.
149
+ - In C++: given an equation such as <one>( a * ( b + c ) )</one>, which part is evaluated first? <one>The operators in the innermost pair of parentheses are applied first</one>. []
150
+ - Ist <one>for (int i {1}; i <= n; ++i) {</one> eine valide <three>for-Schleife</three> in C++? Ja. []
151
+ - C++ provides <one>three types of repetition statements</one>. Name them. A: (1) <one>while</one> (2) <one>do ... while</one> (3) <one>for</one> []
152
+ - In C++: ist <one>cout << ::i;</one> eine valide Anweisung? Ja. []
153
+ - In C++: can the compiler choose to ignore an <one>inline directive</one>? Yes. []
154
+ - In C++: give an example how to create a <one>vector</one> holding 6 integer values. A: <one>vector<int> v = { 1,2,3,4,5,6 };</one>.
155
+ - In C++: schreibe eine Funktion <one>double sqr()</one> die den übergebenen Parameter multipliziert. A: <one>double sqr(double a) { double b = a * a; return b; }</one> []
156
+ - In Algebra, we may see <one>a + b + c + d + e</one>, then a <two>---------------------</two> and then 5, aka <one>five numbers divided by 5</one>. How would this look in C++? <one>m = ( a + b + c + d + e ) </one>/<one> 5;</one> []
157
+ - In C++: wenn wir <one>breitere Zeichen</one> als <two>char</two> benötigen, können wir ... verwenden. A: <one>wchar_t</one>. URL: https://en.wikibooks.org/wiki/C_Programming/wchar.h []
158
+ - <one>Objekte</one> in C++ sind ... einer Klasse? <one>Instanzen</one>. []
159
+ - In C++: kann eine <one>unsigned-Zahl</one> kleiner als Null sein? Nein. []
160
+ - In C++: was ergibt <one>7</one>/<one>4</one>? <one>1</one>. []
161
+ - In C++: wie nennen wir die <one>Typkonversionen</one> in der englischen Sprache? <one>Type cast</one>.
162
+ - In C++: will <one>while(-255)</one> give us an <lightseagreen>infinite loop</lightseagreen>? Yes. []
163
+ - In C++: wie testen wir auf <one>ist nicht gleich</one> eines Strings? <one>if (x != "value")</one> []
164
+ - In C++: the word <one>short</one> is actually an abbreviation for ... ? <one>short int</one>. []
165
+ - In C++ for any given <one>function declaration</one>, do we have to use <two>terminating semicolons</two>? Yes. []
166
+ - In C++: erfolgt die Ausgabe bei <one>cerr</one> in gepufferter Art und Weise? Nein. []
167
+ - In C++, wofür steht <one>die Abkürzung</one> <three>srand()</three>? Dies steht für <one>seek random</one>. []
168
+ - Wenn wir den <one>compiler</one> zwingen möchten, Warnungen auszugeben, welche Option sollten wir verwenden? <one>-Wall</one>. []
169
+ - In C++: ein Name einer Variablen darf was <one>nicht</one> beinhalten? Ein <one>Leerzeichen</one>. []
170
+ - A <one>vector</one> in <three>C++</three> is similar to an <one>array</one> in <three>C</three>. Name one advantage a vector has over an array. A: We do not have to specify the length of a vector in advance.
171
+ - In C++: give another term for <one>modulo</one>. A: The <one>remainder</one>.
172
+ - In C++: is <one>bool</one> a <two>keyword</two>? Yes it is. []
173
+ - There are several <one>motivations</one> for modularizing a program with functions in C++. Name one such (useful) motivation. A: <one>Software reuse</one>.
174
+ - In C++: bei einem String gibt es die Funktionen <one>at()</one> und <one>[]</one>. Welcher Unterschied existiert zwischen diesen beiden Funktionen? Der Zugriff mit [] ist ungeprüft; das heisst das das Programm abstürzen kann. Der Zugriff mit <one>.at()</one> hingegen prüft ob der übergebene Index im erlaubten Bereich liegt.
175
+ - Können <one>von Algorithmen erzeugte Zahlen</one> zufällig sein? Nein. []
176
+ - Was bedeutet <one>unsigned</one> in C++? Dies sind Zahlen von <one>0</one>, und <one>positiv</one> - wir <two>exkludieren daher negative Zahlen</two>. []
177
+ - Wie stellen wir in C++ fest, wieviele <one>bytes per type</one> verwendet werden? Mit Hilfe von <one>sizeof(x)</one>. []
178
+ - In C++: how can we stop a <one>while(true) loop</one>? Via <one>break</one>. []
179
+ - In C++: when we initialize <one>vector<int> v(6);</one>, what values do these have? They are <one>initialized to 0</one>. []
180
+ - In C++: what is the result of <one>this function invocation</one>: <two>fabs(-8.76)</two>? <one>8.76</one>. []
181
+ - In C++: does <one>>=</one> work for strings? Yes. []
182
+ - In C++: how do we call the <one>||</one> operator? This is the <one>logical OR</one> operator. []
183
+ - In C++: show <one>how to create an anonymous namespace</one>. A: <one>namespace {</one>.
184
+ - Why did C++11 introduce the {} initializers such as in <one>double x { 2.7 }</one>? Because that way, the compiler can <one>warn about illegal narrow operations</one> done, such as "double x { 2.7 }; int y { x };" - the latter line would result in an error.
185
+ - In C++: the <one><< operator</one> used in conjunction with the cout stream object is known as ... ? The <one>insertion operator</one>. []
186
+ - Ist eine Rekursion auch dann prinzipiell gegeben, wenn eine Funktion eine andere Funktion aufruft? Ja - es handelt sich dann um eine indirekte Rekursion anstatt einer direkten Rekursion.
187
+ - How many times is a <one>do while loop</one>, in C++, guaranteed to loop? <one>1</one> (<two>once; aka one time</two>). []
188
+ - In C++: give an example <one>how to define a namespace</one>. A: <one>namespace Foobar { unsigned int x; void output(void); }</one> []
189
+ - Nenne einen Unterschied zwischen <one>while</one> und <one>do while</one> in C++. A: Die <one>do while</one> Schleife wird <two>mindestens einmal durchlaufen</two>. []
190
+ - In C++: wieso eigentlich der Name <one>extern</one>, wie zum Beispiel in <two>extern double foo;</two>? Dies ist eine globale Variable, die extern definiert ist - also in einer anderen Datei zu finden ist.
191
+ - In C++: does the <one>function signature</one> specify the <two>function's return type</two>? No. []
192
+ - A <one>constant</one> in C++ cannot be left ... A: <one>Uninitialized</one>. []
193
+ - How do we call <one>the result of a function</one> (at the least in C++)? The <one>return value</one>. []
194
+ - Allgemein und kurz formuliert: wie geht eine <one>explizite Typkonversion in C++</one>? Mittels <one>static_cast</one>. []
195
+ - In C++: what is the most useful way of storing data in general? By using a <one>vector</one>. []
196
+ - In C++: gib ein Beispiel für <one>die Verwendung einer Konstante</one>, genannt newline. A: <one>const char newline = '\n';</one>
197
+ - In C++: muss jede Funktion, die einen Wert zurückgibt, eine <one>return-Anweisung</one> enthalten? Ja. []
198
+ - Wie sieht der <one>Adressoperator</one> in C++ aus? <one>&</one>.
199
+ - In C++: bei einer Funktion wie <one>void foobar(std::string& value)</one>, wird dem compiler was mitgeteilt? Das er <one>mit dem Original arbeiten soll</one>.
200
+ - In C++: is <one>the main() function</one> a member of any class? No. []
201
+ - Zeichenketten in C++ werden wie <one>terminiert</one>? Durch ein <one>Nullbyte</one> (<two>'\0'</two>). []
202
+ - In C++: ist <one>enum karten { zehn=10, bube=2, dame, koenig, as=11 };</one> eine <two>valide Anweisung</two>? Ja. []
203
+ - In C++: mittels <one>#ifdef</one> überprüfen wir ob eine ein Makro existiert. Wie lautet die Negation dieser Präprozessor-Direktive? <one>#ifndef</one>.
204
+ - Anderer Begriff für <one>Bindungsstärke</one> in C++. A: <one>Operatorpriorität</one>.
205
+ - To <one>capitalize</one> any lower-case letter in C++, in ANSI, we have to only <two>subtract</two> ... ? <one>32</one>. []
206
+ - In C++: <one>size_t</one> resides in which namespace? <one>std</one> []
207
+ - In C++ a <one>name</one> that is assigned by a user for a program elements, such as variable, type, class, function or namespaces is called ... ? An <one>identifier</one>. []
208
+ - In C++: nenne eine Syntax-Alternative zu: <one>Ort1 nochEinOrt2(70, 90);</one>. A: <one>Ort1 nochEinOrt2={70,90};</one>
209
+ - How does <one>the minimal C++ program</one> look like? <one>int main() {}</one> []
210
+ - Wofür steht in C++ <one>cout</one>? <lightgreen>Character output</lightgreen>. []
211
+ - In C++: was ergibt folgender code? <one>double a{868}; double b{10}; cout << a</one>/<one>b</one>/<one>b;</one> A: <one>8.68</one> []
212
+ - In C++: nenne ein Beispiel für die Initialisierung von Feldern in C++. A: Die Angabe einer Werteliste erfolgt in geschwungenen Klammern, wie zum Beispiel: <one>double ex[3] = { 1, 0, 0 };</one>
213
+ - In C++: given <one>a structure</one> called <two>b</two>, how do we access a variable in this structure called <three>var</three>? Use <one>b.var</one>. []
214
+ - In C++: ist <one>ein abgeleiteter Typ</one>, der nicht vollständig das Vehrhalten der Oberklasse zeigt, ein echter Subtyp? Nein. []
215
+ - Eine <one>durch geschwungene Klammern begrenzte Anweisungsfolge</one> wird, in C++, wie bezeichnet? Dies ist <one>ein Anweisungsblock</one>. []
216
+ - In C++: <one>cin</one> liest Wörter ein, hört aber bei Leerzeichen auf. Wie lesen wir mehr ein? Mit Hilfe von <one>getline()</one>. []
217
+ - In C++: ein <one>Zeiger auf void</one> hat den Typ ... ? <one>void</one>.
218
+ - In C++: statt <one>NULL</one> sollten wir was verwenden? <one>nullptr</one>.
219
+ - In C++: <one>NULL</one> finden wir in welchem header? <one><cstddef></one>
220
+ - Nenne die 4 Hauptobjekte in C++ der iostream-Bibliothek. A: (1) "cout" (2) "cerr" (3) <one>clog</one> (4) <one>cin</one>
221
+ - In C++: the <one>name of a variable</one> starts with ... ? A <one>letter</one>.
222
+ - In C++: we can <one>partition a program</one> using ...? <one>Abstractions</one>.
223
+ - In C++, <one>access specifiers</one> are always followed by ... ? A <one>colon</one> (aka <two>:</two>).
224
+ - In C++: what is meant with a <one>short-circuit evaluation</one>? This is, for example, an expression such as <one>( x == 1 ) && ( y >= 65 )</one>. If the first condition is false, then the entire expression is false; and the second check, for y => 65, <two>will not be evaluated at all</two>.
225
+ - Wir erkennen wir die <one>Destruktor-Methode</one> in C++? Sie ist wie der Konstruktor, nur mit einem vorangestelltem <one>~</one> Zeichen.
226
+ - In C++: andere Bezeichnung für eine <one>Funktionsdeklaration</one>? Ein <one>Prototyp</one>.
227
+ - In C++: name <one>an important difference</one> between <two>constructors</two> and other functions of the specific class at hand. A: Constructors <one>cannot return values</one>.
228
+ - <one>Wide characters</one> in C++ werden zum Beispiel wozu benötigt? Für die <one>Darstellung japanischer Zeichen</one>.
229
+ - What is an <one>empty statement</one> in C++? This is <one>a statement doing nothing</one>, such as <two>if (x == 5);</two>.
230
+ - In C++: what is meant with the word <one>signed</one>? This is an object that <one>can hold both positive and negative values</one>.
231
+ - In C++: what is stored in <one>argv[0]</one>? The <one>name of the program</one>.
232
+ - In C++: wie schalten wir die Dezimaldarstellung ein? Via <one>cout << dec</one>.
233
+ - Was meinen wir mit einer <one>ungepufferten Ausgabe</one> in C++? Dies bedeutet, das Zeichen sofort ausgeführt werden (oder eben <one>sofort erscheinen</one>).
234
+ - In C++: ein Name einer Variablen hat einen <one>globalen Geltungsbereich</one>, wenn er ... vereinbart ist. A: <one>außerhalb sämtlicher Blöcke</one>.
235
+ - In C++: a <one>returned value of 0</one> indicates what? <one>Success</one>.
236
+ - Wofür steht die Abkürzung <one>cout</one>? Dies steht für <one>console output</one>.
237
+ - <one>Unicode Zeichen</one> haben keinen Platz in "char", daher verwenden wir in C++ eher ... ? <one>wchar_t</one> (zumindest früher).
238
+ - In C++: how to <one>concatenate</one> two Strings? Via the <one>+</one> <two>operator</two>.
239
+ - In C++: how to ensure <one>randomizing</one>? We use the C++ Standard Library function called <one>srand()</one>.
240
+ - Name two components that a <one>vector</one> in C++ stores/includes. A: (1) its <one>elements</one> (2) its <one>size</one>, aka how many element it stores
241
+ - In C++: given a class called Foobar, <one>how to instantiate a new object</one> from that class? <one>Foobar foobar_object;</one>.
242
+ - How would you explain the following C++ code: <one>string foobar; cin >> foobar</one>? This means to read a String and store it into the variable called <one>foobar</one>.
243
+ - Give an example for an <one>arithmetic expression</one> in C++. A: For example, 7 + 8 is an "arithmetic expression".
244
+ - Give <one>a complete example</one>, in C++, how to define and use an <two>enum</two>. A: <one>enum Status { CONTINUE, WON, LOST }; Status game_status;</one>
245
+ - Die Anweisung <one>int x {y}</one> in C++ inkludiert welche zwei Teilbereiche? (1) "Variablenvereinbarung", also eine Deklaration (2) <one>Initialisierung</one>
246
+ - What does the error <one>undefined reference to 'main'</one> imply, in C++? That <one>the linker</one> could not locate the program's <royalblue>main() function</royalblue>.
247
+ - Say we have C++ code like this: <one>int count = 1</one>. How can we put an <two>alias</two> to the variable count? We will use <one>&</one>, such as in <two>int &reference_to_count = count;</two>
248
+ - In C++: was ist der Unterschied zwischen einer <one>Deklaration</one> und einer <one>Definition</one>? (1) Die <one>Deklaration</one> teilt dem Compiler mit wofür ein bestimmter Name steht, zum Beispiel eine Variable vom Typ double. Es wird hierbei jedoch kein Speicher alloziert. (2) Die "Definition" hingegen ist immer eine Deklaration; erzeugt jedoch gleichzeitig das referenierte Konstrukt (und alloziert Speicherplatz)
249
+ - How does C++ call <one>methods</one>? <one>Member functions</one>.
250
+ - In C++: wie wird <one>>></one> genannt? Dies ist der <one>Extraktionsoperator</one>.
251
+ - In C++: how to <one>obtain the memory address</one> of an integer variable called <two>a</two>? Via <one>&a;</one>.
252
+ - In C++: how do we select only <one>the first 30 characters</one> from a given string called foo? <one>foo.substr(0, 30);</one>
253
+ - In C++ we can use the keyword <one>public</one>. What is <two>the official name</two> for such a keyword? This is called an <one>access specifier</one>.
254
+ - In C++: name three values on which we can use the <one>switch-statement</one>. A: (1) <one>integer</one> (2) <one>char</one> (3) <one>enumeration</one>
255
+ - How do we call the <one>&& operator</one> in C++? <one>logical AND</one> operator.
256
+ - Die Sortierfunktion <one>sort()</one>, in C++, ist im welchem header zu finden? <one>#include <algorithm></one>
257
+ - In C++: <one>unsigned integers</one> are ... numbers. A: <one>Non-negative numbers</one>.
258
+ - Why are <one>inline functions</one> often placed in headers? So that their definitions can be included in each source file that uses them; the compiler has to know what to do early on.
259
+ - C++ has <one>how many reserved keywords</one>? About <one>85</one>.
260
+ - In C++: the <one>char data type</one> is used to represent ... ? <one>Integers</one> between <two>-128 and 127</two>.
261
+ - C++ has <one>n cast_operators</one>? <one>4</one>.
262
+ - In C++: wie nennen wir den zu wiederholenden Teil einer <one>for-loop</one>? Dies ist der <one>Schleifenkörper</one>.
263
+ - In C++: was meinen wir mit <one>unsigned int</one>? Dies ist wie int, aber <one>nur mit positiven Vorzeichen</one>.
264
+ - In C++: wie überprüfen wir, ob die Eingabe über <one>cin</one> richtig war? Über <one>cin.good()</one>.
265
+ - In C++: was passiert wenn wir innerhalb der Funktion <one>main()</one> 2x return verwenden? Nur der Bereich <one>bis zum ersten return statement</one> wird durchgeführt.
266
+ - What is <one>the first rule in C++</one>, for the use of parenthesis? <one>If in doubt, parenthesize</one>.
267
+ - In C++: is <one>auto x;</one> a valid instruction? <one>No</one>. <two>The compiler cannot deduce x's type</two>.
268
+ - Wie prüfen wir ob ein String leer ist, in C++? <one>if string.empty()</one>
269
+ - In C++: bei <one>ifstream foobar(dateiname, ...)</one>, wie lesen wir diese Datei in Binärformat ein? Mittels <one>ios::binar<</one>.
270
+ - In C++: wie schalten wir die Hexadezimaldarstellung ein? Via <one>cout << hex;</one>.
271
+ - In C++: nenne eine allgemeine Unterscheidungsmöglichkeit bei <one>Fehlern</one>. A: (1) die <one>Erkennung von Fehlern</one> (2) die <one>Behandlung von Fehlern</one>
272
+ - In C++: wie stellen wir einen Text mit 'padding' dar, zum Beispiel <one>Padding von 12</one>? Via <one>cout.width(12)</one>.
273
+ - In C++: give <one>an example for a good use for typecasting</one>. A: To allow the "division of two integers" in order to return a <one>decimal value</one>.
274
+ - <one>RAII</one> is a central concept in C++. We rely here on the <violet>compiler</violet> to do ... what precisely? To <one>call destructors automatically</one> in certain cases.
275
+ - In C++: if we wish to use the <one>getline() function</one>, which header do we have to include? The <one><string></one> header.
276
+ - In C++: was ist <one>ein Vektor</one>? Ein Vektor ist <one>eine Sammlung von Objekten desselben Typs</one>.
277
+ - In C++: the <one>function prototype</one> for the <two>srand()</two> function is in which header? It is in <one><cstdlib></one>.
278
+ - Is the following code, in C++, valid: <one>enum Foo { Light }; enum Bar { Light };</one>? No it is not. <one>The members of an enum must be unique</one>.
279
+ - In C++: <one>char</one> versus <one>int</one>, which one does take up more space? An <one>int</one> takes up more space in C++ than does a <one>char</one>.
280
+ - In C++: give an example <one>how to initialize a string variable</one>. A: string x = "hello world!\n";
281
+ - In C++: why do we have to <one>keep track of the return addresses of functions</one>? Because a function may call another function which may call another function which ... and so on, none of which may return anything at that point.
282
+ - In C++: can <one>default arguments</one> be <two>function calls</two>? Yes.
283
+ - In C++, bei der library <one>fstream</one>, nenne deren beiden <two>Hauptkomponenten</two>. A: (1) <one>ifstream</one> (2) <one>ofstream</one>
284
+ - How does C++ evaluate a line such as: <one>w = x = y = z</one>? <royalblue>w = (x = (y = z));</royalblue>
285
+ - In C++: which (member) function(s) will <one>every class contain</one>? (1) a <one>constructor</one> (2) a <one>destructor</one>
286
+ - In C++: why may we have to use <one>getline()</one> rather than <two>cin >> foobar</two>? Because <one>cin</one> will stop at the first white-space character, including the space character. Hence we can not input e. g. a normal sentence, since it would soon be split to only the first word.
287
+ - In C++: was ist der <one>Unterschied</one> zwischen <two>c = v[1000]</two> und <two>v.at(1000)</two>? <one>v.at(1000)</one> führt zu einem <two>Programmabbruch mit Fehlermeldung</two>; <one>v[1000]</one> hingegen tut dies nicht.
288
+ - In C++: which kind of variables are of automatic storage class by default? <one>Local variables</one>.
289
+ - In C++: nenne zwei mögliche Verwendungsarten für Variablen. A: (1) Lesen der Variable (<one>query</one>) (2) Wertzuweisung an diese Variable (<one>assignment</one>)
290
+ - In C++: what is the result of <one>double x = 3 </one>/<one> 4;</one>? It will be an <one>Integer</one> value, <two>0.0</two>.
291
+ - In C++: statt <one>char</one> sollte eher was verwendet werden? <one>string</one>, inklusive <one>#include <string></one>.
292
+ - In C++, via the <one>main()</one> function: how is failure indicated? Via <one>a nonzero value</one>.
293
+ - In C++: we can apply <one>the modulo operator %</one>, but onto which type only? Onto <one>int</one>.
294
+ - In C++: <one>Keywords</one> are also called ... ? <one>Reserved words</one>.
295
+ - Wann wurde C++ von der ISO <one>standardisiert</one>? Im Jahre <one>1998</one>.
296
+ - In C++: <one>how to randomize</one> without having to enter a seed each time? <one>srand(time(0));</one>.
297
+ - In C++: how to write a class called <one>Foobar</one>? <one>class Foobar {};</one>
298
+ - In C++ we can use <one>#include <iostream></one>. What is the purpose of this? Simply put, this header allows programs to <one>output data to the screen</one>.
299
+ - Gib ein gut bekanntes Beispiel zur <one>Rekursion</one>. A: Die <one>Türme von Hanoi</one>.
300
+ - In C++ gibt das flag <violet>-pedantic</violet> Warnungen aus, die vom ... Standard gefordert werden. A: Vom <one>ANSI-C++ Standard</one>.
301
+ - In C++: give an example for a <one>binary operator</one>. A: The <one>+</one> operator. It is <two>binary</two> because it <three>uses two operands</three>, such as <one>a = b + c</one>.
302
+ - Give an example for using <one>constexpr</one> in C++, in a <two>modern way</two>. A: <one>constexpr char newline {'\n'};</one>
303
+ - Wie geht <one>bitwise XOR</one> in C++? Via <one>^</one>.
304
+ - In C++: wie finden wir die <one>Grösse eines Typs</one> heraus? Mit Hilfe von <one>sizeof()</one>.
305
+ - In C++: wie konvertieren wir ein <one>char</one> in ein <one>int</one>? Mittel <one>static_cast</one>.
306
+ - In C++ wenn wir <one>ofstream</one> verwenden wollen, was müssen wir inkludieren? <one>#include <fstream></one>. (Mnemonic: <one>ofstream</one> inkludiert das Wort "fstream")
307
+ - Auf einen <one>Fehler</one> angemessen zu reagieren nennt man ... ? <one>Fehlerbehandlung</one>.
308
+ - In C++: if we have this code <one>int x = 10; cout << x++;</one> what will this output and what value will x have? This will <one>output 10</one>; and x will have the <one>value 11</one> afterwards.
309
+ - In C++: nenne eine Alternative zu <one>char foo = 'A';</one>. A: <one>char foo = 65;</one>
310
+ - In C++: nenne zwei Beispiele für <one>nicht-integrale Typen</one>. A: (1) <one>double</one> (2) <one>float</one>
311
+ - In C++: wie lesen wir eine komplette Zeile ein? Mit Hilfe von <one>getline()</one>, zum Beispiel via <one>getline(cin, der_string)</one>.
312
+ - In C++: Was ist das Ergebnis von <one>int i{869}; cout << i</one>/<one>10;</one>? <one>86</one>.
313
+ - In C++: zeige ein konkretes Beispiel für <one>das Einblenden einzelner Mitglieder in einem bestimmten Bereich</one>. A: <one>using Foo::Bar</one>
314
+ - In C++: <one>lambda expressions</one> allow us to create ... ? <one>Anonymous functions</one>.
315
+ - In C++: give an example for <one>a keyword</one> that includes the character <two>_</two>. A: The <one>static_cast</one> operator.
316
+ - In C++: eine <one>hexadezimale Zahl</one> beginnt mit ... ? <one>0x</one>.
317
+ - In C++: can we use <one>cin >> temp</one> <two>within a for loop</two>? Yes we can.
318
+ - In C++: is <one>ch = "A";</one> a <two>valid syntax</two>? <one>No</one>.
319
+ - In C++: ist <one>float a;</one> eine Anweisung? Ja - auch <one>Vereinbarungen</one> gelten als Anweisungen.
320
+ - <one>Every C++ statement</one> must end with ... ? A <one>semicolon</one>.
321
+ - Are <one>Strings</one> in C++ <two>mutable</two>? Yes they are.
322
+ - In C++: what will this code output: <one>cout << -(3 + 2) << endl;</one>? <one>-5</one>.
323
+ - In C++: when we use something such as <one>static_cast<double>(variable_name_here)</one>, how do we call this task? This is <one>the unary cast operator</one>.
324
+ - In C++: wie löschen wir die <one>Statusbits</one> einer Datei? Mit Hilfe von <one>.clear()</one>.
325
+ - In C++: why the name <one>cout</one>? <one>cout</one> stands for <one>character output stream</one>.
326
+ - In C++: we can use <one>using namespace std</one> to pull in all functions that are part of the <two>namespace std</two>. Can we also pull in only a single function? Yes; we can do this, via: <one>using std::cout;</one>.
327
+ - In C++: how would we define what a <one>function</one> is? A function in C++ is essentially <one>a named sequence of instructions</one> for the computer to execute in the (linear) order in which they are specified.
328
+ - In C++: a <one>char</one> can hold n bytes and an <one>int</one> can hold n bytes? (1) <one>char</one>: <two>1 byte</two> (2) <one>int</one>: <two>4 bytes</two>
329
+ - In C++: given a <one>vector v</one>, how to <two>iterate over its members</two>? <one>for(int i = 0; i < v.size(); ++i)</one>
330
+ - In C++: binden die <one>Vergleichsoperatoren</one> (<two><, >, ==</two>) stärker als die <one>Operatoren für Verknüfung</one> (<two>||, &&</two>)? Ja.
331
+ - In C++: <one>vector <int> ivec;</one>. Was enthält ivec? <one>Objekte vom Typ int</one>.
332
+ - In C++: angenommen wir möchten einen Vektor definieren (<one>vector</one>) mit 3 int-Elementen. Schreiben wir <two><vector>int</two> oder <two>vector<int></two>? Die richtige Variante lautet <one>vector<int></one> - bei <royalblue>vector</royalblue> selbst verwenden wir also keine eckige Klammer.
333
+ - In C++, als <one>Datentyp Modifier</one>, für den Datentyp int können wir welche modifier verwenden? (1) <one>short</one> (2) <one>long</one> (3) <one>long long</one>
334
+ - In C++: ist <one>catch (int)</one> erlaubt? Ja - der Name der Variablen darf weggelassen werden, wenn der Wert zur Fehlerbehandlung nicht benötigt wird.
335
+ - In C++: is <one>a class</one> a <two>user defined data type</two>? Yes.
336
+ - In C++: ist <one>3.145f</one> eine valide Anweisung? Ja - ein <violet>f</violet> darf hinten stehen, nach einer Nummer.
337
+ - What is <one>the simplest expression in C++</one>? A <one>literal value</one>, such as <two>3.14</two>.
338
+ - In C++: nenne die <one>drei Schleifen</one>, die in dieser Programmiersprache existieren. A: (1) <one>for</one> (2) <one>while</one> (3) <one>do-while</one>
339
+ - In C++: how to turn <one>int x = 4456;</one> into <two>a long int</two>? <one>long x = 4456L;</one>
340
+ - In C++: does a <one>declaration</one> contain more information than a <one>definition</one>? No - a definition includes more information.
341
+ - In C++: wie kopieren wir einen <one>string s2</one>, ausgehend vom <one>string s1</one>? <one>string s2(s1)</one>.
342
+ - In C++: for a given catch-throw statement, does <one>throw</one> accept a parameter? Yes, <one>an integer value</one>, such as <two>20</two>.
343
+ - In C++: why the name <one>auto</one> towards variables? This stands short for <one>automatic storage class</one>.
344
+ - In C++: give another name for <one>run-time errors</one>. A: <one>Logic errors</one>.
345
+ - In C++: what do we mean with <one>nondeterministic random numbers</one>? These are <one>random numbers that can not be predicted</one>.
346
+ - In C++: if we have an <one>enum</one> such as <two>enum class Day { monday, tuesday, wednesday }</two>, the count begins at ... ? <one>0</one>, so <one>monday</one> is equal to <one>0</one>.
347
+ - In C++: <one>which member function</one> is used to determine whether the stream object is currently associated with a file? <one>is_open()</one>
348
+ - In C++: how do we call a line such as <one>#include <iostream></one>? Such a line is called <one>a preprocessing directive</one>.
349
+ - On switch/case constructs in C++: can we <one>use switch on a string</one>? No we can not.
350
+ - In C++: how do we <one>compare two strings</one>? We use the function <one>strcmp()</one>.
351
+ - In C++: can we use <one>keywords</one> as name for a variable? No.
352
+ - In C++: <one>Endlosschleife</one> mit <two>while</two>? <one>while (1)</one>
353
+ - In C++: how to <one>declare a pointer to an int variable</one> called <two>x</two>? <one>int *x;</one>
354
+ - <one>EXIT_SUCCESS</one> and <one>EXIT_FAILURES</one> are constants in C++. <two>Where</two> are these values defined? In the header <one><cstdlib></one>.
355
+ - In C++: give another name for the <one>mandatory semicolon</one>. A: The <one>statement terminator</one>.
356
+ - In C++: wie nennen wir <one>Elementfunktionen</one>, auf Englisch? <one>Member functions</one>.
357
+ - In C++: wofür steht die Abkürzung <one>iomanip</one>? <one>Input-Ouput-Manipulator</one>.
358
+ - In C++: how can we <one>get the integer value</one> of the character <two>'a'</two>? Via a line such as: <one>cout << static_cast<int> ('a') << endl;</one>
359
+ - In C++: wie nennen wir <one>::</one> auf Deutsch? <one>::</one> ist der <two>Bereichsoperator</two>.
360
+ - In C++: <one>float</one> so wie in python entspricht in C++ ... ? <one>double</one>.
361
+ - In C++: nenne ein Beispiel für einen <one>modifier</one>. A: <one>signed</one>/</one>unsigned</one>.
362
+ - In C++: what is <one>the typical range</one> for <two>unsigned char</two>? <violet>0</violet> <peru>to</peru> <violet>255</violet>.
363
+ - In C++: wofür steht <one>;</one>? Dies ist die <one>Leeranweisung</one>.
364
+ - In C++: <one>unicode</one> hat mit welchem header zu tun? <one>locale</one>, also <two>#include <locale></two>.
365
+ - In C++: die Methode <one>eof</one> liefert wann <two>true</two>? Wenn das <one>Ende des Streams</one> erreicht wurde.
366
+ - In C++: can we <one>prevent a variable from being re-assigned to a new value</one>? Yes - <one>at the least for numbers</one>, via <two>constexpr</two>, such as in: <three>constexpr double pi = 3.14159</three>.
367
+ - In C++: welche <one>char Datentypen</one> gibt es? Drei: <one>signed char</one>, <one>unsigned char</one>, und <one>char</one> - letzteres ist systemabhängig automatisch unsigned oder signed.
368
+ - In C++: what will be the output of the following code, being put in main()? <one>cout << "1";return 42;cout << "2";</one>? A: <one>1</one>.
369
+ - How do we call <one><<</one> in C++? This is the <one>insertion operator</one>.
370
+ - In C++: why may we wish to use the <one>type{value}</one> notation? This "prevents narrowing" and "raises an error if information would be lost", such as from conversions of double to int.
371
+ - Is the order of evaluation of a function's arguments in the C++ standard specified? No, it is not. However had, the C++ standard does guarantee that all arguments in a function call are evaluated <one>before</one> the called function executes.
372
+ - What does <one>int { c }</one> mean, in C++, when c is a character? This notation yields to us the integer value for the character <one>c</one>.
373
+ - In C++: show how to <one>catch every exception</one>. A: <one>catch (...) { cout << 42; }</one>
374
+ - In C++: is the following code valid: <one>int if = 7;</one>? No - <one>if</one> is <two>a reserved keyword in C++</two>.
375
+ - In C++: can we use <one>references</one> as aliases for (other) variables within a function? Yes we can.
376
+ - In C++: can <one>a double</one> be divided by <one>an int</one>? Yes - for example, <one>2.5</one>/<one>2</one>.
377
+ - <one>Omitting the semicolon</one> at the end of a C++ statement will lead to a ... <two>error</two>. A: A <one>syntax error</one>.
378
+ - In C++: how can we <one>display an error</one>, as string, on the commandline? Via <one>cerr << text_goes_in_here</one>.
379
+ - In C++: wie können wir den <one>+</one> Operator überladen, für Strings? <one>String operator+(String);</one>
380
+ - In C++: give an example for <one>RVALUES</one>. A: <one>Constants</one>. They <two>can only be used on the right side of an assignment operator</two>.
381
+ - In C++: bei einer <one>throw</one> Anweisung - wird die Funktion an dieser Stelle verlassen? Ja.
382
+ - Is <one>a struct</one> in C++ a class? Yes it is.
383
+ - In C++: what would <one>cout << EXIT_SUCCESS;</one> output? <one>0</one>.
384
+ - In C++: zeige ein Beispiel für eine <one>automatische Typisierung</one>. A: <one>auto x = 8;</one>
385
+ - In C++: what is meant with the term <one>dangling reference</one>? This is <one>a reference to an undefined variable</one>.
386
+ - In C++: <one>long long int</one> ist seit wann Teil des C++-Standards? Seit <one>C++11</one>.
387
+ - In C++: <one>ios::eofbit</one> bedeutet ... ? <peru>Exception</peru>: <one>Dateiende wurde erreicht</one>.
388
+ - In C++: was ist <one>ein Vektor</one>? In C++ ist ein Vektor eine Tabelle von "Elementen desselben Datentyps".
389
+ - In C++: show simple code to read from a file called <one>foobar.txt</one>. A: <one>#include <fstream>; ifstream this_file; this_file.open('foobar.txt');</one>
390
+ - In C++: give an example of <one>a type-unsafe operation</one>. A: For example, <peru>double x;</peru> <one>where x is not initialized</one>. This would be an operation that is not type-safe.
391
+ - In C++: können <peru>Schleifen</peru> <one>rückwärts laufen</one>? Ja.
392
+ - In C++: wie lesen wir <one>ein einzelnes Zeichen</one> ein? Wir verwenden zum Beispiel: <one>int c; c = getchar();</one>
393
+ - In C++: how to add a new element to a vector, aka "append operation"? <one>vector.push_back(42);</one>
394
+ - In C++: what is meant with a <one>magic comment</one>? This refers to a non-obvious literal in code.
395
+ - In C++: ist <one>double sqr(double);</one> eine valide Anweisung? Ja - <one>die Namen der formalen Parameter dürfen auch entfallen</one>. Es ist somit äquivalent zu <peru>double sqr(double a);</peru>.
396
+ - In C++: a <one>std::shared_ptr</one> releases its object when which condition is met? When the <one>last shared_ptr to it is destroyed</one>.
397
+ - In C++: how to return the character at a certain position in a string variable? We can use <one>foo.at(position)</one>, such as x.at(2).
398
+ - Give another word for <one>cast</one>. A: <one>Type conversion</one>.
399
+ - In C++: <one>cout</one> is defined where? In the <one>#include <iostream></one> directive.
400
+ - In C++: what is a <one>variable</one>? A variable is <one>a named object</one>.
401
+ - In C++ or in informatics: what does the abbreviation <one>RAII</one> stand for? <one>Resource Acquisition Is Initialization</one>.
402
+ - In C++: what do we mean in general with the notation <one>low to high-1</one>? This means that we start the indices from low, up to high-1 - that is, including <one>low</one>, but not <one>high</one>.
403
+ - C++ makes use of many types, but in the daily job of programming, there is a <one>top five</one>. Which types are these? (1) <one>int</one> (2) <one>double</one> (3) <one>char</one> (4) <one>string</one> (5) <one>bool</one>
404
+ - In C++: wie lesen wir einzelne Zeichen ein? Mit Hilfe von <one>get()</one>, also <one>cin.get()</one>.
405
+ - In C++: show <one>how to change a character</one> of the string variable <two>x = "abc def"</two>. A: <one>x.at(2) = 'y'</one>
406
+ - Wie prüfen wir in C++ ob wir es mit einer Zahl zu tun haben? <one>isdigit(c);</one> URL: http://www.cplusplus.com/reference/cctype/isdigit/
407
+ - In C++: wie nennen wir <one>Aufzählungen</one>? <one>enum</one>
408
+ - In C++: name a <one>function</one> that is defined in the <cmath> header. A: <one>pow()</one>.
409
+ - In C++: was meinen wir mit einer <one>defensiven Programmierung</one>? Das <one>Zeiger</one> immer initialisiert werden (müssen).
410
+ - In C++: wie können wir die Funktion des Operators <one><<</one> übersetzen, mit einer deutschen Bezeichnung? <one>sende an</one>.
411
+ - In C++: der Datentyp <one>string</one> gehört zu welchem <two>namespace</two>? <one>std</one>.
412
+ - In C++: können <one>Zeiger</one> andere <one>Zeiger</one> referenzieren? Ja.
413
+ - In C++: ein <one>abstrakter Datentyp</one> besteht aus welchen zwei Komponenten? (1) <one>Datentypen</one> (2) <one>Funktionen</one>
414
+ - In C++: if we wish to make use of <one>setprecision()</one>, which header should we include? <one>#include <iomanip></one>
415
+ - In C++: ist <one>constexpr string y = "Hi!"</one> eine <two>valide Anweisung</two>? Nein.
416
+ - In C++: what is the proper keyword to <one>deallocate memory</one>? <one>delete</one>.
417
+ - In C++: what is the character that <one>ends all strings</one>? '\0'.
418
+ - In C++: what type is <one>argv</one>? It is of the type <two>char **</two>.
419
+ - C++ provides the conditional operator <one>?:</one>, which is closely related to which other statement? It is closely related to the <one>if ... else statement</one>.
420
+ - In C++: what is meant with the term <one>unsafe</one>? This is when a value is implictely turned into the value of another type which will not be equal to the original type. In other words, information will be lost in the process.
421
+ - In C++: a <one>char</one> can hold how many different values? <one>256</one>.
422
+ - In C++: what is the shorthand operation of <one>for each int x in v</one>? <one>for (int x:v)</one>.
423
+ - <one>Overflow</one> is a one kind of ... error. A: <royalblue>Run time error</royalblue>. URL: https://en.wikipedia.org/wiki/Runtime_error_detection
424
+ - Wann wurde die Programmiersprache C++ entwickelt? Im Jahre <one>1983</one>.
425
+ - In C++: ist dieser Code cout << "'"; äquivalent zu jenem code cout << "\'";? Ja.
426
+ - In C++: what does a return value of <one>0</one> via <two>strcmp()</two> mean? That <one>both strings are equal</one>.
427
+ - What is the '\a' character? This is the <one>alert</one> character.
428
+ - In C++: wie heisst der <one>ternäre Operator</one>? <one>Bedingungsoperator</one>.
429
+ - Wie geht eine normale <one>loop {}</one> in C++? <one>while (true) {}</one>.
430
+ - Wie fügen wir, in C++, neue Elemente in einen <one>C++-Vektor</one> hinzu? Mittels <one>v.push_back()</one>.
431
+ - In C++: wie können wir den <one>cin-Stream</one> wieder in einen gültigen Zustand zurückversetzen? Mit Hilfe von <one>cin.clear()</one>.
432
+ - In C++: how do we call the list of arguments required by a function? The <one>parameter list</one>.
433
+ - In C++: what is the typical <one>valid range</one> for a (any) vector? <one>[ 0:v.size() ]</one>
434
+ - Ab C++11 gibt es <one>Datentypen mit fix definierten Größen</one>. Nenne hierzu ein Beispiel. A: <one>int16_t</one>.
435
+ - C++ is a statically typed language. What does this mean, essentially? That the type of every entity, such as an object, a value or a name and expression, must be known to the compiler at <one>its point of use</one>.
436
+ - How to get the square of a number in C++? Via <royalblue>sqrt(number)</royalblue>. You have to do #include <cmath> prior to that.
437
+ - How to <one>left-pad</one> in C++, for example, towards 10 spaces? <one>std::setw(10);</one>
438
+ - In C++: what will <one>cout << true;</one> output? <one>1</one>.
439
+ - In C++: what is meant with <one>an identifier's storage class</one>? An identifier's storage class determines the period during which that identifier <one>exists in memory</one>.
440
+ - Was meinen wir mit einem <one>Wertparameter</one> in C++? Dies sind Parameter, die in die formalen Parameter einer Funktion kopiert werden. Damit wird sichergestellt, dass die aktuellen Parameter nicht verändert werden.
441
+ - Gegeben sei folgender C++ code: <one>int a, b, c; a = b+c; cout << a;</one>. Welche Ausgabe sehen wir hier? <one>0</one>.
442
+ - In C++: how to <one>label several entries at the same time</one>? <one>case '0': case '2': case '4' cout << "is even"; break;</one>
443
+ - In C++: andere Bezeichnung für eine <one>Zeichenkonstante</one>. A: <one>Zeichenliterale</one>.
444
+ - Give an example in C++ for <one>the composite assignment operator</one>. A: <one>++foo</one>.
445
+ - In C++: wie können wir ein einzelnes byte schreiben? Mittels <one>put(char)</one>.
446
+ - Can we use <one>constexpr</one> in <violet>C++98</violet>? No - only since as of <one>C++11</one>.
447
+ - Nenne die drei wichtigsten Ein- und Ausgabekanäle in C++. A: (1) <one>cin</one> (2) <one>cout</one> (3) <one>cerr</one>
448
+ - In C++: what is the full name of <one>RTTI</one>? <one>Runtime type identification</one>.
449
+ - In C++, ist folgender code gültig: <one>string s; cout << s[0] << endl;</one>? Ja. Es gibt einfach nur eine neue Zeile aus.
450
+ - In C++: wie erstellen wir einen <one>Zufallsgenerator</one> von 1-1000? <one>srand(time(NULL)); rand() % 1000 + 1</one>
451
+ - Why may we wish to use <one>inline functions</one> in C++? This helps <one>reduce function call overhead</one> - especially for small functions.
452
+ - In C++: what is a <one>character literal</one>? This is a single character enclosed in single quotes, such as 'a'.
453
+ - In C++ an exception can be thrown called <one>out_of_range</one>. Give an example which part of C++ can throw this exception. A: <one>vector</one> can.
454
+ - Name the two ways in C++ to pass arguments to functions. A: (1) <one>pass-by-value</one> (2) <one>pass-by-reference</one>
455
+ - In C++: Was ist die Aufgabe des <one>Linkers</one>? Die Aufgabe des Linkers ist es, die unabhängig übersetzten Teilprogramme zu einem <one>exekutierbaren Gesamtprogramm</one> zusammenzusetzen.
456
+ - In C++: if we wish to <one>calculate the result of an exponentiation</one>, what to do? We will use the function <one>pow()</one> (short for <one>power</one>).
457
+ - In C++: <one>Integer literals</one> come in which three guises? (1) "decimal" (2) "octal" (3) <one>hexadecimal</one>
458
+ - Give an example for an <one>invalid name</one> for a variable in C++. A: <one>2x</one>.
459
+ - Wie wird das Zeichen an der Stelle 0 der <one>ASCII-Tabelle</one> genannt? <one>Nullbyte</one>.
460
+ - In C++: zeige wie wir <one>getline()</one> verwenden. A: getline(cin, ein).
461
+ - In C++: <one>switch statements</one> require what data type? <one>int</one>.
462
+ - In C++: how to find a substring in a string variable? text = 'Morgen'; auto position = text.find('Morgen');
463
+ - What happens if we narrow floating-point value to an integer value in C++? The C++ compiler will <one>simply discard any fractional part</one>.
464
+ - In C++: welchen <one>header</one> verwenden wir wenn wir std::size_t respektive size_t verwenden möchten? <cstddef>
465
+ - In C++: was bedeutet es wenn wir eine Zahl wie <one>1836u</one> sehen? Dies bedeutet das es sich um eine <one>unsigned Zahl</one> handelt; also eine Zahl die nur positive Werte vorweisen kann.
466
+ - In C++: was ist <one>size_t</one>? Ein Typ für <one>positive, ganze Zahlen</one>; grösser als <one>unsigned int</one>.
467
+ - In C++: give an example for a <one>nonparameterized stream manipulator</one>. A: <royalblue>endl</royalblue>.
468
+ - How to store a vector of (four) strings in C++? <one>vector<string> foobar = { "one", "two", "three", "four" };</one>
469
+ - In C++: was bedeutet es wenn eine Zahl mit einer <one>0</one> beginnt? Das dies eine <one>Oktalzahl</one> ist.
470
+ - In C++: in welchem header finden wir <one>isalnum(c)</one>? In "<cctype>". URL: http://www.cplusplus.com/reference/cctype/
471
+ - Was meinen wir mit <one>exklusiv reserviert</one> in C++? Das ist zum Beispiel eine Datei, die nicht gleichzeitig von mehreren Programmen beschrieben oder gelesen werden kann.
472
+ - Nenne die 3 Typen an <one>Kommazahlen</one> in C++. A: (1) <one>float</one> (2) <one>double</one> (3) <one>long double</one>
473
+ - In C++, what is the problem with the following code: <royalblue>int x = 2.9;</royalblue>? This will truncate x to 2.
474
+ - In C++: give another term for <one>collections of data</one>. A: <one>Containers</one>.
475
+ - In C++: <one>which header file</one> is used for reading and writing to a file? <one>#include <fstream></one>
476
+ - Wie zeige ich <one>nur zwei Nachkommastellen</one> an, in C++, von der Zahl <one>12.34567</one>? Zum Beispiel wie folgt: <violet>#include <iomanip>; cout << fixed << setprecision(2);</violet>.
477
+ - In C++ bei einem Vektor gibt es die <one>Datenorganisationsform</one> und die <one>Datenreorganisationsmethoden</one>. Nenne andere Begriffe hierzu. A: (1) Hashing: <one>Datenorganisationsform</one> (2) Sortieren: <one>Datenreorganisationsmethoden</one>
478
+ - Nenne einen grossen Vorteil eines Vektors in C++. A: Der Aufwand für einen Zugriff ist für alle Elemente konstant.
479
+ - In C++, was bedeutet "unsigned int"? "Positive, ganze Zahlen".
480
+ - Name two statements in C++. A: (1) expression statements (such as <one>a = b;</one>) (2) declarations
481
+ - Give a useful example in C++ for the use of <one>constexpr</one>. A: For the mathematical number PI, e. g. <one>constexpr doble pi = 3.14159;</one>
482
+ - In C++, we can create a <one>class Car</one>. Such a car, besides having capabilities to accomplish certain tasks, may also have attributes. Give an example for such an attribute. A: The "colour of the car".
483
+ - In C++, the function "rand()" generates an unsigned integer between 0 and RAND_MAX, which is a symbolic constant defined in the ... <one>header</one>. A: "<cstdlib> header".
484
+ - In C++, welchen Wert hat die <one>Konstante</one> NULL? 0.
485
+ - What do we mean with "binary operators" in C++? These are operators that "operate on two operands".
486
+ - In C++, bei Klassen, sind die Daten eher "private" oder eher "public"? Eher "private", da die Voreinstellung für Klassen in C++ eben "<u>private</u>" ist.
487
+ - In C++, gegeben sei der String "3894§10)ö". Wir verwenden: "int i; cin >> i". Welchen Wert hat i? i hat den Wert 3894; ist also kein String.
488
+ - Ist "x = +y;" eine valide Anweisung in C++? Ja.
489
+ - C++ data types fall into which three categories? (1) Simple data type (2) Structured data type (3) Pointers