1. Question: Which is/are JavaScript core object(s)?

    A
    Math.

    B
    Array.

    C
    Window.

    D
    Document.

    Note: Not available
    1. Report
  2. Question: What is/are the correct string concatenation?

    A
    var age=21; var str=”My”+”age”+”is ”+age;

    B
    var age=21; var str=My+age+is+age;

    C
    var age=21; var str=”My”+”age”+is ”+age;

    D
    var age=21; var str=My+”age”+is+age;

    E
    var age=21; var str="My age is "+age;

    Note: Not available
    1. Report
  3. Question: Which are the correct comparison operators?

    A
    >=,=<,==,!=

    B
    =<,=>,==,=!

    C
    >=,<=,==,!=

    D
    >=,<=,==,=!

    Note: = sign always be in the right side of the comparison operator
    1. Report
  4. Question: What is the correct form element referencing?

    A
    document.form.element

    B
    document.element

    C
    window.element

    D
    window.form.element

    Note: Not available
    1. Report
  5. Question: Why “new” keyword is used in JavaScript?

    A
    To create a new function

    B
    To create a new class

    C
    To create a new object

    D
    To create a new attribute

    Note: Not available
    1. Report
  6. Question: How do you make comment in JavaScript?

    A
    //    comment

    B
    /*    comment    */

    C
    <!—comment -->

    D
    /*    comment

    Note: Not available
    1. Report
  7. Question: What does DOM stands for?

    A
    Dynamic Object Model

    B
    Document Objective Model

    C
    Document Object Model

    D
    Not as above all

    Note: Not available
    1. Report
  8. Question: What does BOM stands for?

    A
    Browser Object Model

    B
    Building Object Model

    C
    Before Object Model

    D
    Not as above all

    Note: Not available
    1. Report
  9. Question: An object is embedded with _____.

    A
    Both functions and attributes

    B
    Only functions

    C
    Only attributes

    D
    nothing

    Note: Not available
    1. Report
  10. Question: What is the correct output for the following code?
    var str=”This is a text.”;
    alert(str.charAt(3));

    A
    i

    B
    s

    C
    white space

    D
    none

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd