html css javascript mcq

13
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR 1. Which organization defines the Web Standards? a. Microsoft Corporation b. IBM Corporation c. World Wide Web Consortium d. Apple Inc. 2. Whichg of the following is used to create web pages? a. HTML b. C c. JVM d. DTD 3. HTML is considered as ___ language a. Programming Langauge b. OOP Language c. High Level Language d. Markup Language 4. HTML language is a set of markup ___ a. Attributes b. Tags c. Sets d. Groups 5. HTML tags are used to describe document ____ a. Definition b. Language c. Content d. None of these 6. HTML document can contain a. Attributes b. Tags c. Plain text d. All of these 7. Page designed in HTML is called a a. Yellow Page b. Web Page c. Server Page d. Front Page 8. We can write HTML code using ____. Select appropriate option(s). a. VLC Media b. Notepad++ c. Microsoft PowerPoint d. None of these 9. HTML document is saved using ____ extension. a. .htl b. .html c. .hml d. .htnl 10. The software that can read and render HTML documents is a. Server b. Compiler c. Interpreter d. Browser 11. PCs running Windows 3.x will have ____extension for html pages a. .htl b. .html c. .htm d. .hml 12. Which of the following is not an example of browser? a. Netscape Navigator b. Microsoft Bing c. Mozilla Firefox d. Opera 13. Who is the primary author of HTML? a. Brendan Eich b. Tim Berners-Lee c. Web Programmer d. Google Inc 14. HTML was first proposed in year ___. a. 1980 b. 1990 c. 1995 d. 2000 15. HTML tags are surrounded by ___ brackets a. Angle b. Square c. Round d. Curly

Upload: waheed-anwer

Post on 21-Feb-2016

148 views

Category:

Documents


13 download

DESCRIPTION

mcq of html css and javascript

TRANSCRIPT

Page 1: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

1. Which organization defines the Web Standards?a. Microsoft Corporationb. IBM Corporationc. World Wide Web Consortiumd. Apple Inc.

2. Whichg of the following is used to create web pages?a. HTMLb. Cc. JVMd. DTD

3. HTML is considered as ___ languagea. Programming Langaugeb. OOP Languagec. High Level Languaged. Markup Language

4. HTML language is a set of markup ___a. Attributesb. Tagsc. Setsd. Groups

5. HTML tags are used to describe document ____a. Definitionb. Languagec. Contentd. None of these

6. HTML document can containa. Attributesb. Tagsc. Plain textd. All of these

7. Page designed in HTML is called aa. Yellow Pageb. Web Pagec. Server Paged. Front Page

8. We can write HTML code using ____. Select appropriate option(s).a. VLC Mediab. Notepad++c. Microsoft PowerPointd. None of these

9. HTML document is saved using ____ extension.a. .htlb. .htmlc. .hmld. .htnl

10. The software that can read and render HTML documents is

a. Serverb. Compilerc. Interpreterd. Browser

11. PCs running Windows 3.x will have ____extension for html pagesa. .htlb. .htmlc. .htmd. .hml

12. Which of the following is not an example of browser?a. Netscape Navigatorb. Microsoft Bingc. Mozilla Firefoxd. Opera

13. Who is the primary author of HTML?a. Brendan Eichb. Tim Berners-Leec. Web Programmerd. Google Inc

14. HTML was first proposed in year ___.a. 1980b. 1990c. 1995d. 2000

15. HTML tags are surrounded by ___ bracketsa. Angleb. Squarec. Roundd. Curly

16. Opening tag of HTML is calleda. Ending tagb. Starting tagc. Closed tagd. Pair tags

17. HTML document contain one root tag called ____a. HEADb. Titlec. Bodyd. HTML

18. Basic fundamental block is called as ___a. HTML tagb. HTML bodyc. HTML Attributed. HTML Element

Page 2: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

19. Is it possible to insert a table within another table?a. Yes, but there must be exactly 2 rows and 2 columns in first table.b. Yes, table can be inserted into cell of another table.c. Yes, but there must be no border in second table.d. No, it’s not possible.

20. What is the usage of alt value in <img> tag?a. Alternative text for an Imageb. Alternative source of an Imagec. Caption of an Imaged. All of above

