• 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 5 pages
Exam (elaborations)

Java Programming Test 1 Questions & Answers 100% Correct!!

Document preview thumbnail
Preview 2 out of 5 pages

This part of the computer fetches instructions, carries out the operations commanded by the instructions, and produces some outcome or resultant information - ANSWERThe CPU A byte is made up of eight _____ - ANSWERBits Each byte is assigned a unique ____ - ANSWERAddress This type of memory can hold data for long periods of time - ANSWERSecondary storage If you were to look at a machine language program, you would see ______ - ANSWERA stream of binary numbers This type of program is designed to be transmitted over the internet and run in a web browser - ANSWERApplet These words have special meaning in machine language. - ANSWERKey words These are symbols or words that perform operations on more or one operands - ANSWEROperators These characters serve specific purposes such as marking the beginning or ending of a statement or separating items on a list - ANSWERPunctuation These are words or names that are used to identify storage locations in memory and parts of the program that are created by the programmer - ANSWERProgrammer-defined-names These are rules that must be followed when writing a program - ANSWERSyntax

Content preview

Java Programming Test 1 Questions & Answers
100% Correct!!

This part of the computer fetches instructions, carries out the operations commanded by the
instructions, and produces some outcome or resultant information - ANSWERThe CPU



A byte is made up of eight _____ - ANSWERBits



Each byte is assigned a unique ____ - ANSWERAddress



This type of memory can hold data for long periods of time - ANSWERSecondary storage



If you were to look at a machine language program, you would see ______ - ANSWERA stream of
binary numbers



This type of program is designed to be transmitted over the internet and run in a web browser -
ANSWERApplet



These words have special meaning in machine language. - ANSWERKey words



These are symbols or words that perform operations on more or one operands - ANSWEROperators



These characters serve specific purposes such as marking the beginning or ending of a statement or
separating items on a list - ANSWERPunctuation



These are words or names that are used to identify storage locations in memory and parts of the
program that are created by the programmer - ANSWERProgrammer-defined-names



These are rules that must be followed when writing a program - ANSWERSyntax



This is a named storage location in the computer's memory - ANSWERVariable

, The Java compiler generates ______ - ANSWERByte code



JVM stands for __________ - ANSWERJava Virtual Machine



Every complete statement ends with a _________ - ANSWERSemicolon



The following data:

'72',

'A',

'Hello World',

'2.87`1'

are all examples of _________ - ANSWERLiterals



A group of statements, such as the contents of a class or method, are enclosed in _____ -
ANSWERBraces {}



Which of the following are NOT valid assignment statements?

'Total = 9;'

'72 = amount;'

'profit = 129'

'letter = 'W';' - ANSWER'72 = amount;' and 'profit = 129'



Which of the following are NOT valid println statements?

System.out.println + "Hello World";

System.out.println("Have a nice day");

out.system.println(value);

println.out(Programming is great fun); - ANSWERSystem.out.println + "Hello World";

out.system.println(value);

and println.out(Programming is great fun);

Document information

Uploaded on
August 2, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
CA$22.49

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.
papersmaster01
3.9
(74)
Sold
309
Followers
106
Items
14763
Last sold
1 month 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