Digital Learning

Wednesday, April 26, 2023

Computer-Science Class-6 Exercise-1(2023-24):

Computer Science
Class-VI
Chapter-1  Computer Language

A. Tick the correct answer:
1. Which of the following terms signifies Machine language?
a. artificial intelligence dependent     b. machine dependent
c. electricity dependent                         d. none of these
Answer: Machine dependent

2.COBOL is an example of which of the following language?
a. assembly language                             b. high level language    
c. fouth generation language                d. none of these
Answer: High level language

3. HAL stands for:
a. human anatomy language                 b. human access language
c. human access length                          d. none of these
Answer: Human access language

4. Which of the following converts assembly language into machine language?
a. compiler            b. interpreter        c. assembler             d. none of these
Answer: Assembler

5. Which of the following converts a high level program into machine language?
a. assembler          b. interpreter        c. compiler                d. both (b) and (c)
Answer: Both (b) and (c)

B. Fill in the blanks with the help of words given in the box:
1. ________ consists all the symbols, characters and usage rules for communicating with computer.
Answer: Programming language

2. Machine language is entirely made up of ________ and ______.
Answer: 0(zero) and 1(one)

3. _______ is an alphabetical abbreviation used as memory aid.
Answer: Mnemonic

4. High level languages are considered as _______ languages.
Answer: Procedural

5. ______ is an example of fourth generation language.
Answer: HTML

C. Write True(T) or False(F):
1. Machine language is a very tedious and time consuming method of programming.
Answer: True

2. Assembly languages were developed in 1950s.
Answer: True

3. A language translator is used to convert a high level language into machine language.
Answer: True

4. Fifth generation language are designed to make language processing more complex.
Answer: False

5. Compiler is a translator program.
Answer: True

D. Answer the following questions:
1. Define programming language.
Answer: A computer language is also called programming language.
A programming language consists of all the symbols, alphabets, numbers and rules.

2. Write some basic features of machine language.
Answer: Computer only understands machine language.
Machine language consist of two digits i.e. zero(0) and one(1).
Zero(0) means off state and One(1) means on state.

3. How is Assembly language different from machine language?
Answer: Assembly language uses mnemonic codes or symbols in place of 0 and 1.
For example in the machine language if the operation code for add is 0010 is equivalent in the assembly language is ADD.

4. Why is fourth generation language termed as non procedural languages.
Answer: Fourth generation language is non procedural language, so named because they allow programmers and users to specify what the computer is supposed to do without having to specify how the computer is supposed to do it.

5.  What are the different types of translators?
Answer: Different types of translators: Assembler, Interpreter, compiler.
Assembler convert assembly language into machine language.
Interpreter convert high level language into machine language line by line.
Compiler convert high level language into machine language at once.

No comments:

Post a Comment