Quiz
Exam1 Practice
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (12)
1To create a CoffeCup class, how must the file be named in order to be compiled?
- ACoffeeCup
- BCoffeeCup.class
- CCoffeeCup.java
- DcoffeeCup.java
2Python is faster than Java.
- ARichtig
- BFalsch
3Which is NOT a primitive data type?
- Aint
- Bboolean
- CString[]
- Dchar
4Where are local variables stored?
- AIn the class but outside the method
- BInside a method
- COutside the class
- DOn the file system
5When declaring a variable, what must we always specify before we name it?
- AHow large it is
- BWhat data type it is
- CWhat the value is
6In Object-oriented Programming, an object is a
- Aa programming entity that has state and behavior
- Ba command you type at the terminal
- Ca set of stored values
- Da set of actions
7In Object-oriented Programming, what is the definition of state?
- AA set of actions an object can perform
- BThe type of data a variable can store
- CThe practice of processing input line-by-line
- DA set of values (internal data) stored in an object
8In Object-oriented Programming, the definition of behavior is
- Aa set of actions an object can perform, often reporting or modifying its internal state
- Ba set of values (internal data) stored in an object
- Chow well the program performs
- Dthrowing an exception
9After an object of a class has been created, it is referred to as
- AA thing
- BA class
- CAn instance
- DThe program
10In Java, behaviors are referred to as
- Amethods
- Bclasses
- Cstates
- Dobjects
11In Java, states are stored as
- Aclasses
- Bmethods
- Carguments
- Dfields
12Select all that are true of object fields:
- ASyntax of a field is <type> <name>;
- BDefined as a variable inside an object that makes up part of its state
- C

Informationen
- Beschreibung
- Computer Science Quiz am Exam1 Practice, erstellt von Tylene Smith am 30/09/2020.
- Autor
- Tylene Smith
- Sprache
- English
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz