Upload
libin-manneth
View
217
Download
0
Embed Size (px)
Citation preview
7/28/2019 Computer Applications and HTML
1/35
INSTITUTE OF INNOVATION IN TECHNOLOGY &
MANAGEMENT
COMPUTER APPLICATION-II PRACTICAL FILE
SUBMITTED TO; SUBMITTED BY;
MR. ANKIT DHAMIJA M. GEORGE ABRAHAMASSISTANT PROFESSOR (IT) BBA-IV (E1)
ENROLMENT NO.
05924401710
7/28/2019 Computer Applications and HTML
2/35
ASSIGNMENT-1
7/28/2019 Computer Applications and HTML
3/35
Q.1. Give a brief introduction to Web Browser.
Ans:
A web browser is an application software that helps user to view and navigate the WebPages on internet. In
order to view a website, we type its URL into the address bar of the web browser and the homepage of that
website is downloaded to you.
Browsers have a bookmark or favorites feature that lets you store references to your favorite websites. Instead
of having to type the URL again and again, you select the bookmark.
Popular web browsers are Netscape Navigator, Internet Explorer, Mozilla Firefox, Google Chrome, Safari
Opera etc.
Title Bar
Menu Bar
Address Bar
Document
Area
7/28/2019 Computer Applications and HTML
4/35
Q.2. Write the demo of using Search Engine.
Ans:
Search Engine:
A search engine is a program that search documents for specified keywords and returns a list of documents
where the keywords were found. Without the search engine, it would be impossible to locate anything on the
web without knowing a specific URL. Some examples of search engine are Google, Yahoo, Rediff, BING,
MSN, AOL, Excite, LYCOS, MAMMA.COM etc.
Working of a Search Engine:
1) A search engine works by sending out a spider to fetch as many documents as possible.2)
Then the indexer reads these documents and creates an index based on the words contained in eachdocument.
3) These indexes are huge databases of information that is collected, stored and subsequently checked.Searching Techniques:
1) Identify Keywords: Break down the search key into various keywords. 2) Boolean AND: Connecting the search terms with AND, tells the search engine to retrieve WebPages
containing all the keywords. E.g. FCC AND Wireless AND Communication.
The search engine will retrieve those pages in which all three keywords are present.
3) Boolean OR: Connecting the search terms with OR, tells the search engine to retrieve WebPagescontaining any one of the keywords. E.g. FCC OR Wireless OR Communication.
The search engine will retrieve those pages in which any one of the three keywords are present.
4) Boolean AND NOT: It tells the search engine to retrieve web pages containing one keyword and not theother. E.g. Dolphins AND NOT Miami.
5) Phrase Searching: Surrounding a group of words with double-quotes tells the search engine to onlyretrieve documents in which those words appear side by side. E.g. John F. Kennedy.
7/28/2019 Computer Applications and HTML
5/35
7/28/2019 Computer Applications and HTML
6/35
Q.3. Demonstrate how to create and execute different site.
Ans:
CREATING A WEB PAGE USING HTML
Creating a HTML page is very easy. To create a HTML page, we need two things:
A Text Editor A Web Browser
A Text Editor can be a Notepad and a Web Browser can be Microsoft Internet Explorer.
STEPS FOR EXECUTING A WEB PAGE
The following are the steps for executing a web page:
1) Open Notepad and write the HTML code.2) Click File Save As. A dialog box will open.3) Give the file name and a .htm extension. For e.g. abc.htm4) Click Save or OK button. Your first HTML page is created.
To view the page, double-click the page where it is saved. It will be opened in your web
browser(Internet Explorer).
7/28/2019 Computer Applications and HTML
7/35
Q.4. Create a web page which display a message This is my First web page, using different level of
headings.
Ans:
STEPS
1. Open Notepad.2. Write the HTML coding which is given below.3. Save the page by choosing File Save As. E.g. First.htm
CODING
my first web page
This is my First web page
This is my First web page
This is my First web page
This is my First web page
This is my First web page
This is my First web page
7/28/2019 Computer Applications and HTML
8/35
OUTPUT
7/28/2019 Computer Applications and HTML
9/35
ASSIGNMENT-2
7/28/2019 Computer Applications and HTML
10/35
Q.1. Write a HTML code to display the different paragraphs with different alignments.
Ans:
CODING
Architecture of Client and Server
Client-Server Architecture
Paragraph-1
Client Server Architecture is the one which separates the client from the server.
A client is the one which requests for services and serverv is the one who provides those services.
There are mainly two types of softwares which are needed for Client Server Architecture. The software
to work on client machine is called client software and the software to work on the server is called
server software.
Paragraph-2
The client uses his browser to specify his request for a particular resource on
the server. The request goes through the Internet and will reach the server, who in turn will look for
that specific resource for which the client has requested.
Paragraph-3
When that specific resource is being identified, the server sends back the desired
resource to the client. The client's browser will display that result in a formatted way. The client
system must be capable enough to support the presentation requirements of the appliocation.
7/28/2019 Computer Applications and HTML
11/35
OUTPUT
7/28/2019 Computer Applications and HTML
12/35
Q.2. Write a HTML code to display your syllabus. Use at least three Container tags and empty tags.
Ans:
CODING
Syllabus of Various Subjects
Syllabus
COMPUTER APPLICATIONS-II
Introduction to World Wide Web
Hyper Text Markup Language
MARKETING RESEARCH
Introduction to Marketing
Marketing Functions
Essential Elements of a Good Market
7/28/2019 Computer Applications and HTML
13/35
OUTPUT
7/28/2019 Computer Applications and HTML
14/35
Q.3. Write a HTML code to print the quadratic equation as follows:
In mathematics, a quadratic equation is a polynomial equation of the second degree. The general form is
ax + bx + c = 0
where a 0. (For if a = 0, the equation becomes a linear equation)
Ans:
CODING
Mathematics
Quadratic Equations
In mathematics, a quadratic equation is a polynomial equation of the
second degree. The general form is
ax2 + bx + c = 0
where a 0. (For if a = 0, the equation becomes a linear equation)
7/28/2019 Computer Applications and HTML
15/35
OUTPUT
7/28/2019 Computer Applications and HTML
16/35
7/28/2019 Computer Applications and HTML
17/35
ASSIGNMENT-5
7/28/2019 Computer Applications and HTML
18/35
Q.1. Write a HTML code to produce the following output:
Fruits & Vegetables
C. Vegetables
Onion Potato
D. Fruits
Mango Grapes
Ans:
CODING
Market
Items Available in a Market
Fruits & Vegetables
Vegetables
Onion
Potato
Fruits
Mango
7/28/2019 Computer Applications and HTML
19/35
Grapes
OUTPUT
7/28/2019 Computer Applications and HTML
20/35
Q.2. Write HTML code for the following list:
Newspaper5. Times of India
6. Hindustan Times
7. Navbharat Times
Magazines(i) The Week(ii) India Today
Ans:
CODING
Reports
Newspapers and Magazines
Newspaper
Times of India
Hindustan Times
Navbharat Times
Magazines
The Week
India Today
7/28/2019 Computer Applications and HTML
21/35
OUTPUT
7/28/2019 Computer Applications and HTML
22/35
ASSIGNMENT-4
7/28/2019 Computer Applications and HTML
23/35
Q.1. Write a HTML code to display the information about your house using ordered lists.
Ans:
CODING
Home
Information About My House
Rooms
Sitting Hall
Dining Room
Bedrooms
Parent's Bedroom
My Bedroom
Kitchen
Balcony
Bathroom
Family Members
Father
Mother
7/28/2019 Computer Applications and HTML
24/35
Sister
Myself
Colour of the Rooms
White in Balcony and Bathroom
Yellow in other rooms
7/28/2019 Computer Applications and HTML
25/35
OUTPUT
7/28/2019 Computer Applications and HTML
26/35
Q.2. Write HTML code to display the name of planets using different type of unordered lists.
Ans:
CODING
Home
Nine Planets in the Universe
First Three
Mercury
Venus
Earth
Middle Three
Mars
Jupiter
Saturn
Last Three
Uranus
Neptune
Pluto
7/28/2019 Computer Applications and HTML
27/35
OUTPUT
7/28/2019 Computer Applications and HTML
28/35
ASSIGNMENT-3
7/28/2019 Computer Applications and HTML
29/35
Q.1. Write a HTML code which display the following expression.Put the heading as Chemical
Equation.
4HPO=3HPO+PH
and other expression as
Pnew = Pold + x -
Ans:
CODING
Equations
Chemical Equation
4H3PO3=3H3PO4+PH3
Pnew=Pold+x2-yacosx
7/28/2019 Computer Applications and HTML
30/35
OUTPUT
7/28/2019 Computer Applications and HTML
31/35
Q.2. Create a web page describing you. Use to display address, for sub headings tag
and use Tag wherever you are using numbers.
Ans:
CODING
Description About Myself
About Myself
I N T R O D U C T I O N
M.George Abraham.I am a person belonging to a middle-class family background.
A D D R E S S
471 Type - III,
AyurVigyan Nagar,
New Delhi - 110049
E D U C A T I O N A L Q U A L I F I C A T I O N
I have done my Xth and XIIth from St.Paul's School which is
located at Hauz Khas, New Delhi.
Presently I am doing my BBA course from Institute of Innovation in Technology and Management,
Janakpuri.
7/28/2019 Computer Applications and HTML
32/35
M Y H O B B I E S
My main hobbies are watching television and playing basketball and badminton with my sister. I also
spent my time in reading newspaper.
OUTPUT
7/28/2019 Computer Applications and HTML
33/35
Q.3. Create a web page describing your friend, where default font size should be 6 and Friend Name
should be moving from left or right. Assign a suitable background color and text color.
Ans:
CODING
Description About Friend
Description About Friend
My friend's name is Pradhuman Singh.Pradhuman Singh.
He lives in a place called Rattanthal in Revadi District, Haryana.His main hobbies are reading newspaper
& chatting with friends. He has two brothers and one sister. His the youngest among his family.
He is a very polite person and a hard worker. He helps all his friends in critical
situation.
7/28/2019 Computer Applications and HTML
34/35
OUTPUT
Background color is
red.
Default font size is
6.
Here marquee is
applied and font size
is 10.
Here the font size is
12.
7/28/2019 Computer Applications and HTML
35/35