21. Which of the following is the correct regarding meta tag in HTML?A.<meta> … </meta>B.<meta name = ” ” />C.<metadata> … </metadata>D. <metadata name = ” ” />

22. Which of the following is correct to set “Black” color as Background of page?A.bgcolor = “#000000″>B.<body background = “#000000″>C.<body Background color = “#000000″>D. All of Above

23. Which of the following is correct to align H1 tag to Right AlignmentA.<h1 align = “right”> …B.<h1 alignment = “right”> …C.<h1 tag align = “right”> … </h1>D. H1 cannot make Right Alignment

24. Which of the following is correct to change font face in Web PageA.<font = “font name”> …B.<font name = “font name”> … </font>C.<font face = “font name”> … </font>D. Font Face cannot change

25. Which of the following is incorrect regarding Logical styles?A.Code looks like teletypeB.Sample looks like teletypeC.Keyboard looks like teletypeD. Variable looks like teletype

26. Which of the following is correct character entities for “Copyright” symbol?A.&#149;B.&#159;C.&#169;D. &#179;

27. Which tag is used to display Preformatted texts?A.<pre> … </ pre>B.<prefor> … </ prefor>

C.<pre text> … </ pre text>D. <pre format> … </ pre format>

28. Which is the correct to create an Arabic numeral listA.<ul type=”1″>B.<ol type=”1″>C.<il type=”1″>D. <li type=”1″>

29. How to add alternative text for an Image?A.<img src = “http://www.mcqsets.com/brand.png” alternate = “Brand of website” />B.<img src = “http://www.mcqsets.com/brand.png” alt text = “Brand of website” />C. src = “http://www.mcqsets.com/brand.png” alternate text = “Brand of website” />D. <img src = “http://www.mcqsets.com/brand.png” alt = “Brand of website” />

30. How to embedded Audio Files in HTML?A. <embed src = “song.mid” width = “10” height = “15”>B.<embed sound = “mysong.mid” width = “100” height = “15”>C.<embed audio = “mysong.mid” width = “100” height = “15”>D. <embed music = “mysong.mid” width = “100” height = “15”>

31. In HTML, Uniform Resource Locator (URL) is used toa. To create a frame document .b. To create a image map in the webpage.c. To customize the image in the webpage.d. To identify a name or a resource on the internet.

32. CSS is an acronym fora. Cascading Style Sheetb. Costume Style Sheetc. Cascading System Styled. None of the Above

33. Which of the following protocol is not used in the Interneta. Telnetb. WIRLc. HTTPd. Gopher

34. Who invented World Wide Web (WWW)?a. Blaise Pascalb. Charles Babbagec. Herman Hollerithd. Tim Berners-Lee

35. What is the use of Web Font in HTML ?a. that is the core font that is use to develop Web Pages.b. that enables to use fonts over the Web without installation.c. that is the special font that developed by Microsoft Corp.d. All of the Above.

Page 3: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

36. What is <tt> tag in HTML?a. It renders fonts as teletype text font style.b. It renders fonts as truetype text font style.c. It renders fonts as truncate text font style.d. None of the Above.

37. What is the use of Forms in HTML?a. to display contents of email.b. to display animation effect.c. to collect user’s input.d. None of the Above.

38. What is the use of iframe in HTML?a. to display a web page within a web page.b. to display a web page with animation effect.c. to display a web page without browser.d. All of the Above.

39. FTP is an acronym fora. File Transaction Protocolb. File Transmission Protocolc. File Translation Protocold. File Transfer Protocol

40. Which HTML Tag will use to scroll a text in web page?a. <marquee> … </marquee>b. <scroll> … </scroll>c. <round> … </round>d. <go> … </go>

41. How to define the link should open in new page in HTML?a. <a href = “http://www.mcqsets.com/” target = “blank”>Click Here</a>b. <a href = “http://www.mcqsets.com/” target = “_blank”> Click Here </a>c. <a href = “http://www.mcqsets.com/” target = “#blank”> Click Here </a>d. <a href = “http://www.mcqsets.com/” target = “@blank”> Click Here </a>

42. How to set a picture as a background web page?a. <body background= “bgimage.gif”>b. <body background image= “bgimage.gif”>c. <background= “bgimage.gif”>d. <background image= “bgimage.gif”>

43. Which of following HTML Tag will inserting a line break?a. <p>b. <line>c. <br>d. <break >

