CH-1 (1)
CH-1 (1)
NTRODUCTION
Types of society
Types of society
✔ (5.0) ?
Information Society
Computers Internet
What is computer?
ALU CU
CPU
Main Memory
Output Devices
Secondary Memory
Software
Application software : Programs written to perform particular tasks
for users
System software : Collection of programs to operate the computer
system
Operating system
Operating system: The set of system programs used to operate
and control a computer
Tasks performed by the OS include:
Memory management
Allocation of CPU time
Control of input and output
Management of secondary storage devices
What is Computer program?
00001111
00110011 00001111
11111111 00110011
00000000 11111111 Linker
11100111 00000000
11100111
Object File
.obj
Executable File
Library Files .exe
.obj
Compilation Process in C++
Compiler : Translates high-level language to machine language.
Input to a compiler is the source code
Output from the compiler is the object code (.obj).
Source Code
The programs written in a high or low-level language
It is written by the programmer.
Can be compiled automatically into object code or machine code or
executed by an interpreter.
C++ source programs have extension ‘.cpp’ or ‘.h’
General Notes on C++
C++ is immensely popular
particularly for applications that require speed and/or access to
some low-level features.
It was created in 1979 by Bjarne Stroustrup
at first as a set of extensions to the
C programming language.
END
Of
Lecture -
1