Chapter 1 Introduction to Computers, the Internet and the Web
Section 1.3 Computer Organization
1.3 Q1: Which of the following is not one of the six logical units of a computer?
a. Input unit.
b. Output unit.
c. Central processing unit.
d. Printer.
ANS: d. Printer.
Section 1.4 Early Operating Systems
1.4 Q1: The scheduling procedure that increases throughput by minimizing idle time is:
a. Single user batch processing.
b. Multiprogramming.
c. Operating system.
d. Compiling.
ANS: b. Multiprogramming.
Section 1.5 Personal, Distributed and Client/Server Computing
1.5 Q1: Which of the following is not a computer?
a. File server.
b. Workstation.
c. LAN.
d. Personal computer.
ANS: c. LAN (a LAN is a local area network, not a computer).
1.5 Q2: The _____ language has become widely used for writing software for computer networking and for distributed client/server applications.
a. Fortran.
b. Java.
c. UNIX.
d. Windows.
ANS: b. Java.
Section 1.6 The Internet and the World Wide Web
1.6 Q1: The _____ is a global network of computers
a. Globalnet.
b. Internet.
c. Universalnet.
d. None of the above.
ANS: b. Internet.
Section 1.7 Machine Languages, Assembly Languages and High-Level Languages
1.6 Q1: Which of the following is not one of the three general types of computer languages?
a. Machine languages.
b. Assembly languages.
c. High-Level languages.
d. Spoken languages.
ANS: d. Spoken languages.
1.6 Q2: Which of the following statements is true?
a. Interpreted programs run faster than compiled programs.
b. Compilers translate high-level language programs into machine language programs.
c. Interpreter programs use assembly language as input.
d. None of the above.
ANS: b. Compilers translate high-level language programs into machine language programs.
Section 1.8 History of C and C++
1.7 Q1: Today, virtually all new major operating systems are written in:
a. B or BCPL.
b. C or C++.
c. UNIX.
d. Smalltalk.
ANS: b. C or C++.
1.7 Q2: C++ is a:
a. Typeless language.
b. Hybrid object-oriented language.
c. Subset of the C Language.
d. Pure object-oriented language.
ANS: b. Hybrid object-oriented language.
Section 1.9 History of Java
1.8 Q1: Java was originally developed for:
a. Operating systems development.
b. Intelligent consumer devices.
c. Personal computers.
d. Distributed computing.
ANS: b. Intelligent consumer devices.
Section 1.10 Java Class Libraries
1.9 Q1: Which of the following statements about Java Class Libraries is false:
a. Java class libraries consist of classes that consist of methods that perform tasks.
b. Java class libraries are also known as Java APIs (Application Programming Interfaces).
c. An advantage of using Java class libraries is saving the effort of designing, developing and testing new classes.
d. Java class libraries are not portable
ANS: d. Java class libraries are not portable. (Java class libraries are portable.)
Section 1.11 Fortran, COBOL, Pascal and Ada
1.10 Q1: Which of the following languages is used primarily for scientific and engineering applications?
a. Fortran.
b. COBOL.
c. Pascal.
d. Basic.
ANS: a. Fortran.
1.10 Q1: Pascal lacks which feature found in both Ada and Java?
a. Structured programming
b. Ability to specify simultaneous activities
c. Ease of use as an instructional language
d. Ability to perform only one activity at a time.
ANS: b. Ability to specify simultaneous activities.
Section 1.12 BASIC, Visual Basic, Visual C++, C# and .NET
1.11 Q1: Which library is shared among Visual Basic, Visual C++, C# and many other languages that Microsoft and other software vendors are making available for .NET.
a. MFC
b. FCL
c. API
d. CFL
ANS: b. FCL.
Section 1.13 Typical Java Development Environment
1.13 Q1: The .class extension on a file means that the file:
a. Contains java source code
b. Contains HTML
c. is produced by the Java compiler (javac).
d. None of the above.
ANS: c. Is produced by the Java compiler.
1.13 Q2: The command ________ executes a Java application.
a. run
b. javac
c. java
d. None of the above
ANS: c. java.
Section 1.14 Notes about Java and Java How to Program, 7/e
(none)
Section 1.15 Test-Driving a Java Application
(none)
Section 1.16 oftware Engineering Case Study: Introduction to Object Technology and the UML
1.16 Q1: ________ is a graphical language that allows people who design software systems to use an industry standard notation to represent them.
a. The Unified Graphical Laguage
b. The Unified Design Language
c. The Unified Modeling Language
d. None of the above
ANS: c. The Unified Modeling Language.
1.16 Q2: ________ models software in terms similar to those that people use to describe real-world objects.
a. Object-oriented programming
b. Object-oriented design
c. Procedural programming
d. None of the above
ANS: b. Object-oriented design.
Section 1.17 Web 2.0
1.17 Q1: ________ helps Internet-based applications perform like desktop applications.
a. Ajax
b. Blogging
c. RSS
d. Mashups
ANS: a. Ajax.
Section 1.18 Software Technologies
1.18 Q1: ________ is one of many agile development methodologies.
a. Refactoring
b. Game programming
c. Extreme programming
d. None of the above
ANS: c. Extreme programming