QnA Number System class7 written for Chapter 3 Computer Languages and Number Systems offers the solved exercises of Computer subject Class VII Aditya Birla Public School curriculum.
Topics Covered
QnA Number System class7 – Exercise and extra questions
We are going to start the article with objective types questions.
Objective type questions
In the first part we will see the answers of textbook fill in the blanks questions for QnA Number System class7.
Fill in the blanks
- F
- Program
- Linker
- Machine
- Compiler
This part will talk about true/false types question for QnA Number System class7.
True/False
- True
- True
- False –> An octal number can have digits from 0 to 7.
- True
- False –> Only compiler convert source code to object code, interpreter doesn’t.
In this part of QnA Number System class7 we will see the answers of MCQs.
MCQs
- ii. 31
- iv. All of them
- ii. 82.21
- i. 101111
- i. Windows 10
Now lets talk about short answer questions for QnA Number System class7.
Short answer questions (2/3 marks) – Computer Languages & Number Systems Exercises
First we will see the computer languages part questions from QnA Number System class7.
[1] What is coding?
Coding is a process of writing a program using certain programming languages to develop an app, a game, or a software.
[2] What is a computer language?
A computer language is a system of commands used to develop programs for computer.
In other words, A computer language can be considered as a communication medium between hardware and users of computer through different scripts called programs.
[3] What is a program? What is a syntax?
A program is a sequence of statements or a script written in a particular language to give commands to fulfil user need.
Syntax is the method of writing the program. In other words, rules which are to be followed by writing program called syntax.
[4] What is source code and what is object code?
The script of a particular program is called source code. A source code will be written by a programmer or a developer.
An object code is converted code of a program by a system software. This code is converted into machine code by the compiler.
[5] Enlist some popular language translators.
There are three translators:
- Compiler
- Assembler
- Interpreter
Now in the next section of QnA Number System class7 we will discuss questions and answers for number system.
[6] What is a number system?
Numbers are important part of any system. The representation method of numbers is called a number system.
[7] What are the three important factors of any number system?
The three important factors of any number system are:
- The Base
- The Position
- The Digits
[8] Write the base of following number systems: 1) Binary 2) Octal 3) Decimal 4) Hexa-decimal
- Binary – 2
- Octal – 8
- Decimal – 10
- Hexa-decimal – 16
[9] Write steps to convert a number from binary to decimal.
- Count and write the position of each digit from right side
- Multiply the digit with the positional value raised by the power
- Sum up the values calculated in step 2
These steps are application to integer parts only.
[10] Write steps to convert a number from decimal to binary.
- Divide the number with base i.e. 2
- Record the remainder
- Read numbers from bottom to top
To learn more about number system, follow this link it will help for more understanding for QnA Number System class7:
Long answer questions (5 marks)
[1] What are the computer languages? Explain all of them in brief.
There are three computer languages:
- Machine Language (Low-level language)
- Assembly Language
- High-level Language
Machine Language
Machine language is a primary language of computers. It is in the form of 0s and 1s. It is executed directly without any translators in computers.
Assembly Language
It was developed in 1950s to understand the by users. As binary language cannot be understood by everyone. So assembly language uses few of the words in English and writes the code. It requires a translator to convert the program in machine language is called assembler.
High level language
There are certain limitations of assembly language. So high-level languages emerged to fulfill the need. This language contains user readable words and statements and required to translate in machine language. Compiler and Interpreter are popular translators used with a high-level language. Some of the popular high-level languages are C,C++, Java, Python etc.
[2] What are the stages of a program execution?
The program execution involves following stages:
- Pre-processing
- Compilation
- Linking
- Loading
Pre-processing
It is the process of preparing a program for compilation. The source code made available in this stage for compiler to execute.
Compilation
Compilation refers to testing the program for the errors. The source code put on compiler for testing and produces the results if no errors are there.
Linking
Linking is a process to convert the object code converted in compilation and generate the executable file.
Loading
When the program is ready, it needs to be loaded in to the memory for future use. This process is known as loading.
[3] Convert following number into decimal:
- (1011011010.1100)2
- (12345.456)8
- (19ADF.1122)16
[4] Do as directed:
- (6782)10=(?)2
- (11775)10 = (?)8
Question [3] and [4] Do yourself