GURU GOBIND SINGH PUBLIC SCHOOL
SECTOR V/B, B.S.CITY
                                              SESSION 2022-23
SUBJECT: COMPUTER                                                                     CLASS: 6
A.    Tick the correct answers.
     1. How many generations can computer languages be classified into?
          a. Two                  b. Four                        c. Five
     2.   This generation of language uses mnemonic codes.
          a. Second               b. Third                      c. Fourth
     3. Which of the following is not an example of high-level language?
          a. Machine              b. COBOL                       c. Java
     4. Which of the following does not translate the entire program at once?
          a. Interpreter          b. Compiler                    c. Both a and b
     5. In which year were the compilers introduced?
          a. 1992                 b. 2002                        c.1952
B. Fill in the blanks.
1. Machine language is the only language that a computer understands.
2. Assembly language is regarded as the second generation language.
3. A program converted into machine language by a translator is called Object Code.
4. A/AN interpreter converts a high-level language program into machine language, line-by-line.
5. Mercury is an example of fifth generation language.
C. Write T for True and F for False.
     1.   A program is a set of instructions. T
     2. The development of computer languages is classified into two categories. F
     3.   Assembly language consists of binary numbers, Os and 1s. F
     4.   Machine language uses simple English words and phrases. F
     3. The ultimate aim of 5GLs is to make computers behave, think, and react as human beings. T
D. Answer the following questions.
     1. What do you understand by a programming language? Define machine language.
     Ans: The process of developing a set of instructions to enable a computer to do a particular
     task is called programming. Each programming language has its own set of rules.
     Machine language is the only language that a computer directly understands. They are made of
     binary numbers, represented by 1s and 0s. Programs can be executed directly in machine
     language.
     2. List the advantages of assembly language.
     Ans:
• It uses English words which make it readable by human beings.
• It is easy to locate and fix errors in the programs written in assembly language.
3.What is the difference between source code and object code?
Ans: The program written in assembly or high-level language is called Source Code, and the
program converted into machine language using a translator is known as Object Code.
4. Define the term translator. How is an interpreter different from a compiler?
 Ans: A translator or language processor converts the instructions into machine language to
 make it a computer understandable language.
Types of Translators:- Assembler, Compiler and Interpreter
                         Interpreter                                     Compiler
       It translates a program line-by-line           It translates the entire program into
                                                      machine language at once.
       It takes more time.                            It takes less time to compile source code.
       If there are any syntax errors in the source   All syntax errors are displayed after entire
       program, program statement is interpreted.     program is checked.
5. What are the characteristics of the fifth generation languages?
Ans:
•   5GLs are used in Artificial Intelligence research.
•   Its primary goal is to eliminate the need of implementing an algorithm to solve a problem.
•   They are designed to make the computer solve a given problem on its own without any
    interference of the programmer.
•   Its ultimate aim is to make computers behave, think and react as human beings.