Professional Documents
Culture Documents
SUBJECT : COMPUTER
CHAPTER - 1
TOPIC – INTRODUCTION TO OBJECT ORIENTED
PROGRAMMING CONCEPTS
(ASSIGNMENT : QUESTIONS & ANSWERS )
PART : 1
ASSIGNMENT : QUESTIONS & ANSWERS
ii) High Level Language : High level languages offer English like keywords,
constructs for sequence , selection (decision) and iteration (looping) and use
variables and constants. The programs written in HLLs are converted into
machine language using compiler and interpreter software. Examples of
high level languages are BASIC , C, C++, JAVA etc.
Q3. Why are low level languages considered close to the machine ?
Answer : Machine language , in which instructions are written in binary code (using 1’s
and 0’s), is the only language the computer can execute directly. Machine
language is also known as low level language. For this reason, low level languages
are considered close to machine.
Q4. Why is it easier to program with high level languages ? Why are high level
languages considered close to the programmer ?
Answer: High level language programs are easier due to following reasons :
a) High-level languages are closer to English language and user-friendly.
b) Writing programs in these languages are very simple and required very less time.
c) They use language translator.
High level languages are considered close to the programmer due to following
reasons :
a) It provides programmer to specify actions to be executed.
b) It should provide a set of concept for the programmer to use when
thinking about what can be done.
Q5. Can you give examples of programming languages belonging to
each generation .
Answer Yes, the examples of programming language belonging to
each generation are as follows :
1. First Generation Programming Language : Machine Language
2.Second Generation Programming Language : Assembly Language
3. Third Generation Programming Language : BASIC , C, C++, JAVA
4. Fourth Generation Programming Language : Structured Query Language
(SQL) , Report generators such as Oracle reports , and Python
5. Fifth Generation Programming Language : Prolog and Mercury
CLASS – VIII
SUBJECT : COMPUTER
CHAPTER - 1
TOPIC – INTRODUCTION TO OBJECT ORIENTED
PROGRAMMING CONCEPTS
(ASSIGNMENT : QUESTIONS & ANSWERS )
PART : 2
Q6. What are programming paradigms ? Give names of some popular
programming paradigms .
Answer : A programming paradigm is a way of programming that is used to classify
programming languages by their features .It is an approach to programming.
The names of some popular programming paradigms are as follows :
a) Procedural or Modular Programming
b) Object Oriented Programming (OOP)