Questions · Page 1 of 9

MCQ

🎯

Test yourself on this topic

50 questions · timed · auto-graded

MCQ 11 Mark
I which of the following is inserted directly into the HTML code?
  • Scripting language (Java Script)
  • B
    HTML
  • C
    CSS
  • D
    Multi media
Answer
Correct option: A.
Scripting language (Java Script)
Scripting language (Java Script)
View full question & answer
MCQ 21 Mark
Which of the following adds interactivity to HTML pages?
  • A
    CSS
  • B
    HTML
  • Scripting language (Java Script)
  • D
    Multi media
Answer
Correct option: C.
Scripting language (Java Script)
Scripting language (Java Script)
View full question & answer
MCQ 31 Mark
Which of the following is used in web pages to improve the design and validate forms?
  • A
    HTML
  • Scripting language (Java Script)
  • C
    CSS
  • D
    Multi media
Answer
Correct option: B.
Scripting language (Java Script)
Scripting language (Java Script)
View full question & answer
MCQ 41 Mark
Which of the following languages is a simple, lightweight programming language that does not contain the advanced programming functionalities?
  • A
    Binary
  • B
    Animation
  • Scripting
  • D
    Lower level
Answer
Correct option: C.
Scripting
Scripting
View full question & answer
MCQ 51 Mark
What is used to add logical aspects to our web pages?
  • A
    HTML
  • JavaScript
  • C
    CSS
  • D
    C
Answer
Correct option: B.
JavaScript
JavaScript
View full question & answer
MCQ 61 Mark
What is used to keep the information content of a document separate from the details of how to display it?
  • A
    HTML
  • B
    JavaScript
  • CSS
  • D
    Script
Answer
Correct option: C.
CSS
CSS
View full question & answer
MCQ 71 Mark
What is used to specify styles for the visual elements of the website?
  • A
    HTML
  • B
    JavaScript
  • CSS
  • D
    Script3
Answer
Correct option: C.
CSS
CSS
View full question & answer
MCQ 81 Mark
Which operator is used to assign value to the variable in JavaScript?
  • =
  • B
    &&
  • C
    = =
  • D
    II
Answer
Correct option: A.
=
=
View full question & answer
MCQ 111 Mark
Which value indicates that not a single option is selected by the user for the city field?
  • A
    0
  • B
    1
  • -1
  • D
    -
Answer
Correct option: C.
-1
-1
View full question & answer
MCQ 121 Mark
How does the first element of gender array (array with radio button) recognize?
  • A
    Gender [-1]
  • Gender [0]
  • C
    Gender [1]
  • D
    Gender [F]
Answer
Correct option: B.
Gender [0]
Gender [0]
View full question & answer
MCQ 131 Mark
If the gender is an array with two elements, and both the elements are false then what is selected by the user?
  • A
    First
  • B
    Second
  • C
    a and b both
  • No option
Answer
Correct option: D.
No option
No option
View full question & answer
MCQ 141 Mark
How Form properties dialogue box can be opened?
  • A
    Insert$→$Form$→$Define Form
  • B
    By right click in the form and select Properties option.
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 151 Mark
Which option is selected from Insert menu to make changes in the field of the form by opening form in KompoZer?
  • A
    Form $\rightarrow$ Field
  • B
    Form $\rightarrow$ change Field
  • Form $\rightarrow$ Form Field
  • D
    Form $\rightarrow$ Edit Field
Answer
Correct option: C.
Form $\rightarrow$ Form Field
Form $\rightarrow$ Form Field
View full question & answer
MCQ 161 Mark
Which respective values are given to all the options in the city field Ahmedabad, Rajkot, Surat in text book?
  • A
    0, 1, 2
  • 1, 2, 3
  • C
    — 1, 0, 1
  • D
    2, 3, 4
Answer
Correct option: B.
1, 2, 3
1, 2, 3
View full question & answer
MCQ 171 Mark
Which is the value of option “Choose the city” of the city field in text book?
  • A
    0
  • —1
  • C
    1
  • D
    2
Answer
Correct option: B.
—1
—1
View full question & answer
MCQ 181 Mark
Which is a statement in is form to place cursor in pin code field and highlight
  • document.js1.pin code.focus0;
  • B
    document.js1.pincode.onfocus0;
  • C
    a and b both
  • D
    None of these
Answer
Correct option: A.
document.js1.pin code.focus0;
document.js1.pin code.focus0;
View full question & answer
MCQ 191 Mark
Which is a statement on display alert message “Enter the pin code property”?
  • Alert (”Enter the Pin code properly”);
  • B
    Alert (”Enter the code properly”);
  • C
    a and b both
  • D
    None of these
Answer
Correct option: A.
Alert (”Enter the Pin code properly”);
Alert (”Enter the Pin code properly”);
View full question & answer
MCQ 201 Mark
Which if statement for a variable y which is empty, not a number, not equal to six digits?
  • A
    If (y=” “|| is Nan(y) || y.length > 6)
  • If(y= =““|| is Nan(y) || y.length >61|| y.length <6)
  • C
    a and b both
  • D
    None of these
Answer
Correct option: B.
If(y= =““|| is Nan(y) || y.length >61|| y.length <6)
If(y= =““|| is Nan(y) || y.length >61|| y.length <6)
View full question & answer
MCQ 221 Mark
Which of the following functions returns True value?
  • is Nan (“HELLO”)
  • B
    is Nan (123)
  • C
    is Nan (45.84)
  • D
    a and b both
Answer
Correct option: A.
is Nan (“HELLO”)
is Nan (“HELLO”)
View full question & answer
MCQ 241 Mark
Which value is Nan function returns if the value?
  • A
    False
  • True
  • C
    Nan
  • D
    Not Nan
