JS Skill Assessment (Internal Exam)

Quiz
•
Computers
•
University
•
Easy
Ajay (RCSS)
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the correct syntax for referring to an external script called "app.js"?
<script href="app.js"></script>
<script src="app.js"></script>
<script ref="app.js"></script>
<script name="app.js"></script>
2.
MULTIPLE CHOICE QUESTION
10 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");
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you create a function in JavaScript?
function = myFunction()
function myFunction()
function:myFunction()
create function myFunction()
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you call a function named "myFunction"?
call myFunction()
call function myFunction()
myFunction()
execute myFunction()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How can you add a comment in JavaScript?
'This is a comment
<comment>This is a comment</comment
// This is a comment
* This is a comment *
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How can you find the number with the highest value of x and y?
Math.max(x, y)
Math.ceil(x, y)
Math.floor(x, y)
ceil(x, y)
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you round the number 7.25 to the nearest integer?
rnd(7.25)
Math.rnd(7.25)
Math.round(7.25)
round(7.25)
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Quiz No. 1 - Functions in JavaScript

Quiz
•
University
20 questions
Week 2 - Assessment 2 (ITNW0223)

Quiz
•
University
18 questions
JavaScript Variables, Data Types, and Operators Quiz

Quiz
•
University
19 questions
Web Development Quiz

Quiz
•
University
21 questions
Prog Web U3

Quiz
•
University
18 questions
JS/DOM/JQuery/HTML/CSS

Quiz
•
University
15 questions
Quiz -3: JavaScript & PHP (AIML)/CC/1st Year

Quiz
•
University
17 questions
Fundamentos de JS

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade