Filters
Question type

Study Flashcards

Key words are


A) symbols or words that perform operations on one or more operands.
B) words or names defined by the programmer.
C) the data names in your program.
D) words that have a special meaning in the programming language.

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

A solid-state drive has no moving parts and operates faster than a traditional disk drive.

A) True
B) False

Correct Answer

verifed

verified

A(n) ________ is a software entity that contains data and procedures.


A) object
B) program
C) class
D) method

E) None of the above
F) A) and C)

Correct Answer

verifed

verified

An object typically hides it data, but allows outside code to access


A) the pseudocode.
B) the methods that operate on the data.
C) private data members.
D) the data files.

E) A) and C)
F) None of the above

Correct Answer

verifed

verified

Byte code instructions are


A) machine code instructions.
B) syntax errors.
C) read and interpreted by the JVM.
D) another name for source code.

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Whereas ________ is centered on creating procedures, ________ is centered on creating objects.


A) procedural programming, object-oriented programming
B) object-oriented programming, procedural programming.
C) routine programming, method programming,
D) procedural programming, class programming.,

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Computers can do many different jobs because they are


A) programmable.
B) reliable.
C) automated.
D) electronic.

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

Suppose you are at an operating system command line, and you are going to use the following command to compile a program: javac MyClass.java Before entering the command, you must


A) close all other Windows on your computer system.
B) make sure you are in the same directory or folder where the MyClass.java file is located.
C) execute the java.sun.com program.
D) save the program with the .comp extension.

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

Each byte is assigned a unique number known as an address.

A) True
B) False

Correct Answer

verifed

verified

________ are used to indicate the end of a Java statement.


A) Periods
B) Asterisks
C) Semicolons
D) Colons

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

Which of the following commands will run the compiled Java program named ReadIt?


A) run ReadIt
B) java ReadIt.java
C) java ReadIt
D) go ReadIt

E) C) and D)
F) A) and B)

Correct Answer

verifed

verified

What is syntax?


A) Rules that must be followed when writing a program.
B) Words that have a special meaning in the programming language.
C) Symbols or words that perform operations.
D) Words or names defined by the programmer.

E) B) and D)
F) None of the above

Correct Answer

verifed

verified

Encapsulation refers to the combining of data and code into a single object.

A) True
B) False

Correct Answer

verifed

verified

Compiled byte code is also called source code.

A) True
B) False

Correct Answer

verifed

verified

How many bits are in a byte?


A) 4
B) 8
C) 16
D) 32

E) C) and D)
F) B) and C)

Correct Answer

verifed

verified

Application software refers to programs that make the computer useful to the user.

A) True
B) False

Correct Answer

verifed

verified

________ is a cross between human language and a programming language.


A) The compiler
B) Pseudocode
C) The Java Virtual Machine
D) Java

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

RAM is usually


A) an input/output device.
B) a volatile type of memory, used only for temporary storage.
C) secondary storage.
D) a static type of memory, used for permanent storage.

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

Java source files end with the .class extension.

A) True
B) False

Correct Answer

verifed

verified

________ refers to the physical components that a computer is made of.


A) Input
B) Main memory
C) Control unit
D) Hardware

E) All of the above
F) A) and C)

Correct Answer

verifed

verified

Showing 21 - 40 of 40

Related Exams

Show Answer