Pageviews

Wednesday 17 July 2019

+2] 4. Web Technology - solved questions from text book


                               Chapter 4. Web Technology

(+2 Computer Application / Computer Science , 
Text book Questions and Answers)


1.  Name a protocol that works on top of the Internet Protocol (IP).


2. Expand HTTPS. 

Ans. Hyper text transfer protocol secure.

3. What are the advantages of installing web servers in data centers? 

A web server is a powerful computer which is always switched on and connected to a high bandwidth Internet connection.This will facilitate Internet users around the world to access the websites and services hosted by it at any point of time. Depending on the requirements, a web server can have single or multiple processors, fast access RAM, high performance hard disks, Ethernet cards that supports fast communication, etc. To ensure faster Internet connectivity and redundant power supply, a web server is usually installed in a data center. Data centers are used for storing, processing and serving large amounts of mission-critical data to their clients. A data center requires extensive backup power supply systems, cooling systems, high speed networking connections and security systems.

4. State whether true or false.

 a. The web server software works based on a client-server model.
 b. The web server consists of server operating system and web server software.

 5. The number of bits in a software port number is _____.

 a. 8

 b. 16

 c. 32 

d. 64

Ans b

 6. A Domain Name System returns the ___________ of a domain name.

Ans. IP address

7.  The web pages that remain the same until their code is changed manually are called ______.

Ans. Static webpages

 8.  Name two technologies that can be used to develop dynamic web pages. 

Technologies like PHP, ASP , JSP , etc. are used to develop dynamic web pages. 

9.  The tag used to embed scripts is ______.

Ans  <script>

 10. Write any one of the uses of client side scripting. 

 Client side scripting is mostly used for validations and also for performing simple calculations at the client side before sending the data to the web server. 

11. A JavaScript file has the extension ______. 

Ans .js file

12. What is the advantage of using Ajax? 

Ajax improves the interactivity of the browsers. Ajax is Asynchronous JavaScript and Extensible Markup Language (XML). XML is a markup language which helps users to create new tags. After implementing Ajax on a website, it does not require the entire page to be reloaded for displaying dynamic content on web pages. Ajax allows web pages to be updated by exchanging small amounts of data between the client and the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the entire web page. 


13. Classify the following scripting languages into client side and server side. Javascript, PHP, ASP, 
VBScript 

Ans. Client side scripting languages: -JAvascript,VB script
           Server side scripting languages:- PHP,ASP

14.  .asp files are compiled using the web server software ______. 

Ans. Microsoft's web server software, Internet Information Server (IIS). 

15.. List the different ways of implementing CSS.

  •  In inline style, the CSS style is applied to each tag separately using the style attribute in the body part of the web page.
  •   Embedded CSS codes are placed within the <HEAD> part of the web page. 
  •  Linked CSS implementation is done using an external file with the file extension .css that contains only CSS code and is linked with the web page. 
16.  HTML stands for _______.

Ans. Hper text markup language

 17. What is a container tag? 

Most tags are used in pairs - an opening tag and a closing tag. 
 For example <HTML> is the opening tag and </HTML> is the closing tag.

18. The type of tag that requires only a starting tag but not an ending tag is called  ______.

Ans. Empty tag

 19. State true or false

 a. Tags are case sensitive. --False

b. Bgcolor is an attribute of  <BODY> tag. ---True

c. <TITLE> tag is an empty tag. ---False

d. Dir is an attribute of <HEAD> tag. ---False

20. Name the  attributes of <HTML> tag. 

Ans. Dir,Lang

21. What is the use of attributes in a tag? 

Certain parameters are frequently included within the opening tag to provide additional information such as colour, measurement, location, alignment or other appearances to the web browser. These parameters are called attributes. Most of the attributes require a value.

22. List the different attributes of <BODY> tag.

Ans. Bgcolor,Text,TOPMargin,LeftMargin

23.  How are special characters represented in HTML?

 24. Face attribute is used with ______ tag.

 Ans.<FONT>

 25. List the attributes of <FONT> tag.

Ans.Face,Color,Size

 26. What is the use of <PRE> tag? 

Suppose we want to display the content as we entered in the text editor. The <PRE> tag can facilitate this purpose. Normally the browser delimitted the white spaces, new line characters, the tab spaces, etc. Therfore, we can turn off the automatic formatting applied by the browser with the help of <PRE> tag. This  tag tells the browser that the enclosed text is preformatted and should not be reformatted again; i.e., it tells the browser to display the text exactly in its original form.

27. For scrolling a text, we use _______ tag.

Ans. <MARQUEE>

 28. What are the main attributes of <MARQUEE> tag?

Ans. Height,Width,Direction,Behavior,Bgcolor,Hspace,Vspace 

 29. What is the use of <ADDRESS> tag?

The <ADDRESS> tag defines the contact information for the author/owner of a document or an article. The content of this tag can include name, phone numbers, PIN numbers, e-mail addresses, etc. Most of the browsers display the texts in italics.

30. What is the normal font size in <FONT> tag?

Ans.Normal size is 3

 31. Name the main attributes of <DIV> tag.

Ans.Align,ID,Style

32. Name some of the text formatting tags. 

Ans. <U>,<I>,<B>,<SMALL>,<BIG>,<Strong>

33. List the different attributes of <HR> tag. 

   Ans. Size and Width

34. How many levels of heading tags are available in HTML? 

Ans. <H1>, <H2>, <H3>, <H4>, <H5> and <H6> - Heading tags 

35. Write an HTML code segment to display x3+y3. 

36. State True or False. 

a. <BR> tag is an empty tag. --------True
b. <EM> and <I> tags have same usage in HTML document. ---------True
c. <U> and <I> tags are not allowed to be used together. -----False

37. What is the use of <STRONG> tag? 

The <STRONG> tag is a phrase tag. It defines an important text. The <STRONG> text is usually rendered in bold face. It is just the same as <B> tag. The strong element is used to emphasize a phrase of text content.

38. Which tag performs the same function as that of <STRONG> tag?

Ans. <B>

 39. Pick the odd one out from the following:

 a. HTML

 b. ALIGN

 c.  HEAD 

d.  CENTER 

Ans. b

40. To insert images in an HTML document _______ tag is used. 

Ans <IMG>

41. _______ is the main attribute of <IMG> tag. 

Ans. Src

42. What is the use of Alt attribute of <IMG> tag?

 HTML provides the attribute Alt to specify an alternate text for an image, if the browser cannot display the image

 43. Name the attributes that are used to display an image in a particular size.

Ans. Width,Height,Vspace and Hspace

 44. Which are the attributes that provides horizontal and vertical spaces between two images?

Ans. Vspace and Hspace

45.  Who developed HTML?

Ans. Tim Berners Lee

46. In HTML, there are mainly two sections. Can you name them? 

Html Tags and Html Documents

47. Compare container and empty tags in HTML with examples. 

Most tags are used in pairs - an opening tag and a closing tag.  For example <HTML> is the opening tag and </HTML> is the closing tag. Note that the closing tag has the same text as the opening tag, but has an additional forward slash (/) character after the first angle bracket. Tags that require opening tag as well as closing tag are known as container tags. 

                           Some tags are given an exemption to this rule, and these tags do not require closing tag. Such tags are known as empty tags. This kind of tag does not span over a section.  The tags <BR>, <HR>, <IMG>, etc. are examples of empty tags

48. The default colour of the attribute Alink is __________. 

Ans. Green

49. The default color of the attribute Vlink is  ________.

Ans. Purple

50. Name the tag which has Noshade attribute.

Ans. <HR>