Methoden in der Programmierung

Quiz
•
Computers
•
11th Grade
•
Easy

Barbara Messing
Used 2+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public int plus(int x, int y): Was wird die Rückgabe dieser Methode sein?
Zwei ganze Zahlen, x und y.
Eine ganze Zahl.
Ein Pluszeichen.
Drei Zahlen: x, y und z.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int zähle (List<String> meine_liste): Welchen Datentyp hat der Rückgabewert?
List
void
int
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void reset(int i) : Welchen Rückgabewert hat diese Methode?
int
string
i
keinen
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wenn der Rückgabetyp "void" ist: Welcher Befehl fehlt dann im Methodenrumpf?
Das kann man so nicht sagen
return ...
... ToString()
public
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie heißt das "public" in public int plus(int x, int y)?
Rückgabewert
Eingabetyp
Name der Methode
Zugriffsmodifikator
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
return z; heißt was?
z wird neu initialisiert
der aktuelle Wert von z wird ausgegeben
z wird deklariert
z ist nicht zulässig hier
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Was braucht man für Datentypen, um die Anzahl der Elemente einer Liste zu bestimmen?
Eingabe: Text, Ausgabe: Liste
Eingabe: Text, Ausgabe: Liste
Eingabe: Liste, Ausgabe: ganze Zahl
Eingabe: ganze Zahl, Ausgabe: Liste
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Cuestionario sobre Estructuras en C++

Quiz
•
11th Grade
9 questions
عناوين العمليات بلغة جافا

Quiz
•
10th Grade - University
10 questions
Programação em C

Quiz
•
10th - 12th Grade
11 questions
JAVA QUIZ

Quiz
•
1st - 12th Grade
17 questions
Java-Basics

Quiz
•
9th - 12th Grade
15 questions
Python-Grundlagen (IF Kl. 10)

Quiz
•
10th Grade - University
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
11 questions
S1-S5

Quiz
•
11th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade