C#-1: Lektion 5

C#-1: Lektion 5

8th Grade

10 Qs

quiz-placeholder

Similar activities

Python

Python

1st Grade - Professional Development

10 Qs

Test C5

Test C5

6th - 8th Grade

10 Qs

Урок 6: Объекты

Урок 6: Объекты

6th - 11th Grade

5 Qs

python-revision

python-revision

6th - 8th Grade

10 Qs

Python Intermediate Quiz - 1

Python Intermediate Quiz - 1

8th Grade - Professional Development

13 Qs

JavaScript

JavaScript

1st - 12th Grade

10 Qs

JAVA: Level-1

JAVA: Level-1

5th - 12th Grade

15 Qs

Vektori i polja

Vektori i polja

1st - 12th Grade

15 Qs

C#-1: Lektion 5

C#-1: Lektion 5

Assessment

Quiz

Education

8th Grade

Medium

Created by

Coding Giants

Used 15+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welches Zeichen steht am Ende der meisten C#-Anweisungen?

Leerzeichen

Komma

Semikolon

Bindestrich

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Wie wird die Variable für den Benutzernamen richtig deklariert?

string name;

int name;

char name;

bool name;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welchen Typ verwendest Du um eine gebrochene Zahl zu speichern?

bool

int

double

char

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Mit welcher Methode wird Text von der Konsole eingelesen?

console.WriteLine();

String a = Console.WriteLine();

Console.ReadLine();

int a = Console();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Welches Schlüsselwort wird verwendet um eine Konstante zu deklarieren?

int

public

double

const

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Welche Rolle spielt die Funktion: int.Parse () im folgenden Code:

int mark= int.Parse(Console.ReadLine());

wandelt den Float-Wert in int um

fügt den von der Konsole gelesenen Wert zur Variablen mark hinzu

parst (konvertiert) den von der Konsole gelesenen Text, um ihn als Zahl zu speichern

macht nichts, kann aus diesem Code entfernt werden

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Was kann eine als char deklarierte Variable speichern?

Zeichenkette

ein Zeichen

gebrochene Zahl

ganze Zahl

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?