Data Transmission, Error Detection, Encryption, and Computer Architecture

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/44

flashcard set

Earn XP

Description and Tags

Question-and-Answer flashcards covering packet structure, transmission methods, error detection, encryption, CPU architecture, performance factors, instruction sets, and embedded systems.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

45 Terms

1
New cards

What are the three main sections of a typical data packet?

Header, payload, and trailer.

2
New cards

What information is normally stored in the header of a packet?

Destination IP address, sender IP address, and packet (sequence) number.

3
New cards

What is the purpose of the trailer in a packet?

It marks the end of the packet.

4
New cards

List the five stages of packet switching.

1) Break data into packets. 2) Assign sequence numbers. 3) Each packet chooses a route based on congestion. 4) Routers control the routing. 5) Packets are reordered at the destination.

5
New cards

In simplex transmission, how does data travel?

In only one direction along a single cable.

6
New cards

How does half-duplex transmission differ from full-duplex transmission?

Half-duplex sends data both directions but not simultaneously; full-duplex sends data both directions at the same time using two channels.

7
New cards

What is serial data transmission?

Sending data one bit at a time over a single cable.

8
New cards

Give two advantages of serial transmission.

Minimal interference and simple, low-cost cabling with better reliability over long distances.

9
New cards

What is the main disadvantage of serial transmission?

Lower transmission speeds compared to parallel transmission.

10
New cards

What is parallel data transmission?

Sending multiple bits simultaneously across multiple wires.

11
New cards

State one advantage and one disadvantage of parallel transmission.

Advantage: very high speed. Disadvantage: limited to short distances and susceptible to interference/skew.

12
New cards

Which transmission type does USB use?

Serial transmission that supports both half- and full-duplex modes.

13
New cards

How many wires are in a standard USB cable and what are they for?

Four: black (ground), red (+5 V), green (Data +), white (Data –).

14
New cards

Give two advantages of using USB.

Automatic device detection/driver loading and backward compatibility (plus most devices do not need extra power).

15
New cards

Name one disadvantage of USB compared with Ethernet.

Short maximum cable length (~5 m) and generally slower data transfer on newer versions compared to Ethernet.

16
New cards

What are two common causes of data corruption during transmission?

Electrical interference (noise) and problems during packet switching.

17
New cards

How does an even parity bit detect errors?

The MSB is set so the total number of 1-bits (including the parity bit) is even; a mismatch on arrival signals an error.

18
New cards

What extra benefit does a parity block check provide over a single parity bit?

By checking rows and columns, it can locate (and therefore correct) the specific bit in error.

19
New cards

Describe how a checksum is used to detect errors.

Sender runs an algorithm to produce a checksum, appends it, receiver recalculates and compares; mismatch implies error.

20
New cards

What is an echo check?

The receiver sends an exact copy of the received data back to the sender for comparison; differences trigger a resend.

21
New cards

Outline the basic steps of Automatic Repeat reQuest (ARQ).

Receiver tests data with an error code; if errors or no acknowledgment within a time-out, sender retransmits until positive acknowledgment or max attempts reached.

22
New cards

Where are check digits commonly used?

Barcodes, ISBN numbers, and Vehicle Identification Numbers (VINs).

23
New cards

Briefly describe how to calculate a modulus-11 check digit.

Weight each digit, multiply, add, divide by 11, subtract the remainder from 11; result is the check digit.

24
New cards

How is a check digit validated on receipt?

Repeat the weighted sum (including the check digit); if the remainder when divided by 11 is zero, the number is valid.

25
New cards

What is encryption?

Encoding a message so only the sender and intended recipient can read it.

26
New cards

How does symmetric encryption work?

The same pre-shared private key is used for both encryption and decryption.

27
New cards

What is a weakness of symmetric encryption?

The shared key must be transmitted and can be intercepted, reducing security.

28
New cards

How does asymmetric encryption maintain security?

A public key (shared) encrypts the message; only the matching private key (kept secret) can decrypt it.

29
New cards

What are the three primary functions of a CPU?

Accept data/instructions, process them, and output results.

30
New cards

Name three main internal components of a CPU.

Arithmetic Logic Unit (ALU), Control Unit (CU), and registers (with buses connecting components).

31
New cards

What is the role of the ALU?

It performs arithmetic calculations and logical comparisons.

32
New cards

What does the Control Unit (CU) do?

Directs data flow by sending control signals within the CPU.

33
New cards

What is held in the Program Counter (PC)?

The address of the next instruction to be executed.

34
New cards

Which register temporarily stores data fetched from or to be written to memory?

Memory Data Register (MDR).

35
New cards

What is the purpose of the Accumulator?

It stores the results of ALU operations temporarily.

36
New cards

In the von Neumann architecture, where are instructions and data stored?

Together in the same main memory (RAM) in binary form.

37
New cards

Name the three buses in a typical CPU and their directionality.

Address bus (unidirectional), Data bus (bidirectional), Control bus (bidirectional).

38
New cards

What are the three stages of the fetch-decode-execute cycle?

Fetch the instruction from memory, decode it to determine action, and execute it.

39
New cards

How does clock speed influence CPU performance?

Higher clock speed means more cycles per second, allowing potentially more instructions to be processed each second.

40
New cards

Why doesn't doubling the number of cores always double performance?

Cores must communicate and many programs cannot use multiple cores efficiently, so gains are less than linear.

41
New cards

Why does larger CPU cache improve performance?

It stores recently used data/instructions closer to the CPU, reducing time-consuming accesses to main memory.

42
New cards

What is an instruction set?

The complete list of machine code commands that a specific processor can execute.

43
New cards

Which low-level language uses mnemonics to represent machine code?

Assembly language.

44
New cards

What is an embedded system? Give one example.

A computer system with a dedicated function within a larger device, e.g., traffic lights, washing machines, or engine management systems.

45
New cards

List two typical properties of embedded systems.

Low power consumption and small size (also rugged operating ranges and low cost per unit).