1. Question: How do you find the largest number of 6 and 8?

    A
    Math.max(6,8)

    B
    top(6,8)

    C
    ceil(6,8)

    D
    Math.ceil(6,8)

    Note: Not available
    1. Report
  2. Question: What is the correct JavaScript syntax for opening a new window called "window5" ?

    A
    new("http://www.ex-designz.net","window5")

    B
    window.open("http://www.ex-designz.net","window5")

    C
    open.new window("http://www.ex-designz.net","window5")

    D
    new.window("http://www.ex-designz.net","window5")

    Note: Not available
    1. Report
  3. Question: How do you put a message in the browser's status bar?

    A
    window.status = "put your message here"

    B
    statusbar = "put your message here"

    C
    status("put your message here")

    D
    window.status("put your message here")

    Note: Not available
    1. Report
  4. Question: How do you find the client's browser name?

    A
    browser.name

    B
    navigator.appName

    C
    client.navName

    D
    none

    Note: Not available
    1. Report
  5. Question: You define an array using-

    A
    var myarray = new Array();

    B
    var myarray = array new;

    C
    var new Array() = myarray;

    D
    var new array = myarray;

    Note: Not available
    1. Report
  6. Question: Which is the numerical literal?

    A
    "1507"

    B
    1507

    C
    true

    D
    "Integer"

    Note: Not available
    1. Report
  7. Question: Which best describe void?

    A
    A method

    B
    A function

    C
    An operator

    D
    A statement

    Note: Not available
    1. Report
  8. Question: Which property would you use to redirect visitor to another page?

    A
    window.location.href

    B
    document.href

    C
    java.redirect.url

    D
    link.redirect.href

    Note: Not available
    1. Report
  9. Question: Which of the following JavaScript statements use arrays?

    A
    setTimeout("a["+i+"]",1000)

    B
    k = a & i

    C
    k = a(i)

    D
    a{i++}

    Note: Not available
    1. Report
  10. Question: You are a junior web designer. Your company assigns you to work on a JavaScript project. Which of the following are the advantages of using JavaScript for form validation?

    A
    Conservation of client CPU resources

    B
    Increased validity of form submission

    C
    Conservation of bandwidth

    D
    Increase end-user satisfaction

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