Chapter 2
Exercises
Answer the following questions.
1. What is a program?
Ans: A program is a set of instructions given to a computer.
2. What is mnemonic?
Ans: A Mnemonic is an alphabetical abbreviation used as a memory aid. Eg. SUB= Subtraction, ADD= Addition
3. What is a language processor? What are its various types?
Ans: A language processor automatically converts the programme code into machine language and check its syntax for errors. It is also known as language translator. Its various types are: Assembler, Interpreter and Compiler.
4. Differentiate between high level language and low level language.
Ans: A comparison of High Level and Low Level Languages:
5. What do you mean by machine language?
Ans: Machine language is the only language that is directly understood by the computer. All the instructions are written in a series of 0’s (zeros) and 1’s (ones)
6. When and who developed the COBOL language?
Ans: COBOL language was developed by Grace Hopper in 1959.
7. State the various advantages of high level language.
Ans:
i) Instructions are similar to English which makes HLL easy to understand
ii)It is easy to write, correct and test programs written in HLL.
iii)Programs written in HLL can be executed by different computers.
8. What is PHP?
Ans: PHP is known as Hypertext Preprocessor. It is a general purpose scripting language made for web development to produce web pages.
9. Differentiate between compiler and interpreter.
Ans:
10. What is assembly language?
Ans: Assembly language uses letter codes instead of binary digits. These letter codes are known as Mnemonics.
thank u sir i have this website in bookmarks can open from there when ull teach us bookmarks
ReplyDeletethis is
Deleteakshit tiwari who wrote about the bookmarks for 6th A
Very useful blog...
ReplyDeleteSk
ReplyDelete