-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delete docs/additional-material/daniel directory * Create cheatsheet.md * Create daniel-java1.md * Create exam-results.md * Create daniel-java2.md * Create cheatsheet.md * Create exam-results.md * Create sample-exam.md * Create sample-exam.md * format --------- Co-authored-by: = <=>
- Loading branch information
1 parent
4bd4091
commit 5a5026f
Showing
10 changed files
with
962 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` | |
2 changes: 1 addition & 1 deletion
2
docs/additional-material/daniel/daniel.md → ...nal-material/daniel-java1/daniel-java1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Oops, something went wrong.