Questions · Page 6 of 9

MCQ

MCQ 2511 Mark
JavaScript statements are written in ……………… brackets.
  • A
    > <
  • B
    ( ) 
  • { } 
  • D
    [ ]
Answer
Correct option: C.
{ } 
(C) { }
View full question & answer
MCQ 2521 Mark
What type of a script is JavaScript ?
  • Application client side 
  • B
    Application server side 
  • C
    For any webpage 
  • D
    All of these
Answer
Correct option: A.
Application client side 
(A) Application client side
View full question & answer
MCQ 2531 Mark
…………. View is selected to see the source code of CSS Stylesheet.
  • A
    Design 
  • Source 
  • C
    Split 
  • D
    Normal
Answer
Correct option: B.
Source 
(B) Source
View full question & answer
MCQ 2541 Mark
………… tab displays the Stylesheet rule that is given to the element.
  • General 
  • B
    Box 
  • C
    Aural 
  • D
    Code
Answer
Correct option: A.
General 
(A) General
View full question & answer
MCQ 2551 Mark
…………… section is used to give specific style to the HTML element.
  • A
    General 
  • B
    Text 
  • C
    Background  
  • All of these
Answer
Correct option: D.
All of these
(D) All of these
View full question & answer
MCQ 2571 Mark
………. Is not the part of the CSS syntax.
  • A
    Selector 
  • B
    Declarations 
  • HTML details 
  • D
    None of these
Answer
Correct option: C.
HTML details 
(C) HTML details
View full question & answer
MCQ 2581 Mark
…………. controls appearance of the webpage.
  • A
    JavaScript 
  • HTML 
  • C
    DHTML 
  • D
    PHP
Answer
Correct option: B.
HTML 
(B) HTML
View full question & answer
MCQ 2591 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 
(A) Selector, declaration
View full question & answer
MCQ 2601 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 
(A) Rules
View full question & answer
MCQ 2611 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 
(A)Cascading Style sheets
View full question & answer
MCQ 2621 Mark
………… type of webpage is static.
  • HTML 
  • B
    DHTML 
  • C
    JAVACRIPT 
  • D
    All of these
Answer
Correct option: A.
HTML 
(A) HTML
View full question & answer
MCQ 2641 Mark
……………. allows you to specify styles for the visual elements of the website.
  • A
    DHTML 
  • B
    HTML 
  • CSS  
  • D
    CHS
Answer
Correct option: C.
CSS  
(C) CSS
View full question & answer
MCQ 2651 Mark
Which of the following stands for NaN ?
  • A
    Not a Numeric 
  • Not a Number 
  • C
    Not a Noun 
  • D
    Not an Numeric
Answer
Correct option: B.
Not a Number 
(B) Not a Number
View full question & answer
MCQ 2661 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 
(A) Window
View full question & answer
MCQ 2671 Mark
Which of the following stands for BOM ?
  • A
    Browser Of Model
  • Browser Object Model
  • C
    Browser Object Modeling
  • D
    Browse Object Model
Answer
Correct option: B.
Browser Object Model
(B) Browser Object Model
View full question & answer
MCQ 2681 Mark
Which of the following is not an event ?
  • A
    Abort 
  • B
    Mouseover 
  • Set 
  • D
    Load
Answer
Correct option: C.
Set 
(C) Set
View full question & answer
MCQ 2691 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 
(C) Event
View full question & answer
MCQ 2701 Mark
Which of the following statements is used to return a value in a function ?
  • Return 
  • B
    Function 
  • C
    Select 
  • D
    Send
Answer
Correct option: A.
Return 
(A) Return
View full question & answer
MCQ 2711 Mark
Which of the following is a perusable block of code that performs a particular task ?
  • A
    Array 
  • B
    Code 
  • C
    Program 
  • Function
Answer
Correct option: D.
Function
(D) Function
View full question & answer
MCQ 2721 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 
(C) Curly bracket
View full question & answer
MCQ 2731 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
  • D
    Java
Answer
Correct option: A.
JavaScript 
(A) JavaScript
View full question & answer
MCQ 2741 Mark
Which of the following is a scripting language that allows adding programming to webpages ?
  • A
    Action script 
  • JavaScript
  • C
    HTML 
  • D
    CSS
Answer
Correct option: B.
JavaScript
(B) JavaScript
View full question & answer
MCQ 2751 Mark
Which of the following has developed JavaScript ?
  • A
    Yahoo 
  • B
    Google 
  • C
    Google 
  • Netscape
Answer
Correct option: D.
Netscape
(D) Netscape
View full question & answer
MCQ 2761 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) selector {property : value}
View full question & answer
MCQ 2771 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 
(B) Selector
View full question & answer
MCQ 2781 Mark
Which of the following is a container for storing data ?
  • Variable 
  • B
    Integer 
  • C
    Event 
  • D
    Event handler