44. Which of the following tags are related to Table in HTML ?a. <table> <row> <column>b. <table> <tr> <td>c. <table> <head> <body>d. <table> <header> <footer>

45. Which of the following is correct HTML for inserting an image?a. <image source= “www.mcqsets.com/admin.jpg” alt= “This is me” />b. <img src= “www.mcqsets.com/admin.jpg” alt= “This is me” />c. <img source= “www.mcqsets.com/admin.jpg” alt= “This is me” />d. <img alt= “This is me”>www.mcqsets.com/admin.jpg

46. Choose the correct HTML tag to left-align the content of a cell.a. <tdleft>b. <td leftalign>c. valign= “left”>d. <td align= “left”>

47. Which tag is used to lists the items with bullets?a. <bullet>…</bullet>b. <list>…</list>c. <ul>…d. <ol>…</ol>

48. Pick the odd outa. Tableb. TRc. TDd. Form

49. The first page of a website is calleda. Designb. Home pagec. First paged. Main page

50. The version of HTML isa. HTML0b. HTML1c. HTML2d. All of these

51. Head tag is used for?a. Writing styleb. Writing Java Scriptc. Including CSS, JS Filesd. All of these

52. How many heading tags are supported by HTML?a. 3b. 4c. 5d. 6

53. Which is the largest heading tag?a. H1b. H3

Page 4: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

c. H4d. H6

54. Which of the following are attributes of Font tag?a. Faceb. Sizec. Colord. All of above

55. ……………………. connects web pages.a. Connectorb. Linkc. Hyperlinkd. None of the above

56. Internet is ………………………….a. a network of networksb. an ocean of resources waiting to be minedc. a cooperative anarchyd. all of the above

57. ……………… is suitable for remote administration of a computer.a. FTPb. Shellc. Remote Procedure Calld. Telnet

58. Title tag is nested within the ………………….. tag.a. Bodyb. Headc. Listd. Table

59. ……………….. is a web’s native protocol.a. SLIPb. TCP/IPc. HTTPd. PPP

60. The Internet uses the …………………… as the protocol engine.a. SLIPb. HTTPc. TCP/IPd. PPP

61. A ……………………….. is a symbolic name a network administrator assigns to a machine.a. URLb. DNSc. IP addressd. Host name

62. Which of the following protocol is used for e-mail services.a. SMAP

b. SMTPc. SMIPd. SMOP

63. …………………. is the incoming e-mail server.a. POPb. SMTPc. SMIPd. PPP

64. ………………….. is a uniform naming scheme for locating resources on the web.a. URLb. HTTPc. WEBNAMEd. RESOURCENAME

65. The attribute ……………… of <BODY> tag sets color of hypertext links.a. linkb. vlinkc. alinkd. hlink

67. This is a networking device that passes data between networks having similar functions but dissimilar implementations.a. Hubb. Modemc. Gatewayd. Repeater

68. In order to connect to ISP’s server you need …….a. Hand glovesb. Printerc. User name and Passwordd. None of the above

69. DNS translates ………a. domain name into IPb. IP into domain namec. both a & bd. domain name into physical address

70. In order to upload a HTML file to a web server, you usea. HTTPb. SMTPc. SIPd. FTP

71. IEEE stands for ……..a. Institute of estimated elevator efficiencyb. Institute of electrical and economical engineersc. Institute of Eurasia engineering eventd. Institute of electrical and electronics engineers

Page 5: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

72. The regional networks are connected to the corporate networks, this is also called as ……..a. Backboneb. LAN COMc. WAN COMd. Intranet

73. Once the email is sent, the message is broken into pieces called ………………a. Packetsb. Processc. Digitsd. Bytes

74. ………………. is known as father of World Wide Web.a. Robert Cailliaub. Tim Thompsonc. Charles Darwind. Tim Berners-Lee

75. ……………. are the physical meeting points of backbones.a. Gatewaysb. Pathwaysc. Routersd. Domains

76. CuteFTP is an example of …………client program.a. FTPb. Telnetc. Web browserd. Mail

77. Which of the following is best suitable for remote administration of a computer?a. Telnetb. WAISc. Browsersd. HTML

78. The leading bit pattern of class B network is ………………a. 0b. 10c. 110d. 11

