tags", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "script" }, "option": [{"@type": "Answer", "text": "script"},{"@type": "Answer", "text": "VER"},{"@type": "Answer", "text": "TITLE"},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 16", "text": "To access an HTML element, JavaScript can use the------method.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "document.getElementById(id" }, "option": [{"@type": "Answer", "text": "document.getElementById(id"},{"@type": "Answer", "text": "CONSOLE"},{"@type": "Answer", "text": "COUT"},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 17", "text": "--------Is used to show the out put or give message", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "document.write():" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "printf"},{"@type": "Answer", "text": "COUT"},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 18", "text": "For debugging purposes, you can call the ----method in the browser to display data.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "CONSOLE.LOG()" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "CONSOLE.LOG()"},{"@type": "Answer", "text": "COUT()"},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 19", "text": "----this key word is used to declared the variable in java script.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "var" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "CONSOLE.LOG"},{"@type": "Answer", "text": "var"},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 20", "text": "-----this key word is used to declared the constant in java script.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "CONST" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "CONST"},{"@type": "Answer", "text": "var"},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 21", "text": "-------it is assignment operator is used to assign value from right hand side to left hand side .", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "=" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "CONST"},{"@type": "Answer", "text": "="},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 22", "text": "------it is assignment operator is used to not equal value.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "!==" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "CONST"},{"@type": "Answer", "text": "="},{"@type": "Answer", "text": "!=="}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 23", "text": "in java script------are written with quotes. You can use single or double quotes.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "STRING" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "STRING"},{"@type": "Answer", "text": "="},{"@type": "Answer", "text": "!=="}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 24", "text": "in java script------items are separated by commas.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "array" }, "option": [{"@type": "Answer", "text": "document.write():"},{"@type": "Answer", "text": "STRING"},{"@type": "Answer", "text": "array"},{"@type": "Answer", "text": "!=="}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 25", "text": "Which type of JavaScript language is ___", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Object-Based" }, "option": [{"@type": "Answer", "text": "Object-Oriented"},{"@type": "Answer", "text": "Object-Based"},{"@type": "Answer", "text": "Assembly-language"},{"@type": "Answer", "text": "High-level"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 26", "text": "Which one of the following also known as Conditional Expression:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "If-then-else statement" }, "option": [{"@type": "Answer", "text": "Alternative to if-else"},{"@type": "Answer", "text": "Switch statement"},{"@type": "Answer", "text": "If-then-else statement"},{"@type": "Answer", "text": "immediate if"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 27", "text": "The "function" and " var" are known as", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Declaration statements" }, "option": [{"@type": "Answer", "text": "Keywords"},{"@type": "Answer", "text": "Data types"},{"@type": "Answer", "text": "Declaration statements"},{"@type": "Answer", "text": "Prototypes"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 28", "text": "Which of the following variables takes precedence over the others if the names are the same?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "The local element" }, "option": [{"@type": "Answer", "text": "Global variable"},{"@type": "Answer", "text": "The local element"},{"@type": "Answer", "text": "The two of the above"},{"@type": "Answer", "text": "None of the above"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 29", "text": "Which one of the following is the correct way for calling the JavaScript code?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Function/Method" }, "option": [{"@type": "Answer", "text": "Preprocessor"},{"@type": "Answer", "text": "Triggering Event"},{"@type": "Answer", "text": "RMI"},{"@type": "Answer", "text": "Function/Method"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 30", "text": "Which of the following type of a variable is volatile?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Mutable variable" }, "option": [{"@type": "Answer", "text": "Mutable variable"},{"@type": "Answer", "text": "Dynamic variable"},{"@type": "Answer", "text": "Volatile variable"},{"@type": "Answer", "text": "Immutable variable"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 31", "text": "the JavaScript, which one of the following is not considered as an error:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Division by zero" }, "option": [{"@type": "Answer", "text": "Syntax error"},{"@type": "Answer", "text": "Missing of semicolons"},{"@type": "Answer", "text": "Division by zero"},{"@type": "Answer", "text": "Missing of Bracket"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 32", "text": "In JavaScript the x===y statement implies that:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Both are equal in the value and data type." }, "option": [{"@type": "Answer", "text": "Both x and y are equal in value, address as well."},{"@type": "Answer", "text": "Both are x and y are equal in value only."},{"@type": "Answer", "text": "Both are equal in the value and data type."},{"@type": "Answer", "text": "Both are not same at all."}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 33", "text": "In JavaScript, what will be used for calling the function definition expression:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Function literal" }, "option": [{"@type": "Answer", "text": "Function prototype"},{"@type": "Answer", "text": "Function literal"},{"@type": "Answer", "text": "Function calling"},{"@type": "Answer", "text": "Function declaration"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 34", "text": "Which one of the following is an ternary operator:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "?" }, "option": [{"@type": "Answer", "text": "?"},{"@type": "Answer", "text": ":"},{"@type": "Answer", "text": "-"},{"@type": "Answer", "text": "+"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 35", "text": "Which one of the following is known as the Equality operator, which is used to check whether the two values are equal or not:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "==" }, "option": [{"@type": "Answer", "text": "="},{"@type": "Answer", "text": "==="},{"@type": "Answer", "text": "=="},{"@type": "Answer", "text": "&&"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 36", "text": "Which one of the following symbol is used for creating comments in the javascript:", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "//" }, "option": [{"@type": "Answer", "text": "\\"},{"@type": "Answer", "text": "//"},{"@type": "Answer", "text": "\* *\"},{"@type": "Answer", "text": "\* */"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 37", "text": "Which one of the following is not considered as "statement" in the JavaScript?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "use strict" }, "option": [{"@type": "Answer", "text": "use strict"},{"@type": "Answer", "text": "debugger"},{"@type": "Answer", "text": "if"},{"@type": "Answer", "text": "with"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 38", "text": "A collection of elements of the same data type which may either in order or not, is called _____.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Array" }, "option": [{"@type": "Answer", "text": "String"},{"@type": "Answer", "text": "Array"},{"@type": "Answer", "text": "Serialized Object"},{"@type": "Answer", "text": "Object"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 39", "text": "Is JavaScript a case-sensitive language?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "true" }, "option": [{"@type": "Answer", "text": "true"},{"@type": "Answer", "text": "false"},{"@type": "Answer", "text": "can not say"},{"@type": "Answer", "text": "none of these"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 40", "text": "JavaScript is ______ Side scripting language.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Browser" }, "option": [{"@type": "Answer", "text": "Server"},{"@type": "Answer", "text": "Client"},{"@type": "Answer", "text": "ISP"},{"@type": "Answer", "text": "Browser"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 41", "text": ". The behaviour of the document elements can be defined by", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Registering appropriate event handlers" }, "option": [{"@type": "Answer", "text": "Using document object"},{"@type": "Answer", "text": "Registering appropriate event handlers"},{"@type": "Answer", "text": "Using element object"},{"@type": "Answer", "text": "All of the mentioned"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 42", "text": "The service(s) that enables networking through scripted HTTP requests is", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "XMLHttpRequest" }, "option": [{"@type": "Answer", "text": "XMLHttpResponse"},{"@type": "Answer", "text": "XMLRequest"},{"@type": "Answer", "text": "XMLHttpRequest"},{"@type": "Answer", "text": "All of the mentioned"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 43", "text": "The HTML5 specification includes", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "All of the mentioned" }, "option": [{"@type": "Answer", "text": "Data storage"},{"@type": "Answer", "text": "Graphics APIs"},{"@type": "Answer", "text": "Other APIs for web apps"},{"@type": "Answer", "text": "All of the mentioned"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 44", "text": "Which of the following are not advanced services?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "None of the mentioned" }, "option": [{"@type": "Answer", "text": "Data storage"},{"@type": "Answer", "text": "Networking"},{"@type": "Answer", "text": "XMLHttpRequest object"},{"@type": "Answer", "text": "None of the mentioned"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 45", "text": "JavaScript code between a pair of “script” tags are called", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Inline" }, "option": [{"@type": "Answer", "text": "Non-inline"},{"@type": "Answer", "text": "External"},{"@type": "Answer", "text": "Referenced"},{"@type": "Answer", "text": "Inline"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 46", "text": "Client-side JavaScript code is embedded within HTML documents in", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "A URL that uses the special javascript:protocol" }, "option": [{"@type": "Answer", "text": "A URL that uses the special javascript:encoding"},{"@type": "Answer", "text": "A URL that uses the special javascript:stack"},{"@type": "Answer", "text": "A URL that uses the special javascript:protocol"},{"@type": "Answer", "text": "A URL that uses the special javascript:code"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 47", "text": "What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Unobtrusive JavaScript" }, "option": [{"@type": "Answer", "text": "Unobtrusive JavaScript"},{"@type": "Answer", "text": "Obtrusive JavaScript"},{"@type": "Answer", "text": "Inherited JavaScript"},{"@type": "Answer", "text": "Modular JavaScript"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 48", "text": "Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "Interactive Web Pages" }, "option": [{"@type": "Answer", "text": "Static Web Pages"},{"@type": "Answer", "text": "Interactive Web Pages"},{"@type": "Answer", "text": "Conditional Web Pages"},{"@type": "Answer", "text": "None of the mentioned"}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 49", "text": "______ tag is an extension to HTML that can enclose any number of JavaScript statements.", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "" }, "option": [{"@type": "Answer", "text": ""},{"@type": "Answer", "text": ""},{"@type": "Answer", "text": "D. "}], "eduQuestionType": "Multiple choice" },{ "@type": "Question", "name": "Question 54", "text": "Inside which HTML element do we put the JavaScript?", "answerCount": 4, "acceptedAnswer": { "@type": "Answer", "text": "

Quiznetik

Web Technology | Set 3

1. -----tag is used to for indicating the head section of the html document.

Correct : C. <head>

2. ------tag is used to define the document body.

Correct : A. <body>

3. -----tag is used to center align text.

Correct : D. <center>

4. -----tag is used to give the space in between to word or character .

Correct : A. <&nbps>

5. -----is a high-level scripting language that is synchronous with client-side scripting

Correct : A. java script

6. ----- a versatile language of the front-end that is mainly used to make web pages interactive and dynamic

Correct : A. java script

7. -------was originally developed to perform client-side functions

Correct : A. java script

8. --- a versatile programming language which is specially designed to build interactive web interfaces to make websites look really good.

Correct : A. java script

9. ----one of the most powerful programming languages used to create interactive effects within web browsers without interacting with the server side

Correct : A. java script

10. -----is specifically designed to build interactive web interfaces and create network-specific applications without interacting with the server side

Correct : A. java script

11. ------is the scripting language designed primarily for adding interactively to web pages and creating web applications

Correct : A. java script

12. A -----scripting is a light weight programming language

Correct : A. java script

13. ------is very fast because it can be run immediately within the client-side browser

Correct : A. java script

14. ------is relatively simple to learn and implement.

Correct : A. java script

15. Client side------does not allow the reading and writing of files.

Correct : A. java script

16. In HTML, JavaScript code is inserted betweent-----and </script> tags

Correct : A. script

17. To access an HTML element, JavaScript can use the------method.

Correct : A. document.getElementById(id

18. --------Is used to show the out put or give message

Correct : A. document.write():

19. For debugging purposes, you can call the ----method in the browser to display data.

Correct : B. CONSOLE.LOG()

20. ----this key word is used to declared the variable in java script.

Correct : C. var

21. -----this key word is used to declared the constant in java script.

Correct : B. CONST

22. -------it is assignment operator is used to assign value from right hand side to left hand side .

Correct : C. =

23. ------it is assignment operator is used to not equal value.

Correct : D. !==

24. in java script------are written with quotes. You can use single or double quotes.

Correct : B. STRING

25. in java script------items are separated by commas.

Correct : C. array

26. Which type of JavaScript language is ___

Correct : B. Object-Based

27. Which one of the following also known as Conditional Expression:

Correct : C. If-then-else statement

28. The "function" and " var" are known as

Correct : C. Declaration statements

29. Which of the following variables takes precedence over the others if the names are the same?

Correct : B. The local element

30. Which one of the following is the correct way for calling the JavaScript code?

Correct : D. Function/Method

31. Which of the following type of a variable is volatile?

Correct : A. Mutable variable

32. the JavaScript, which one of the following is not considered as an error:

Correct : C. Division by zero

33. In JavaScript the x===y statement implies that:

Correct : C. Both are equal in the value and data type.

34. In JavaScript, what will be used for calling the function definition expression:

Correct : B. Function literal

35. Which one of the following is an ternary operator:

Correct : A. ?

36. Which one of the following is known as the Equality operator, which is used to check whether the two values are equal or not:

Correct : C. ==

37. Which one of the following symbol is used for creating comments in the javascript:

Correct : B. //

38. Which one of the following is not considered as "statement" in the JavaScript?

Correct : A. use strict

39. A collection of elements of the same data type which may either in order or not, is called _____.

Correct : B. Array

40. Is JavaScript a case-sensitive language?

Correct : A. true

41. JavaScript is ______ Side scripting language.

Correct : D. Browser

42. . The behaviour of the document elements can be defined by

Correct : B. Registering appropriate event handlers

43. The service(s) that enables networking through scripted HTTP requests is

Correct : C. XMLHttpRequest

44. The HTML5 specification includes

Correct : D. All of the mentioned

45. Which of the following are not advanced services?

Correct : D. None of the mentioned

46. JavaScript code between a pair of “script” tags are called

Correct : D. Inline

47. Client-side JavaScript code is embedded within HTML documents in

Correct : C. A URL that uses the special javascript:protocol

48. What is the programming philosophy that argues that content and behaviour should as much as possible be kept separate?

Correct : A. Unobtrusive JavaScript

49. Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript?

Correct : B. Interactive Web Pages

50. ______ tag is an extension to HTML that can enclose any number of JavaScript statements.

Correct : A. <SCRIPT>

51. How does JavaScript store dates in a date object?

Correct : A. The number of milliseconds since January 1st, 1970

52. Which of the following attribute can hold the JavaScript version?

Correct : A. LANGUAGE

53. What is the correct JavaScript syntax to write "Hello World"?

Correct : C. document.write("Hello World")

54. Which of the following way can be used to indicate the LANGUAGE attribute?

Correct : C. C. <SCRIPT LANGUAGE="JavaScriptVersion"> JavaScript statements…</SCRIPT>

55. Inside which HTML element do we put the JavaScript?

Correct : C. <script>

56. What is the correct syntax for referring to an external script called " abc.js"?

Correct : C. <script src=" abc.js">

57. Which types of image maps can be used with JavaScript?

Correct : B. Client-side image maps

58. Which of the following navigator object properties is the same in both Netscape and IE?

Correct : A. navigator.appCodeName

59. Which is the correct way to write a JavaScript array?

Correct : C. var txt = new Array("tim","kim","jim")

60. What does the <noscript> tag do?

Correct : A. Enclose text to be displayed by non-JavaScript browsers.

61. If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?

Correct : C. para1.innerText = "New Text

62. JavaScript entities start with _______ and end with _________.

Correct : D. Ampersand, semicolon

63. Which of the following best describes JavaScript?

Correct : D. an object-oriented scripting language.

64. Choose the server-side JavaScript object?

Correct : C. File

65. Choose the client-side JavaScript object?

Correct : D. FileUpLoad

66. Which of the following is not considered a JavaScript operator?

Correct : B. this

67. ______method evaluates a string of JavaScript code in the context of the specified object.

Correct : A. Eval

68. Which of the following event fires when the form element loses the focus: <button>, <input>, <label>, <select>, <textarea>?

Correct : B. onblur

69. The syntax of Eval is _______.

Correct : B. [objectName.]eval(string)

70. JavaScript is interpreted by ______ Sol: .

Correct : A. Client

71. Using _______ statement is how you test for a specific condition.

Correct : B. If

72. What is internet?

Correct : B. a vast collection of different networks

73. What is a web browser?

Correct : D. all of the above

74. URL stands for

Correct : C. uniform resource locator

75. Physical or logical arrangement of network is

Correct : A. Topology

76. In this topology, there is a central controller or hub

Correct : A. Star

77. This topology requires multipoint connection

Correct : D. Bus

78. A piece of icon or image on a web page associated with another webpage is called ……

Correct : B. hyperlink

79. Dynamic web page

Correct : B. generates on demand by a program or a request from browser

80. An alternative of javascript on windows platform is

Correct : A. VBScript

81. Frames from one LAN can be transmitted to another LAN via the device

Correct : B. Bridge

82. What is the following is not Network?

Correct : B. RAN

83. Hub is a ………………… device and Switch is ………… device

Correct : C. Broadcast, Unicast

84. Switch is a device of …………………layer of OSI model

Correct : B. Data link Layer

85. Software which allows user to view a web page is called ….

Correct : B. Browser

86. ………. programs automatically connects to web sites and download documents and save them into local drive

Correct : A. Web downloading utilities

87. Expansion of FTP is

Correct : B. File Transfer Protocol

88. FTP is built on _____ architecture

Correct : A. Client-server

89. FTP uses _____ parallel TCP connections to transfer a file

Correct : B. 2

90. The network layer concerns with

Correct : C. packets

91. OSI stands for

Correct : A. open system interconnection

92. The OSI model has ___ layers.

Correct : D. 7

93. TCP/IP model does not have ______ layer but OSI model have this layer.

Correct : D. both (a) and (b)

94. Transmission data rate is decided by

Correct : B. physical layer

95. The _______ layer is the layer closest to the transmission medium.

Correct : B. physical layer

96. The _______ layer lies between the network layer and the application layer.

Correct : D. transport layer

97. A local telephone network is an example of a _______ network

Correct : A. Packet switched

98. Most packet switches use this principle

Correct : B. Store and forward

99. Which tag is used to display a picture?

Correct : C. img

100. <b> tag makes the enclosed text bold. What is other tag to make text bold?

Correct : A. <strong>