Computer Systems and Java Programming Fundamentals Flashcards

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

1/30

flashcard set

Earn XP

Description and Tags

Flashcards covering basic computer processing, hardware components, memory types, binary representations, network architecture, Java program structure, and object-oriented concepts from Chapter 1.

Last updated 10:23 PM on 9/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

31 Terms

1
New cards

What are the physical, tangible components of a computer system called?

Computer hardware

2
New cards

What constitutes computer software?

Programs and the data those programs use

3
New cards

What are the four core hardware components of a computer system?

Central processing unit (CPU), input/output (I/O) devices, main memory, and secondary memory devices

4
New cards

What is the primary role of the Central Processing Unit (CPU)?

To execute the individual commands and program instructions one after another

5
New cards

How do main memory and secondary memory differ regarding data persistence?

Main memory is volatile (loses stored information when electric power is removed), whereas secondary memory is nonvolatile (retains information when power is turned off)

6
New cards

What is a memory address?

A unique numeric identifier associated with a specific memory location used when storing and retrieving data

7
New cards

How does writing data to a memory location affect its previous contents compared to reading data?

Writing data overwrites and destroys any previously stored information, while reading data leaves the stored value unaffected

8
New cards

What is the key difference between direct (random) access memory devices and sequential access devices?

Direct access devices (like RAM or hard disks) reach information directly, while sequential access devices (like magnetic tapes) must pass through intervening data in linear order

9
New cards

How many bytes are in a kilobyte (KB), megabyte (MB), gigabyte (GB), and terabyte (TB)?

Kilobyte = 210=10242^{10} = 1024 bytes; Megabyte = 2202^{20} bytes; Gigabyte = 2302^{30} bytes; Terabyte = 2402^{40} bytes

10
New cards

How does analog information differ from digital information?

Analog information is continuous and directly proportional to the source, whereas digital information breaks data into discrete pieces represented as numbers

11
New cards

What is the sampling rate in audio digitization?

The number of discrete voltage measurements taken per second from an analog signal

12
New cards

How many unique items can be represented by NN bits?

2N2^N unique items

13
New cards

What formula calculates the minimum number of bits needed to represent KK unique items?

Find the smallest integer NN such that 2^N \n\ngeq K

14
New cards

What three main components form the Central Processing Unit (CPU)?

The control unit, registers, and arithmetic/logic unit (ALU)

15
New cards

What are the three steps in the fetch-decode-execute cycle?

  1. Fetch an instruction from main memory. 2. Decode the instruction and increment the program counter. 3. Execute the instruction
16
New cards

What component on the main circuit board generates electronic pulses to synchronize CPU operations?

The system clock

17
New cards

What is the primary difference between a Local-Area Network (LAN) and a Wide-Area Network (WAN)?

A LAN spans short distances (such as a single room or building), while a WAN connects two or more LANs across long distances

18
New cards

What are the roles of IP and TCP in the TCP/IP protocol suite?

IP (Internet Protocol) defines how information is formatted and transferred, while TCP (Transmission Control Protocol) handles message reassembly and manages lost data

19
New cards

What is the function of the Domain Name System (DNS)?

To translate human-readable Internet domain names into their corresponding numeric IP addresses

20
New cards

What three main components compose a typical Uniform Resource Locator (URL)?

The protocol (e.g., http), the Internet domain address, and the specific file name/path

21
New cards

What is Java bytecode?

A low-level, architecture-neutral representation of a Java program produced by the Java compiler

22
New cards

What component executes Java bytecode on a specific hardware platform?

The Java Virtual Machine (JVM) or Java interpreter

23
New cards
<p>What stage in this Java translation and execution workflow converts Java Source Code into Java Bytecode?</p>

What stage in this Java translation and execution workflow converts Java Source Code into Java Bytecode?

Java Compiler

24
New cards

Why is Java considered an architecture-neutral language?

Because the Java compiler generates bytecode rather than machine code for a specific CPU, allowing bytecode to run on any machine with a compatible JVM

25
New cards

What are the syntax and semantics of a programming language?

Syntax rules dictate the precise form and structure of valid statements, whereas semantics define the meaning and execution result of those statements

26
New cards

What are the three categories of errors encountered during program development?

Compile-time errors, runtime errors, and logical errors

27
New cards

What rules govern valid Java identifiers?

Identifiers can contain letters, digits, underscores (_), and dollar signs ($), but cannot begin with a digit or be a reserved word. Java is case sensitive

28
New cards

What exact signature must the main method have in a standalone Java application?

public static void main(String[] args)

29
New cards

In Object-Oriented Programming, how are classes and objects related?

A class is a blueprint or concept definition, while an object is a concrete instance or realization created from that class

30
New cards

What two primary characteristics define an object in Object-Oriented Programming?

State (descriptive characteristics) and behaviors (actions it can perform or that can be done to it)

31
New cards

How is color represented digitally using the RGB color model?

Each pixel color is specified using three numbers (ranging from 0 to 255) that represent the relative intensity contributions of Red, Green, and Blue