CS1140 Chapter 1: Introduction to Computers, Programs, and Java

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:55 AM on 9/29/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

50 Terms

1
New cards

Computer

An electronic device that stores and processes data.

2
New cards

Hardware

The physical aspects of a computer that can be touched.

3
New cards

Software

The invisible instructions (programs) that control hardware to perform tasks.

4
New cards

Computer programming

The writing of instructions (code) for computers to perform.

5
New cards

Central Processing Unit (CPU)

The computer's brain that retrieves instructions from memory and executes them.

6
New cards

Bit

A binary digit representing a 0 or a 1.

7
New cards

Byte

A sequence of 8 bits.

8
New cards

Kilobyte (KB)

A unit of memory equal to about 1,000 bytes.

9
New cards

Megabyte (MB)

A unit of memory equal to about 1 million bytes.

10
New cards

Gigabyte (GB)

A unit of memory equal to about 1 billion bytes.

11
New cards

Terabyte (TB)

A unit of memory equal to about 1,000 gigabytes.

12
New cards

Memory (RAM)

Stores data and program instructions for the CPU to execute.

13
New cards

Memory unit structure

An ordered sequence of bytes.

14
New cards

Volatile memory

Memory whose stored information is lost when power is turned off.

15
New cards

Storage devices

Devices that permanently store programs and data.

16
New cards

Machine language

A set of primitive computer instructions built into every computer.

17
New cards

Assembly language

A low-level language using mnemonics to represent machine-language instructions.

18
New cards

High-level language

An English-like programming language that is easy to learn and use.

19
New cards

Source program (Source code)

A program written in a high-level programming language.

20
New cards

Compiler

Software that translates source code into machine language or bytecode.

21
New cards

Operating System (OS)

Program that manages and controls a computer's activities.

22
New cards

Platform independence

Ability to write a Java program once and run it on any computer.

23
New cards

Java source file extension

The .java extension, matching the public class name.

24
New cards

Java bytecode file extension

The .class extension generated after compiling a Java class.

25
New cards

javac command

Command-line tool used to compile a Java source code file.

26
New cards

java command

Command-line tool used to execute a compiled Java class.

27
New cards

Class keyword

The keyword used to introduce a class definition in Java.

28
New cards

Java block

A group of Java statements enclosed in braces: { and }.

29
New cards

Java main method

The entry point where a Java program begins execution.

30
New cards

Statement terminator in Java

The semicolon (;) used to mark the end of a statement.

31
New cards

Keywords (Reserved words)

Words with specific compiler meanings that cannot be used for other purposes.

32
New cards

Line comment in Java

A comment preceded by two slashes (//) on a single line.

33
New cards

Block comment in Java

A multi-line comment enclosed between /* and */.

34
New cards

Java case sensitivity

Java distinguishes between uppercase and lowercase letters in source code.

35
New cards

Three types of programming errors

Syntax errors, runtime errors, and logic errors.

36
New cards

Syntax error (Compile error)

An error detected by the compiler due to incorrect code structure.

37
New cards

Runtime error

An error that causes a program to terminate abnormally during execution.

38
New cards

Logic error

An error occurring when code runs but produces incorrect results.

39
New cards

Application Program Interface (API)

A set of predefined classes and interfaces for building Java software.

40
New cards

Assembler

A program that translates assembly language code into machine code.

41
New cards

Bus

A system of channels connecting computer components to transfer data.

42
New cards

Bytecode

Low-level, architecture-neutral code compiled from Java source files.

43
New cards

Bytecode verifier

Component ensuring Java bytecode is valid and safe to execute.

44
New cards

Class loader

JVM component that loads required class files into memory.

45
New cards

Integrated Development Environment (IDE)

Software providing comprehensive tools for editing, compiling, and debugging code.

<p>Software providing comprehensive tools for editing, compiling, and debugging code.</p>
46
New cards

Interpreter

Software that reads and executes high-level code or bytecode line by line.

47
New cards

Java Development Kit (JDK)

Software bundle containing tools to develop and compile Java programs.

48
New cards

Java Runtime Environment (JRE)

Software bundle providing the libraries and JVM required to run Java programs.

49
New cards

Java Virtual Machine (JVM)

An abstract computer that interprets and executes compiled Java bytecode.

50
New cards

Network Interface Card (NIC)

Hardware device connecting a computer to a local area network.