This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
True or False:1. The increment operator in JavaScript is used to decrement the value of variables by one.2. Mistakes are non-executable statements in the program. |
|
Answer» 1. False 2. False |
|
| 52. |
JavaScript returns ‘____________’ when variable which is declared but not assigned. (A) Undefined (B) Number (C) Strings (D) Boolean |
|
Answer» Correct option is (A) Undefined |
|
| 53. |
1. ___________ is reusable code block that will be executed when it is called.2. ___________ function is used to parse a string and convert it into a number. |
|
Answer» 1. Function 2. parseInt() |
|
| 54. |
1. ___________ function is used when you want input value from user at the time of program execution.2. ___________ function displays confirmation message box with ok and cancel button. |
|
Answer» 1. prompt() 2. confirm() |
|
| 55. |
True or False:1. The ‘Checked’ attribute specifies the default selection for options in a checkbox or radio button.2. The ‘Size’ attribute can be used with text, checkbox, radio, submit or reset. |
|
Answer» 1. True 2. False |
|
| 56. |
<Input type = “text”> creates a one line __________ (A) Textbox (B) Radio (C) Checkbox (D) Submitting |
|
Answer» Correct option is (A) Textbox |
|
| 57. |
__________ allows more than one selection against multiple choices. A) Textbox(B) Radio (C) Checkbox (D) Submitting |
|
Answer» (C) Checkbox |
|
| 58. |
The __________ is a basic unit of storage in a JavaScript program.(A) Variable (B) Java (C) .Net (D) Python |
|
Answer» (A) Variable |
|
| 59. |
1. ___________ operator in JavaScript is used to decrement value of variable by one.2. ___________ are non-executable statements in program. |
|
Answer» 1. Decrement 2. Comments |
|
| 60. |
The __________ button allows one option selection against multiple choices. (A) Textbox (B) Radio (C) Checkbox (D) Submitting |
|
Answer» Correct option is (B) Radio |
|
| 61. |
1. Statements added in ___________ are ignored by JavaScript.2. ___________ is used to perform repetitive tasks whenever required. |
|
Answer» 1. Comments 2. Function |
|
| 62. |
The page is divided into two sections internally __________ section and __________ section. (A) Head (B) body (C) <html>(D) Container tags (E) </html> |
|
Answer» (A) Head, (B) body |
|
| 63. |
HTML tags are categorized as _________ & __________ (A) Beginning(B) Container tags (C) End(D) Empty tags (E) Standalone |
|
Answer» (B) Container tags, (D) Empty tags |
|
| 64. |
1. JavaScript returns ‘___________’ when variable which is declared but not assigned.2. ___________ are used to do arithmetic and logical operations. |
|
Answer» 1. Undefined 2. Operators |
|
| 65. |
___________ are used to provide information or explanation about your programming construct. (A) Comments (B) Mistakes (C) Java (D) Python |
|
Answer» (A) Comments |
|
| 66. |
__________ (++) operator in JavaScript is used to increment value of variable by one. (A) Assignment (B) Relational (C) Logical (D) Increment |
|
Answer» (D) Increment |
|
| 67. |
__________ operators are used to verifying more than one condition at a time or to negate the condition. (A) Assignment (B) Relational (C) Logical (D) Increment |
|
Answer» Correct option is (C) Logical |
|
| 68. |
__________ operators are used to check conditions or comparison of operands. (A) Assignment (B) Relational (C) Logical (D) Increment |
|
Answer» (B) Relational |
|
| 69. |
__________ operator is used to assign value of an expression to a variable. (A) Assignment (B) Relational (C) Logical (D) Increment |
|
Answer» (A) Assignment |
|
| 70. |
___________ are non-executable statements in program. (A) Comments (B) Mistakes(C) Java (D) Python |
|
Answer» (A) Comments |
|
| 71. |
__________ operator in JavaScript is used to decrement value of variable by one. (A) Assignment (B) Relational (C) Logical (D) Decrement |
|
Answer» (D) Decrement |
|
| 72. |
___________ function displays alert popup box with ok button. This is also called as a message box. (A) Function (B) parselnt() (C) parseFloat() (D) alert() |
|
Answer» Correct Answer is (D) alert() |
|
| 73. |
True or False:1. confirm() function displays a confirmation message box with ok and cancel buttons.2. toUpperCase() string function used to convert the given string into lower case alphabets. |
|
Answer» 1. True 2. False |
|
| 74. |
___________ function displays confirmation message box with ok and cancel button.(A) prompt() (B) confirm() (C) toLowerCase() (D) toUpperCase() |
|
Answer» (B) confirm() |
|
| 75. |
<Input type =”checkbox”> creates a __________ (A) Textbox (B) Radio (C) Checkbox (D) Submitting |
|
Answer» (C) Checkbox |
|
| 76. |
True or False:1. <Input type = “checkbox”> creates a Password.2. The button allows more than one selection against multiple choices. |
|
Answer» 1. False 2. False |
|
| 77. |
The ‘______________’ attribute can be used with text, checkbox, radio, submit or reset. (A) Checked (B) Value (C) Name (D) Maxlength |
|
Answer» Correct option is (B) Value |
|
| 78. |
The ‘______________’ attribute specifies the default selection for options in a checkbox or radio button. (A) Checked (B) Value (C) Name (D) Maxlength |
|
Answer» Correct option is (A) Checked |
|
| 79. |
The web pages are retrieved from the original location with the help of __________ (A) Web Server (B) Uniform Resource Locator (C) Hyper Text Transfer Protocol (D) Hypertext |
|
Answer» (B) Uniform Resource Locator |
|
| 80. |
True or False:1. The web pages are retrieved from the original location with the help of Uniform Resource Locator.2. The full form of HTTP is HyperText Transfer Protocol. |
|
Answer» 1. True 2. True |
|
| 81. |
1. ___________ attribute is used to set scripting language.2. The ___________ is a basic unit of storage in a JavaScript program. |
|
Answer» 1. Language 2. Variable |
|
| 82. |
It aligns the table either to the __________, __________ or __________ (A) Left (B) Png (C) Right (D) Center(E) Gif |
|
Answer» (A) Left, (C) Right, (D) Center |
|
| 83. |
The popular extensions of image file are __________, __________ and __________ (A) Left (B) Png (C) Right (D) Jpg (E) Gif |
|
Answer» (B) Png, (D) Jpg, (E) Gif |
|
| 84. |
Match the following:Column‘A’Column ‘B’(1) <u> (A) (A) Displays textwith underline (2 <small> (B) Displays text in subscript form(3) <sub> (C) Displays text in smallfont size(4) <ins> (D)Anything that appearswithin <ins>…</ins> element is displayed as inserted text |
||||||||||
Answer»
|
|||||||||||
| 85. |
Match the following:Column ‘A’Column ‘B’(1) <footer> (A) Defines additional details(2) <details> (B) Displays text within it in italicized manner(3) <b> (C)Displays text within it in Bold(4) <i> (D) Defines a footer |
||||||||||
Answer»
|
|||||||||||
| 86. |
Match the following:Column ‘A’Column ‘B’(1) Container Tags (A) Defines a header(2) Empty tags(B) Paired tags(3)<!DOCTYPE html>(C) Standalone tags(4) <header>(D) A document type declaration |
||||||||||
Answer»
|
|||||||||||
| 87. |
Confirm() function displays confirmation message box with __________ and __________ button. (A) Ok(B) Single line comment (C) Cancel (D) Multiline comment (E) Programming |
|
Answer» (A) Ok, (C) Cancel |
|
| 88. |
Match the following:Column ‘A’Column ‘B’(1) <nav> (A) Defines a container(2) <section> (B)Defines an independent self-contained article(3) <article> (C) Defines a section(4) <aside> (D)Defines content apart from the content |
||||||||||
Answer»
|
|||||||||||
| 89. |
Match the following:Column‘A’Column ‘B’(1) alt (A) It is referred to as alternate text(2) <HR> tag (B) Define paragraphs(3) <P> tag (C) Display horizontal ruled line(4) table (D) Rows and column |
||||||||||
Answer»
|
|||||||||||
| 90. |
Match the following:Column‘A’Column ‘B’(1) <table> (A) It indicates table heading(2) <caption> (B) It is used to speedy a table heading (3) <tr> (C) Create each row of the table (4) <th> (D) It is used to indicate creation of a table |
||||||||||
Answer»
|
|||||||||||
| 91. |
Match the following:Column‘A’Column ‘B’(1) <IMG> tag (A) Specifies the width of the image(2 src (B)It is used to specify the path of an image file(3) Height (C) Specifies the height of the image(4) Width (D) Insert an image |
||||||||||
Answer»
|
|||||||||||
| 92. |
Match the following:Column‘A’Column ‘B’(1) Bgcolor (A) Creates a checkbox(2) <Input type =”text”> (B) Creates a one line textbox(3) <Input type =”radio”> (C) Creates a radio button(4) <Input type =”checkbox”> (D) Sets the background color |
||||||||||
Answer»
|
|||||||||||
| 93. |
Match the following:Column‘A’Column ‘B’(1) <td> (A) It specifies data within the table (2) Border (B) Aligns the table(3) Border color (C) Displays border in a specific color(4) Align (D) Display a border |
||||||||||
|
Answer» Match the following:
|
|||||||||||
| 94. |
___________ can be called either by an event or by giving call to that function. (A) Function (B) Gmail (C) Hotmail (D) Program |
|
Answer» (A) Function |
|
| 95. |
Event is an action done by the __________ or an __________ (A) Event (B) User(C) Application (D) Call (E) Attributes |
|
Answer» (B) User, (C) Application |
|
| 96. |
__________ are used to generate dynamic Web pages on the Web.(A) JavaScript (B) Scripts (C) Language (D) Python |
|
Answer» Correct option is (B) Scripts |
|
| 97. |
1. ___________ are used to generate dynamic Web pages on the Web.2. ___________ can be use for client side or server side scripting language. |
|
Answer» 1. Scripts 2. JavaScript |
|
| 98. |
The __________ attribute is a user defined value. (A) Type (B) Name (C) Maxlength (D) Size |
|
Answer» Correct option is (B) Name |
|
| 99. |
The web pages are retrieved from the original location with the help of ___________ |
|
Answer» Uniform Resource Locator |
|
| 100. |
__________ is a simple text file created using HTML. (A) World Wide Web (B) Webpage (C) Website (D) Web |
|
Answer» Correct option is (B) Webpage |
|