{"id":42548,"date":"2019-06-18T09:22:15","date_gmt":"2019-06-18T09:22:15","guid":{"rendered":"https:\/\/www.aplustopper.com\/?p=42548"},"modified":"2020-11-26T10:09:20","modified_gmt":"2020-11-26T04:39:20","slug":"plus-two-computer-science-chapter-wise-questions-answers-chapter-4","status":"publish","type":"post","link":"https:\/\/www.aplustopper.com\/plus-two-computer-science-chapter-wise-questions-answers-chapter-4\/","title":{"rendered":"Plus Two Computer Science Chapter Wise Questions and Answers Chapter 4 Web Technology"},"content":{"rendered":"
Question 1.
\nSpecify an attribute of the HTML tag.
\nAnswer:
\nDIR: Indicates documents direction. It can take values rtl or ltr.
\nEg. <HTML DIR= \u201crtl”> This specify that document is to read from right to left.<\/p>\n
Question 2.
\nMention the default value of size attribute of <BASEFONT> tag.
\nAnswer:
\n3.<\/p>\n
Question 3.
\nName the tag which has \u2018Noshade\u2019 attribute.
\nAnswer:
\n<HR>Tag<\/p>\n
Question 4.
\nMaximum possible value of the size attribute of the <BASEFONT>tag?
\nAnswer:
\n7.<\/p>\n
Question 5.
\nSalim developed a personal website. In which he has to create an e-mail link. Can you suggest the protocol used to achieve this task?
\nAnswer:
\nMailto.
\nEg. <A href= \u201cMailto:cgj@rediffmail.Com\u201d >Mail to me<\/A>.<\/p>\n
Question 6.
\nYou want to connect your webpage to the web portal www.yahoo.com. Mention the tag that can be used for this.
\nAnswer:
\n<A> Anchor Tag
\nEg. <Ahref=\u201dwww. yahoo.com\u201d>Yahoo<\/A)<\/p>\n
Question 7.
\nSpecify the main attribute of <IMG> tag used to include an image file in web page.
\nAnswer:
\nSRC. It specify the name of the image file to be included in the page.
\nEg. <IMG SRC= \u201cC:\/home.Jpg”><\/p>\n
Question 8.
\nSelect the attribute associated with <IMG> tag from the following: (Name, size, Align, value)
\nAnswer:
\nAlign<\/p>\n
Question 9.
\nWrite HTML code forgiving hyperlink in webpage.
\nAnswer:
\n<A HREF= \u201cpage2.htm\u201d>Page2<\/A><\/p>\n
Question 10.
\nThe default colour of Vlink is ________
\n(a) Blue
\n(b) Green
\n(c) Red
\n(d) Yellow
\nAnswer:
\n(c) Red<\/p>\n
Question 11.
\nThedefauKcolour of A link is ________
\n(a) Blue
\n(b) Green
\n(c) Red
\n(d) Yellow Green
\nAnswer:
\n(b) Green<\/p>\n
Question 12.
\nSaritha is assigned the task of writing explanatory notes in an HTML code. Which tag she can utilize.
\nAnswer:
\nExplanatory notes can be given using <comment> tag. Using two mark up elements. as<!\u2014 and \u2192<\/p>\n
Question 13.
\nPick the odd man out.
\n(a) BODY
\n(b) HTML
\n(c) CENTER
\n(d) ALIGN
\nAnswer:
\n(d) ALIGN, all others are tag<\/p>\n
Question 14.
\nYour school has a web site, www.myschool.otg. You want to create a link to this site from your website. Write the code for implementing this.
\nAnswer:
\n<A href=”www.myschool.org\u201d>My School<\/A><\/p>\n
Question 15.
\nHTML was developed by ________
\nAnswer:
\nTim Berners-Lee<\/p>\n
Question 16.
\nWhat are the two major sections of an HTML document?
\nAnswer:
\nHead section and Body section<\/p>\n
Question 17.
\nAn HTML file is saved with _____ extension.
\n(a) .vbp
\n(b) .mdb
\n(c) .htm
\n(d) .frm
\nAnswer:
\n(c) .htm or .html<\/p>\n
Question 18.
\nThe software used to view web page is _____
\n(a) Notepad
\n(b) web browser
\n(c) Webserver
\n(d) Web Editor
\nAnswer:
\n(b) web browser<\/p>\n
Question 19.
\nThe default alignment of image in HTML is _____
\n(a) Left
\n(b) Right
\n(c) Center
\n(d) Inline with content
\nAnswer:
\n(a) Left<\/p>\n
Question 20.
\n_______ is an alternative for centralizing a paragraph other than using <P> tag
\n(a) <AUGN>
\n(b) <C>
\n(c) <CENTER>
\n(d) <CENTRE
\nAnswer:
\n(c) <CENTER><\/p>\n
Question 21.
\n______ attribute Of <A> tag specifies the URL of the hyper linked document.
\n(a) Name
\n(b) Target
\n(c) HREF
\n(d) SRC
\nAnswer:
\n(c) HREF<\/p>\n
Question 22.
\nWhat does HTML stands for?
\nAnswer:
\nHyper Text Markup Language<\/p>\n
Question 23.
\nCommunication on web can be classified into _____ and ______ .
\nAnswer:
\nClient to Server and Server to Server<\/p>\n
Question 24.
\nThe protocol which is responsible for splitting the data into smaller packets is _____
\nAnswer:
\nTCP.<\/p>\n
Question 25.
\nThe protocol which is responsible for the routing of data packets through the correct destination is _____
\nAnswer:
\nIP (Internet Protocol)<\/p>\n
Question 26.
\nTCP\/IP stands for
\nAnswer:
\nTransmission Control Protocol\/lntenet Protocal<\/p>\n
Question 27.
\nIdentify the protocol responsible for e-mail communication.
\nAnswer:
\n(a) DNS
\n(b) HTTP
\n(c) TCP\/IP
\n(d) SMTP
\nAnswer:
\n(d) SMTP<\/p>\n
Question 28.
\nIn server to server communication, authentication is done with help of _____
\n(a) HTTP
\n(b) Digital certificate
\n(c) Client
\n(d) DNS
\nAnswer:
\n(b) Digital certificate<\/p>\n
Question 29.
\nWhich server acts between merchant server and bank server for transferring data in encrypted format?
\nAnswer:
\nPayment Gateway<\/p>\n
Question 30.
\nIdentify the name of a place where servers and networking systems are placed with high security.
\n(a) Head office
\n(b) DNS
\n(c) Data centre
\n(d) IIS
\nAnswer:
\n(c) Data centre<\/p>\n
Question 31.
\nIdentify the port number which requests for the service of sending e-mail communication.
\n(a) 22
\n(b) 25
\n(c) 53
\n(d) 80
\nAnswer:
\n(b) 25<\/p>\n
Question 32.
\nThe IP address corresponding to a domain name is ______ presenting server.
\nAnswer:
\nDNS<\/p>\n
Question 33.
\nPrograms embedded in HTML documents are termed as ______
\nAnswer:
\nScripts<\/p>\n
Question 34.
\nRunning of ____ scripts can be blocked by the user
\n(a) Client side
\n(b) Server side .
\n(c) Both client side and server side.
\n(d) None of these
\nAnswer:
\n(a) Client side<\/p>\n
Question 35.
\nA platform-independent serverside scripting language is ______
\nAnswer:
\nPHP<\/p>\n
Question 36.
\nWhich among the following tools is used for easy formatting and defining style of a document written in HTML?
\n(a) Ajax
\n(b) CSS
\n(c) JSP
\n(d) JavaScript
\nAnswer:
\n(b) CSS<\/p>\n
Question 37.
\nPick the Odd one from the following list and give reason. (IMG, FONT, BR, ALIGN, PRE)
\nAnswer:
\nALIGN which is an attribute, all others are tags.<\/p>\n
Question 38.
\nChoose the correct HTML statement to display an image with file name \u201ckerala.jpg” as the background of the web page.
\n(a) <IMG src=\u201dkerala.jpg\u201d>
\n(b) <BODYbgcolor=\u201dkerala.jpg\u201d>
\n(c) <BODY src=\u201dkerala.jpg\u201d>
\n(d) <BODY background=\u201dkerala.jpg”>
\nAnswer:
\n(d) <BODYbackground=\u201dkerala.jpg\u201d><\/p>\n
Question 39.
\nTwo of the following HTML tags have same attribute \u2018Align\u2019. Identify them.
\n(<IMG>, <MARQUEE>, <B>, <P>, <BODY>)
\nAnswer:
\n<IMG> AND <P><\/p>\n
Question 40.
\nIdentify the correct HTML statement to draw a horizontal line with half the width of the screen.
\n(a) <HR width=\u201c50%\u201d size= \u201c3″>
\n(b) <HR size= \u201c50%\u201d width= \u201c3″>
\n(c) <HR length=\u201c50%\u201d size= \u201c3″>
\n(d) <HR width= \u201c50%\u201d length= \u201c3″>
\nAnswer:
\n(a) <HR width=\u201c50%\u201d size= \u201c3″><\/p>\n
Question 41.
\nA student wants to display a poem in a web page just like as he entered in the text editor. Which tag in HTML will help him?
\nAnswer:
\n<PRE>tag<\/p>\n
Question 42.
\nA student created a web page about his school. The school name is displayed in the page. He wanted to change the style, colour, and size of the school name. Identify the most appropriate tag in HTML needed for that.
\nAnswer:
\n<FONT> tag<\/p>\n
Question 1.
\nA student developed a web page about India. He wanted to display a scrolling text moving from right side to left side with a background colour blue.
\nThe text is \u201cI Love My Country”.<\/p>\n
Answer:<\/p>\n
Question 2.
\nWrite HTML statement for displaying the following text items:<\/p>\n
Answer:<\/p>\n
Question 3.
\nTwo HTML tags are given. They are <BODY> and <FONT>. Identify and write the attribute of each from the following list. (Size, Text, Link, Bgcolor, Color)
\nAnswer:
\nThe attributes of <BODY> tag are Text, Link and Bgcolor The attributes of <FONT> tag are size and color.<\/p>\n
Question 4.
\nWrite the use of Border and Alt attribute of <IMG> tag.
\nAnswer:
\nBorder: This attribute is used forgiving border to an image
\nAlt: This attribute is sued for giving an alternate text. When there is no image in the specified location or the browser doesn\u2019t support the image them this text will be displayed.<\/p>\n
Question 5.
\nWhen a client send request to a server, the server must know which service is demanded by the client.<\/p>\n
Answer:<\/p>\n
Question 6.
\nFollowing are steps for searching the IP address of a domain name by a browser. Rearrange them in proper order.<\/p>\n
Answer:
\nCorrect order is 3, 4, 1, 2<\/p>\n
Question 7.
\nCategorise the following tags into Container tags and empty tags.
\n<B>, <BR>, <A>,<FRAME>, <FRAMESET>, <LI>, <HR>
\nAnswer:
\n1. Container tags:
\n<B>, <A>,<FRAMESET><\/p>\n
2. Empty tags:
\n<BR>, <HR>, <LI>, <FRAME><\/p>\n
Question 8.
\nWrite the HTML statement to get the following output.<\/p>\n
Answer:<\/p>\n
Question 9.
\nWrite the HTML statement to get the following output.<\/p>\n
Answer:<\/p>\n
Question 10.
\nWrite HTML code to display as follows.
\nThe <IMG> tag is used for placing images
\nAnswer:
\nThe < IMG > tag is used for placing images.<\/p>\n
Question 11.
\nName some browsers.
\nAnswer:<\/p>\n
Question 12.
\nWhat is a website?
\nAnswer:
\nA website is a collection of webpages. A webpage is created by using HTML tags.<\/p>\n
Question 13.
\nWhat is the role of attributes in an HTML tag?
\nAnswer:
\nAttributes are parameters for providing additional information within a tag. Attribute values specify certain characteristics of the tag.
\nEg: <P align=\u201dright\u201d><\/p>\n
Question 14.
\nWhat is HTML?
\nAnswer:
\nHTML stands for HyperText Markup Language. It is used to create web pages. It has two types of tags empty and container. The important thing we have to remember in container tag is first opened tag must be closed last.<\/p>\n
Question 15.
\nName the main attributes of the <HR> tag.
\nAnswer:<\/p>\n
Question 16.
\nMary wants to display her name in various head-ings. Name the heading tags available in HTML.
\nAnswer:
\nHeading can be given in six levels from <H1> to <H6>.The tag <H1> produces big heading. The tag <H6> produces small heading. The heading size re\u00acduce from <H1> to <H6> sequentially.<\/p>\n
Question 17.
\nDifferentiate between <FONT> and <BASEFONT>tags
\nAnswer:
\n<BASEFONT>tag sets the normal font for the entire document text. The font specified will be taken as the default font for the entire document. The main attributes are size, face, and color. The <FONT> tag defines the font characteristics of the text enclosed. <Font> tag change the font property of the text enclosed within <Font> and <\/Font> whereas <BaseFont> tag specifies the default font characteristics.<\/p>\n
Question 18.
\nExplain the different types of hyperlinks.
\nAnswer:
\nThe two types of Hyper Links are<\/p>\n
Question 19.
\nWrite the HTML code to display the following list:<\/p>\n
Answer:
\n<html>
\n<head>
\n<title>
\nlist
\n<\/title>
\n<\/head>
\n<body bgcolor=\u201dvbcyan\u201d>
\n<ul type=\u201dcircle\u201d>
\n<li>Form
\n<li>TextBox
\n<li>Label
\n<li>CommandButton<\/ul>
\n<\/body>
\n<\/html><\/p>\n
Question 20.
\nThe body section forms the content displayed in the browser window. Briefly explain any four attributes in the BODY tag.
\nAnswer:<\/p>\n
Question 21.
\nHTML has the facility to provide External Jinks as well as Internal links.<\/p>\n
Answer:
\n1. Anchor Tag i.e. <a href=\u201dfilename\u201d><\/p>\n
2. Internal link is used to link two places of the same web page
\n<html>
\n<head>
\n<title>
\nInternal link
\n<\/title>
\n<\/head>
\n<body bgcolor=\u201dvbcyan”>
\n<a name=top href=#bottom>Goto Bottom<\/a>
\n<ul type=\u201dcircle\u201d>
\n<li>Form
\n<li>TextBox
\n<li>Label
\n<li>CommandButton
\n<\/ul>
\n<a name=bottom href=#top>Goto top<\/a>
\n<\/body>
\n<\/html><\/p>\n
Question 22.
\nCategorise the following tags in HTML and write the criterian for the categorisation.
\n<BR>, <P>, <BODY>, <B>, <HR>, <IMG>
\nAnswer:
\n1. Empty tag:
\n<BR>
\n<HR>
\n<IMG>
\n2. Container tag
\n<P>
\n<BODY>
\n<B><\/p>\n
Question 23.
\nDifferentiate empty tags and container tag with example.
\nAnswer:
\n1. Empty tags: It has opening tag only, no closing tag
\nEg; <hr>, <br> etc
\n2. Container tag: It as both opening and closing tag.
\nEg: <html> <\/html>
\n<body><\/body>etc.<\/p>\n
Question 24.
\nWrite True or False<\/p>\n
Answer:<\/p>\n
Question 1.
\nWrite and explain any four text formatting tags in HTML.
\nAnswer:
\nText formatting tags are given below.<\/p>\n
Question 2.
\nMatch the following.
\n
\nAnswer:
\nCorrect match as given below<\/p>\n
Question 3.
\nBriefly explain the use of tags <Q>, <PRE> and <ADDRESS> tags.
\nAnswer:<\/p>\n
Question 4.
\nWrite a HTML code to develop a web page about Kerala state as shown below:
\n
\nThe specifications for the page are:<\/p>\n
Answer:
\n<HTML>
\n<HEAD>
\n<TITLE>Kerala State<\/TITLE>
\n<\/HEAD>
\n<BODY bgcolor = \u201cblue”>
\n<center> <H1> kerala state <\/H1 >
\n<I><H2> <br> God\u2019s own country <\/H2><\/l> <\/center>
\n<img src = \u201ctree.jpg\u201d align = \u201cmiddle\u201d>
\n<br>
\nCapital: Thimvanthapuram <\/BODY>
\n<\/HTML><\/p>\n
Question 5.
\nPHP is a popular scripting language.<\/p>\n
Answer:<\/p>\n
Question 6.
\nHow client side scripting differs from server side scripting?
\nAnswer:
\nFollowing are the differences<\/p>\n
Client-Side Scripting<\/td>\n | Server Side Scripting<\/td>\n<\/tr>\n | ||||||||||
Script is copied to client browser<\/td>\n | To the webserver.<\/td>\n<\/tr>\n | ||||||||||
Executed by the client.<\/td>\n | Executed by the server and result gets back to the browser window<\/td>\n<\/tr>\n | ||||||||||
Used for Client level validation<\/td>\n | Connect to the database in the server<\/td>\n<\/tr>\n | ||||||||||
It is possible to block by the user<\/td>\n | Cannot possible<\/td>\n<\/tr>\n | ||||||||||
Client-side scripts depend on the type and version of the browser<\/td>\n | It does not depend on the type and version of the browser<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n Question 7. 2. Web server to web server communication: Question 8.
|