Answer
Correct option: B.
True
0
View full question & answer
MCQ 251 Mark
Which value is Nan () function return if the value is not-a- number?
  • True
  • B
    False
  • C
    Nan
  • D
    Note Nan
Answer
Correct option: A.
True
A
View full question & answer
MCQ 261 Mark
Which type of function is Nan0 in JavaScript?
  • Numeric
  • B
    Text
  • C
    Logica1
  • D
    Relational
Answer
Correct option: A.
Numeric
Numeric
View full question & answer
MCQ 271 Mark
To work with which of the following, JavaScript uses built-in functions?
  • A
    Logical
  • Numeric
  • C
    Relationa1
  • D
    Binary
Answer
Correct option: B.
Numeric
Numeric
View full question & answer
MCQ 281 Mark
Which validation is applied for pin code field in text book?
  • A
    User should not keep the field empty.
  • B
    The pin code should be 6 digits long.
  • C
    Only numbers are allowed.
  • All of these.
Answer
Correct option: D.
All of these.
All of these.
View full question & answer
MCQ 291 Mark
What is to be added for any field of the form?
  • A
    Label
  • B
    Input field
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 301 Mark
What does the red asterisk (*) indicate, while filling forms on Interne?
  • A
    It is a compulsory field
  • B
    It should not be kept empty.
  • a and b both
  • D
    None of these
Answer
Correct option: C.
a and b both
a and b both
View full question & answer
MCQ 311 Mark
By which color asterisk (*) are some fields marked while filling forms on Internet?
  • Red
  • B
    Black
  • C
    Green
  • D
    Yellow
Answer
Correct option: A.
Red
Red
View full question & answer
MCQ 321 Mark
What kind of element can be created by using focus method?
  • Highlighted
  • B
    Italics
  • C
    Underlined
  • D
    Light
Answer
Correct option: A.
Highlighted
Highlighted
View full question & answer
MCQ 331 Mark
Where the cursor will be placed using focus method?
  • Inside the element
  • B
    Outside the element
  • C
    Upper line of the element
  • D
    Next lined of the element
Answer
Correct option: A.
Inside the element
Inside the element
View full question & answer
MCQ 341 Mark
Which of the following methods is used to place the cursor inside element and the particular element will be highlighted?
  • Focus
  • B
    Document
  • C
    Blur
  • D
    Highlights
Answer
Correct option: A.
Focus
Focus
View full question & answer
MCQ 351 Mark
Which method is used to focus on a particular element of the form?
  • Focus
  • B
    Document
  • C
    Blur
  • D
    Highlights
Answer
Correct option: A.
Focus
Focus
View full question & answer
MCQ 371 Mark
Which of the following can be element objects?
  • A
    Text area, Button
  • B
    Password, select
  • C
    Reset
  • All of these
Answer
Correct option: D.
All of these
All of these
View full question & answer
MCQ 381 Mark
Which of the following can be element objects?
  • A
    Check box
  • B
    Text box
  • C
    Radio button
  • All of these
Answer
Correct option: D.
All of these
All of these
View full question & answer
MCQ 391 Mark
Which object is used to reference each element in a form?
  • A
    Document
  • B
    Window
  • Element
  • D
    Location
Answer
Correct option: C.
Element
Element
View full question & answer
MCQ 401 Mark
Which of the following object does the Form object contain?
  • A
    Location
  • B
    Window
  • C
    Document
  • Element
Answer
Correct option: D.
Element
Element
View full question & answer
MCQ 411 Mark
In which of the following objects is the Form object contained?
  • Document
  • B
    Window
  • C
    History
  • D
    Location
Answer
Correct option: A.
Document
Document
View full question & answer
MCQ 421 Mark
The form object which is used by JavaScript to represent forms created using element is within which object?
  • Document
  • B
    Window
  • C
    History
  • D
    Location
Answer
Correct option: A.
Document
Document
View full question & answer
MCQ 431 Mark
Which elements of the Webpage are contained within the document object?
  • A
    Forms, Images
  • B
    Links
  • C
    Other elements
  • All of these
Answer
Correct option: D.
All of these
All of these
View full question & answer
MCQ 441 Mark
Which object is used to represent the Webpage displayed in the browser?
  • Document
  • B
    Window
  • C
    Form
  • D
    Link
Answer
Correct option: A.
Document
Document
View full question & answer
MCQ 451 Mark
Which is the most important object in the browser object model?
  • A
    Link
  • B
    Form
  • Document
  • D
    Window
Answer
Correct option: C.
Document
Document
View full question & answer
MCQ 461 Mark
Which of the following is controlled by the methods of document object?
  • Web page
  • B
    Window
  • C
    Link
  • D
    CSS
Answer
Correct option: A.
Web page
Web page
View full question & answer
MCQ 471 Mark
Which of the following is controlled by methods of window object?
  • Web browser window
  • B
    Link
  • C
    CSS
  • D
    Web page
Answer
Correct option: A.
Web browser window
Web browser window
View full question & answer
MCQ 481 Mark
Document object is contained by which of the following objects?
  • A
    His tort
  • B
    Form
  • C
    Link
  • Window
Answer
Correct option: D.
Window
Window
View full question & answer
MCQ 491 Mark
Which kind of object Window object is as it contains all the other objects of the browser object model within it?
  • Global
  • B
    Module
  • C
    Local
  • D
    All of these
Answer
Correct option: A.
Global
Global
View full question & answer
MCQ 501 Mark
Which kind of object Window object is?
  • A
    Local
  • B
    Module
  • Global
  • D
    All of these
Answer
Correct option: C.
Global
Global
View full question & answer
MCQ - Computer STD 12 Commerce Questions - Vidyadip