JS Skill Assessment  (Internal Exam)

JS Skill Assessment (Internal Exam)

University

20 Qs

quiz-placeholder

Similar activities

Recap on JavaScript and HTML

Recap on JavaScript and HTML

University

18 Qs

Online Test-3 ( Wipro Talent Next )- 30th July 2020

Online Test-3 ( Wipro Talent Next )- 30th July 2020

University

20 Qs

Web Technologies(A6602)

Web Technologies(A6602)

University

20 Qs

Quiz 2 Front-End Development

Quiz 2 Front-End Development

University

20 Qs

JavaScript Variables, Data Types, and Operators Quiz

JavaScript Variables, Data Types, and Operators Quiz

University

18 Qs

Basic Java

Basic Java

University

15 Qs

JS - Knowledge Check

JS - Knowledge Check

University

16 Qs

JavaScript (beginners)

JavaScript (beginners)

University

20 Qs

JS Skill Assessment  (Internal Exam)

JS Skill Assessment (Internal Exam)

Assessment

Quiz

Computers

University

Easy

Created by

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

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?