Questions · Page 7 of 9

MCQ

MCQ 3011 Mark
Var x = document.js1.name.value In above statement, which is a variable ?
  • x
  • B
    document
  • C
    js1
  • D
    name.value
Answer
Correct option: A.
x
A
View full question & answer
MCQ 3021 Mark
By using which option, we can set all element types to appear in a style as per our choice ?
  • A
    Java script
  • CSS
  • C
    Web browser
  • D
    Web server
Answer
Correct option: B.
CSS
B
View full question & answer
MCQ 3031 Mark
A reusable block of code that performs a particular task is called.....
  • A
    Script
  • Function
  • C
    Style sheet
  • D
    Web page
Answer
Correct option: B.
Function
B
View full question & answer
MCQ 3041 Mark
Which kind of web pages can be created using HTML ?
  • A
    Dynamic
  • Static
  • C
    Simple without formatting
  • D
    All A, B & C
Answer
Correct option: B.
Static
B
View full question & answer
MCQ 3051 Mark
Which event would occur when element such as radio button becomes active ?
  • A
    Abort
  • B
    Blur
  • C
    Select
  • Focus
Answer
Correct option: D.
Focus
D
View full question & answer
MCQ 3061 Mark
Which built-in function of JavaScript is commonly used to work with numeric values?
  • A
    Number($\qquad$)
  • B
    isNumber($\qquad$)
  • C
    isString($\qquad$)
  • isNaN($\qquad$)
Answer
Correct option: D.
isNaN($\qquad$)
D
View full question & answer
MCQ 3071 Mark
In following Javascript statement,
var x = document.admin.fname.value;
which of the folowing indicates form name in Kompozer ?
  • A
    document
  • admin
  • C
    fname
  • D
    value
Answer
Correct option: B.
admin
B
View full question & answer
MCQ 3081 Mark
Which of the following is used for "OR" in Javascript statement ?
  • A
    && (two ampersand)
  • B
    ** (two star)
  • !! (two pipe sign)
  • D
    ;; (two semicolon)
Answer
Correct option: C.
!! (two pipe sign)
C
View full question & answer
MCQ 3091 Mark
Which of the following is an example of event handler in Javascript ?
  • A
    On Submit Click ($\qquad$)
  • B
    Submit on ($\qquad$)
  • C
    Submit Click on ($\qquad$)
  • On Submit ($\qquad$)
Answer
Correct option: D.
On Submit ($\qquad$)
D
View full question & answer
MCQ 3101 Mark
With which event, elements such as radio button becomes inactive ?
  • A
    Change
  • Blur
  • C
    Unload
  • D
    Select
Answer
Correct option: B.
Blur
B
View full question & answer
MCQ 3111 Mark
Which of following is not on example of Event in Javascript ?
  • Take
  • B
    Load
  • C
    Error
  • D
    Focus
Answer
Correct option: A.
Take
A
View full question & answer
MCQ 3121 Mark
What will be generated by browser, when the interaction between the user and the web page occur?
  • A
    Action
  • B
    Method
  • Event
  • D
    Interaction
Answer
Correct option: C.
Event
C
View full question & answer
MCQ 3131 Mark
How many tabs are available in right side window of 'CSS stylesheets' dialog box?
  • 7
  • B
    8
  • C
    9
  • D
    10
Answer
Correct option: A.
7
A
View full question & answer
MCQ 3141 Mark
In CSS, property and value are separated by which symbol ?
  • A
    Comma
  • Colon
  • C
    Space
  • D
    Semicolon
Answer
Correct option: B.
Colon
B
View full question & answer
MCQ 3151 Mark
Which method is used to apply focus on a particular element of the form ?
  • A
    Select
  • B
    Load
  • Focus
  • D
    Click
Answer
Correct option: C.
Focus
C
View full question & answer
MCQ 3161 Mark
In the statement,
"document.write("Hello World");"
Which is the method ?
  • A
    Hello World
  • B
    document
  • C
    document.write
  • write
