+1 and +2 Computer Science

Previous Question paper answered , and Questions from Textbook

+1 and +2 Computer Application

Previous Question paper answered , and Questions from Textbook

Diploma in Computer Application (DCA)

Previous Question paper answered , and Questions from Textbook.

Master of Computer Applications (MCA)

Previous Question paper answered , and Questions from Textbook

True IQ Computer Online Academy

Contact : +91 9036433020 , mail2trueiq@gmail.com

Pageviews

Showing posts with label Web Technology. Show all posts
Showing posts with label Web Technology. Show all posts

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>

Monday, 15 July 2019

+2] 4. Web Technology - Previous questions chapter wise


PLUS TWO COMPUTER APPLICATION

(Second year +2 Computer Application / Computer Science , 
Previous Questions and Answers)

Chapter  4. Web Technology


1.The default port number of http is


(a) 20

(b) 80

(c) 110

(d) 53 .      

 Ans. b

2. Write HTML tag to set the colour of hyperlink to red .


(a) <A colour=”red” >

(b) <A colour=”FF0000” >

(c) <BODY LINK=”Red” >

(c)<BODY ALINK=”Red” > 

Ans. b

3. A webpage is created to display the result of engineering entrance examination. 
(a)What type of webpage it is ? 

(b) Mention any two features of it. 

Ans. a) Dynamic web page

         b) The content and layout may change during run time.Database is used to generate dynamic                 content through queries.

4. ……….. tag is used to make the size of the text smaller than current text  in HTML. 

(a) <b>

 (b) <small>

 (c) <sub>

 (d) <sup> . 

Ans. b

5. Compare client side scripting and server side scripting.

 
 Client side scripting                                                               Server side scripting

Script is copied to the client browser.                                
                                                                                            Script is executed in the web server and the                                                                                               web page produced is returned to the client  Script is executed in the client browser.                                browser
                                                                                                Server side scripts are usually used to         Client side scripts are mainly used for                                   databases and return data connect to       
validation of data at the client.                                                  from the web server.                                                                                                                                                                                                                                                                                                                                                                        Users can block client side scripting.                                    Server side scripting cannot be blocked                                                                                                        by  a user                                                                                                  
The type and version of the web browser                               The features of the web browser does not    affects the working of a client side script.                       affect the working of server side script
                                                                                                                                                                                                                                                                                                                                        6.  DNS stands for ………. 

    Domain name system.

9.  … …. … is a server that act as a bridge between merchant server and bank server.      

10.  Compare client side scripting and server side scripting languages. 

Client side scripting cannot be used to connect to the databases on the web server. ... Response from a client-side script is faster as compared to a server-side script because the scripts are processed on the local computer.  Examples of Server side scripting languages : PHP, JSP, ASP, ASP.Net, Ruby, Perl n many more.

11. What are the difference between static and dynamic web pages?
     
Static web page:

The content and layout of a web page is fixed. . Static web pages never use databases. Static web pages directly run on the browser and do not require any server side application program.  Static web pages are easy to develop.

Dynamic web page:
  
 The content and layout may change during run time.Database is used to generate dynamic content through queries. Dynamic web page runs on the server side application program and displays the results. Dynamic web page development  requires programming skills.  

12.   Name any two client side scripting languages.

          Java script and VB script.

13.  What do you mean by container tag in HTML?Give examples.
        Tags that require opening tag as well as closing tag are known as container tags .

Eg. <HTML>
         <HEAD>

14. a)  Name the tag used to create HyperLink.

      b) Write HTML code to show the page "Address.HTML" by clicking on the text "Address".

Ans. a) <a> tag
    
     b) To illustrate <ADDRESS> tag

<HTML>
 <HEAD> 
<TITLE> Address tag </TITLE> 
</HEAD> 
<BODY Bgcolor= "#DDA0DD">

The contact details of the "SCERT" is the following:
 <ADDRESS> State Council of Educational Research and Training (SCERT),<BR> 
Poojappura,<BR>
 Thiruvananthapuram,<BR>
 PIN: 695012, KERALA.<BR> 
Tel : 0471 - 2341883
 </ADDRESS>
 </BODY> 
</HTML>

15.  Name the two attributes of the following tags.

a)< HTML>

b) <FONT>

c) <MARQUEE>

Ans. a) The main attributes of the tag are Dir and Lang.

        b) 1. Color : This attribute sets the text colour 
           2. Face : This attribute specifies the font style. 
          
          c)  1.Behaviour : This specifies the type of scrolling of the marquee. Values: scroll, slide, alternate.etc. 
               2. Scrolldelay : This specifies time delay between each jump.