Java Review

¡Supera tus tareas y exámenes ahora con Quizwiz!

*True or False * 10 thru 19

*True or False* 10- 19

What is an object defined by?

A class

What is an object?

A fundamental entity

What is the difference between a high level and low level language?

A high-level language is closer to English and it is easier to understand. Machine Language is the language "spoken" by the computer, in 0s and 1s(binary).

What is Java byte-code?

A low-level form of something like machine language code.

Which of the following is a valid java identifier? a. 14andcounting b. max_value c.123 d. %taxvalue e. Hook&ladder

B

How can a black and white picture be represented using 1s and 0s

Black can represented with 1s White can be represented with 0s

What is white space? Does it affect the execution of a program?

Blanks, tabs, and space between code that is white and has nothing written on it. It does no affect the execution of a program.

Which of the following are not Java identifiers? a.RESULT b.result c.12345 d.x12345y e.black&white f.answer_7

C. It begins with a number E. It contains the & character

forgetting a semi-colon at the end of a programming statement

Compile Error

typing a { when you should have typed a (

Compile Error

Determine what type of error was made during these situations 21-

Determine what type of error was made during these situations 21-

Identifiers in Java may contain any characters found on the keyboard.

False

Java is an assembly language

False

The first step to solving a problem is implementing the solution

False

True or False. The identifiers Maximum and maximum are considered the same in Java

False

The term white space refers to character that are not part of the alphabet or numbers, such as symbols %, &, and @

False, it is the any space where any code can be written.

True or False ROM means random access device

False, it means Read Only Memory

Multiplying two numbers when you meant to add them

Logical Error

producing inaccurate results

Logical Error

spelling a word wrong in the output

Logical Error

dividing by zero

Runtime Error

What do we mean by the syntax and semantics of a programming language?

Syntax refers to grammatical structure, while Semantics refers to the meaning of that vocabulary arranged with that structure

A network is two or more computers connected together so they can exchange information.

True

Computers continually follow the fetch-decode-execute cycle

True

Java is an object-oriented programming language

True

Web pages are usually formatted using the HyperText Markup Language(HTML)

True

What is a Java identifier?

Various words used when writing programs


Conjuntos de estudio relacionados

PSYC101 Smartbook Assignment Spring2021 Chapters 6&7

View Set

Econ Chapter 1 - Limits, Alternatives, and Choices

View Set

(2022) EMR Chapter 7 - 6th Edition

View Set

road to democracy vocabulary and definitions.

View Set