Introduction to Computer, Algorithm, and
Flowchart
1.1 The Turing Machine Architecture, The Von Neumann
Architecture, Number System
• Turing Machine Architecture: A theoretical model proposed by Alan Turing consisting of an infinite
tape, a tape head, and a set of states for computation.
• Von Neumann Architecture: A computer architecture model based on a central processing unit
(CPU), memory, input/output, and stored program concept.
• Number System: Representation of numbers using systems such as Binary (Base-2), Decimal
(Base-10), Octal (Base-8), and Hexadecimal (Base-16).
1.2 Introduction to Operating System Components
• Process Management: Handles creation, scheduling, and termination of processes.
• Memory Management: Manages allocation and deallocation of memory spaces.
• File System Management: Provides mechanisms for file storage, retrieval, and organization.
• Device Management: Manages input/output devices and drivers.
• Security and Protection: Ensures safe access to resources and prevents unauthorized use.
1.3 System and Application Software
• System Software: Includes operating systems, compilers, interpreters, and device drivers that
support system operations.
• Application Software: Programs designed for end-users such as word processors, spreadsheets,
browsers, and media players.
1.4 Algorithm & Flowchart
• Algorithm: A step-by-step procedure to solve a problem or perform a computation.
• Flowchart: A graphical representation of an algorithm using symbols like ovals, rectangles,
diamonds, and arrows.
Three Constructs of Algorithm and Flowchart:
1. Sequence: Step-by-step execution in order.
2. Decision (Selection): Execution depends on a condition (if-else).
3. Repetition: Execution of a set of instructions repeatedly (loops).
Compilation Process:
• Syntax Errors: Mistakes in code grammar, e.g., missing semicolon.
• Semantic Errors: Errors in logic or meaning, e.g., using an undeclared variable.