79. The …………………. attribute adds space within each cell.a. CELL SPACINGb. CELL PADDINGc. WIDTHd. ALIGN

80. Which of the following are two popular protocols that allow home computer users to connect their computers to the internet as per hosts? i) SLIP ii) PPPiii) HTTP iv) SMTPa. iii and ivb. ii and iii

c. i and iid. ii and iii

81. A computer that translates …………………… of another computer into an …………… and vice versa, upon request is known as DNS server.a. Domain name and IP addressb. Host address and Domain namec. Domain name and server addressd. Server name and IP address

82. Identify the uses of URI in HTML.: i) Link to another document or resource ii) Link to external style sheet or script iii) Create an image mapa. i and iib. i and iiic. ii and iiid. i , ii and iii

83. An ordered list is a …………………. list and an unordered list is a …………….. list.a. bulleted & numberedb. bulleted & tabularc. tabular & numberedd. numbered & bulleted

84. Linking to another place in the same or another web page requires two A (Anchor) tags, the first with the ……………… attribute and the second the ……………….attribute.a. NAME & LINKb. LINK & HREFc. HREF & NAMEd. TARGET & VALUE

85. What type of information should you avoid including on your Web site?a. Links to sites of interestb. Private personal informationc. Work and academic experienced. Graphical

86. Which of the following web elements should you know about before building your web site?a. The web audienceb. The operating environment of your ISPc. The operating system of your visitord. Each consideration should determine your web design choices

87. What is the language of the Web?a. Basicb. C++c. MS Visual Basicd. HTML

Page 6: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

88. What does an HTML tag do?a. It specifies formatting and layout instructions for your web page.b. It hides programming instructions from view.c. It determines the organizational structure of your Web site.d. It connects your web site to an operating environment.

89. A Web document is broken into sections. What are the tags called that create these sections?a. Structure tagsb. HTML tagsc. Heading tagsd. Body tags

90. What should be the first and last pair of tags in your Web document?a. <html></html> and <body></body>b. <start><end> and <body></body>c. <head><body> and <title></title>d. <title></title> and <body<>/body>

1. What can be define within a single font tag :A.   Only faceB.   Only sizeC.   Only colorD.   All of the above2. To change default font face or size of a Web-page, use :A.   base tagB.   basefont tagC.   baseface tagD.   None of the above

3. Select true statement:Statement 1:You can assign multiple valuest to face attribute of font tag.Statement 2: If you specify a font name as face value of font tag, that is not installed on users computer, text will be displayed in browser’s default font.A.   Only Statement 1 is true.B.   Only Statement 2 is true.C.   Both, Statement 1 and Statement 2 are true.D.   Neither, Statement 1 not Statement 2 is true.

4. There are ……… sets of HTML tags that form the basic structure needed for every HTML file:A.   oneB.   two

C.   threeD.   four

5. Which tag is used to a command that is used to instruct the computer (specifically browser)?A.   <html>B.   <div>C.   <frame>D.   None of the above6. The Heading tag and Paragraph tag can be represented asA.   <head> and <para>B.   <hr> and <pr>C.   <h1> and <p>D.   None of the above

7. The HTML syntax of HTML5 requires a …………. to be specified to ensure that the browser renders the page in standard mode.A.   DOCTYPEB.   HEADC.   BODYD.   TITLE

8. Which tag is used to identify the beginning and end of the HTML document?A.   <html>B.   <body>C.   <title>D.   None of the above

9. One of the most popular way is to specify character-set using aA.   meta dataB.   meta elementC.   meta valueD.   None of the above

10. The doctype declaration for the HTML isA.   case-sensitiveB.   case-insensitiveC.   case-impsensitiveD.   None of the above

11. The sets of HTML tag isA.   <html></html>B.   <head></head>C.   <title></title>D.   All of the above

12. A list which is provided with numeric digit is called anA.   Ordered List

Page 7: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

B.   Unordered ListC.   Definition ListD.   None of the above

13. An Ordered List can be represented asA.   <ol>B.   <ul>C.   <li>D.   <el>

14. A list which is provided with a bullet(a black dot) is called anA.   Ordered ListB.   Unordered ListC.   Definition ListD.   None of the above

15. How many list of HTML is/areA.   oneB.   twoC.   threeD.   four

