100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Computer Science Test Questions and Answers

Beoordeling
-
Verkocht
-
Pagina's
5
Cijfer
A+
Geüpload op
09-01-2026
Geschreven in
2025/2026

Computer Science Test Questions and Answers

Instelling
Computer Science
Vak
Computer Science









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Computer Science
Vak
Computer Science

Documentinformatie

Geüpload op
9 januari 2026
Aantal pagina's
5
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

Computer Science Test Questions and Answers
/* - ANSWER-This marks the beginning of a multiline comment.

/n - ANSWER-Which of the following is an example of an escape sequence?
/n
while
main
Scanner

= is a Simple assignment operator while == is Equal to. - ANSWER-Explain how = is
different than ==.

1 less than the number of elements - ANSWER-The last subscript in an array list is
always what?

19 - ANSWER-How many times will the body of the loop execute?
for (int i = 1; i < 20, i++)
{
System.out.println ( i )
}

2D Array - ANSWER-If you have data that can be visualized in a table with rows and
columns, you should use a _______.

9 - ANSWER-How many times will the body of the loop execute?
for (int i = 1; i < 10, i++)
{
System.out.println ( i )
}

A declaration opens up a space for a value in the computer's memory and an
assignment fills it with a value.
Declaration: Int Example;
Assignment: Example = #; - ANSWER-What is the difference between a declaration and
an assignment? Give examples.

Accessor, Mutator - ANSWER-A no-arg constructor is usually accompanied by a
_______, _______ method(s)).

Accumulating - ANSWER-This term us used to describe variables that keep a running
total of something.

all of the above (dependent on type) - ANSWER-Default constructors set all object's
variables to _____.
o

, o.o
null
all of the above (dependent on type)

An object is created with a constructor to perform certain tasks or hold data while a field
is the data a object holds. - ANSWER-What is the difference between an object and a
field.

Argument - ANSWER-A(n) ________ is a value that is passed into a method.

Binding - ANSWER-When you have more than one method or variable with the same
name, you can solve it with ____.

Constructor - ANSWER-A bit of code that allows you to create objects from a class.

count == 1 - ANSWER-Which of the following does not change the value of a variable?
count++
count == 1
count += 1
count = 1
count = count + 1

Default Constructors are provided by Java and sets all object's variables to the default
value. A no-arg constructor is made by the programmer and does not take in all
arguments. - ANSWER-Difference between a default Constructor and a no-arg
Constructor.

Event Listener - ANSWER-Graphical components like a JButton or JTextField are
examples of a(n) _______.

Extends - ANSWER-______ is used in a class definition when establishing an is-a
relationship.

Field - ANSWER-A class, interface or enum associated with a value are examples of a
_____.

Final - ANSWER-This is a keyword used when declaring a variable which cannot be
changed.

Free - ANSWER-Free Question Type "Free"!

Inheritance - ANSWER-What combines a Subclass with a superclass.

JFrame - ANSWER-A top-level window with a title and a border. The size includes any
area designated for the border.

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
CLOUND Exam
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
605
Lid sinds
2 jaar
Aantal volgers
389
Documenten
11040
Laatst verkocht
1 dag geleden
PROF MM

HELLO WELCOME TO THIS PAGE WHERE YOU WILL FIND ALL EXAMS ,STUDY GUIDE ,CASE, TESTBANKS AND ANY OTHER STUDY MATERIALS,

3,9

116 beoordelingen

5
58
4
16
3
29
2
3
1
10

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen