• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 12 pages
Exam (elaborations)

Java Study Test Questions With All Correct Answers

Document preview thumbnail
Preview 2 out of 12 pages

JAVA STUDY TEST QUESTIONS WITH ALL CORRECT ANSWERS

Content preview

JAVA STUDY TEST QUESTIONS WITH
ALL CORRECT ANSWERS

In object-oriented programming a class is

A) a group of people sharing the same relationship to the means of production.
B) the term used for program.
C) a model or template from which objects are created.
D) a grouping of users sharing common objectives.
E) a procedure for a calculation inside a program. - Answer-C) a model or template
from which objects are created.

Carrying out the steps of a program, starting with the first, then the second and
proceeding to the last is known as _______ processing. - Answer-sequential.

Which of the following is not true?

A) An algorithm allows ambiguity.
B) An algorithm, when carried out, must eventually stop.
C) An algorithm, can be carried out by a human being. - Answer-A) An algorithm allows
ambiguity.

In Java, an argument is

A) a logical sequence of statements proving the correctness of a program.
B) information that a method returns to its caller.
C) information provided to a method.
D) a verbal dispute. - Answer-C) information provided to a method.

Changing the flow of control in a program to jump to some pre-written code is known as
___________ a method. - Answer-Calling.


The rules that govern the correct order and usage of the elements of a language are
called the______ of the language - Answer-Syntax

When a program runs on a computer, the part of the computer that carries out the
instructions is called the_____ - Answer-Central Processing Unit(CPU)

, When a program runs on a computer, it is stored in_______. - Answer-Random Access
Memory(RAM)

When a program is not running, it is stored on_________. - Answer-A disk.

Mice, trackpads, keyboards, scanners, joysticks are all examples of________. -
Answer-input devices.

Mice, trackpads, keyboards, scanners, joysticks are all examples of________. -
Answer-Output devises.

Choose: An operating system
a. is the chief hardware unit of a computer
b. is loaded into the computer each time it needs to carry out an operation
c. ensures that programs will not run on the computer at the same time
d. allocates resources like memory to programs that are running - Answer-D. Allocates
resources like memory to programs that are running.

In a network, a computer that performs specific services for other computers on the
network is called a _____. - Answer-Server.

In a network, a computer that requests specific services for other computers on the
network is called a ________. - Answer-Client.

Which statement is NOT true:

A) Machine languages can be used to express algorithms.
B) Machine languages can be used to write programs that can run on any machine.
C) Machine language consists of zeros and ones.
D) Machine language is produced by compilers. - Answer-B: Machine languages can
be used to write programs that can run on any machine.

A compiler

A) maintains a collection of programs
B) tests a program's logic
C) translates source code into executable code
D) translates executable code to machine code - Answer-C) Translates source code
into executable code.

In object-oriented programming a method is

A) A design technique for creating classes.
B) A disciplined way of writing programs.
C) An approach developed by the great Stanislawski.
a process for instantiating an object.

Document information

Uploaded on
July 12, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.59

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Scholarsstudyguide
3.8
(169)
Sold
853
Followers
476
Items
16410
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions