Questions · Page 5 of 9

MCQ

MCQ 2011 Mark
What is Hi, in Hi {color: green}?
  • Selector
  • B
    Property
  • C
    Value
  • D
    Declaration
Answer
Correct option: A.
Selector
Selector
View full question & answer
MCQ 2021 Mark
Which of the following section consists of a property associated with the HTML element used in selector and its corresponding value.?
  • Declarations
  • B
    Selector
  • C
    Variable
  • D
    Function
Answer
Correct option: A.
Declarations
Declarations
View full question & answer
MCQ 2031 Mark
Which of the following is HTML element on which we want to apply the style?
  • A
    Declarations
  • Selector
  • C
    Variable
  • D
    Function
Answer
Correct option: B.
Selector
Selector
View full question & answer
MCQ 2051 Mark
Syntax of which of the following consists of special symbols known as rules?
  • A
    HTML
  • B
    Java
  • C
    CSS
  • JavaScript
Answer
Correct option: D.
JavaScript
JavaScript
View full question & answer
MCQ 2061 Mark
Using CSS, what can be controlled in our website?
  • font, font types and element colors
  • B
    pad spaces
  • C
    margins and element position
  • D
    all of these
Answer
Correct option: A.
font, font types and element colors
font, font types and element colors
View full question & answer
MCQ 2071 Mark
Which of the following describes the style of the elements in the document and not its contents?
  • HTML
  • B
    CSS
  • C
    JavaScript
  • D
    Java
Answer
Correct option: A.
HTML
View full question & answer
MCQ 2081 Mark
Which of the following is used to describe the information content of the document and not the style?
  • HTML
  • B
    CSS
  • C
    JavaScript
  • D
    Java
Answer
Correct option: A.
HTML
HTML
View full question & answer
MCQ 2091 Mark
Which of the following is used to set all element types to appear in a style as per our choice?
  • A
    Java
  • CSS
  • C
    JavaScript
  • D
    C
Answer
Correct option: B.
CSS
CSS
View full question & answer
MCQ 2101 Mark
Which of the following is an advantage to keep the style separate from the content?
  • A
    Use the same content with different styles for different purposes.
  • B
    Avoid duplication in coding.
  • C
    Easy maintenance of code.
  • All of these
Answer
Correct option: D.
All of these
All of these
View full question & answer
MCQ 2111 Mark
What is known as how to display the document?
  • A
    Template
  • B
    Wizard
  • Style
  • D
    Object
Answer
Correct option: C.
Style
Style
View full question & answer
MCQ 2121 Mark
Which of the following helps us to keep the information content of a document separate from the details of how to display it?
  • A
    Form
  • CSS
  • C
    Frame
  • D
    javaScript
Answer
Correct option: B.
CSS
CSS
View full question & answer
MCQ 2131 Mark
CSS helps you to specify which of the following is for the visual elements of the website.
  • Style
  • B
    Size
  • C
    Face
  • D
    Template
Answer
Correct option: A.
Style
Style
View full question & answer
MCQ 2141 Mark
Which of the following stands for Naan?
  • A
    Not a Numeric
  • Not a Number
  • C
    Not a Noun
  • D
    Not a Numeric
Answer
Correct option: B.
Not a Number
Not a Number
View full question & answer
MCQ 2151 Mark
Which of the following is the top level object in the Browser Object Model?
  • Window
  • B
    Document
  • C
    Page
  • D
    Location
Answer
Correct option: A.
Window
Window
View full question & answer
MCQ 2161 Mark
Which of the following stands for BOM
  • Browser Object Model
  • B
    Browser of Model
  • C
    Browser Object Modelling
  • D
    Browse Object Model
Answer
Correct option: A.
Browser Object Model
Browser Object Model
View full question & answer
MCQ 2171 Mark
Which of the following is a container for storing data?
  • Variable
  • B
    Integer
  • C
    Event
  • D
    Event handler
Answer
Correct option: A.
Variable
Variable
View full question & answer
MCQ 2191 Mark
Which of the following is generated by the browser due to interaction between the user and the Webpage?
  • A
    Function
  • B
    Response
  • Event
  • D
    Value
Answer
Correct option: C.
Event
Event
View full question & answer
MCQ 2201 Mark
Which of the following statement is used to return a value in a function?
  • return
  • B
    function
  • C
    select
  • D
    send
Answer
Correct option: A.
return
return
View full question & answer
MCQ 2211 Mark
Which of the following is a reusable block of code that performs a particular task?
  • A
    Array
  • B
    Code
  • C
    Program
  • Function
Answer
Correct option: D.
Function
Function
View full question & answer
MCQ 2221 Mark
Which of the following is a reusable block of code that performs a particular task?
  • A
    Array
  • B
    Code
  • C
    Program
  • Function
Answer
Correct option: D.
Function
Function
View full question & answer
MCQ 2231 Mark
Which of the following symbol signifies the start and end of a JavaScript block?
  • A
    semicolon
  • B
    square bracket
  • curly bracket
  • D
    round bracket
Answer
Correct option: C.
curly bracket
curly bracket
View full question & answer
MCQ 2241 Mark
Which of the following is a scripting language that is simple, lightweight programming language that does not contain advanced programming functionalities?
  • JavaScript
  • B
    HTML
  • C
    C
  • D
    Java
Answer
Correct option: A.
JavaScript
JavaScript
View full question & answer
MCQ 2251 Mark
Which of the following is a scripting language that, allows adding programming to web pages?
  • A
    Action script
  • JavaScript
  • C
    HTML
  • D
    CSS
Answer
Correct option: B.
JavaScript
JavaScript
View full question & answer
MCQ 2261 Mark
Which of the following has developed JavaScript?
  • A
    Yahoo
  • B
    Google
  • C
    Wikipedia
  • Netscape
