Computer Programing: Unit:6
Computer Programing: Unit:6
Computer programing
Q1: What is a program?
Answer: A program is a set of instruction used to solve a problem. Programs are
an integral part of a computer. It is a well-defined set of instructions to execute a
particular task.
___________________________________________________________________
Q2: What do you understand by the term 'programing'?
Answer: Computer programming is defined as a process of designing, writing,
testing, debugging and documenting a program. Programming languages are
divided into the following types:
Low Level Language (LLL)
High Level Languages (HLL)
___________________________________________________________________
Q3: What is low level language?
1. Understandability
Programs written in these languages are easy to understand and read than those
in low level languages.
2. Debugging
Debugging simply means to remove errors in a program. It is easier to find and
remove errors in a high-level languages program.
3. Potability
Programs written for one machine can run on different machines with very minor
changes.
Answer: BASIC
BASIC stand for Beginner's All-purpose Symbolic Instruction Code. It is a very
simple language.
LOGO
LOGO stands for Language of Graphic Orientation. It is also a simple language
used to draw figures and do sums.
JAVA
Java is a modern language developed by Sun Microsystems. It also uses the
concept of object-oriented programming and is very popular among
programmers.
Answer: COMPILER
Compiler translates the whole program in a single operation. A program written in
high level language is converted directly into machine level language.
INTERPRETER
An interpreter translates a program in a step-by-step process. It is slower than the
compiler.
ASSEMBLER
assembler converts a program written in assembly level languages into machine
level language
de assembly code into machine code.
COMPILER
Compiler translates the whole program in a single operation. A program written in
high level
language is converted directly into machine level language.
INTERPRETER
An interpreter translates a program in a step-by-step process. It is slower than the
compiler.