BCOM
SEMESTER II
NON MAJOR (Internet and Its Applications) download here



NON MAJOR (Internet and Its Applications) download here
What
is a language?
Language
is the medium of communication to share ideas, opinion with each other.
What
is a programming language?
programming
language is the medium of communication between you (a person) and a computer
system. It is the set of some instructions written in a specific style (coding)
to instruct the computer to do some specific task.
Types
of computer programming languages
There are
basically three types of computer programming languages, they are
ü Low
level programming languages
ü High
level programming languages
ü Middle
level programming languages
1)
Low level programming languages
These
are machine dependent programming languages such as Binary (Machine code) and
Assembly language. Since computer only understand the Binary language that
means instructions in the form of 0’s and 1’s (Signals - that can be either
High or Low), so these programming languages are the best way to give signals
(Binary Instructions) to the computer directly.
Machine Code (Binary Language)
does not need any interpreter or compiler to convert language in any form
because computer understands these signals directly. But, Assembly language
needs to be converted in equivalent Binary code, so that computer can
understand the instructions written in Assembly. Assembler is used to convert
an assembly code to its equivalent Binary code.
The
codes written in such kind of languages are difficult to write, read, edit and
understand; the programs are not portable to any other computer system.
Low Level
programming language programs are faster than High Level programming language
programs as they have less keywords, symbols and no need (less need) to convert
into Machine Code.
2)
High level programming languages
These
are the machine independent programming languages, which are easy to write,
read, edit and understand.The languages like Java, .Net, Pascal, COBOL, C++, C,
C# and other (which are very popular now to develop user end applications).
These languages come under the high level programming language category.
High
level programming languages have some special keywords, functions and class
libraries by using them we can easily build a program for the computer.
Computer
does not understand program written in such languages directly, as I have
written above that computer understands only Machine code. So, here programming
translators are required to convert a high level program to its equivalent
Machine code.
Programming
translators such as Compilers and Interpreters are the system software’s which
converts a program written in particular programming languages to its
equivalent Machine code.
Here
are the features of High Level programming languages
The
programs are written in High Level programming languages and are independent
that means a program written on a system can be run on another system.
Easy
to understand - Since these programming languages
have keywords, functions, class libraries (which are similar to English words)
we can easily understand the meaning of particular term related to that
programming language.
Easy
to code, read and edit - The programs written in High
Level programming languages are easy to code, read and edit. Even we can edit
programs written by other programmers easily by having little knowledge of that
programming language.
Since, High
Level language programs are slower than Low level language programs; still
these programming languages are popular to develop User End Applications.
3.Middle
Level programming language
Since,
there is no such category of computer programming languages, but the
programming languages that have features of low level and high level
programming languages come under this category.
Hence,
we can say that the programming languages which have features of Low Level
as well as High Level programming languages known as "Middle Level"
programming language.
C
programming languages is the best example of Low Level Programming
languages as it has features of low level and high level programming
languages both.
History
of internet
The history
of the Internet has its origin in the efforts of wide area networking that
originated in several computer science laboratories
in the United States, United Kingdom,
and France. The U.S. Department
of Defense awarded contracts as
early as the 1960s, including for the development of the ARPANET project,
directed by Robert
Taylor and managed by Lawrence
Roberts. The first message was sent over
the ARPANET in 1969 from computer science Professor Leonard Kleinrock's
laboratory at University
of California, Los Angeles (UCLA)
to the second network node at Stanford
Research Institute (SRI).
Packet switching networks
such as the NPL network, ARPANET, Merit Network, CYCLADES,
and Telenet, were developed in the late 1960s and
early 1970s using a variety of communications
protocols. Donald Davies first
demonstrated packet switching in 1967 at the National
Physics Laboratory (NPL) in the UK,
which became a testbed for UK research for almost two decades.The ARPANET
project led to the development of protocols for internetworking,
in which multiple separate networks could be joined into a network of networks.
The design included concepts from the French CYCLADES project directed by Louis Pouzin.
In the early
1980s the NSF funded the establishment for national supercomputing centers
at several universities, and provided interconnectivity in 1986 with the NSFNET project,
which also created network access to the supercomputer sites
in the United States from research and education organizations.
Commercial Internet service
providers (ISPs) began to emerge in
the very late 1980s. The ARPANET was decommissioned in 1990. Limited private
connections to parts of the Internet by officially commercial entities emerged
in several American cities by late 1989 and 1990,[5] and
the NSFNET was decommissioned in 1995, removing the last restrictions on the
use of the Internet to carry commercial traffic.
In the 1980s,
research at CERN in Switzerland by
British computer scientist Tim Berners-Lee resulted
in the World Wide Web, linking hypertext documents
into an information system, accessible from any node on the network.Since the
mid-1990s, the Internet has had a revolutionary impact on culture, commerce,
and technology, including the rise of near-instant communication by electronic
mail, instant messaging, voice over
Internet Protocol (VoIP) telephone
calls, two-way interactive video calls, and the World Wide Web with
its discussion forums, blogs, social networking,
and online shopping sites. The research and education community
continues to develop and use advanced networks such as JANET in the United Kingdom and Internet2 in
the United States. Increasing amounts of data are transmitted at higher and
higher speeds over fiber optic
networks operating at 1 Gbit/s, 10 Gbit/s, or more. The Internet's
takeover of the global communication landscape was rapid in historical terms:
it only communicated 1% of the information flowing through two-way telecommunications networks
in the year 1993, already 51% by 2000, and more than 97% of the
telecommunicated information by 2007.Today, the Internet continues to grow,
driven by ever greater amounts of online information, commerce, entertainment,
and social networking. However, the future of the global network may be shaped
by regional differences.
Personal Computer
A personal
computer (PC) is a multi-purpose computer whose
size, capabilities, and price make it feasible for individual use.Personal
computers are intended to be operated directly by an end user, rather
than by a computer expert or technician. Unlike large costly minicomputer and mainframes, time-sharing by
many people at the same time is not used with personal computers.
Institutional or
corporate computer owners in the 1960s had to write their own programs to do
any useful work with the machines. While personal computer users may develop
their own applications, usually these systems run commercial software, free-of-charge software ("freeware")
or free and
open-source software, which is provided
in ready-to-run form. Software for personal computers is typically developed
and distributed independently from the hardware or operating system manufacturers.[2] Many
personal computer users no longer need to write their own programs to make any
use of a personal computer, although end-user programming is still feasible.
This contrasts with mobile systems, where software is often only available
through a manufacturer-supported channel,[3] and end-user program
development may be discouraged by lack of support by the manufacturer.
Since the early
1990s, Microsoft operating systems and Intel hardware have dominated much of the personal computer market, first with MS-DOS and
then with Microsoft Windows. Alternatives to Microsoft's Windows operating systems
occupy a minority share of the industry. These include Apple's macOS and free and
open-source Unix-like operating
systems.
The advent of
personal computers and the concurrent Digital Revolution have significantly affected the lives of people in
all countries.
World Wide Web
The World
Wide Web (WWW), commonly known as the Web, is
an information system where documents and other web resources are
identified by Uniform Resource Locators (URLs, such as https://www.example.com/),
which may be interlinked by hypertext, and are
accessible over the Internet.The resources of
the WWW may be accessed by users by a software application called a web browser.
English
scientist Tim Berners-Lee invented the World Wide Web in 1989. He wrote the
first web browser in 1990 while employed at CERN near Geneva, Switzerland.The browser was released
outside CERN in 1991, first to other research institutions starting in January
1991 and then to the general public in August 1991. The World Wide Web has been
central to the development of the Information Age and
is the primary tool billions of people use to interact on the Internet.
Web resources
may be any type of downloaded media, but web pages are
hypertext media that have been formatted in Hypertext
Markup Language (HTML).Such
formatting allows for embedded hyperlinks that
contain URLs and permit users to navigate to
other web resources. In addition to text, web pages
may contain references to images, video, audio, and
software components which are displayed in the user's web
browser as coherent pages of multimedia content.
Multiple web
resources with a common theme, a common domain name, or
both, make up a website. Websites are stored in computers that are running a
program called a web server that responds to requests made over the Internet
from web browsers running on a user's computer. Website content can be largely
provided by a publisher, or interactively where users contribute
content or the content depends upon
the users or their actions. Websites may be provided for a myriad of
informative, entertainment, commercial, governmental, or non-governmental
reasons.
Overview( WWW )
WWW stands
for World Wide Web. A technical definition of the World Wide Web is :
all the resources and users on the Internet that are using the Hypertext
Transfer Protocol (HTTP).
A broader
definition comes from the organization that Web inventor Tim
Berners-Lee helped found, the World Wide Web Consortium (W3C).
The World Wide
Web is the universe of network-accessible information, an embodiment of human
knowledge.
In simple terms,
The World Wide Web is a way of exchanging information between computers on the
Internet, tying them together into a vast collection of interactive multimedia
resources.
Internet and Web is
not the same thing: Web uses internet to pass over the information.

Evolution
World Wide
Web was created by Timothy Berners Lee in 1989
at CERN in Geneva. World Wide Web came into existence as a
proposal by him, to allow researchers to work together effectively and
efficiently at CERN. Eventually it became World Wide Web.
The following
diagram briefly defines evolution of World Wide Web:

WWW
Architecture
WWW architecture
is divided into several layers as shown in the following diagram:

Identifiers and Character Set
Uniform Resource
Identifier (URI) is used to uniquely identify resources on the web
and UNICODE makes it possible to built web pages that can be read and
write in human languages.
Syntax
XML (Extensible
Markup Language) helps to define common syntax in semantic web.
Data Interchange
Resource
Description Framework (RDF) framework helps in defining core
representation of data for web. RDF represents data about resource in graph
form.
Taxonomies
RDF Schema
(RDFS) allows more standardized description of taxonomies and
other ontological constructs.
Ontologies
Web Ontology
Language (OWL) offers more constructs over RDFS. It comes in following
three versions:
OWL Lite for
taxonomies and simple constraints.
OWL DL for full
description logic support.
OWL for more
syntactic freedom of RDF
Rules
RIF and SWRL offers
rules beyond the constructs that are available
from RDFs and OWL. Simple Protocol and RDF Query
Language (SPARQL) is SQL like language used for querying RDF data and OWL
Ontologies.
Proof
All semantic and
rules that are executed at layers below Proof and their result will be used to
prove deductions.
Cryptography
Cryptography means
such as digital signature for verification of the origin of sources is used.
User Interface and Applications
On the top of
layer User interface and Applications layer is built for user
interaction.
WWW Operation
WWW works
on client- server approach. Following steps explains how the web works:
User enters the
URL (say, http://www.tutorialspoint.com)
of the web page in the address bar of web browser.
Then browser
requests the Domain Name Server for the IP address corresponding to www.tutorialspoint.com.
After receiving
IP address, browser sends the request for web page to the web server using HTTP
protocol which specifies the way the browser and web server communicates.
Then web server
receives request using HTTP protocol and checks its search for the requested
web page. If found it returns it back to the web browser and close the HTTP
connection.
Now the web
browser receives the web page, It interprets it and display the contents of web
page in web browser’s window.

Future
There had been a
rapid development in field of web. It has its impact in almost every area such
as education, research, technology, commerce, marketing etc. So the future of
web is almost unpredictable.
Apart from huge
development in field of WWW, there are also some technical issues that W3
consortium has to cope up with.
User Interface
Work on higher
quality presentation of 3-D information is under deveopment. The W3 Consortium
is also looking forward to enhance the web to full fill requirements of global
communities which would include all regional languages and writing systems.
Technology
Work on privacy
and security is under way. This would include hiding information, accounting,
access control, integrity and risk management.
Architecture
There has been
huge growth in field of web which may lead to overload the internet and degrade
its performance. Hence more better protocol are required to be developed.
Micro
Software .Net
.NET
Framework (pronounced as "dot
net") is a software framework developed by Microsoft that
runs primarily on Microsoft Windows.
It includes a large class library named
as Framework Class
Library (FCL) and provides language
interoperability (each language can
use code written in other languages) across several programming languages. Programs written for .NET Framework execute in a software environment
(in contrast to a hardware environment)
named the Common Language
Runtime (CLR). The CLR is an application virtual
machine that provides services such
as security, memory management,
and exception handling. As such, computer code written using .NET Framework is
called "managed code". FCL and CLR together constitute the .NET
Framework.
FCL provides user interface, data access, database connectivity, cryptography, web application development,
numeric algorithms, and network communications. Programmers produce software by combining their source code with
.NET Framework and other libraries. The framework is intended to be used by
most new applications created for the Windows platform. Microsoft also produces
an integrated
development environment largely for
.NET software called Visual Studio.
.NET Framework
began as proprietary software, although the firm worked to standardize the
software stack almost immediately, even before its first release. Despite the
standardization efforts, developers, mainly those in the free and
open-source software communities,
expressed their unease with the selected terms and the prospects of any free
and open-source implementation, especially regarding software patents.
Since then, Microsoft has changed .NET development to more closely follow a
contemporary model of a community-developed software project, including issuing
an update to its patent promising to address the concerns.[citation needed]
.NET Framework
led to a family of .NET platforms targeting mobile computing, embedded devices,
alternative operating systems, and web browser plug-ins.
A reduced version of the framework, .NET Compact
Framework, is available on Windows CE platforms,
including Windows Mobile devices such as smartphones. .NET Micro Framework is targeted at very resource-constrained embedded
devices. Silverlight was
available as a web browser plugin. Mono is
available for many operating systems and is customized into popular smartphone
operating systems (Android and iOS) and game engines. .NET Core targets
the Universal
Windows Platform (UWP), and cross-platform and cloud computing workloads.
What is Java?
Java is a popular programming language,
created in 1995.
It is owned by Oracle, and more than 3
billion devices run Java.
It is used for:
- Mobile
applications (specially Android apps)
- Desktop
applications
- Web
applications
- Web servers
and application servers
- Games
- Database
connection
Why Use Java?
- Java
works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc.)
- It is
one of the most popular programming language in the world
- It is
easy to learn and simple to use
- It is open-source
and free
- It is
secure, fast and powerful
- It has
a huge community support (tens of millions of developers)
- Java is
an object oriented language which gives a clear structure to programs and
allows code to be reused, lowering development costs
- As Java
is close to C++ and C#, it
makes it easy for programmers to switch to Java or vice versa
Why to Learn java Programming?
Java is a MUST for students and working professionals
to become a great Software Engineer specially when they are working in Software
Development Domain. I will list down some of the key advantages of learning
Java Programming:
·
Object Oriented −
In Java, everything is an Object. Java can be easily extended since it is based
on the Object model.
·
Platform Independent −
Unlike many other programming languages including C and C++, when Java is
compiled, it is not compiled into platform specific machine, rather into
platform independent byte code. This byte code is distributed over the web and
interpreted by the Virtual Machine (JVM) on whichever platform it is being run
on.
·
Simple − Java is designed
to be easy to learn. If you understand the basic concept of OOP Java, it would
be easy to master.
·
Secure − With Java's
secure feature it enables to develop virus-free, tamper-free systems.
Authentication techniques are based on public-key encryption.
·
Architecture-neutral −
Java compiler generates an architecture-neutral object file format, which makes
the compiled code executable on many processors, with the presence of Java
runtime system.
·
Portable − Being
architecture-neutral and having no implementation dependent aspects of the
specification makes Java portable. Compiler in Java is written in ANSI C with a
clean portability boundary, which is a POSIX subset.
·
Robust − Java makes an
effort to eliminate error prone situations by emphasizing mainly on compile
time error checking and runtime checking.
Applications
of Java Programming
The latest release of the Java Standard Edition is
Java SE 8. With the advancement of Java and its widespread popularity, multiple
configurations were built to suit various types of platforms. For example: J2EE
for Enterprise Applications, J2ME for Mobile Applications.
The new J2 versions were renamed as Java SE, Java EE,
and Java ME respectively. Java is guaranteed to be Write Once, Run
Anywhere.
·
Multithreaded −
With Java's multithreaded feature it is possible to write programs that can perform
many tasks simultaneously. This design feature allows the developers to
construct interactive applications that can run smoothly.
·
Interpreted −
Java byte code is translated on the fly to native machine instructions and is
not stored anywhere. The development process is more rapid and analytical since
the linking is an incremental and light-weight process.
·
High Performance −
With the use of Just-In-Time compilers, Java enables high performance.
·
Distributed −
Java is designed for the distributed environment of the internet.
·
Dynamic − Java is
considered to be more dynamic than C or C++ since it is designed to adapt to an
evolving environment. Java programs can carry extensive amount of run-time
information that can be used to verify and resolve accesses to objects on
run-time.
Web
resources
A web resource is anything that
can be obtained from
the World
Wide Web.Some examples are web pages, e-mail, information from databases ,
and web services.Web
resources have changed since the Internet was
first created. The early concept was of static (non moving) files or documents.
The meaning of the term now has a wider use to include nearly everything that
can be obtained via the Internet. Uniform
resource locators or URLs, are used to identify a
resource on the web.