Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo Leute,

ich würde gern wissen , welche Algorithmus für die Prüfung lernen soll. Also

z.B 

Luhn-Algorithmus

im Java

public static boolean check(int[] digits)

{ int sum = 0; int length = digits.length;

for (int i = 0; i < length; i++) {

// get digits in reverse order

int digit = digits[length - i - 1];

// every 2nd number multiply with 2

if (i % 2 == 1) {

digit *= 2; }

sum += digit > 9 ? digit - 9 : digit;

}

return sum % 10 == 0; }

Hallo,

es geht um FIAE?

Also meines Wissens nach, brauchst du keine Algorithmen  (bzw. deren Bezeichnung) auswendig können. Wichtiger ist, dass du ein Verständnis dafür entwickelst. was eine Anforderung(Aufgabenstellung von dir verlangt und wie du diese als Code umsetzt. Die Aufgaben erklären i.d.R. eine Problemstellung und es wird nicht gesagt "Bitte schreiben Sie den RC2-Algorithmus" o.ä..

Was ein wenig helfen kann, sind Code Katas. Da auch diese kleine Problemstellungen geben, die per Code gelöst werden sollen. Aber selbst die sind meinst wesentlich komplexer als das, was in so eine Abschlussprüfung verlangt wird.

Ansonsten solltestdu schauen, dass du eher in Pseudocode schreibst, als in einer festen Programmiersprache, so dass deine Lösung allgemein verständlich ist und du nicht irgendwelche sprachspezifischen Methoden oder Sprachkonstrukte nutzt, mit denen deine Prüfer unter Umständen nichts anfangen können.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.