unit - 1topic - 3. computer software is a program that tells a computer what to do. computer...
TRANSCRIPT
![Page 1: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/1.jpg)
UNIT - 1 Topic - 3
COMPUTER
LANGUAGES
![Page 2: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/2.jpg)
What is a SOFTWARE?Computer software is a program that tells a computer what to do.
Computer software, or just software, is any set of machine-readable instructions that directs a computer's processor to perform specific operations.
Software is a program that enables a computer to perform a specific task, as opposed to the physical components of the system (hardware).
Software is a set of programs, which is designed to perform a well defined function.
![Page 3: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/3.jpg)
What is a Computer Program?
A computer program, or just a program, is a sequence of instructions, written to perform a specified task with a computer..
A computer program is a set of instructions for a computer to perform a specific task.
![Page 4: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/4.jpg)
What is a Computer Instruction?
A computer instruction is a statement which tells to the computer to do some task (Operation).
Example:
c = a + b;It is instruction which tells to the computer that “add values stored in memory location ‘a’ & ‘b’ and store the result in memory location ‘c’”.
![Page 5: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/5.jpg)
How Computer Instruction is generated?
We use Computer Programming Language to generate computer instructions.
![Page 6: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/6.jpg)
NoteRelated to the computer technology languages are divided into THREE types.
High Level Language
Middle Level Language
Low Level Language
![Page 7: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/7.jpg)
High Level Language
Language which can be understand by a computer user is called as a High Level Language.
![Page 8: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/8.jpg)
Middle Level Language
The combination of High Level & Low Level Languages is called Middle Level Language.
![Page 9: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/9.jpg)
Low Level Language
Language which can be understand by a computer is called as a Low Level Language.
Binary Language
![Page 10: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/10.jpg)
Problem with these languages?
UsersUser writes all
instructions in High Level Language
![Page 11: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/11.jpg)
Solution
To solve the language problem we use TWO types of translators.
![Page 12: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/12.jpg)
InterpreterInterpreter converts instructions from High Level Language to Low Level Language, but it is done ‘LINE BY LINE’.
void main(){ int a,b,c; a = 10 b = 20; c = a + b;}
1110001010110001110111110001011010001
Conversion is stopped
![Page 13: UNIT - 1Topic - 3. Computer software is a program that tells a computer what to do. Computer software, or just software, is any set of machine-readable](https://reader038.vdocuments.us/reader038/viewer/2022102702/56649e9d5503460f94b9e733/html5/thumbnails/13.jpg)
CompilerCompiler converts instructions from High Level Language to Low Level Language, but it is done ‘ENTAIRE PROGRAM AT TIME’.
void main(){ int a,b,c; a = 10 b = 20; c = a + b;}
1110001010110001110111110001011010001
Creates a List of ERRORsIt Displays the List of ERRORs1110001011010001
11100010110100011110001011010001100101
If there are no ERRORs