tolo-e-aftab higher education 1 th semester bcs 1/2/1392 ministry of higher education
TRANSCRIPT
![Page 1: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/1.jpg)
Tolo-e-aftab higher education
1th semester Bcs
1/2/1392
MINISTRY OF HIGHER EDUCATION
![Page 2: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/2.jpg)
Master Engineer: Sayed Mutahir “Samim”
C Programming
![Page 3: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/3.jpg)
Content 1st chapter
Computer introduction
2nd chapter
Introduction of C language (programing )
3rd chapter
condition and loop
![Page 4: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/4.jpg)
4th chapter
Arrays
5th chapter
Pointer
6th chapter
Loop statement
![Page 5: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/5.jpg)
7th chapter
Functions
8th chapter
Programming concept
![Page 6: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/6.jpg)
Introduction of computer
1ST CHAPTER
![Page 7: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/7.jpg)
CONTENT What's computer ?
What's input ?
What's output>
What's memory ?
What's process ?
What's data ?
![Page 8: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/8.jpg)
COMPUTERIts electronic machine which Accepts the data Process the data Store the data Show the output of the data
![Page 9: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/9.jpg)
1. ACCEPT THE DATA (INPUT)
Keyboard
Mouse
Touch screen
Cd drive
Dvd drive
Micro phone
![Page 10: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/10.jpg)
2. PROCESS THE DATA (BINARY)
Computer understand only one language that’s called binary language
Binary language
The language which convert all human language to machine language called binary language (0,1,0,1,0,1………)
![Page 11: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/11.jpg)
3.STORE THE DATA (MEMORY)
Primary memory (RAM)
Secondary memory (hard desk )
Cash memory (processor )
![Page 12: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/12.jpg)
4. SHOW THE OUTPUT OF THE DATA
Printer
Information
Screen
Loudspeaker
Data with process
![Page 13: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/13.jpg)
DATA Text data & numeric data
Graphic data
Video and audio data
![Page 14: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/14.jpg)
TEXT DATA & NUMERIC DATA
Numbering data
Character data
Floating data
Double
![Page 15: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/15.jpg)
NUMBERING DATA
Binary Octal Decimal Hexadecimal
![Page 16: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/16.jpg)
Programming
2ND CHAPTER
![Page 17: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/17.jpg)
CONTENT
What's programming ?Types of programming .System software Language TranslatorSystem language
![Page 18: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/18.jpg)
WHAT'S PROGRAMMING ?
It is that part of computer system which consist of program and techniques that are necessary to get the hardware to work.
We can see them but we can not touch them. And all computer programs are called software because they contain instructions.
We made software for computers because computer is a stupid device.
It can not work with out software
![Page 19: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/19.jpg)
TYPES OF PROGRAMMING
Generally there are two types of software.
1. Application software.
2. System software.
![Page 20: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/20.jpg)
APPLICATION SOFTWARE:
These are that software that is used to perform any specialized functions.
And these are the programs which are used for official user or for general purpose.
With out system software application software can not be installed.
![Page 21: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/21.jpg)
Types Of Application Software:
There are two types of application software.
1. General purpose software or Application packages.
2. Special purpose software or customized packages .
![Page 22: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/22.jpg)
1.1) GENERAL PURPOSE SOFTWARE:
General purpose software is that software which is used for general purpose.
General purpose software has enough features to accomplish a wide variety of tasks.
And they are easily available is the market. And any one can use it according to his necessary.
For example: Word, excel and games etc.
![Page 23: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/23.jpg)
2.1) SPECIAL PURPOSE SOFTWARE
Special purpose software performs a very specific task and can not change or programmed to perform a different task.
It is specific for company, institution, organization and even for a person.
For example: Bank software etc.
![Page 24: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/24.jpg)
2) SYSTEM SOFTWARE:
All the software used to operate and maintain computer systems are called system software.
With out system software, a computer is just an expensive hunk of junk. It works as computer administrator or as a class monitor.
Types of system software:
1. Operating system software.
2. Translators.
![Page 25: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/25.jpg)
2.1) OPERATING SYSTEM SOFTWARE:
• A set of program use to control and monitor over all activities of a system is called operating system software.
Function of operating system:
It provides interface or bridge between user and computer.
It is a heart of the system.
It manages hardware.
It manages software.
It manages memory.
It manages files. (For example save, open and edit etc).
![Page 26: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/26.jpg)
2.2) LANGUAGE TRANSLATOR:
Translators translate the user’s software into language that the CPU can understand.
In other words language translators are system software that converts application software into a specific machine language.
![Page 27: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/27.jpg)
TYPES OF TRANSLATOR:
Compiler.
Interpreter.
Assembler.
![Page 28: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/28.jpg)
2.2.1) COMPILER: Compiler are used for high level languages like C, C++ and
Java etc.
compiler check a program as a hole and notify all errors and then convert all the instruction to machine language or Binary language.
And it is faster then the interpreter.
![Page 29: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/29.jpg)
2.2.2) INTERPRETER: Interpreter is also used for high level languages like basic
language etc.
Interpreter check instructions step by step and then notify error other wise convert in to machine language or binary language.
![Page 30: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/30.jpg)
2.2.3) ASSEMBLER: The translator program that translates an assembly codes
into the computer’s machine codes is called as assembler.
Assemblers are used for low level languages like Assemble language.
![Page 31: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/31.jpg)
SYSTEM LANGUAGE
The computer understands only one language called machine language or binary language.
It consists of only ones and zeros. Zero is used for off and one is used for on.
By level there are two types of languages.
1. Low level language like Machine or Assembly language.
2. High level language like C, C++, Basic and Java etc.
![Page 32: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/32.jpg)
TYPES OF LANGUAGE
Types of language are
1.Un-structure language.
2.Structure language.
3.Object oriented.
![Page 33: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/33.jpg)
1) UN-STRUCTURED LANGUAGE:
These languages are called unstructured because they do not have control structure (if-else and switch etc) and loop techniques (for and while etc).
And they do not have functions.
For example:
SQL
HTML
![Page 34: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/34.jpg)
2) STRUCTURED LANGUAGE
The languages that have control structure and that have loop techniques and functions are called structured language.
For example:
C
Basic
COBOL
FORTRAN etc.
![Page 35: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/35.jpg)
3) OBJECT ORIENTED:
Object: It has Inheritance, Polymorphism, Encapsulation
and classes
For example:
C++
Java etc.
![Page 36: Tolo-e-aftab higher education 1 th semester Bcs 1/2/1392 MINISTRY OF HIGHER EDUCATION](https://reader035.vdocuments.site/reader035/viewer/2022062217/56649f205503460f94c38ca8/html5/thumbnails/36.jpg)
Master : Engineer Sayed Mutahir “Samim”
END OF THE LECTURE