Computer Applications
Related Questions
Read the following text and choose the correct answer:
Machine language is the form of computer language in which instructions are coded in terms of binary digits (bits), i.e., in the form of zeroes and ones (0's and 1's). The computer understands the machine code directly to be operated by the CPU.
Which is the most suitable statement for Machine language from the following?
- It is one of the types of high level language.
- It is directly understood by the users.
- It is a machine dependent language.
- It is easier to write the code in machine language.
Which of the following is not true for Encapsulation?
- Data and functions are loosely attached.
- Data and functions are wrapped together.
- Data is secured from getting mishandled.
- None of them.
Which of the following is a Procedure Oriented Programming language?
- Java
- C++
- Pascal
- Eiffel
Object Oriented Programming is an approach to standarise the program by creating partitioned memory area for both data and functions. It does not allow data to flow freely from one function to other. In this system, the complete problem is decomposed into a number of entities called objects. Some of the object oriented principles are given in the box as below:
Polymorphism Encapsulation Inheritance Abstraction Pick an appropriate principle for each of the descriptions given below:
(a) It allows deriving a new class from existing class. The new class will have combined features of both the classes.
(b) It promotes function overloading which is using a number of functions/methods with the same name but with different parameters.
(c) It allows grouping or merging data and functions as a unit such that the data of a particular object is used in the associated functions.
(d) It is using some external components without knowing the internal mechanism.