Software & Software Design
Software
Software is a collection of instructions that enable the user to
interact with a computer, its hardware or perform tasks
Without software, most computers would be useless. For
example, without your Internet browser software, you could
not surf the Internet. Without an operating system, the browser
could not run on your computer.
There are two types of software
1. System Software
2. Application Software
Examples of system software are Operating System, Compilers,
Interpreter, Assemblers, etc.
Examples of Application software are Railways Reservation
Software, Microsoft Office Suite Software, Microsoft Word,
Microsoft PowerPoint, etc.
Microsoft
Windows
Linux Microsoft
Office e
System Software's Application software's
Functional Oriented Design (FOD)
In function-orienteddesign, the system is comprised of many
smaller sub-systems known as functions.
These functions are capable of performing significant task in
the system
Function oriented design inherits some properties of
structured design where divide and conquer methodology is
used.
This design mechanism divides the whole system into smaller
functions
JAVA
Java is a powerful general-purpose, Object Oriented programming
language developed by Sun Micro System of USA in 1991.
Development team members are James Gosling, Patrick Naughton,
Chris Warth, Ed Frank, and Mike Sheridan
First name of Java is "Oak," but was renamed "Java" in 1995.
• Java derives much of its character from C and C++.
• Java Changed the Internet by simplifying web programming
• Java innovated a new type of networked program called the applet
JAVA PROGRAM STRUCTURE
Documentation Section Suggested
Package Statement Optional
Import Statement Optional
Interface Statement
Optional
Class Definition Optional
Main Method Class
{
Essential Section
//Main method defintion
}
DATA TYPES
Data type defines the values that a variable can take, for
example if a variable has int data type, it can only take integer
values.
Data types specify the different sizes and values that can be
stored in the variable.
There are two types of data types in Java:
Primitive data types
Non-primitive data types
Class Fundamentals
Classes and Objects
objects
Classes and are the two main aspects of object-oriented
programming. class
objects
Frust Apple
Banera
Mango
So, a class is a template for objects, and an object is an instance
of a class.
A Class is a "blueprint" for creating objects.