Class 10 Computer Application Code 165
Unit 2 : HTML – 1 [FORMS]
Multiple Choice Questions [Unit 2 – HTML-I Set 16]
301. The _________ buttons are special buttons which have a traditional purpose to serve.
a. Submit
b. Reset
c. Button
d. Both (a) and (b)
302. When _________ button is clicked then form’s data is submitted to the back-end application.
a. Submit
b. Reset
c. Button
d. Both (a) and (b)
303. When _________ button is clicked then all the forms controls are reset to default state.
a. Submit
b. Reset
c. Button
d. Both (a) and (b)
304. The behaviour of buttons is defined through the _______ attribute at the time of creating the buttons.
a. type
b. value
c. name
d. Both (a) and (b)
Direction : Answer the Question Number 305 to 307 on the basis of the given code:
305. What happen when you click on “Submit” button?
a. It will pass the value of Student Name to “abc.html”
b. It will show the Welcome Message
c. It will open the “abc.html”, without passing the value.
d. None of these
306. What happen when you click on “Reset” button?
a. It will open the “abc.html” without name of student.
b. It will show the Good Bye Message
c. It will clear the text box.
d. None of these
307. What happen when you click on “Click Me” button?
a. It will open the “abc.html” without name of student.
b. It will do nothing, because not specified anything for this button.
c. It will clear the text box.
d. None of these
308. Identify the valid command to create a Submit button using <BUTTON> element?
a. <input type=”submit” value=”Submit”>
b. <button type=”submit”> Submit </submit>
c. <button type =”submit”>Submit </button>
d. None of these
309. Identify the valid command to create a Reset button using <BUTTON> element?
a. <input type=”reset” value=”Reset”>
b. <button type=”reset”> Reset </button>
c. <button type =”button”> Reset</button>
d. None of these
310. The ______ are used when you want to select multiple items.
a. Text Boxes
b. Radio buttons
c. Password Fields
d. Checkboxes
311. The check boxes are creating by using _________ element with _______ attribute set to “checkbox”.
a. BUTTONS, name
b. INPUT, type
c. TEXTAREA, type
d. Checkbox, name
312. Which of the following is a valid statement for creating a checkbox.
a. <input type=”checkbox” name=”sub1″ value=”Maths”>
b. <checkbox type=”checkbox” name=”sub1″ value=”Maths”>
c. <input type=”check” name=”sub1″ value = “maths”>
d. None of these
313. When a checkbox is selected, its _________ pair is sent for processing.
a. type-value
b. name-value
c. name-type
d. None of these
314. The ______ attribute of checkbox is use to mark the checkbox selected default, when the page loads.
a. type
b. name
c. checked
d. None of these
315. The ______ attribute of <INPUT> is indicates that you want to create a checkbox.
a. type
b. name
c. checked
d. None of these
316. The ______ are used when only one option is required to be selected.
a. text box
b. radio buttons
c. check boxes
d. None of these
317. The ______ element is use to crate radio button in HTML.
a. <INPUT>
b. <BUTTON>
c. <RADIOBUTTON>
d. None of these
318. The ______ attribute of <INPUT> is indicates that you want to create a radio button.
a. type
b. name
c. checked
d. None of these
319. Find the appropriate value of type for creating a Radio Button in given statement?
<INPUT> <INPUT type = “_________”>
a. radiobutton
b. radio
c. buttonradio
d. None of these
320. Which of the following attributes of <INPUT> are useful for creating a Radio button?
a. type
b. name
c. checked
d. value
e. All of these