Java

Java

Assessment

Flashcard

Special Education

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

31 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Bei folgendem Code:
do {
System.out.println(i);
i++;}
while (i < 5);
.... wird der Code-Block mind. einmal durchlaufen

Back

.... wird der Code-Block mind. einmal durchlaufen

2.

FLASHCARD QUESTION

Front

Für eine fussgesteuerte Schleife verwende ich....

Back

... ein do und eine while() Bedingung

3.

FLASHCARD QUESTION

Front

Würde dieser Code kompilieren?
int x = 10;
if (x == 10) {
int y = 20;
x = y * 2;
}
System.out.println("y is " + y);

Back

NEIN

4.

FLASHCARD QUESTION

Front

Welchen Wert nimmt die Variabel x an? int x = 60 % 7

Back

4

5.

FLASHCARD QUESTION

Front

Welchen Wert hat x?
int x = 8 : 2 (2 + 2);

Back

Fehler, deshalb keine Zuweisung

6.

FLASHCARD QUESTION

Front

Welchen Wert hat b?
int zahl = 99;
boolean b;
if ( ! ((zahl == 99) == false) ) { b = true; }

Back

true

7.

FLASHCARD QUESTION

Front

Welchen Datentyp gibt es nicht in Java? double, int, Varchar, String

Back

Varchar

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?