Files
Notes/Documents/Arbeit/IFN/Programmieren WiSe 25 26/Fragen.md
2025-10-23 19:55:47 +02:00

6.7 KiB
Raw Blame History

title, short_desc, tags, timestamp, path, public, update, editor, uuid, feature, thumbnail
title short_desc tags timestamp path public update editor uuid feature thumbnail
Fragen - Note Umfrage Fragen für die Organisations Vorlesung
Note
Chart
Vorlesung
Uni
Work
22.10.2025 - 21:33 true true markdown 1761161623050 thumbnails/external/7101590b681bb0dcd2297796a1b24014.png thumbnails/resized/0b81b2982df2e7c1e2d930993f1d29f5_86cf658e.webp

Fragen

Invote.de

!invote_qr_code.png

1. Sind alle eingeloggt?

  • Funktioniert!
  • Gib mir noch kurz Zeit..
Values n=
Ja 0
Nein 0
^table1
type: bar
id: table1
layout: rows
width: 80%
beginAtZero: true

2. Freitags 15 Uhr ist eine super Vorlesungszeit (1 absolut gar nicht, 5 super, ich liebe es).

  • 1
  • 2
  • 3
  • 4
  • 5
Values n=
1 0
2 0
3 0
4 0
5 0
^table2
type: bar
id: table2
layout: rows
width: 80%
beginAtZero: true

3. Ich bin im ...

  • Bachelor
  • Master
Values n=
Bachelor 0
Master 0
^table3
type: bar
id: table3
layout: rows
width: 80%
beginAtZero: true

4. Ich studiere ...

  • Medienwissenschaften B.A.
  • Medienwissenschaften M.A.
  • Irgendwas mit Ingeneurwissenschaften
  • Irgendwas mit Naturwissenschaften
  • Psychologie
  • Was anderes...
Values n=
Medienwissenschaften B.A. 0
Medienwissenschaften M.A. 0
Irgendwas mit Ingeneurwissenschaften 0
Irgendwas mit Naturwissenschaften 0
Psychologie 0
Was anderes... 0
^table4
type: pie
id: table4
layout: rows
width: 80%
beginAtZero: true

5. Ich studiere im ...

  • 1./2. Semester
  • 3./4. Semester
  • 5./6. Semester
  • 7./8. Semester
  • 9+ Semester
Values n=
1/2 0
3/4 0
5/6 0
7/8 0
9+ 0
^table5
type: pie
id: table5
layout: rows
width: 80%
beginAtZero: true

6. Ich kenne bereits die Programmiersprache ...

  • C
  • Brainf**k
  • Javascript
  • Modula-2
  • HTML (HyperText Markup Language)
  • Delphi Pascal
Values n=
C 0
Brainf**k 0
Modula-2 0
HTML 0
Delphi Pascal 0
Keine... 0
^table6
type: bar
id: table6
layout: rows
width: 80%
beginAtZero: true

7. Mit welcher Programmiersprache werden wir in dieser Vorlesung arbeiten?

  • JavaScript
  • π-thon
  • R
  • Go
  • Fortran 77
Values n=
JavaScript 0
π-thon 0
R 0
Go 0
Fortran 77 0
^table7
type: bar
id: table7
layout: rows
width: 80%
beginAtZero: true

8. Wie heißt der/die Erfinder*in von Python?

  • Guido van Rossum (BDFL benevolent dictator for life)
  • Niklaus Wirth (Schweizer Informatiker)
  • Augusta Ada King, Countess of Lovelace (Entwicklete den ersten theoretischen mechanischen Computer zusammmen mit Charles Babbage und schrieb dafür das erste Program)
  • Alan Mathison Turing (10.9.2009 erst Entschuldigt, MI6, etc.)
  • Katherine Johnson (Afro Amerikanische NASA Wissenschaftlerin, berechnete Flugbahnen)
Values n=
Guido van Rossum 0
Niklaus Wirth 0
Ada Lovelace 0
Alan Turing 0
Katherine Johnson 0
^table8
type: bar
id: table8
layout: rows
width: 80%
beginAtZero: true

9. Welchen Output gibt folgender Code?

count = 0
for i in range(100):
	count = count + i
print(count)
  • 7
  • 550
  • 5.050
  • 10.000
  • 1, 1, 2, 3, 5, 8, 13, 21, ...
Values n=
7 0
550 0
5.050 0
10.000 0
1, 1, 2, 3, 5, 8, 13, 21, .. 0
^table9
type: bar
id: table9
layout: rows
width: 80%
beginAtZero: true

10. Welchen Output gibt folgender Code?

message = "π-thon macht Spaß"
print(message[0:6])
  • 0xcaffe
  • ' Spaß'
  • 'macht '
  • 'ß apm'
  • 'π-thon'
Values n=
0xcaffe 0
Spaß 0
macht 0
ß apm 0
π-thon 0
^table10
type: bar
id: table10
layout: rows
width: 80%
beginAtZero: true

11. Welchen Output gibt folgender Code?

print([n*n for n in range(1,6)])
  • [1,2,3,4,5]
  • [2,4,8,16,32]
  • [1,4,9,16,25]
Values n=
[1,2,3,4,5] 0
[2,4,8,16,32] 0
[1,4,9,16,25] 0
^table11
type: bar
id: table11
layout: rows
width: 80%
beginAtZero: true

12. Welchen Output gibt folgender Code?

[] + {}
  • "[object Object]"
  • Das ist Javascript...
  • TypeError: can only concatenate list (not "dict") to list
Values n=
[object Object] 0
Das ist JavaScript... 0
TypeError 0
^table12
type: bar
id: table12
layout: rows
width: 80%
beginAtZero: true

13. Welchen Output gibt folgender Code?

Ramanujan's Formula


\frac{1}{\pi} = \frac{2\sqrt 2}{9801} \cdot \sum^\infty_{k=0} \frac{(4k)!(1103+26390k)}{(k!)^4(396)^{4k}}
from math import sqrt, factorial

def a_calculation(k: int) -> float:
	factor = (2*sqrt(2))/9801
	summation = 0
	for i in range(k):
		nominator = factorial(4*i) * (1103+26390*i)
		denominator = factorial(i)**4 * 396**(4*k)
		summation += nominator / denominator
	return factor * summation

print(a_calculation(30)**-1)
  • 1/π
  • 1/e
  • π
Values n=
1/π 0
1/e 0
π 0
^table13
type: bar
id: table13
layout: rows
width: 80%
beginAtZero: true