Monday, April 17, 2017

ARTIFICIAL INTELLIGENCE


Introduction

Development of computer functions connected with human intelligence, such as talking and problem solving.

Comparison

Human thinking can be well in some task when compared to computer which takes up time to calculate the same result. Programmers try to put all the required mechanisms but still they come up with bugs.


Inspiration

During complex situation, Unlike humans, computers have trouble understanding some situation and adjusting to new one. AI aims to develop computer behavior in tackling such complex tasks.

Advantages

Improves day to day activities
Decision making
Robotics for heavy duties
Less injuries or stress


Applications

Bots on Games
Speech Recognition - Iphone Siri, Windows Cortana


Languages 

Lisp, Python, Prolog, Java C++

                         

Sunday, April 16, 2017

OBJECT ORIENTED PROGRAMMING CONCEPTS IN JAVA

Introduction

Objects are real world entities like table, chair, ball etc. This consists of some concepts below which are used to design or solve a situation.

Object

Can be physical or logical and has a state and behaviour.

Class


Collection of Objects

Inheritance


Its when an object utilises all the states or behaviour of a parent object in order to re-use.

Polymorphism


A specific task is performed in different ways Eg: Method overloading and overriding are used to achieve polymorphism in java.

Abstraction


Hiding the internal processing and displaying the UI and its functions

Encapsulation


Joining code and data together into a single unit Eg: Capsule is wrapped with different medicines internally.