Answer
Correct option: D.
Netscape
Netscape
View full question & answer
MCQ 2271 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}
selector {property: value}
View full question & answer
MCQ 2281 Mark
Which of the following is an HTML element on which style can be applied?
  • A
    declaration
  • selector
  • C
    select
  • D
    declare
Answer
Correct option: B.
selector
selector
View full question & answer
MCQ 2291 Mark
Which of the following are two main parts of CSS rule?
  • Selector, declaration
  • B
    Select, declaration
  • C
    Selector, declare
  • D
    Selection, declaration
Answer
Correct option: A.
Selector, declaration
Selector, declaration
View full question & answer
MCQ 2301 Mark
Which of the following is known as special symbol in the syntax of CSS?
  • Rules
  • B
    Selector
  • C
    Declaration
  • D
    Input
Answer
Correct option: A.
Rules
Rules
View full question & answer
MCQ 2311 Mark
Which of the following allows specifying styles for the visual elements of the website?
  • Cascading Style Sheets
  • B
    Web page
  • C
    Form
  • D
    Animation
Answer
Correct option: A.
Cascading Style Sheets
Cascading Style Sheets
View full question & answer
MCQ 2321 Mark
inNaN(123) will give ………….. output.
  • A
    true 
  • false 
  • C
    error 
  • D
    123 
Answer
Correct option: B.
false 
(B) false
View full question & answer
MCQ 2331 Mark
……….. is the most used numerical function in JavaScript.
  • isNaN( ) 
  • B
    Number( ) 
  • C
    digits( ) 
  • D
    None of these
Answer
Correct option: A.
isNaN( ) 
(A) isNaN( )
View full question & answer
MCQ 2341 Mark
The top level object in the browser object model is ………… object.
  • A
    document 
  • B
    form 
  • window 
  • D
    link
Answer
Correct option: C.
window 
(C) window
View full question & answer
MCQ 2351 Mark
All browsers are split into different parts or objects that can be accessed using JavaScript. These parts are known as ………….. .
  • BOM 
  • B
    BOC 
  • C
    MOB 
  • D
    OBC
Answer
Correct option: A.
BOM 
(A) BOM
View full question & answer
MCQ 2361 Mark
……… is used to declare variables in JavaScript.
  • A
    Var 
  • var 
  • C
    VAR 
  • D
    vr
Answer
Correct option: B.
var 
(B) var
View full question & answer
MCQ 2381 Mark
When document or image is loaded, it is known as …………… event.
  • load 
  • B
    select 
  • C
    click 
  • D
    submit
Answer
Correct option: A.
load 
(A) load
View full question & answer
MCQ 2391 Mark
……… built in function is there to work with numbers in JavaScript.
  • A
    digits( ) 
  • B
    isNaN( ) 
  • isnan( ) 
  • D
    alert( )
Answer
Correct option: C.
isnan( ) 
(C) isnan( )
View full question & answer
MCQ 2401 Mark
………. is used to clear the validation of the entered data.
  • A
    HTML 
  • B
    DHTML 
  • C
    Java 
  • JavaScript
Answer
Correct option: D.
JavaScript
(D) JavaScript
View full question & answer
MCQ 2411 Mark
…………. Object is the most important object in the browser object model.
  • A
    Radio button 
  • B
    Text box 
  • C
    Check box 
  • All of these
Answer
Correct option: D.
All of these
(D) All of these
View full question & answer
MCQ 2421 Mark
By ………….. web browser window is controlled in window object.
  • A
    methods 
  • B
    properties 
  • both (A) and (B)
  • D
    document
Answer
Correct option: C.
both (A) and (B)
(C) (A) and (B) Both
View full question & answer
MCQ 2431 Mark
The window object is the ………….. object in the browser.
  • A
    main 
  • global 
  • C
    changer 
  • D
    normal
Answer
Correct option: B.
global 
(B) global
View full question & answer
MCQ 2441 Mark
…………. means the storage for storing values.
  • Variable 
  • B
    Parameter 
  • C
    Identifier 
  • D
    All of these
Answer
Correct option: A.
Variable 
(A) Variable
View full question & answer
MCQ 2451 Mark
When element such as button becomes active, it is known as ………….. event.
  • A
    active 
  • B
    blur 
  • focus 
  • D
    select
Answer
Correct option: C.
focus 
(C) focus
View full question & answer
MCQ 2461 Mark
When user clicks the submit button is known as …………..
  • events 
  • B
    event handler 
  • C
    work
  • D
    process
Answer
Correct option: A.
events 
(A) events
View full question & answer
MCQ 2471 Mark
Values given in the function are known as ……………
  • A
    variable 
  • B
    arguments 
  • C
    parameters 
  • (B) or (C)
Answer
Correct option: D.
(B) or (C)
(D) (B) or (C)
View full question & answer
MCQ 2481 Mark
………….. type of function is alert ().
  • A
    User defined 
  • Built-in 
  • C
    Simple and easy 
  • D
    None of these
Answer
Correct option: B.
Built-in 
(B) Built-in
View full question & answer
MCQ 2491 Mark
Function is also known as …………. .
  • routine 
  • B
    dynaset 
  • C
    task 
  • D
    procedure
Answer
Correct option: A.
routine 
(A) routine
View full question & answer
MCQ 2501 Mark
Functions are defined with ………….. keyword.
  • function 
  • B
    main 
  • C
    void main 
  • D
    func
Answer
Correct option: A.
function 
(A) function
View full question & answer
MCQ - Page 5 - Computer STD 12 Commerce Questions - Vidyadip