Unit 2: Data Representation, OS, and Languages

Table of Contents

2.1 Data Representation

Number Systems

Computers store all data as binary numbers (bits). We use different number systems for convenience.

Character Representation

Computers store letters and symbols by assigning a unique number to each one. The most common standard is ASCII (American Standard Code for Information Interchange), which maps characters to numbers (e.g., 'A' is 65, 'a' is 97).

2.2 Operating System

Basics of Operating System

The Operating System (OS) is the most important system software. It acts as an intermediary between the user and the computer hardware, managing all resources.

Functions of Operating System

2.3 Computer Language

A Computer Language is a formal language used to write instructions (programs) that a computer can execute.

Types of Languages

2.4 Language Processors

A program that translates source code (written by humans) into machine code (understood by the CPU).

2.5 Algorithm and Flowchart

Algorithm

An Algorithm is a finite, step-by-step set of instructions or rules to be followed to solve a specific problem.

Flowchart

A Flowchart is a graphical representation of an algorithm. It uses standard symbols to show the sequence of operations and the flow of control.