Computer Chapter 1
Computer Chapter 1
Question 1
1. converter
2. compiler
3. interpreter
4. assembler
Answer
compiler
Question 2
1. object code
2. code
3. source code
4. binary code
Answer
source code
Question 3
1. Assembly language
2. Java
3. BASIC
4. Python
Answer
Assembly language
Question 4
1. High-level language
2. Assembly language
3. Machine language
4. none of these
Answer
Machine language
Question 5
1. digital
2. analog
3. hybrid
4. all of these
Answer
hybrid
Question 6
Answer
Question 7
1. C++
2. COBOL
3. FORTRAN
4. English
Answer
English
Question 8
1. SUPREME
2. SIERRA
3. FUGAKU
4. PARAM
Answer
PARAM
Question 1
ENIAC was a fully electronic and general purpose first generation computer.
Question 2
Question 3
Question 4
Question 5
Question 6
Question 7
Question 8
Question 1
ENIAC
Answer
Question 2
IBM
Answer
Question 3
FORTRAN
Answer
Formula Translation
Question 4
SQL
Answer
Question 5
BASIC
Answer
Question 6
UNIVAC
Answer
PROLOG
Answer
Programming in Logic
Question 8
COBOL
Answer
Question 1
A language translator
Answer
Compiler
Question 2
Answer
Question 3
Answer
JAVA
Question 4
A game console
Answer
PlayStation 4
Question 5
Answer
Question 1
Column A Column B
Mnemonics C++
Answer
Column A Column B
Interpreter Translator
Question 1
First Generation Computers
Answer
Vacuum tubes
Question 2
Answer
Transistors
Question 3
Answer
Integrated Circuits
Question 4
Answer
Microprocessors
Question 5
Answer
Artificial Intelligence
Question 1
The computer languages are categorised into low-level and high-level languages.
Low-level language is further classified into two types viz. machine language and
assembly language. A computer understands instructions in machine language
(using digits 0's and 1's). Hence, a computer program needs to be converted into
machine language using any translator, e.g., compiler, interpreter or assembler.
However, the instructions given in high-level languages are easily understood by the
users. Based on the above case, answer the following questions:
(a) Which language uses binary code?
1. High-level language
2. Assembly language
3. Machine language
4. Machine and assembly languages
1. High-level language
2. Machine language
3. Low-level language
4. Assembly language
(c) Which source code is converted into machine code using Assembler?
1. High-level
2. Assembly language
3. Machine language
4. Binary level
1. Compiler
2. Assembler
3. Converter
4. Interpreter
Answer
(d) Converter
Question 2
Answer
Question 1
Analog computers.
Answer
Question 2
An Assembler
Answer
Question 3
Answer
Digital Computers?
Answer
It gives results in terms of digits. All personal computers and laptops are digital in
nature.
Question 5
Answer
Question 6
Embedded Computer
Answer
Embedded Computers are devices that consist of hardware and software (program)
combined together for dedicated tasks. The set of instructions needed for the task
are permanently stored in the internal memory of the computer hence they are also
known as Dedicated Computers. For example, Dishwasher, Smart Television, etc.
Question 1
Answer
Machine Level Languages Assembly Level Languages
Instructions are given as strings of binary digits (0s and Instructions are given in terms of
1s) Mnemonics.
It takes more time in coding instructions. It takes less time in coding instruction
Question 2
Answer
These languages are used to write programs in simple These languages are used to write
English and by using alphabets and numbers. programs with the combination of 0s a
They are machine independent languages. They are machine dependent languag
Question 3
Answer
Compiler Interpreter
It converts the entire program into its machine It converts the entire program into its machin
code at once. code line by line.
Compiler Interpreter
It displays the errors of the entire program only It displays the errors of one line at a time dur
after compilation. the conversion to its machine code.
The control moves to the next line irrespective of The control doesn't move to the next line unt
any errors in the previous line. previous line is error-free.
Question 4
Answer
First Generation Computer Languages are Third Generation Computer Languages are use
used to write programs with the combination write programs in simple English and by using
of 0s and 1s. alphabets and numbers.
Question 1
Answer
Question 2
Answer
Two features of Fifth Generation Computer languages are as follows:
Question 3
Answer
Question 4
Answer
Today, programming and software have disrupted our way of life. From booking a
railway reservation ticket, to hailing a cab, to ordering food, almost all of our day to
day activities involve interacting with software. This makes a fundamental
understanding of computers, software and programming an absolute necessity. It is
the computer languages which power all this. Hence, we need to learn computer
languages to gain a better understanding of the modern world we live in.
Question 5
Answer
In 1GL, instructions were given using a string of binary digits i.e, 0s and 1s, e.g.
10010100010, 1110100101, etc.