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
21 questions
OOP - session 2.1 - JVM, Array, Stack

Quiz
•
University
19 questions
JavaScript

Quiz
•
University
20 questions
JavaScript Basics (2)

Quiz
•
University
24 questions
Javascript Basics

Quiz
•
7th Grade - University
15 questions
Comparing Python, Java, and JavaScript

Quiz
•
9th Grade - University
20 questions
PEMROGRAMAN WEB

Quiz
•
University
20 questions
QUIZ "WORKSHOP 2024"

Quiz
•
University
15 questions
Burn up

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University