16. Defination list can be defined as :A.   <ol>B.   <ul>C.   <dl>D.   None of the Above

17. What is the correct HTML for inserting an image?A.   <image src=”image.gif” alt=”MyImage” />B.   <img src=”image.gif” alt=”MyImage” />C.   <img alt=”MyImage”>image.gif</img>D.   <pic src=”image.gif” alt=”MyImage” />

18. What does vlink mean ?A.   visited linkB.   unvisited linkC.   active linkD.   vertical link

19. one attribute is used to identify an image as image map?A.   MAPB.   SMAPC.   ISMAPD.   IMAP

20. Which one attribute is used to send the coordinate of image to the server When the user clicks on the image?

A.   COORDB.   SMAPC.   SIMAPD.   ISMAP

21. If you want to be sure that the image is indeed the same one that the author intended, and hasn’t been modified in any way, which one attribute inside <img> tag is used?A.   MDB.   SDC.   NOCHANGED.   LOCK

22. The value of MD attribute of <img> tag can beA.   MD=”MD5:some text”B.   MD=”DSS1:some text”C.   MD=”SHA512:some text”D.   Any of the above

23. Which one is the mandatory attribute of the <img> tag?A.   SRCB.   HREFC.   IDD.   ALT

24. Statement1:The <IMG> tag is used to incorporate in-line graphics (typically icons or small graphics) into an HTML document.Statement2:The <IMG> element is also intended for embedding other HTML text.Statement 3:For large figures with captions and text flow see FIG element.A.   Statement 1 and Statement 2 are true.B.   Statement 2 and statement 3 are true.C.   Statement 1 and statement 3 are true.D.   All three statements are true.

25. Which tag is used to define an image in HTML?A.   <img>B.   <image>C.   <pic>D.   None of the above

26. Which type of parameter specify the path where your image is placed?A.   pathB.   scrC.   srcD.   None of the above

Page 8: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

27. GIF stands for:A.   Graph Interchange FormatB.   Graphics Interlinked FormatC.   Graphics Interchange FormatD.   None of the above

28. Which attribute can be used to position the image?A.   position attributeB.   align attributeC.   margin attributeD.   None of the above

29. The ……….. and ………….indicates vertical space and horizontal space respectively.A.   verspace and horspaceB.   vspace and hspaceC.   vertspace and hortspaceD.   None of the above

30. The <img> tag attributes areA.   Size attributeB.   Spacing attributeC.   Border attributeD.   All of the above

31. Which attribute define the width and height of the image?A.   Size attributeB.   length attributeC.   margin attributeD.   All of the above

32. Which attribute can be created between image and its surrounding text by specifying horizontal and vertical space?A.   space attributeB.   whitespace attributeC.   backspace attributeD.   All of the above

33. Which address is include the entire pathname?A.   RelativeB.   MixedC.   AbsoluteD.   None of the above

34. PNG stands for:A.   Portable Network GraphicB.   Pivot Network GraphicC.   Pichart Network GraphicD.   Pythagorus Network Graphic

35. HTML provides a functionality to connect one or more pages in web-pages or resources.A.   linkB.   srcC.   nodeD.   tree

36. The <img> tag is supported byA.   internet explorerB.   mozilla firefoxC.   google chromeD.   All of the above

37. HTML provides which control to use arranging text and also in defining the things more understandable manner.A.   TablesB.   FramesC.   DivD.   None of the above

38. A table contains rows which is defined byA.   <tr> tagB.   <td> tagC.   <th> tagD.   None of the above

39. Table data may containA.   textB.   linksC.   tablesD.   All of the above

40. Which attribute in Html table is used to give a border to your table?A.   lineB.   borderC.   margin-left borderD.   All of the above

41. A table with no borderA.   <table border=”0″>B.   <table border=”1″>C.   <table border=” “>D.   None of the above

42. ….. tag is used to define a table header.A.   <th>B.   <td>C.   <tr>D.   None of the above

Page 9: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

43. A table can be spanned either inA.   rowsB.   columnsC.   columns or rowsD.   All of the above

44. Which controls will be used in space between table cells?A.   CelpaddingB.   CelspacingC.   CelshiftingD.   All of the above

