Posts

Showing posts from September, 2019

Types Of Operating System In Detail !!!

Image
Types Of Operating System - Technopedia!!! Types Of Operating System : 1. Batch Operating System 2. Multiprogramming Operating System 3. Time Sharing Operating System 4. Multiprocessor System 5. Clustered Operating System 6. Distributed Operating System 7. Network Operating System 8. Real Time Operating System Types Of Operating System In Detail !!! 1. Batch Operating System Batch system process a collection of jobs,called batch. Batch is a sequence of user jobs. Jobs is a predefined sequence of commands, programs and data that are combined into a single unit. Each job in the batch is independent other jobs in the batch. A User can define a job control specification by constructing a file  with a sequence of commands. Batch monitor is used to implement batch processing system.batch monitor is also called kernel. Kernel resides in one part of the computer main memory. The memory allocator managed the main memory. Batch

What Is Inheritance In C++? Types Of Inheritance?

Image
C++ Inheritance  C++ inheritance : In The Language C++, inheritance is a process in which one object acquires all the properties and behaviors of its parent object automatically. Different way you can reuse, extend or modify the attributes and behaviors which are defined in other class. What Is Inheritance In C++? In the language C++, the class which inherits the members of another class is called derived class and the class whose members are inherited is called base class. In this C++ The derived class is the specialized class for the base class. Advantage of C++ Inheritance A Code reusability : Now you can reuse the members of your parent class. That's Why there is no need to define the member again. So less code is required in the class. Types Of Inheritance There are five types of inheritance: Single inheritance Multiple inheritance Hierarchical inheritance Multilevel inheritance Hybrid inheritance Types Of Inheritance? C++ Inheritance

Classes and Objects In C++

Image
Classes and Objects In C++ Classes and Objects In C++ : Classes : The class definition is  starts with the keyword class followed by the class name and the class body. Syntax : class Box {    public:       double length;   // Length of a box       double breadth;  // Breadth of a box       double height;   // Height of a box }; The keyword public Shows that the access attributes of the members of the class that follows it. Classes and Objects In C++ The public member can be accessed from outside the class anywhere within the scope of the class object. And You can also specify the members of a class as private or protected which we will discuss in a sub-section. May You Like To Read This Related Articles: What Is Operating System? Knowledge Of OS!! Operating System As A User Interface And As A Resource Manager - Technopedia! Services Of Operating System -  Technopedia!!! Basic Concepts Of OOPC!! CONCEPT OF DBMS!! Types Of Operating Syste

Types Of Constructor In C++

Image
Types Of Constructor In C++ Types Of Constructor In C++  : Constructors : The constructor is a special type of member function that initialises an object automatically when it is created. The Compiler identifies a given member function is a constructor by its name and the return type. Types Of Constructor In C++ Constructor's the same name as the class and it does not have any return type. And Also, the constructor is always public. class A { private:  int x;  float y; public:  A(): x(5), y(5.5)  {   // Body of constructor  }  ... ..  ... }; int main() {  A t1;  ... .. ... } In Above program we can see that a constructor is defined without a return type and the same name as the class. May You Like To Read This Related Articles: What Is Operating System? Knowledge Of OS!! Operating System As A User Interface And As A Resource Manager - Technopedia! Services Of Operating System -  Technopedia!!! Basic Concepts Of

Difference Between The Procedure Oriented Language and Object Oriented Language.

Image
Difference Between The Procedure Oriented Language and Object Oriented Language Difference Between The Procedure Oriented Language and Object Oriented Language : Any program can be written in both the languages, but if the task is not easy OOP operates well as compared to POP.  Difference Between The Procedure Oriented Language and Object Oriented Language. In the POP  ‘data security’ is at risk as data freely moves in the program, as well as, ‘code reusability’ is not achieved which makes the programming lengthy, and hard to understand. The Large programs lead to more bugs, and it increases the time of debugging. All these flaws lead to a new approach, namely “object-oriented programming”.  In the object-oriented programming’s primary concern is given on ‘data security’. In it binds the data closely to the functions which operate on it.  It is also resolves the problem of ‘code reusability’, as if a class is created, its multiple instances(objects) c