JS SQL Reviewer

JS SQL Reviewer

10th Grade

15 Qs

quiz-placeholder

Similar activities

Python - Quiz

Python - Quiz

9th - 11th Grade

17 Qs

SQL (3)

SQL (3)

2nd - 12th Grade

10 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Python outputs

Python outputs

7th - 11th Grade

20 Qs

iGCSE Computer Science: Programming Languages

iGCSE Computer Science: Programming Languages

9th - 12th Grade

20 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

JS SQL Reviewer

JS SQL Reviewer

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Joseph Almonte

Used 2+ times

FREE Resource

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;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?