Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update daniel #68

Merged
merged 10 commits into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions docs/additional-material/daniel-java1/cheatsheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: Cheatsheet
description: ''
sidebar_position: 30
tags: []
---

## Java API

| Klasse | Methode | Statisch | Rückgabetyp |
| ------------- | ------------------------------------------------------------------- | -------- | ------------ |
| Aufzählung | `valueOf(arg0: String)` | X | Aufzählung |
| Aufzählung | `values()` | X | Aufzählung[] |
| `Boolean` | `valueOf(s: String)`, `valueOf(b: boolean)` | X | `Boolean` |
| `Double` | `valueOf(s: String)`, `valueOf(d: double)` | X | `Double` |
| `Integer` | `valueOf(s: String)`, `valueOf(i: int)` | X | `Integer` |
| `LocalDate` | `getDayOfMonth()`, `getDayOfYear()`, `getMonthValue()`, `getYear()` | | `int` |
| `LocalDate` | `now()` | X | `LocalDate` |
| `LocalDate` | `of(year: int, month: int, dayOfMonth: int)` | X | `LocalDate` |
| `LocalTime` | `getHour()`, `getMinute()`, `getSecond()` | | `int` |
| `LocalTime` | `now()` | X | `LocalTime` |
| `LocalTime` | `of(hour: int, minute: int, second: int)` | X | `LocalTime` |
| `Object` | `equals(object: Object)` | | `boolean` |
| `Object` | `hashCode()` | | `int` |
| `Object` | `toString()` | | `String` |
| `PrintStream` | print-Methoden, println-Methoden | | `void` |
| `Random` | `nextInt(bound: int)` | | `int` |
| `Scanner` | `hasNextLine()` | | `boolean` |
| `Scanner` | `next()` | | `String` |
| `Scanner` | `nextBoolean()` | | `boolean` |
| `Scanner` | `nextDouble()` | | `double` |
| `Scanner` | `nextInt()` | | `int` |
| `Scanner` | `nextLine()` | | `String` |
| `String` | `charAt(index: int)` | | `char` |
| `String` | `length()` | | `int` |
| `String` | `split(regex: String)` | | `String[]` |
| `String` | `toLowerCase()`, `toUpperCase()` | | `String` |
| `System` | `currentTimeMillis()` | X | `long` |

## Java Collections Framework

| Klasse | Methode | Statisch | Rückgabetyp |
| -------------- | --------------------------------------- | -------- | ----------- |
| `ArrayList<E>` | `add(e: E)` | | `boolean` |
| `ArrayList<E>` | `add(index: int, element: E)` | | `void` |
| `ArrayList<E>` | `contains(o: Object)` | | `boolean` |
| `ArrayList<E>` | `get(index: int)` | | `E` |
| `ArrayList<E>` | `remove(index: int)` | | `E` |
| `ArrayList<E>` | `remove(o: Object)` | | `boolean` |
| `ArrayList<E>` | `size()` | | `int` |
| `Collections` | `sort(list: List<T>, c: Comparator<T>)` | X | `void` |
| `List<E>` | `of(elements: E...)` | X | `List<E>` |

## Funktionale Schnittstellen

| Klasse | Methode | Statisch | Rückgabetyp |
| --------------- | ----------------------- | -------- | ----------- |
| `Comparable<T>` | `compareTo(o: T)` | | `int` |
| `Comparator<T>` | `compare(o1: T, o2: T)` | | `int` |
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Daniel
title: Daniel (Programmierung 1)
description: ''
sidebar_position: 20
tags: []
Expand Down
36 changes: 36 additions & 0 deletions docs/additional-material/daniel-java1/exam-results.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: Klausurergebnisse
description: ''
sidebar_position: 50
tags: []
---

## Klausur Q2 2022

```mermaid
pie title 1/10
"100+ Punkte" : 2
"90-99 Punkte" : 5
"80-89 Punkte" : 4
"70-79 Punkte" : 5
"60-69 Punkte" : 3
"50-59 Punkte" : 4
"40-49 Punkte" : 3
"30-39 Punkte" : 3
"20-29 Punkte" : 3
"10-19 Punkte" : 0
"0-9 Punkte" : 1
```

```mermaid
pie title 1/3
"68-100 Punkte" : 16
"34-67 Punkte" : 11
"0-33 Punkte" : 6
```

```mermaid
pie title 1/2
"50-100 Punkte" : 23
"0-49 Punkte" : 10
```
Loading
Loading