Digital Learning

Wednesday, September 22, 2021

CBSE Computer-Science Class-VI (Solved Exercise-3):

Computer Science
Class-VI
Chapter-3 Programming Languages

A. Answer these questions orally:
1. Does a computer understand the languages that we use to communicate with one other?
Answer: No, Computer understand only computer languages.

2. What is binary language?
Answer: Computer understand binary digits 0 and 1 only. This is known as Machine Language. It is also known as Binary Language.

3. What are language translators?
Answer: Language translators are programs that convert programs written in other language into Machine language. 

B. Tick the correct option:
1. Low level languages use codes which are difficult to:
a. see        b. read            c. memories            d. write
Answer: Memories

2. LOGO language was developed in:
a. 1969      b. 1970            c. 1971                        d. 1975
Answer: 1969

3. Pascal language is named after French mathematician____ Pascal.
a. Blaise    b. Paul            c. David                    d. Charles
Answer: Blaise

C. Write the full form of the following acronyms:
1. BASIC
Answer: Beginners All Purpose Symbolic Instruction Code.

2. COBOL
Answer: Common Business Oriented Language.

3. FORTRAN
Answer: Formula Translation

4. LOGO
Answer: Logic Oriented Graphics Oriented.

A. Fill in the blanks:
1. ________ is needed to communicate with the computers.
Answer: Programming Language

2. ______ languages are directly understood by the computer.
Answer: Machine

3. Assembly language uses letter codes known as ___________.
Answer: Mnemonics

4. ______ language is useful for business purposes.
Answer: COBOL

B. Answer the following questions:
1. Define programming languages. Why do we need programming languages?
Answer: We need a language to give instructions to a computer. This language is called programming language. It needs to be given instructions in a language that computer can understand.

2. How are the programming language classified?
Answer: Programming languages can be classified into two major categories:
1. Low Level Languages
                    i. Machine Language
                    ii. Assembly Language
2. High Level Languages.
                    LOGO, BASIC, FORTRAN, PASCAL, C, C++, COBOL etc.

3. Differentiate between machine language and assembly language.
Answer: 
Machine Language: Computer understand only binary digits 0 and 1. It is known as Machine language.
Assembly Language: Assembly language is a low level language which uses letter codes instead of binary digits 0 and 1. These codes are known as Mnemonics.

4. What is the purpose of translators? Name the different types of translators.
Answer: Language translators are programs that needs to convert programs written in other languages into machine language.
Different translators:
Assemblers,
Compilers, and 
Interpreters.

5. How is compiler different from an interpreter?
Answer: 
Compiler: These are the programs that convert high level program into machine language.
Compiler convert the program in one single operation.
Interpreters: Interpreters are also the programs that convert high level program into machine language. Interpreter convert program step by step.

No comments:

Post a Comment