Screenshot 2023-08-20 at 7.39.31 PM
Screenshot 2023-08-20 at 7.39.31 PM
4. WEB TECHNOLOGY
1. ---- --- -- protocol helps e-mail communication.
Simple Mail Transfer Protocol( SMTP )
4. The social media websites developed their own protocol for communicating
over the Internet. How is this possible when Internet uses TCP/IP protocol?
5. The data to be sent through internet is broken down into small data
packets by -- ---
TCP
internet.
Routers
using internet
IP( Internet Protocol)
HTTPS (Hyper Text Transfer Protocol Secure) works using Secure Sockets
Layer (SSL) which provides a standard security technology for establishing an
encrypted connection between computers on Internet.
7. The user name and password of an e-mail account has to be sent securely
over the Internet.
B). HTTPS works using Secure Sockets Layer (SSL) which provides a standard
security technology for establishing an encrypted connection between computers on
Internet. When the browser requests for a secure web page, the server first returns
its SSL certificate.
Browser check its validity with certification authority . If it is valid the
encrypted data transmission starts.
A web server enables us to deliver web pages or services like e-mail, blog, etc.
to users on the Internet.
A web server can have single or multiple processors, fast access RAM, high
performance hard disks, Ethernet cards that supports fast communication. A server
operating system like openSUSE, Microsoft Windows Server, FreeBSD, Oracle
Solaris, etc is installed and a web server software like Apache Server, Microsoft
Internet Information Server (IIS), Google Web Server (GWS) , nginx .
11. What are software ports? How they differ from hardware port?
A software port is used to connect a client computer to a server to access its
services like HTTP, FTP, SMTP, etc. To distinguish the ports, the software ports are
given unique numbers
Eg. http://google.co.in:80
12. What are the soft ware port used for following
a). HTTP b). FTP c). SMTP d). DNS
13. What are the steps followed when we give a URL in web browser?
Or
Suppose you are browsing the website www.prdkerala.org. Explain how the
DNS resolves the IP
address.
a). The browser first searches its local cache memory to search whether its IP
address is in the recently visited list
b). If it is not found it check the operating system’s local cache for IP address
c). If it is not found there, it searches the DNS server of the local ISP.
d). If IP address is not there , the ISP’s DNS server initiate search for IP address
starts from root server.
e). After finding the IP address, The ISP's DNS server returns this to the
browser.(If it is not found , a Page not found message displayed on browser)
f). The browser connects to the web server using the IP address of
www.prdkerala.org and the webpage is displayed in the browser window
If there is a local DNS server in an intranet, the IP address of the servers can be
easily get by searching in this DNS server. No need to search outside.
19. What are the difference between static and dynamic web pages?
Scripts are program codes written inside HTML pages Scripting languages
like JavaScript, VB
script, PHP etc are used for it.
21. What is the difference between client and server side scripting ?
Client side scripting is used to perform any task at the client side and is
executed in the
browser.
It is used for validation user end. User can block it. Also the client side
browser affects it.
Server side scripts are executed in the server. The output of the execution
sent to the client
in the form of an HTML page .
The server side scripting is used to connect database etc. The user can’t
block it. The Client
side browser does not affect it
22. If you forgot to type user name /password in e-mail login page, error
quickly displayed. But if the password is wrong response time may be more.
Explain.
a). JavaScript is a client side scripting language which works in almost every
web browser is developed by Brendan Eich. JavaScript can be inserted inside HTML
code or can be written as an external file(with extension .js) and then included
inside HTML file. It can used for validation, simple calculations etc. With the help
of AJAX it can refresh necessary fields without refreshing whole web page.
the entire page. It reduces data transfer. Ajax works only if the browser is able to
handling Javascript.
Java Server Pages (JSP) is a server side scripting language uses Java as
programming language developed by Sun Microsystems. To run JSP, Apache
Tomcat web server is required. The result of execution is an HTML page which is
send to client browser.
27. ASP files are compiled using the web server software ______.
Microsoft Internet Information Server (IIS).
28. Consider that Manoj is developing a website using PHP that uses a
database in MySQL.
a). What are the requirements to implement this if he is using Linux web
hosting?
b). What will be the difference if we use Windows?
a). LAMP ( Linux for Operating System, Apache for web server, MySQL for
database and PHP)
b). WAMP ( Windows for Operating System, Apache for web server, MySQL for
database and PHP)
Cascading Style Sheets (CSS) is a style sheet language used for describing
the formatting of a document written in HTML like font, line spacing border,
background etc We can reuse the same code for all the pages.. allows adapting a
web page to devices with different screen sizes such as desktop monitors, tablets or
mobiles. This also reduces the size of the web page thereby providing faster
downloads for web pages. It is also a part of HTML 5.
30. Embedded CSS codes are placed within the ----- -- part of the HTML
document.
<HEAD>
Tags that require opening tag as well as closing tag are known as container tags
Eg.<HTML>
Tags do not require closing tag are known as empty tags
Eg. <BR>
The main attributes of the <HTML> tag are Dir and Lang.
The Dir attribute specifies the direction of the text to be displayed on the web
page. Its values
are ltr (left-to-right) or rtl (right-to-left).
The Lang attribute specifies the language used within the document.
Eg. <HTML Dir = "rtl" Lang = "en">
38. What are the methods to specify value of color attribute in HTML?
Or
Every web browser has default colors to display text and hyperlink. How
can
we change these default color
Link : It specifies the colour of the hyperlinks that are not visited . The
default colour is blue.
Alink : It specifies the colour of the active hyperlink( the moment the mouse is
clicked on it). The
default colour is green.
Vlink : It specifies the colour of the hyperlink which is already visited. The
default colour is
purple.
The <BR> tag is used to creates a line break within the text in a web page. It
is an empty tag.
The <HR> tag produces a horizontal line spread across the width of the
browser window.
The size (thickness) and width (length) of the line using its attributes Size
and Width.
Eg. 1<HR Width= "50%" Align= "center">
<HR> Tag
a). <Q> : <Q> tag (Quote tag) is used for short quotations
(quotations that do not require paragraph breaks) enclosed in double quotation
marks with an indent.
b). <BLOCKQUOTE> : <BLOCKQUOTE> is used to indent for long
quotations
c). <PRE> :
d). <ADDRESS> :
e). <DIV> : The <DIV> tag is used for defining a section or a block in
the document. We can group large sections together and format them. The
attributes of <DIV> tag are:
a). Align : sets the horizontal alignment with values left, right, center
b). Id : assigns a unique identifier for the tag
c). Style : indicates of colour, font, etc.
HTML comments are placed within <!-- --> tag. Comments will be completely
ignored by the browser and are not displayed in the browser window.
50. How can we insert a picture in HTML ? What are the attributes of the
tag?
Width and Height attributes are used for setting the size of the picture.
Vspace and Hspace, attributes for giving vertical spacing and horizontal
spacing between the images in the web page.
a). IIS b). openSUSE b). GWS c). Bluefish e) FreeBSD,e) Apache Server,
f). Microsoft Expression Web d) Oracle Solaris, f). Bootstrap
g). nginx h). Dreamweaver i). Redhat
Black
Ans: 80
Ans : c
3.
A webpage is created to display the result of engineering entrance examination
.
4……….. tag is used to make the size of the text smaller than current text in H
TML.
(a) <b> (b) <small> (c) <sub> (d) <sup>
Ans: b