mahendras Computer Knowledge Questions | NIACL Assistant 2017 | 21.03.2017 ~ Daily Current Affairs,English,SBI PO,IBPS

Tuesday, 21 March 2017

Computer Knowledge Questions | NIACL Assistant 2017 | 21.03.2017

  Computer Knowledge Questions | NIACL Assistant 2017 | 21.03.2017

Q1. Object Oriented Programming (OOP) is a _______philosophy: 

a) Network 

b) Design 

c) Data Type 

d) None of these

e) All of these


Q2. OOP uses a different set of programming languages than old procedural programming languages such as: 

a) C 

b) Pascal 

c) Both of Above 

d) None of these

e) All of these


Q3. One of the principal advantage of object oriented programming techniques over procedural programming techniques is that they enable programmers to create ______that do not need to be changed when a new type of object is added:

a) Networks 

b) Modules 

c) Data Slates 

d) None of these

e) All of these


Q4. Which among the following definitions are correct: 

a) Object - Any entity that has state and behavior is known as an object. 

b) Class - Collection of objects is called class. It is logical entity. 

c) Inheritance - When one object acquires all the properties and behaviors of parent object its known as inheritance. It provides code re-usability and is used to achieve run time polymorphism. 

d) All of the above 

e) None of these


Q5. Which one among the following is incorrect about 'class': 

a) A class is simply a representation of the type of object. 

b) It is blueprint or plan or template that describes the details of an object. 

c) A class is the blue print from which the individual objects are created. It is composed of three things - a name, attributes and operations 

d) All of the above 

e) None of these


Q6. ______provides a powerful and natural mechanism for organizing and structuring your software. It also explains how classes inherit state and behavior from their super classes and explains how to derive one class from another using the simple syntax provided by the java programming language: 

a) Object 

b) Inheritance 

c) Class 

d) None of these

e) All of the above 


Q7. An _____ is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that ______: 

a) Object 

b) Interface 

c) Package 

d) None of these

e) All of the above 


Q8. A ____ is a namespace for organizing classes and interfaces in a logical manner. Placing your code into ______makes large software projects easier to manage. This section explains why this is useful and introduces you to the Application Programming Interface (API) provided by the Java Platform: 

a) Inheritance 

b) Object 

c) Package 

d) None of these

e) All of the above 


Q9. SRP stands for:

a) Server Responsibility Principle 

b) Single Responsibility Principle 

c) Standard Responsibility Principle 

d) Singular Responsibility Principle 

e) None of these


Q10. OCP stands for: 

a) Open Closed Principle 

b) Open Class Principle 

c) Organized Closed Principle 

d) Organise Closed Principle 

e) None of these
Share:

K2 | KAABIL KAUN | EPISODE 2 | 28.04.2017 | 10 A.M. |

LIVE PSS

MAHENDRAS 2 IN 1 APP

DIGI PAGE

DIGI NOTES

BOOSTER

ONLINE E-MICA