Quiz
CP213 Final Practice Questions
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 (16)
1The Java Compiler is able to find all programming errors
- ARichtig
- BFalsch
2The Java graphics coordinate system is similar to the coordinate system one finds in mathematics in every respect
- ARichtig
- BFalsch
3The following for-loop is an inifinite loop
for (int j=0; j<1000;)j++;- ARichtig
- BFalsch
4All parts of a container in BorderLayout must be used
- ARichtig
- BFalsch
5To swap the 3rd and 4th elements in the int array values, you would apply the following statements
values[3] = values[4];
values[4] = values[3];- ARichtig
- BFalsch
6Java allows one to create polymorphic references using inheritance and using interfaces
- ARichtig
- BFalsch
7The type of reference, not the type of object, is use to determine which version of a method is invoked in a polymorphic reference
- ARichtig
- BFalsch
8A swing program does not end until it encounters a System.exit statement
- ARichtig
- BFalsch
9The difference between the throw reserved word and the throws reserved word is that throw is used within a method body, while throws is used within a method header
- ARichtig
- BFalsch
10The dispose() method of the JFrame class terminates a Java program
- ARichtig
- BFalsch
11When a model object in a model-view association fires a property change event, it must identify the specific attribute that caused the property change
- ARichtig
- BFalsch
12If no throw is executed in a try block, then the subsequent catch block is not executed
- ARichtig
- BFalsch
13The visibility of an overridden method can be changed from public in a base class to more restricted access permission in a derived class
- ARichtig
- BFalsch
14A Model object in a model-view association is allowed to perform I/O independently of any view objects that are associated with it
- ARichtig
- BFalsch
15Any change in graphics displayed on the screen requires a call to the method _________
to update the graphics- Apaint()
- Brepaint()
- Cupdate()
- Dall of the above
16Regardless of the programming language in question, a GUI uses a programming style that is called
- Aevent-driven programming
- BStructured programming
- Cbottom-up programming
- Dobject-oriented programming
Informationen
- Beschreibung
- Computer Science Quiz am CP213 Final Practice Questions, erstellt von Areesha Yahya am 08/08/2022.
- Autor
- Areesha Yahya
- Sprache
- English
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz