JS SQL Reviewer

JS SQL Reviewer

10th Grade

15 Qs

quiz-placeholder

Similar activities

Computer Security

Computer Security

8th - 10th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Reconstruction Quiz

Reconstruction Quiz

9th - 11th Grade

10 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

Quiz #2 ETEC 486 | Spr. 16

Quiz #2 ETEC 486 | Spr. 16

KG - University

10 Qs

FNaF1

FNaF1

4th - 12th Grade

19 Qs

Q1 W1 M1 PRE-TEST

Q1 W1 M1 PRE-TEST

10th Grade

15 Qs

JS SQL Reviewer

JS SQL Reviewer

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Joseph Almonte

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is the appropriate location to insert JavaScript code in an HTML file?

Both the section and the section are correct
The section only
Outside the section
The section only

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can "Hello World" be displayed in an alert box using JavaScript?

msgBox("Hello World");
alert("Hello World");
alertBox("Hello World");
Box("Hello World");

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper way to create a function in JavaScript?

function myFunction()
function = myFunction()
functions create()
myFunction() function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can comments be added in a JavaScript code?

//This is a comment
'This is a comment
\\This is a comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript event is triggered when a user clicks on an HTML element?

onchange
onclick
onmouseover
ondbclick

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can the value of the "src" attribute of an image be changed using the HTML DOM and JavaScript?

document.getElementById("image").href = "pic_mountain.jpg";
document.getElementById("image").link = "pic_mountain.jpg";
document.getElementById("image").src = "pic_mountain.jpg";
document.getElementById("image").name = "pic_mountain.jpg";

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for selecting only distinct values from the "Country" column in the "Employees" table?

SELECT UNIQUE Country FROM Employees;
SELECT DIFFERENT Country FROM Employees;
SELECT DISTINCT Country FROM Employees;
SELECT UNIQUE VALUES Country FROM Employees;

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?

Discover more resources for Computers