Answer
Correct option: D.
write
D
View full question & answer
MCQ 3171 Mark
Which symbols are used to start and end a block?
  • A
    ($\qquad$)
  • B
    [$\qquad$]
  • {$\qquad$}
  • D
    "$\qquad$"
Answer
Correct option: C.
{$\qquad$}
C
View full question & answer
MCQ 3181 Mark
Which color asterisk mark is indication of compulsory field of online form ?
  • A
    Blue
  • Red
  • C
    Yellow
  • D
    Green
Answer
Correct option: B.
Red
B
View full question & answer
MCQ 3191 Mark
Which event would occur when document or image is loaded?
  • A
    Focus
  • B
    Reset
  • Load
  • D
    Unload
Answer
Correct option: C.
Load
C
View full question & answer
MCQ 3211 Mark
In the example of CSS,
H1 { color: green };
Which is selector ?
  • H1
  • B
    Color
  • C
    Green
  • D
    {}
Answer
Correct option: A.
H1
A
View full question & answer
MCQ 3231 Mark
Which symbol is used as a mark of separation or termination?
  • A
    Colon
  • B
    Dot
  • C
    Comma
  • Semicolon
Answer
Correct option: D.
Semicolon
D
View full question & answer
MCQ 3241 Mark
Which of the following is known as special symbol in the syntax of CSS?
  • A
    Rules
  • B
    Selector
  • Declaration
  • D
    Input
Answer
Correct option: C.
Declaration
C
View full question & answer
MCQ 3251 Mark
What is used to create a group of JavaScript statements?
  • A
    Group
  • Block
  • C
    Function
  • D
    Program
Answer
Correct option: B.
Block
B
View full question & answer
MCQ 3261 Mark
What will be the output of isNaN("hello")?
  • A
    Hello
  • True
  • C
    Error message
  • D
    No output
Answer
Correct option: B.
True
B
View full question & answer
MCQ 3271 Mark
What is controlled by the methods and properties of the window object?
  • A
    Web page
  • Web browser window
  • C
    Web site
  • D
    Functions
Answer
Correct option: B.
Web browser window
B
View full question & answer
MCQ 3281 Mark
In which condition, the program enters if block and executes the statements inside it?
  • A
    False
  • B
    Unpredictable
  • C
    Any
  • True
Answer
Correct option: D.
True
D
View full question & answer
MCQ 3291 Mark
What is the name of JavaScript code which is executed in response to a given situation, when an event occurs?
  • A
    Validation
  • Event handler
  • C
    Function
  • D
    Event
Answer
Correct option: B.
Event handler
B
View full question & answer
MCQ 3301 Mark
Which event would occur when we move mouse off the element?
  • A
    Change
  • mouseout
  • C
    mouseover
  • D
    Click
Answer
Correct option: B.
mouseout
B
View full question & answer
MCQ 3311 Mark
Which button will open "Advanced Property Editor" dialog box?
  • Advanced Edit
  • B
    Open
  • C
    General
  • D
    Properties
Answer
Correct option: A.
Advanced Edit
A
View full question & answer
MCQ 3321 Mark
In the "document.write("Hello World")" statement, which is object?
  • A
    "Hello World"
  • B
    Write
  • document
  • D
    document.write($\qquad$)
Answer
Correct option: C.
document
C
View full question & answer
MCQ 3331 Mark
In which section we can select fonts of our choice?
  • A
    Fontweight
  • Font family
  • C
    Font style
  • D
    Case
Answer
Correct option: B.
Font family
B
View full question & answer
MCQ 3341 Mark
Which of the following is a container for storing data?
  • Variable
  • B
    Event
  • C
    Event handler
  • D
    Script
Answer
Correct option: A.
Variable
A
View full question & answer
MCQ 3351 Mark
Which of the following is the syntax of CSS?
  • A
    select {property: value}
  • B
    selector {value: property}
  • selector {property: value}
  • D
    selection {property :value}
