• Nursing Exams
  • HESI A2 EXAMS
  • Finance and Insurance
  • NCLEX EXAM
  • Real Estate
  • Business
  • Medical Technology
  • Counseling and Social Work
  • English Language
  • Graduate and Professional School
  • CAREER EXAMS
  • Medical Professional
  • K 12 EXAMS
  • Personal Fitness
  • Public Service and Legal
  • Teaching
  • Nutrition
  • Construction and Industry
  • Test

Big Java Early Objects, (Enhanced eText), 7e Cay Horstmann (Test Bank All Chapters, 100% Original Verified, A+ Grade) Answers at the end of each chapter.

CAREER EXAMS Oct 31, 2025
Loading...

Loading study material viewer...

Page 0 of 0

Document Text

Big Java Early Objects, (Enhanced eText), 7e Cay Horstmann (Test Bank All Chapters, 100% Original Verified, A+ Grade) Answers at the end of each chapter.

Indicate the answer choice that best completes the statement or answers the question.

1.Which statement best describes a computer program?

  • A program is a sequence
  • of comments.

  • A program can
  • decide what task it is to perform.

  • A
  • program is a sequence of instructions and decisions that the computer carries out.

  • A program can only perform
  • one simple task.

    2.Which statement regarding computer programs is correct?

  • Computer programs can
  • decide what task to perform.

  • Large and complex computer programs are generally written by only one
  • programmer.

  • Computer programs are composed of extremely primitive
  • operations.

  • Small computer programs are not documented.
  • 3.What is an example of a typical instruction in a computer program?

  • Add up two numbers.
  • Lay out a term paper.
  • Drive a car.
  • Display
  • a fancy font.

    4.What does CPU stand for?

  • Computer Programming
  • Unit

  • Computer
  • Processing Unit

  • Central Processing Unit
  • Central Programming
  • Unit 5.Which one of the following is NOT a function of a CPU?

  • Performing arithmetic operations
  • Processing
  • data and controlling programs

  • Querying a
  • database

  • Fetching and
  • storing data from storage and input devices 6.Which type of storage is made from electronic circuits that can store data?

  • compact disk
  • (CD)

  • hard disk
  • primary storage
  • secondary storage
  • 7.Which one of the following memory types provides storage that persists without electricity?

  • primary storage
  • RAM
  • memory
  • secondary storage
  • 8.Which one of the following memory types provides storage that is slower and less expensive?Big Java Early Objects, (Enhanced eText), 7e Cay Horstmann (Test Bank All Chapters, 100% Original Verified, A+ Grade) Answers at the end of each chapter.

Name: Class: Date: testbank-bj-7-ch1 Powered by Cognero Page 2

  • primary storage
  • secondary storage
  • peripheral device
  • the transistor
  • 9.Which type of secondary storage consists of rotating platters coated with a magnetic material?

  • hard disk
  • solid state drive
  • compact disk (CD)
  • memory
  • 10.Some computers are self-contained units; others are interconnected through what?

  • bus
  • networks
  • peripheral devices
  • power lines
  • 11.Which is an example of a peripheral device?

  • the CPU
  • primary storage
  • motherboard
  • speakers
  • 12.Which memory type does not provide persistent storage?

  • secondary storage
  • hard disk
  • primary storage
  • DVD
  • 13.Where must program instructions and data reside in order for the CPU to directly read and execute them?

  • memory
  • bus
  • hard disk
  • somewhere on the computer network
  • 14.What term is used to refer to the computer instructions that are executed by a CPU?

  • virtual machine
  • machine code
  • high-level code
  • instruction set
  • 15.What is the Java Virtual Machine?

  • A CPU that runs compiled Java code.
  • A library that makes it possible to write portable programs.

Name:

Class:

Date:

testbank-bj-7-ch1

Powered by Cognero Page 3

  • A program that simulates a real CPU running compiled Java code.
  • A program that translates Java code into machine instructions.
  • What is the term used to refer to Java code that runs in a browser?
  • applet
  • script
  • html
  • class
  • What term is used to refer to languages that allow programmers to describe tasks at a higher conceptual level than
  • machine code?

  • virtual
  • high-level
  • sophisticated
  • conceptual
  • What tool translates high-level instructions into low level machine code?
  • debugger
  • assembler
  • compiler
  • linker
  • What tool translates Java source code into files that contain instructions for the Java Virtual Machine?
  • linker
  • compiler
  • assembler
  • interpreter
  • Which statement is true about running a Java program on a different CPU?
  • You need different Java source code for each CPU.
  • You can take code that has been generated by the Java compiler and run it on different CPUs.
  • You need to compile the Java program for each CPU.
  • You cannot run the program on a different CPU because Java, being a high-level programming language, is
  • machine dependent.

  • When was Java officially introduced?
  • 1991
  • 1995
  • 2000
  • 2005
  • Which statement best describes the portability characteristic of Java?
  • The same already-compiled Java programs will run on Windows, UNIX, Linux, or Macintosh operating
  • systems without any change.

  • The same Java compiler can be used on many operating systems.

Name:

Class:

Date:

testbank-bj-7-ch1

Powered by Cognero Page 4

  • There are only small differences between the Java programming language on different operating systems.
  • It is easy to change a Java program so that it will work on different operating systems.
  • No matter which Java development environment you use, what happens to the Java source code in order for a Java
  • program to execute?

  • The source code is automatically separated into many files.
  • The source code is backed up to a network storage facility.
  • A Java compiler converts all uppercase letters to lowercase.
  • A Java compiler translates the source code into class files.
  • Why should you set aside time to become familiar with the programming environment?
  • The time you spend will prevent data loss without the need for backups.
  • The tools needed for Java programming are different from other software.
  • Although computer systems vary widely, the Java programming environment is always the same.
  • The Java libraries are detailed and extensive.
  • Suppose that a computer virus infects your computer and corrupts the files you were going to submit for your current
  • homework assignment. What precaution could have saved you from a disastrously bad grade for this assignment?

  • Defragment the hard drive.
  • Purchase an anti-virus program to remove the virus from your computer.
  • Make regular backups of all your important files.
  • Purchase an extended warranty for your computer.
  • Which statement regarding backup strategies for Java files is correct?
  • You should have multiple copies of your source files in different locations.
  • You should regularly print out your work so you can retype it in case of data loss.
  • You should regularly back up the Java virtual machine instructions to prevent loss of valuable work.
  • Your compiler automatically makes backups of your source files.
  • The line public class HelloPrinter indicates which declaration below?
  • Declaration of the variable class.
  • Declaration of the class HelloPrinter.
  • Declaration of the variable public.
  • Declaration of the class public.
  • Every Java program consists of one or more of these fundamental building blocks.
  • class
  • CPU
  • applet
  • parameter
  • What is the name of the file that contains the Java source code for the public class HelloPrinter?
  • HelloPrinter
  • HelloPrinter.java

Download Study Material

No purchase options are available for this study material at the moment.

Study Material Information

Category: CAREER EXAMS
Description:

Big Java Early Objects, (Enhanced eText), 7e Cay Horstmann (Test Bank All Chapters, 100% Original Verified, A+ Grade) Answers at the end of each chapter. ch1 Indicate the answer choice that best completes the statement or answers the question. 1.Which statement best describes a computer program? a. A program is a sequence of comments. ...