2 Day Software Introduction
2 Day Software Introduction
1) Hardware
2) Software
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Introduction to Software
-->Software is a collection of programs.
-->Software is a set of programs (sequence of instructions / statements) that allows the users
to perform a well-defined function or some specified task.
Software
System software Application Software
it interacts with hardware components The sole purpose of application software is to
assist the user in doing specified tasks.
Ex: Microsoft Word and Excel, as well as popular
Device drivers and Operating systems web browsers like Firefox and Google
Chrome, are examples of application software.
Except Operating Systems, all are Application
software
Device Drivers:
These are programs to communicate with hardware components every device has it’s
own drivers.
Ex:
Printer driver, Network drivers
Operating System:
Que)
Ans:
NO
3) Every Operating System has its own libraries to communicate between Application
software and Hardware components.
Application Software
Front End Software Back End Software
These are to interact with end users, it collects These are used to store and maintain data
data from end users and stores into backend Ex:
Ex:
Languages & Packages Databases and Files , HDFS ( Big Data storage )
Language:
Language is a mode of communication between two party/human beings.
Languages
Low Level Languages High Level Languages
These are machine (processor) understandable These are user understandable languages
languages. These are looks likes English language
Ex: Easy to understand.
Machine Language (I GL ) and
Assembly Language (II GL ) III GL and IV GL are high level
languages
Assembly language in the form of mnemonic
codes /symbolic code.
Software Languages:
================
AI based understandable language, is high level language like, R, java and Python
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Ex:
DD Singh (In ASCII D = 68, D = 68,etc.)
Assembly Language:
Assembly language uses the symbolic code instead of the numeric code. Symbolic code is also
known as Mnemonic Code.
Note:-
These two languages (Machine & Assembly) are the Low level languages. Low Level Languages
are those languages which are having the dependency on the hardware.
To overcome this problem (Hardware Dependency) some high level languages was introduced.
These Languages are-
Ex:
COBOL is used for Business Oriented project, FORTRAN is used for Scientific Calculations,
etc.
To overcome the above problem (Target Based) one language was introduced i.e. C.
C is the middle level language because in that we can do the low-level programming as well
as we can do the high-level programming.
Ex:
C, C++, Java, Python, HTML, C#, Scala..
Every High Level Language program has to convert into binary code (10100101110 )
Generation of Languages
Procedure and Function, both are set of statements to perform some specific task,
The difference is that, function returns a value whereas procedure does not return a value.
Compliers and interpreters are used to convert from high level languages into low level
language (processor understandable language)
If any error occurs interpreter stops It checks all statements in the program and
3
Hence it shows only one error shows all the errors in the program.
If no errors in the program, then it generates
4 It will not generate executable file.
executable file.
5 It always executes only source code It executes exe file
Java depends on both Compiler as well as interpreter,In Java Errors Checking by the Compiler
[Source Code ( .java ) ] javac ( java compiler ) [Byte Code file ( .class ) ] java ( interpreter )
byte code binary and links with OS Library Output
Que)
Ans)
NO
.class file is a byte code file and it is a JVM / JRE Understandable Language
Que)
.EXE file is prepared on Windows OS, Can I run that .exe on Linux OS. ?
Ans:
No
Reason:
Que)
Ans:
What is a Linker
A linker is a computer program that takes one or more object files generated by a compiler and
Ex:
Let Us Assume You are creating one small calculator project in C Programming Language in that you
Ans:-
Ex:
Ex:
Any exe file prepared on windows will not execute on Linux and vice versa
Test.exe file prepare on Win OS, Then it links with Win OS Library.
OS Library Links with Exe file, at the time of generating exe file.
It is a statically linking.
JAVA:
[BYTE Code for Java Program] + [Byte Code For Java Library].
Java Program .class file is prepared on any OS, It Don’t have any OS Library.
(Platform).
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Recape
Introduction to Programming:
Why Communication:
History of Java:
What is JAVA:
or
2. JDK [Software]
Note:
In jdk 1.2 & jdk 1.5, highly or drastic changes occurs in JAVA.
Platform:
Since Java has its own Runtime Environment (JRE) and API (Application
Programming Interface). it is called platform.
Where it is used?
According to Sun (The Sun name is derived from the initials of the Stanford
University Network.), 3 billion devices run java.
3. Mobile Application
1) Standalone Application:
AWT (Abstract Window Toolkit) and Swing are used in java for creating
standalone applications.
An application that runs on the web/server side and creates dynamic page, is
called web application. Currently Servlet , JSP technologies are used for creating
web applications in java.
3) Mobile Application:
An application that is created for mobile devices. Currently Android and Java ME
(Micro Edition) are used for creating mobile applications.
Java as Pre-requisite:
Features of JAVA: