Chapter 1 Flashcards

Memorize terms

1
Q

Machine Language

A

Is a set of primitive instructions built into every computer. The instructions are in the form of binary code, so you have to enter binary codes for various instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Assembly Language

A

A low-level programming language in which a mnemonic is used to represent each of the machine language instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Assembler

A

A program that translates assembly-language programs into machine code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

High-level languages

A

Same as high-level programming language. (Ex. Ada, BASIC, C, C++, C#, COBOL, FORTRAN, Java, JavaScript, Pascal, Python, Visual Basic.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Statement

A

A unit of code that represents an action or a sequence of actions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Source Program/Source Code

A

A program written in a programming language such as Java.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Interpreter

A

Software for interpreting and running bytecode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Compiler

A

A software program that translates source code (e.g. Java source code) into a machine language program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Operating System

A

(OS) A program that manages and controls a computer’s activities (e.g., Windows, Linux, Solaris).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Programming

A

Is the process for writing a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Software

A

The invisible instructions that control the hardware and make it work.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Hardware

A

The physical aspect of the computer that can be seen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Motherboard

A

Is a circuit case that connects all the parts of a computer together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Central Processing Unit

A

(CPU) A small silicon semiconductor chip with millions of transistors that executes instructions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Clock Speed

A

The internal clock of a computer that emits electronic pulses at a constant rate. These pulses are used to control and synchronize the pace of operations. Measured in Hz

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Bit

A

A binary digit 0 or 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Byte

A

A unit of storage. Each byte consists of 8 bits. The size of the hard disk and memory is measured in bytes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Megabyte

A

A million bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Encoding scheme

A

A set of rules that govern how a computer translates characters into data the computer can actually work with.

20
Q

Memory

A

Stores data and program instructions for CPU to execute.

21
Q

Random-Access Memory

A

(RAM) Memory that can be accessed in any order. Goes away when there is now power. Pulls from storage.

22
Q

Storage Devices

A

The permanent storage for data and programs. memory is volatile, because information is lost when the power is off. Program and data are stored on secondary storage and moved to memory when the computer actually uses them.

23
Q

Drives

A

Devices for operating a medium. Such as disks and CDs.

24
Q

Screen resolution

A

Specifies the number of pixels per square inch. The higher the resolutions, the sharper and clearer the image is.

25
Q

Dot pitch

A

The amount of space between pixels. The smaller the dot pitch, the better the display.

26
Q

Dial-up Modem

A

A regular modem uses a phone line and can transfer data in a speed up to 56,000 bps (bits per second).

27
Q

Digital Subscriber Line

A

(DSL) Uses a phone line and can transfer data at a speed 1,120,000 bps

28
Q

Cable Modem

A

Uses the TV cable line maintained by the cable company. A Cable modem can transfer data at a speed of 1,120,000 bps.

29
Q

Network Interface Card

A

(NIC) A device to connect a computer to a local area network (LAN). The LAN is commonly used in business, universities, and government organizations. A typical type of NIC, called 10BaseT, can transfer data at 10 Mbps.

30
Q

Java language Specification

A

Is the technical definition of the Java Programming language’s syntax and semantics

31
Q

Application Program Interface/Library

A

(API) A set of classes and interfaces that can be used to develop Java programs.

32
Q

Java Development Toolkit

A

(JDK) Defines the Java API and contains a set of command-line utilities, such as javac (Compiler) and java (interpreter). With Java 2, Sun renamed JDK 1.5 to Java 2 SDK v. 1.5. SDK stands for Software Development Toolkit.

33
Q

Integrated Development Environment

A

(IDE) Software that helps programmers write code efficiently. IDE tools integrate editing, compiling, building, debugging, and online help in one graphical user interface.

34
Q

Main Method

A

Is the starting method for executing a program

35
Q

Statement terminator

A

The semicolon is the statement terminator symbol in Java.

36
Q

Keyword/Reserved word

A

A word defined as part of Java Language, which has a specific meaning to the compiler and cannot be used for other purposes in the program.

37
Q

Comment

A

Comments document what a program is and how it is constructed. They are not programming statements and are ignored by the compiler. In Java, comments are preceded by two slashes (//) in a line or enclosed between /* and */ in multiple lines.

38
Q

Line comment

A

Comments preceded by two slashes (//).

39
Q

Block Comment

A

Enclosed between /* and */ on one or several lines in the source code.

40
Q

Bytecode

A

The result of compiling Java source code. Bytecode is machine-independent and can run on any machine that has a Java running environment.

41
Q

Java Virtual Machine

A

(JVM) A machine that runs Java bytecode. It is called virtual because it is usually implemented in software rather than in hardware.

42
Q

javac Command

A

The command to invoke the compiler to compile a Java source code program from the command line.

43
Q

java Command

A

The command to invoke the interpreter to run a Java program from the command line.

44
Q

Syntax Error

A

Are errors that are reported by the compiler.

45
Q

Runtime Error

A

Are errors that cause a program to terminate abnormally.

46
Q

Logic Errors

A

Occurs when a program does not perform the way it was intended to.