Answer
Correct option: A.
Variable 
(A) Variable
View full question & answer
MCQ 2791 Mark
Which of the following option/s of our web site is/are controlled by CSS?
  • A
    Font types
  • B
    Font and element colors
  • C
    Margins
  • All A, B & C
Answer
Correct option: D.
All A, B & C
D
View full question & answer
MCQ 2801 Mark
What is defined by the keyword function ?
  • A
    Style sheet
  • Function
  • C
    Javascript
  • D
    Both B & C
Answer
Correct option: B.
Function
B
View full question & answer
MCQ 2811 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 2821 Mark
Which of the following tag is used to insert JavaScript code into a HTML page ?
  • A
    < script > ... < script >
  • < script >...< /script >
  • C
    < script >...< //script >
  • D
    < /script >...< /script >
Answer
Correct option: B.
< script >...< /script >
B
View full question & answer
MCQ 2831 Mark
Which of the following is inbuilt function of JavaScript ?
  • A
    ValidateForm($\qquad$)
  • Alert($\qquad$)
  • C
    Check($\qquad$)
  • D
    Draw($\qquad$)
Answer
Correct option: B.
Alert($\qquad$)
B
View full question & answer
MCQ 2851 Mark
In kompozer form, the radio buttons for gender field are grouped by the name 'gender' and gender is an array of two elements, so how this elements will be declared ?
  • gender [0] and gender [1]
  • B
    gender [1] and gender [2]
  • C
    gender [0] and gender [2]
  • D
    gender [2] and gender [1]
Answer
Correct option: A.
gender [0] and gender [1]
A
View full question & answer
MCQ 2861 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 2871 Mark
Which type of data can be stored in the variables?
  • A
    Numbers
  • B
    Strings
  • C
    Text
  • All A, B & C
Answer
Correct option: D.
All A, B & C
D
View full question & answer
MCQ 2881 Mark
Which event would occur when loading of image is cancelled ?
  • Abort
  • B
    Error
  • C
    Load
  • D
    Reset
Answer
Correct option: A.
Abort
A
View full question & answer
MCQ 2891 Mark
By using which statement, it is possible to return function value ?
  • A
    Document.write($\qquad$)
  • return
  • C
    Showvalue($\qquad$)
  • D
    Display($\qquad$)
Answer
Correct option: B.
return
B
View full question & answer
MCQ 2911 Mark
Which of the following varies with different browsers?
  • A
    Scripting language
  • B
    Borders
  • C
    HTML
  • CSS compatibility
Answer
Correct option: D.
CSS compatibility
D
View full question & answer
MCQ 2921 Mark
Which button should be clicked in Image option, to keep an image in the background?
  • A
    Select image
  • Choose file
  • C
    Choose image
  • D
    Select alternate text
Answer
Correct option: B.
Choose file
B
View full question & answer
MCQ 2931 Mark
Which of the following option is not available in 'Text' tab of 'CSS stylesheets' dialog box?
  • A
    Blinking
  • B
    Line height
  • Image
  • D
    Font family
Answer
Correct option: C.
Image
C
View full question & answer
MCQ 2941 Mark
What will be the output of isNaN(123)? OR In JavaScript, isNaN() function returns what, when the value passed is not a number ?
  • A
    Error message
  • B
    No output
  • C
    123
  • False
Answer
Correct option: D.
False
D
View full question & answer
MCQ 2951 Mark
Which of the foll. statementis true for JavaScript variables ?
(i) Variables in JavaScript are case sensitive.
(ii) JavaScript variable can store numbers strings or text.
(iii) In JavaScript, variables can be declared using VAR keyboard.
  • Only (i) and (ii)
  • B
    Only (ii) and (iii)
  • C
    Only (i) and (iii)
  • D
    (i), (ii) and (iii)
Answer
Correct option: A.
Only (i) and (ii)
A
View full question & answer
MCQ 2961 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 2971 Mark
Under which heading a style rule will appear, whenever we add new element, in CSS Style sheets dialogbox ?
  • A
    General
  • Internal stylesheet
  • C
    Aural
  • D
    Background
Answer
Correct option: B.
Internal stylesheet
B
View full question & answer
MCQ 2981 Mark
Which button should be selected in the composition toolbar to apply CSS styles?
  • Cascade
  • B
    CSS
  • C
    HTML elements
  • D
    Style
Answer
Correct option: A.
Cascade
A
View full question & answer
MCQ 2991 Mark
Pad spaces and element position of our website are controlled by which option?
  • A
    HTML
  • CSS
  • C
    Java script
  • D
    Web Browser
Answer
Correct option: B.
CSS
B
View full question & answer
MCQ 3001 Mark
Styles can be applied on which of the following HTML element ?
  • A
    Declaration
  • B
    Property
  • C
    Value
  • Selector
Answer
Correct option: D.
Selector
D
View full question & answer
MCQ - Page 6 - Computer STD 12 Commerce Questions - Vidyadip