Introduction to Computers, Programs, and Java

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/22

flashcard set

Earn XP

Description and Tags

A set of flashcards covering key concepts from the introduction to computers and Java programming, designed to aid in review and exam preparation.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

23 Terms

1
New cards

Computer

An electronic device that processes data and performs tasks based on instructions.

2
New cards

CPU (Central Processing Unit)

The core processing unit of a computer that executes instructions.

3
New cards

Input Devices

Hardware used to provide data and control signals to a computer (e.g., keyboard, mouse).

4
New cards

Output Devices

Hardware that receives data from a computer and presents it in a usable form (e.g., monitor, printer).

5
New cards

Programs

Sets of instructions that tell a computer how to perform a task.

6
New cards

Machine Language

A low-level programming language consisting of binary code that a computer can execute directly.

7
New cards

Assembly Language

A low-level programming language that is more readable than machine language and requires translation into machine code.

8
New cards

High-Level Language

Programming languages that are more abstract and easier for humans to read and write (e.g., Java).

9
New cards

Java Virtual Machine (JVM)

Software that executes Java bytecode, allowing for cross-platform compatibility.

10
New cards

Bytecode

Intermediate representation of Java source code that the JVM interprets.

11
New cards

Syntax Error

A mistake in the code that violates the rules of the programming language, preventing the code from compiling.

12
New cards

Runtime Error

An error that occurs during program execution, causing the program to crash.

13
New cards

Logic Error

An error that produces incorrect results despite the code running without crashing.

14
New cards

Variable

A named storage location in a computer program that can hold different values during execution.

15
New cards

Constant

A fixed value that does not change during the execution of a program.

16
New cards

Identifier

A name used to identify a variable, method, class, or other entities in a program.

17
New cards

Relational Operators

Operators that compare two values and return a boolean result (true or false).

18
New cards

One-Way If Statement

A conditional statement that executes code only if its boolean expression evaluates to true.

19
New cards

Primitive Data Types

Basic data types provided by the language to store simple values (e.g., int, double).

20
New cards

Augmented Assignment Operators

Shorthand operators that combine a binary operation with assignment (e.g., +=, -=).

21
New cards

Implicit Casting

Automatic conversion from a smaller to a larger data type.

22
New cards

Explicit Casting

Manual conversion from a larger to a smaller data type, which may lead to data loss.

23
New cards

Scanner Class

A Java utility used for reading input from various sources, including user input from the console.