Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

Computer Science Test Questions and Answers

Note
-
Vendu
-
Pages
5
Grade
A+
Publié le
09-01-2026
Écrit en
2025/2026

Computer Science Test Questions and Answers

Établissement
Computer Science
Cours
Computer Science









Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Computer Science
Cours
Computer Science

Infos sur le Document

Publié le
9 janvier 2026
Nombre de pages
5
Écrit en
2025/2026
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

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.
€11,08
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
CLOUND Exam
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
605
Membre depuis
2 année
Nombre de followers
389
Documents
11040
Dernière vente
1 jours de cela
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 revues

5
58
4
16
3
29
2
3
1
10

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions