Java How To Program Early
Objects, 11th Edition by Paul Deitel
Complete Chapter Solutions Manual
are included
** Immediate Download
** Swift Response
** All Chapters included
** Solution Codes
,Introduction to Computers,
the Internet and Java 1
Objectives
In this chapter you’ll:
■ Learn about exciting recent
developments in the computer
field.
■ Learn computer hardware,
software and networking
basics.
■ Understand the data hierarchy.
■ Understand the different types
of programming languages.
■ Understand the importance of
Java and other leading
programming languages.
■ Understand object-oriented
programming basics.
■ Learn Internet and web basics.
■ Learn a typical Java program-
development environment.
■ Test-drive a Java application.
■ Learn some key recent
software technologies.
© 2018 Pearson Education, Inc., 330 Hudson Street, NY NY 10013. All rights reserved.
,2 Chapter 1 Introduction to Computers, the Internet and Java
Self-Review Exercises
1.1 Fill in the blanks in each of the following statements:
a) Computers process data under the control of sets of instructions called .
ANS: programs.
b) The key logical units of the computer are the , , ,
, and .
ANS: input unit, output unit, memory unit, central processing unit, arithmetic and logic
unit, secondary storage unit.
c) The three types of languages discussed in the chapter are , and
.
ANS: machine languages, assembly languages, high-level languages.
d) The programs that translate high-level language programs into machine language are
called .
ANS: compilers.
e) is an operating system for mobile devices based on the Linux kernel and Java.
ANS: Android.
f) software is generally feature complete, (supposedly) bug free and ready for
use by the community.
ANS: Release candidate.
g) The Wii Remote, as well as many smartphones, use a(n) which allows the de-
vice to respond to motion.
ANS: accelerometer.
1.2 Fill in the blanks in each of the following sentences about the Java environment:
a) The command from the JDK executes a Java application.
ANS: java.
b) The command from the JDK compiles a Java program.
ANS: javac.
c) A Java source code file must end with the file extension.
ANS: .java.
d) When a Java program is compiled, the file produced by the compiler ends with the
file extension.
ANS: .class.
e) The file produced by the Java compiler contains that are executed by the Java
Virtual Machine.
ANS: bytecodes.
1.3 Fill in the blanks in each of the following statements (based on Section 1.5):
a) Objects enable the design practice of —although they may know how to com-
municate with one another across well-defined interfaces, they normally are not allowed
to know how other objects are implemented.
ANS: information hiding.
b) Java programmers concentrate on creating , which contain fields and the set
of methods that manipulate those fields and provide services to clients.
ANS: classes.
c) The process of analyzing and designing a system from an object-oriented point of view
is called .
ANS: object-oriented analysis and design (OOAD).
© 2018 Pearson Education, Inc., 330 Hudson Street, NY NY 10013. All rights reserved.
, Exercises 3
d) A new class of objects can be created conveniently by —the new class (called
the subclass) starts with the characteristics of an existing class (called the superclass),
possibly customizing them and adding unique characteristics of its own.
ANS: Inheritance.
e) is a graphical language that allows people who design software systems to use
an industry-standard notation to represent them.
ANS: The Unified Modeling Language (UML).
f) The size, shape, color and weight of an object are considered of the object’s
class.
ANS: attributes.
Exercises
1.4 Fill in the blanks in each of the following statements:
a) The logical unit that receives information from outside the computer for use by the
computer is the .
ANS: input unit.
b) The process of instructing the computer to solve a problem is called .
ANS: computer programming.
c) is a type of computer language that uses Englishlike abbreviations for ma-
chine-language instructions.
ANS: Assembly language.
d) is a logical unit that sends information which has already been processed by
the computer to various devices so that it may be used outside the computer.
ANS: The output unit.
e) and are logical units of the computer that retain information.
ANS: The memory unit, the secondary storage unit.
f) is a logical unit of the computer that performs calculations.
ANS: The arithmetic and logic unit (ALU).
g) is a logical unit of the computer that makes logical decisions.
ANS: The arithmetic and logic unit (ALU).
h) languages are most convenient to the programmer for writing programs
quickly and easily.
ANS: High-level.
i) The only language a computer can directly understand is that computer’s .
ANS: machine language.
j) is a logical unit of the computer that coordinates the activities of all the other
logical units.
ANS: The central processing unit (CPU).
1.5 Fill in the blanks in each of the following statements:
a) The programming language is now used to develop large-scale enterprise ap-
plications, to enhance the functionality of web servers, to provide applications for con-
sumer devices and for many other purposes.
ANS: Java.
b) initially became widely known as the development language of the UNIX op-
erating system.
ANS: C.
© 2018 Pearson Education, Inc., 330 Hudson Street, NY NY 10013. All rights reserved.
Objects, 11th Edition by Paul Deitel
Complete Chapter Solutions Manual
are included
** Immediate Download
** Swift Response
** All Chapters included
** Solution Codes
,Introduction to Computers,
the Internet and Java 1
Objectives
In this chapter you’ll:
■ Learn about exciting recent
developments in the computer
field.
■ Learn computer hardware,
software and networking
basics.
■ Understand the data hierarchy.
■ Understand the different types
of programming languages.
■ Understand the importance of
Java and other leading
programming languages.
■ Understand object-oriented
programming basics.
■ Learn Internet and web basics.
■ Learn a typical Java program-
development environment.
■ Test-drive a Java application.
■ Learn some key recent
software technologies.
© 2018 Pearson Education, Inc., 330 Hudson Street, NY NY 10013. All rights reserved.
,2 Chapter 1 Introduction to Computers, the Internet and Java
Self-Review Exercises
1.1 Fill in the blanks in each of the following statements:
a) Computers process data under the control of sets of instructions called .
ANS: programs.
b) The key logical units of the computer are the , , ,
, and .
ANS: input unit, output unit, memory unit, central processing unit, arithmetic and logic
unit, secondary storage unit.
c) The three types of languages discussed in the chapter are , and
.
ANS: machine languages, assembly languages, high-level languages.
d) The programs that translate high-level language programs into machine language are
called .
ANS: compilers.
e) is an operating system for mobile devices based on the Linux kernel and Java.
ANS: Android.
f) software is generally feature complete, (supposedly) bug free and ready for
use by the community.
ANS: Release candidate.
g) The Wii Remote, as well as many smartphones, use a(n) which allows the de-
vice to respond to motion.
ANS: accelerometer.
1.2 Fill in the blanks in each of the following sentences about the Java environment:
a) The command from the JDK executes a Java application.
ANS: java.
b) The command from the JDK compiles a Java program.
ANS: javac.
c) A Java source code file must end with the file extension.
ANS: .java.
d) When a Java program is compiled, the file produced by the compiler ends with the
file extension.
ANS: .class.
e) The file produced by the Java compiler contains that are executed by the Java
Virtual Machine.
ANS: bytecodes.
1.3 Fill in the blanks in each of the following statements (based on Section 1.5):
a) Objects enable the design practice of —although they may know how to com-
municate with one another across well-defined interfaces, they normally are not allowed
to know how other objects are implemented.
ANS: information hiding.
b) Java programmers concentrate on creating , which contain fields and the set
of methods that manipulate those fields and provide services to clients.
ANS: classes.
c) The process of analyzing and designing a system from an object-oriented point of view
is called .
ANS: object-oriented analysis and design (OOAD).
© 2018 Pearson Education, Inc., 330 Hudson Street, NY NY 10013. All rights reserved.
, Exercises 3
d) A new class of objects can be created conveniently by —the new class (called
the subclass) starts with the characteristics of an existing class (called the superclass),
possibly customizing them and adding unique characteristics of its own.
ANS: Inheritance.
e) is a graphical language that allows people who design software systems to use
an industry-standard notation to represent them.
ANS: The Unified Modeling Language (UML).
f) The size, shape, color and weight of an object are considered of the object’s
class.
ANS: attributes.
Exercises
1.4 Fill in the blanks in each of the following statements:
a) The logical unit that receives information from outside the computer for use by the
computer is the .
ANS: input unit.
b) The process of instructing the computer to solve a problem is called .
ANS: computer programming.
c) is a type of computer language that uses Englishlike abbreviations for ma-
chine-language instructions.
ANS: Assembly language.
d) is a logical unit that sends information which has already been processed by
the computer to various devices so that it may be used outside the computer.
ANS: The output unit.
e) and are logical units of the computer that retain information.
ANS: The memory unit, the secondary storage unit.
f) is a logical unit of the computer that performs calculations.
ANS: The arithmetic and logic unit (ALU).
g) is a logical unit of the computer that makes logical decisions.
ANS: The arithmetic and logic unit (ALU).
h) languages are most convenient to the programmer for writing programs
quickly and easily.
ANS: High-level.
i) The only language a computer can directly understand is that computer’s .
ANS: machine language.
j) is a logical unit of the computer that coordinates the activities of all the other
logical units.
ANS: The central processing unit (CPU).
1.5 Fill in the blanks in each of the following statements:
a) The programming language is now used to develop large-scale enterprise ap-
plications, to enhance the functionality of web servers, to provide applications for con-
sumer devices and for many other purposes.
ANS: Java.
b) initially became widely known as the development language of the UNIX op-
erating system.
ANS: C.
© 2018 Pearson Education, Inc., 330 Hudson Street, NY NY 10013. All rights reserved.