Filters
Question type

Study Flashcards

The x and y coordinates of a point express its position relative to the system's origin.

Correct Answer

verifed

verified

All of the following are examples of Java vocabulary EXCEPT ____.


A) =
B) *
C) (f - 32) * / 9
D) Fahrenheit

Correct Answer

verifed

verified

Text that appears between an opening /* and a closing */ is a(n) ____.


A) end-of-line comment
B) multiline comment
C) debugging statement
D) expression

Correct Answer

verifed

verified

Arithmetic operators are examples of Java syntax.

Correct Answer

verifed

verified

Java uses a technique called mixed-mode to convert one data type to another in arithmetic expressions. ____________________

Correct Answer

verifed

verified

A(n) ____________________ is a computer program that can replicate itself and move from computer to computer.

Correct Answer

verifed

verified

You can reduce the number of logic errors in a program by rereading code carefully, or ____.


A) proofreading
B) debugging
C) desk checking
D) keywording

Correct Answer

verifed

verified

A ____ error occurs when a semicolon is missing at the end of a statement.


A) Syntax
B) Run-time
C) Logic
D) Semantic

Correct Answer

verifed

verified

The ____ character is used to indicate that punctuation such as commas and quotation marks should be taken literally.


A) *
B) =
C) (
D) \

Correct Answer

verifed

verified

Identify the letter of the choice that best matches the phrase or definition. a.Variable declaration statement b.Keyword c.5.301E5 d.(0, 0) e.Method signature -The name, type, and number of parameters.

Correct Answer

verifed

verified

Programmers share code using a mechanism called a(n) ____________________.

Correct Answer

verifed

verified

To use a method successfully, you must know ____.


A) what type of value it returns
B) its name
C) the number and type of the parameters it expects
D) all of the above

Correct Answer

verifed

verified

Natural languages are more rigid than programming languages.

Correct Answer

verifed

verified

An object must be instantiated before use. ____________________

Correct Answer

verifed

verified

Sending a message to a variable before the corresponding object has been instantiated causes a(n) ____ exception.


A) no such method
B) syntax
C) desk checking
D) null pointer

Correct Answer

verifed

verified

Objects support terminal input and output.

Correct Answer

verifed

verified

Explanations are sentences inserted into a program in such a manner that the compiler ignores them. ____________________

Correct Answer

verifed

verified

The expression (3 + 5) + 2* 2 + 4 will yield ____ as the answer.


A) 16
B) 20
C) 24
D) 60

Correct Answer

verifed

verified

Which of the following numeric data types is used for smaller, less precise floating-point numbers?


A) Double
B) Float
C) Short
D) Byte

Correct Answer

verifed

verified

Caroline uses the ____ character to include quotation marks in the welcome message.


A) escape
B) output
C) concatenation
D) forward slash

Correct Answer

verifed

verified

Showing 21 - 40 of 46

Related Exams

Show Answer