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

362 lines
6.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Fragen - Note
short_desc: Umfrage Fragen für die Organisations Vorlesung
tags:
- Note
- Chart
- Vorlesung
- Uni
- Work
timestamp: 22.10.2025 - 21:33
path:
public: true
update: true
editor: markdown
uuid: "1761161623050"
feature: thumbnails/external/7101590b681bb0dcd2297796a1b24014.png
thumbnail: thumbnails/resized/0b81b2982df2e7c1e2d930993f1d29f5_86cf658e.webp
---
![](https://styles.redditmedia.com/t5_2qh0y/styles/bannerBackgroundImage_cd73kiu1502d1.png)
# Fragen
[Invote.de](https://invote.de/87823)
![[invote_qr_code.png|300]]
## 1. Sind alle eingeloggt?
- [ ] Funktioniert!
- [ ] Gib mir noch kurz Zeit..
| | Values n= |
| ---- | --------- |
| Ja | 0 |
| Nein | 0 |
^table1
```chart
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
```chart
type: bar
id: table2
layout: rows
width: 80%
beginAtZero: true
```
---
## 3. Ich bin im ...
- [ ] Bachelor
- [ ] Master
| | Values n= |
| -------- | --------- |
| Bachelor | 0 |
| Master | 0 |
^table3
```chart
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
```chart
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
```chart
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
```chart
type: bar
id: table6
layout: rows
width: 80%
beginAtZero: true
```
---
## 7. Mit welcher Programmiersprache werden wir in dieser Vorlesung arbeiten?
- [ ] JavaScript
- [x] π-thon
- [ ] R
- [ ] Go
- [ ] Fortran 77
| | Values n= |
| ---------- | --------- |
| JavaScript | 0 |
| π-thon | 0 |
| R | 0 |
| Go | 0 |
| Fortran 77 | 0 |
^table7
```chart
type: bar
id: table7
layout: rows
width: 80%
beginAtZero: true
```
---
## 8. Wie heißt der/die Erfinder\*in von Python?
- [x] 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
```chart
type: bar
id: table8
layout: rows
width: 80%
beginAtZero: true
```
---
## 9. Welchen Output gibt folgender Code?
```python
count = 0
for i in range(100):
count = count + i
print(count)
```
- [ ] 7
- [ ] 550
- [x] 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
```chart
type: bar
id: table9
layout: rows
width: 80%
beginAtZero: true
```
---
## 10. Welchen Output gibt folgender Code?
```python
message = "π-thon macht Spaß"
print(message[0:6])
```
- [ ] 0xcaffe
- [ ] ' Spaß'
- [ ] 'macht '
- [ ] 'ß apm'
- [x] 'π-thon'
| | Values n= |
| ------- | --------- |
| 0xcaffe | 0 |
| Spaß | 0 |
| macht | 0 |
| ß apm | 0 |
| π-thon | 0 |
^table10
```chart
type: bar
id: table10
layout: rows
width: 80%
beginAtZero: true
```
---
## 11. Welchen Output gibt folgender Code?
```python
print([n*n for n in range(1,6)])
```
- [ ] [1,2,3,4,5]
- [ ] [2,4,8,16,32]
- [x] [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
```chart
type: bar
id: table11
layout: rows
width: 80%
beginAtZero: true
```
---
## 12. Welchen Output gibt folgender Code?
```python
[] + {}
```
- [ ] "[object Object]"
- [ ] Das ist Javascript...
- [x] TypeError: can only concatenate list (not "dict") to list
| | Values n= |
| --------------------- | --------- |
| [object Object] | 0 |
| Das ist JavaScript... | 0 |
| TypeError | 0 |
^table12
```chart
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}}
$$
```python
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
- [x] π
| | Values n= |
| --- | --------- |
| 1/π | 0 |
| 1/e | 0 |
| π | 0 |
^table13
```chart
type: bar
id: table13
layout: rows
width: 80%
beginAtZero: true
```
---