Which of the following refers to a collection of programs that a computer executes? correct
answers Software
Computers are machines that correct answers execute programs
Computer programming is correct answers the act of designing and implementing a computer
program
Consider the following statements regarding computers:
I. Computers can execute a large number of instructions in a fraction of a second.
II. Computer application areas mainly target the research and scientific communities.
III. The physical components of a computer constitute its hardware.
IV. Unlike humans, a computer never gets bored or exhausted when performing repetitive tasks.
Which are true? correct answers I, III, IV
Consider the following statements about computer programs:
I. Computer programs can be written by someone who has a basic knowledge of operating a
computer.
II. Computer programs can complete complex tasks quickly.
,III. Large and complex computer programs are generally written by a group of programmers.
IV. Computer programs are composed of extremely primitive operations.
Which are true? correct answers II, III, IV
The Central Processing Unit is primarily responsible for correct answers performing program
control and data processing
A single silicon chip made from potentially millions of transistors is called correct answers a
Central Processing Unit (CPU)
An example of an output device that interfaces between computers and humans is correct
answers a speaker
An example of an input device that interfaces between computers and humans is correct answers
a microphone
Programs that are not running are usually stored correct answers in secondary storage
When a program begins to run correct answers it is moved to the CPU's memory
Which one of the following typically provides data persistence without electricity?
I. The CPU's memory
II. The hard disk
,III. Secondary storage correct answers II, III
Consider a scenario in which you develop a Java program on a computer that has a Pentium
processor. What step should you take to run the same Java program on a computer that has a
different processor? correct answers The compiled Java machine language instructions can be
run on any processor that has a Java Virtual Machine
High-level programming languages correct answers are independent of the underlying hardware
Which one of the following translates high-level descriptions into machine code? correct answers
compiler
Computer scientists have devised something that allows programmers to describe tasks in words
that are closer to the syntax of the problems being solved. This is called (an) correct answers
high-level programming language
Small applications written in the Java programming language that can be located on the Internet
are called correct answers applets
What is one of the benefits of using a high-level programming language like Java? correct
answers Problems solved in a high-level language are independent of the underlying computer
Because Java was designed for the Internet, which two of its attributes make it suitable for
beginning programmers? correct answers Safety and portability
An integrated development environment (IDE) bundles tools for programming into a unified
application. What kinds of tools are usually included? correct answers An editor and a compiler
Which of the following are reasons why Java is good, but not perfect, for beginners?
, I. A certain amount of technical machinery is necessary to write basic, simple programs
II. There are many extensions
III. There are a large number of extensive libraries in Java correct answers I, II, III
What is the difference between an editor and a compiler? correct answers An editor allows
program files to be written and stored; a compiler converts program files into an executable
program
Suppose you examine a simple Java program and the first line is ' public Class HelloPrinter ' . Is
this the same thing in Java as the line ' public Class helloprinter ' ? correct answers No, because
Java is case-sensitive, these are considered to be completely distinct
What statements about the integrated development environment (IDE) are true?
I. You may run Java class files even after exiting the IDE
II. The IDE can invoke a virtual machine, which is required to run a Java program
III. Translating Java source code into class files is enough to then actually run the program
correct answers I, II, III
Consider the following statements about folders and your integrated development environment
(IDE):
I. Hierarchical folders help to organize a project
II. Folders are a way to visualize the layout of a file system