Midterms Flashcards

(39 cards)

1
Q

What is the definition of a computer?

A

An electronic device that accepts data, processes it according to stored instructions, stores results, and produces output

Originally meant a machine for fast arithmetic.

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

What is the difference between data and information?

A
  • Data: raw, unorganized facts or figures without context
  • Information: processed or organized data that has meaning

Information is useful in decision-making.

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

What are the four stages of the Processing Cycle (IPO Cycle)?

A
  • Input: Accepts data
  • Processing: Manipulates data
  • Output: Produces results
  • Storage: Saves data

This cycle is fundamental to how computers operate.

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

What are the main categories of hardware in a computer system?

A
  • Input Devices
  • Output Devices
  • Processing Unit
  • Storage Devices

Hardware refers to the physical components of a computer.

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

What is the definition of software?

A

Set of programs that tell the hardware what to do

Types include system software, application software, and utility programs.

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

What does peopleware refer to?

A

People involved in designing, developing, and using the computer system

Examples include programmers, analysts, and IT support.

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

Name the four classifications of computers based on purpose.

A
  • General-Purpose Computers
  • Special-Purpose Computers

General-purpose computers perform various tasks, while special-purpose computers are built for specific functions.

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

What are the capabilities of computers?

A
  • Speed
  • Accuracy
  • Storage
  • Versatility
  • Automation
  • Connectivity
  • Reliability

These capabilities highlight the strengths of computer systems.

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

What are the limitations of computers?

A
  • Dependent on User Input
  • Cannot Decide on Their Own
  • No Feeling
  • Cannot Implement Policies

These limitations emphasize the need for human involvement.

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

What is the first generation of computers known for?

A

The use of vacuum tubes as a means of storing data in memory

This generation lasted from 1946 to 1959.

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

What is the second generation of computers characterized by?

A

The use of transistors, diodes, and magnetic storage

This generation lasted from 1959 to 1965.

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

What significant development occurred in the third generation of computers?

A

The use of integrated solid-state circuitry

This generation lasted from 1965 to 1971.

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

What is the focus of the fourth generation of computers?

A

Development of multiprocessing, multiprogramming, and microprocessors

This generation lasted from 1971 to 1980.

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

What is the fifth generation of computers based on?

A

Artificial intelligence and ULSI technology

This generation aims to create devices that respond to natural language input.

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

What is the Input-Process-Output-Storage cycle?

A

A cycle that describes how a computer operates

It includes accepting data, processing it, producing output, and storing results.

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

What is the binary system?

A

A base 2 number system that uses digits 0 and 1

Each position represents a power of 2.

17
Q

How do you convert binary to decimal?

A

Multiply each bit by its positional value (2ⁿ) and sum up

Example: (1011)₂ = 1×2³ + 0×2² + 1×2¹ + 1×2⁰ = 11₁₀.

18
Q

What is the octal system?

A

A base 8 number system that uses digits 0–7

Each position represents a power of 8.

19
Q

What is the hexadecimal system?

A

A base 16 number system that uses digits 0–9 and letters A–F

A=10, B=11, …, F=15.

20
Q

What is the definition of data representation?

A

The method of encoding information in a format suitable for processing

It includes numeric, non-numeric, signed, and unsigned representations.

21
Q

What are the types of data representation?

A
  • Numeric
  • Non-Numeric
  • Signed
  • Unsigned
  • Fixed
  • Floating

These types categorize how data is represented in computing.

22
Q

What is the purpose of the Arithmetic Logic Unit (ALU)?

A

Performs mathematical and logical operations

It is a key component of the CPU.

23
Q

What is the role of the Control Unit (CU)?

A

Directs operations of the processor

It coordinates the activities of the CPU.

24
Q

What are the main categories of software?

A
  • System Software
  • Application Software
  • Utility Programs

Each type serves a different purpose in managing and utilizing computer hardware.

25
How do you convert **Octal to Binary**?
Convert each octal digit to 3 binary bits, even after the point ## Footnote Example: (12.3)₈ → (001010.011)₂
26
What is the formula for converting **Octal to Decimal**?
Multiply each digit by powers of 8 (negative powers for fractional part) ## Footnote Example: (12.3)₈ = 1×8¹ + 2×8⁰ + 3×8⁻¹ = 10.375₁₀
27
What is the process for converting **Decimal to Binary**?
Multiply fractional part by target base repeatedly; take integer parts ## Footnote Example: 0.625 × 2 = 1.25 → 1; 0.25 × 2 = 0.5 → 0; 0.5 × 2 = 1.0 → 1 → 0.101₂
28
How do you convert **Hexadecimal to Binary**?
Convert each hex digit to 4 binary bits after the point ## Footnote Example: (A.F)₁₆ → (1010.1111)₂
29
What is the method for **Binary Addition**?
* 0 + 0 = 0 * 0 + 1 = 1 * 1 + 0 = 1 * 1 + 1 = 10 (carry 1) ## Footnote Apply similar rules for octal (base 8) and hexadecimal (base 16), carrying over when sums exceed the base.
30
What is the **2’s Complement** method for subtraction?
Find the complement by inverting bits, then add 1 ## Footnote Add the complemented subtrahend to the minuend and ignore overflow.
31
What does **Fixed-Point Representation** represent?
Real numbers with a fixed number of digits after the binary point ## Footnote Example: If the binary point is after 4 bits → 1101.0101 = 13.3125 in decimal.
32
What is the **IEEE 754 Standard** used for?
Representing real numbers in floating-point form ## Footnote Single precision (32-bit): 1 bit sign, 8 bits exponent, 23 bits mantissa; Double precision (64-bit): 1 bit sign, 11 bits exponent, 52 bits mantissa.
33
What does **ASCII** stand for?
American Standard Code for Information Interchange ## Footnote Uses 7 or 8 bits to represent characters (A–Z, a–z, 0–9, symbols).
34
What is the purpose of a **parity bit**?
To detect transmission errors ## Footnote An error detection code used to ensure the integrity of binary information during transmission.
35
What is the range of **8-bit unsigned binary** representation?
0 to 255 ## Footnote For n bits → Range = 0 to (2ⁿ - 1).
36
What does the **MSB** indicate in signed representation?
The sign of the number ## Footnote 0 = positive, 1 = negative.
37
What is the main difference between **1’s complement** and **2’s complement**?
1’s complement inverts all bits; 2’s complement inverts bits and adds 1 ## Footnote 2’s complement is the most common method for representing negative numbers.
38
What is the **binary representation** of the character 'A' in ASCII?
01000001 ## Footnote ASCII value of 'A' is 65.
39
True or false: **Floating-point representation** can handle very large or very small values.
TRUE ## Footnote The binary point floats based on the exponent value.