Made with ScholarlyTurn your own files into documents like this
Shared with you
These notes review computer applications from data flow and number systems through hardware, storage, software, problem solving, and C++ fundamentals. The most testable emphasis is on distinguishing related terms and applying conversion, operator, and programming rules (pp. 1–5).
Data flow and architecture: Data are “raw facts”; information is processed, meaningful data useful for decisions. The flow is capture → input → storage → processing → output information → distribution. In the Von Neumann model, the CPU contains an ALU for calculating and comparing and a CU for coordination; registers hold fast temporary data (p. 1).
Number systems: A radix is the number of symbols in a number system: decimal has base 10, binary 2, octal 8, and hexadecimal 16. Positional value is digit × base raised to its position; fractional positions use negative powers. A binary digit is a bit, with ON = 1 and OFF = 0 (p. 1).
Memory and storage: Primary memory is CPU-accessible semiconductor memory for active work. RAM is fast, volatile, and read/write; ROM is slower, non-volatile, and read-only, and holds the BIOS boot program; cache is small, fast, costly memory between the CPU and RAM that holds frequently accessed material (p. 2). Secondary storage examples include sequential magnetic tape, hard disks organized into tracks and sectors, optical discs read by laser, and rewritable flash devices (p. 2).
Software and problem solving: System software includes the OS, language processors, and utilities; application software handles general-purpose or specific/customized tasks. An algorithm is “precise finite executable steps,” accepts input, and yields output. Top-down design decomposes a problem into modules; bottom-up design builds from submodules (p. 3).
C++ basics: Tokens include keywords, identifiers, literals, punctuators, and operators. Identifiers start with a letter or underscore, cannot be keywords or contain spaces or special characters, and are case-sensitive. The notes distinguish assignment = from comparison ==, input >> from output <<, and an L-value (address) from an R-value (stored content) (p. 4).
Number conversion examples: Expand each digit by its positional powers to convert to decimal: (172.4)8=122.5, (12AF)16=478310, and (111.011)2=7.375. For octal/binary, map each octal digit to three bits: (437)8=(100011111)2. For hexadecimal/binary, map each hex digit to four bits: (AB)16=(10101011)2. These are source examples (p. 1).
Binary addition: The notes give the carry rules 1 + 1 = 10 and 1 + 1 + 1 = 11, and the worked sum 1011 + 1001 = 10100 (p. 1).
Operator evaluation: With a = 5, b = 3, and c = 7, the notes evaluate a*b + c - 4 = 18, c % b = 1, b > a = 0, (a > b) && (c > b) = 1, (b > a) || (c >= 7) = 1, and !(c > a) = 0. Use these to review arithmetic, remainder, relational, and logical operators (p. 4).
Algorithm example: The notes show S = A + B + C, Avg = S/3, and a comparison H1 > H2 as examples of calculation and decision steps in an algorithm (p. 3).
Positional conversion: Multiply each digit by the base raised to its position and sum the values; fractional places use negative powers (p. 1). Floating point: the notes describe storing a mantissa and exponent, with 25.45 = 0.2545 × 10² (p. 2). Binary addition: remember the carry cases 1 + 1 = 10 and 1 + 1 + 1 = 11; see the full example above (p. 1).
(437)₈ = (100011111)₂ (p. 1).a=5, b=3, c=7, and avoid confusing = with ==, or >> with << (p. 4).Make from this