Chapter 1 : Introduction to computers and Java

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

In modern computer systems, a byte consists of bits.

8

When a program runs on a computer, the part of the computer that carries out the instructions is called the

CPU

Which of these is not a programming language?

HTML

What best defines a "programming language"?

It allows us to express an algorithm.

Which statement is NOT true:

Machine languages can be used to write programs that can run on any machine.

When a program runs on a computer, it is stored in .

RAM

Which of the following is true?

There are no language rules regarding statements and line in general.

A bit is

a binary digit, like 0 or 1.

A byte in memory is identified by a unique number called its .

address

At each step of its operation, the input to a Central Processing Unit is

an instruction

An error in a program that involves a violation of language rules will be detected at time.

compile

Mice, trackpads, keyboards, scanners, joysticks are all examples of devices.

input

Files containing Java code must end with what "extension"? .

java

To run a Java program from a command line, we use the command.

java

The standard name of the Java compiler is .

javac

Words that have a special meaning in a programming language are called .

key words

The purpose of testing a program with different combinations of data is to expose run-time and errors.

logical

When a program is not running, it is stored

on a disk.

Monitors, printers, status lights are all examples of devices.

output

The ability of a language to let a programmer develop a program on computer system that can be run on other systems is called .

portability

Division by zero when the program is executing is an example of a error.

runtime

Flash drives, CDs, external disks are all examples of storage (memory) devices.

secondary

Carrying out the steps of a program, starting with the first, then the second and proceeding to the last is known as processing.

sequential

The code that a programmer writes is called code.

source

The rules that govern the correct order and usage of the elements of a language are called the of the language

syntax

A compiler

translates source code into executable code

A location in memory used for storing data and given a name in a computer program is called a because the data in the location can be changed.

variable

RAM, random-access memory, is called that because

you can pick any two random locations and it will take the same time to access the data.


Set pelajaran terkait

Ch. 24 Retirement and Estate Planning

View Set

APES Toxins, Toxicology, Bioaccumulation & Biomagnification (Unit 8)

View Set

ch 10 PPE and intangible assets: Acquisition

View Set

Ch. 22 The Sound and Design in Film

View Set

Saunders Pharm-Maternity/Newborn

View Set