Search Header Logo

Quiz3_CSCI_4410

Authored by Xin Yang

Computers

University

Used 6+ times

Quiz3_CSCI_4410
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write "Hello World" in an alert box?

alert("Hello World");  

msg("Hello World");

msgBox("Hello World");

alertBox("Hello World");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct?

jQuery is a JavaScript library

jQuery is a JSON library

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sign does jQuery use as a shortcut for jQuery?

%

$

?

@

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which jQuery function is used to prevent code from running, before the document is finished loading?

$(body).onload()

$(document).load()

$(document).ready()

$(document).loading()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Look at the following selector: $("div p"). What does it select?

The first p element inside a div element  

All div elements with a p element

All p elements inside a div element  

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Look at the following selector: $("p#intro"). What does it select?

The p element with id="intro" 

All p elements with class="intro"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With jQuery, look at the following selector: $("div.intro"). What does it select?

The first div element with id="intro"

All div elements with id="intro"

All div elements with class="intro" 

The first div element with class="intro"

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?