45. ……….. and ………….. are used to define a span in column and rows respectively.A.   ‘colspan’ and ‘rowspan’B.   ‘celpadding’ and ‘celspacing’C.   either (A) or either (B)D.   neither (A) or nor (B)

46. <td> tag stands for:A.   table dimensionB.   table dateC.   table dataD.   None of the above

47. Which element in HTML defines sections of a web page?A.   tableB.   divC.   frameD.   None of the above

48. The DIV element is aA.   block-level elementB.   High-level elementC.   low-level elementD.   middle-level element

49. In HTML the DIV element can be found inside any element that can containA.   high elementsB.   low elementsC.   flow elementsD.   All of the above

50. From which element has very similar properties to the DIV element?A.   strong elementB.   span elementC.   table elementD.   All of the above

JavaScript MCQ

1. Javascript is a ______________A.server side scripting language.B.client side scripting language.C.Either (A) or (B)D.Neither (A) nor (B)

2. Using which tag we insert an JavaScript in HTML page?A.<JavaScript type=”text/javascript”>B.<script type=”text/javascript”>C.<JScript type=”text/javascript”>D.<HTMLScript type=”text/javascript”>

3. Which of the following is not true about JavaScript?A.It is a scripting language.B.It execute with preliminary compilation.C.It is a lightweight programming language.D.It can be embedded directly into HTML pages.

4. Which of the following JavaScript can do?A.JavaScript can react to events.B.JavaScript can manipulate HTML elements.C.JavaScript can be use to validate data.D.All of the Above

5. What is the output of the following javascript code? <script type=”text/javascript”> x=4+”4″; document.write(x); </script>A.44B.8C.4D.Error output

6. Script in an external file and then include inA.<body>…</body> sectionB.<head>…</head> sectionC.<html>…</html> sectionD.<form>…</form> section

7. Which section where javascript code can be placed?A.<body>…</body> sectionB.<head>…</head> sectionC.Either (A) or (B)D.Neither (A) nor (B)

8. What is the correct syntax for referring to an external script called ” abc.js”?A.<script href=” abc.js”>B.<script name=” abc.js”>C.<script src=” abc.js”>D.None of the above

9. What is meant by “this” keyword in JavaScript?A.It refers current objectB.It referes previous objectC.It is variable which contains valueD.None of the above

Page 10: HTML CSS JAVASCRIPT  MCQ

Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAHEED ANWAR

10. Who is to be introduced JavaScript?A.MicrosoftB.IBMC.GoogleD.Sun Microsystems

11. In JavaScript, common uses isA.Interact with user using prompt(), alterB.Client side validation like checking forC.Creation of complex user interfaces.D.All of the above

12. _________ keyword is used to declare variables in javascript.A.VarB.DimC.StringD.None of the above

13. Which one is the advantages of JavaScript?A.SimplicityB.SpeedC.VersatilityD.All of the above

14. Javascript has capability to interact withA.userB.control the browserC.alter the document contentD.All of the above

15. Being client-side reduces the demand on the website serverA.Server LoadB.Client LoadC.endclient loadD.endserver load16. The JavaScript file inside the ________ tag in ________ section of HTML document.A.</script>,</head>B.<script>,<head>C.<script>,<title>D.<script>,<body>

17. Which is the extension of javascript file?A. .jcB. .javaC. .jsD. .jp

18. _____ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.A.Client-sideB.Server-side

C.LocalD.Native

19. What is the correct JavaScript syntax to write “Hello World”?A.System.out.println(“Hello World”)B.println (“Hello World”)C.document.write(“Hello World”)D.response.write(“Hello World”)

20. Which operator can be used to Joins(concatenates) two strings and assigns the joined string to the first operand?A. &B. +=C. +D. &&

21. What language defines the behavior of a web page?A.HTMLB.CSSC.XMLD.Java Script

22. A single-line comments starts withA./B.//C.\*D.\\23. A function in javascript takesA.parametersB.operates on themC.returns the required resultD.All of the above

24. Which event can be generated when data changes in a control,such as a text field?A.onchangeB.onwriteC. changetextD.None of the above

25. Which event can be generated when the mouse leaves an element?A.onmouseoutB.onmousedownC.onmousemoveD.onmouseover

26. Which event can be generated when a drag-and-drop operation is undertaken?A.ondropB.ondragC.ondragdropD.None of the above