Answer
Correct option: C.
selector {property: value}
C
View full question & answer
MCQ 3361 Mark
Which built-in function of JavaScript is commonly used to work with numeric values ?
  • A
    Number($\qquad$)
  • B
    isNumber($\qquad$)
  • C
    isString($\qquad$)
  • isNaN($\qquad$)
Answer
Correct option: D.
isNaN($\qquad$)
D
View full question & answer
MCQ 3371 Mark
Which is the most important object in the browser object model ?
  • A
    Parent
  • Document
  • C
    Link
  • D
    History
Answer
Correct option: B.
Document
B
View full question & answer
MCQ 3381 Mark
Which is the global object of the browser object model ?
  • Window
  • B
    Document
  • C
    History
  • D
    Top
Answer
Correct option: A.
Window
A
View full question & answer
MCQ 3391 Mark
Why the conditional statement if is used?
  • A
    To declare variable
  • B
    To create function
  • To change the flow of program
  • D
    To break the program
Answer
Correct option: C.
To change the flow of program
C
View full question & answer
MCQ 3401 Mark
Which conditional statement is used to change the flow of the program ?
  • A
    Script
  • If
  • C
    Function
  • D
    Method
Answer
Correct option: B.
If
B
View full question & answer
MCQ 3411 Mark
Which event would occur when user submits a form ?
  • Submit
  • B
    Reset
  • C
    Both A & B
  • D
    Load
Answer
Correct option: A.
Submit
A
View full question & answer
MCQ 3421 Mark
Which function takes the text and displays it in an alert box ?
  • alert($\qquad$)
  • B
    write($\qquad$)
  • C
    display($\qquad$)
  • D
    show($\qquad$)
Answer
Correct option: A.
alert($\qquad$)
A
View full question & answer
MCQ 3431 Mark
Which symbols are used to start and end a block ?
  • A
    ($\qquad$)
  • B
    [$\qquad$]
  • {$\qquad$}
  • D
    "$\qquad$"
Answer
Correct option: C.
{$\qquad$}
C
View full question & answer
MCQ 3441 Mark
Which is the most common form of JavaScript today?
  • Client side script
  • B
    Server side script
  • C
    Both A & B
  • D
    VB Script
Answer
Correct option: A.
Client side script
A
View full question & answer
MCQ 3451 Mark
Which can add interactivity to HTML pages ?
  • A
    CSS
  • JavaScript
  • C
    HTML
  • D
    Frames
Answer
Correct option: B.
JavaScript
B
View full question & answer
MCQ 3461 Mark
Which is used to improve the design in web pages and validate the forms ?
  • JavaScript
  • B
    HTML
  • C
    CSS
  • D
    HTML Forms
Answer
Correct option: A.
JavaScript
A
View full question & answer
MCQ 3471 Mark
Which program does not support some of the style features ?
  • A
    Panel
  • B
    Status bar
  • Browser
  • D
    Editor
Answer
Correct option: C.
Browser
C
View full question & answer
MCQ 3481 Mark
Which are the main parts of CSS rule ?
  • A
    A Selector and one or more preferences
  • B
    A Property and one or morevalues
  • A Selector and one or more declarations
  • D
    None of the above
Answer
Correct option: C.
A Selector and one or more declarations
C
View full question & answer
MCQ 3491 Mark
What is the full form of CSS ?
  • A
    Case Study Sheet
  • B
    Computer Style Sheet
  • Cascading Style Sheet
  • D
    Computerized Spread Sheet
Answer
Correct option: C.
Cascading Style Sheet
C
View full question & answer
MCQ 3501 Mark
Which of the following is a scripting language that allow us to add logical aspects to our web pages ?
  • JavaScript
  • B
    VB Script
  • C
    HTML
  • D
    Event
Answer
Correct option: A.
JavaScript
A
View full question & answer
MCQ - Page 7 - COMPUTER STD 12 Science Questions - Vidyadip