GoConqr has a new look! Let us know what you think.

Quiz

Review

Jio Serrano 30 questions

Take the quiz

Questions in this quiz (30)

  1. 1Entering about:blank in the address bar of your browser will:
    1. Aopen a tab with information about your browser.
    2. Bclear all inputs on the current page.
    3. Cgenerate a page with information about the browser’s status.
    4. Dgenerate and load a minimal blank HTML page into the current tab.
  2. 2Analyze the following code:

    let id = "100";
    {
    let id = 200;
    id = id + 1;
    console.log(id);
    }
    1. A1001
    2. B101
    3. C201
    4. D200
  3. 3Select a set of data types, containing only complex types:
    1. AObject, String
    2. BBoolean, Number, Bigint
    3. CArray, Object
    4. DArray, Object, String
  4. 4We can replace the declaration let x = 3e-3; with:
    1. Alet x = 3000;
    2. Blet x = 0.003;
    3. Clet x = 0.0003;
    4. Dlet x = 0.333;
  5. 5Using the string interpolation technique, we can create the string:
    "I do not like travelling by plane"
    1. Alet means = "plane";
      let msg = 'I do not like travelling by \{ means \}';
    2. Blet means = "plane";
      let msg = "I do not like travelling by ${ means }";
    3. Clet means = "plane";
      let msg = `I do not like travelling by ${means}`;
    4. Dlet means = "plane";
      let msg = `I do not like travelling by {means}`;
  6. 6We declare a movie object, with two fields: title and year:

    let movie = {
    title: "Life",
    year: 1999

    To change the value of the title field to "Matrix" we need to perform:
    1. Amovie[title] = "Matrix";
    2. Bmovie.title = "Matrix";
    3. Cmovie{title} = "Matrix";
    4. Dtitle->movie = "Matrix";
  7. 7You declare the following array of animals: let animals = ["canary", "dog", "cat"];. Then, you call the method animals.push("hamster");. What will the animals array look like after calling the method?
    1. A["canary", "dog", "cat", "hamster"]
    2. B["hamster"]
    3. C["hamster", "canary", "dog", "cat"]
    4. D["canary", "dog", "cat"]
  8. 8A JavaScript code includes the console.log("http://somethingNew.org"); command. Its execution will:
    1. Adisplay on the console information about the progress of the http://somethingNew.org page loading.
    2. Bcause the page http://somethingNew.org to be loaded into the browser.
    3. Csend a log with information about the currently executed script to the indicated address http://somethingNew.org.
    4. Ddisplay the following message on the console: "http://somethingNew.org".
  9. 9Analyze the code snippet:
    let winter = ["December", "January", "February"]; let index = winter.indexOf("February");

    What value will the index variable have?

    1. A"February"
    2. B2
    3. C3
    4. D1
  10. 10In the daysOfWeek variable, you place an array with the names of the days of the week. Which method will you call to reverse the order of the array elements.
    1. AdaysOfWeek.invert();
    2. BdaysOfWeek = reverse(daysOfWeek);
    3. CdaysOfWeek.reverse();
    4. DdaysOfWeek.order(-1);

Information

Description
Quiz on Review, created by Jio Serrano on 20/09/2024.
Language
English
Views
14
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?