Posts

Showing posts from March, 2020

OBJECT ORIENTED ANALYSIS

Till now we have seen about object orientated programming,but it is really important to know the steps involved in building a successful project.Object orientated analysis helps us to develop a mechanism for the software to be developed.The analysis basically is concerned with breaking the problem into smaller parts. The steps involved with object oriented analysis are:- PROBLEM UNDERSTANDING The first step is to understand the problem of the user.This helps the software engineers to focus on the specific requirements of both the users and the software.The problem statement should be stated in a simple single line for better understanding. REQUIREMENTS SPECIFICATIONS Once the problem statement is defined the next step is to generate a list of user requirements.A clear understanding should be there between the user and the developer.The User  should state clearly the requirements as these are used for testing the software when it is undergoing completion. ...

CORE CONCEPTS OF OOPs

OOPS Concepts or Object-Oriented Programming Concepts are very important. Without having an idea about OOPS concepts, you will not be able to design systems in the object-oriented programming model.   Abstraction   Encapsulation   Polymorphism   Inheritance Let’s look into these topics deeply. Abstraction Abstraction is the concept of hiding the internal details and describing things in simple terms. For example, a method that adds two integers. The internal processing of the method is hidden from the outer world. There are many ways to achieve abstraction in object-oriented programming, such as encapsulation and inheritance. Encapsulation Encapsulation is the technique used to implement abstraction in object-oriented programming. Encapsulation is used for access restriction to class members and methods. Access modifier keywords are used for encapsulation in object oriented programming. For example, encapsulation is achieved using private...

INTRODUCTION TO SQL

Image
SQL i.e. structured query language is used to store the data in databases. There are two types of database management systems(DBMS) 1) RDBMS (Relational database management system) 2) Non-Relational database management system. SQL is basically designed for managing the data held in RDBMS.  In RDBMS the data is stored in specific format especially in tabular form .It has different columns and different rows. In simple words SQL is specialized computer/programming language that is used to manage the relational databases and perform various operations on  that data.  In order to manage the data SQL has different queries. 1)To create the database  CREATE DATABASE(<name of database>); 2)To create a table in database CREATE TABLE STUDENT(student_id INT,Name VARCHAR(20)); here in this query 'STUDENT' is name of the table. student_id and Name are the names of the two columns where INT and VARCHAR   are the datatypes of data in that columns. ...

Introduction to Object Oriented Programming

Image
In this series of Blogs we are going to develop a system for performing the functionalities like SQL(like insertion, deletion and modifying the records) using the concepts of Object Oriented Programming in C++. But before that it is important to know the background and features of OOPS.  The prime purpose of C++ programming was to add object orientation to the C programming language, which is in itself one of the most powerful programming languages. The core of the pure object-oriented programming is to create an object, in code, that has certain properties and methods. While designing C++ modules, we try to see whole world in the form of objects. For example a car is an object which has certain properties such as color, number of doors, and the like. It also has certain methods such as accelerate, brake, and so on. With this concept lots of feature comes along with it like class,object, abstraction, encapsulation, polymosrphism and so on. Why OOP? The major motivatin...