Evaluate Yourself

In this lesson, you will take a quiz to evaluate yourself.

This course is designed to help you prepare for a JavaScript interview from scratch and to test your JS skills. Before you begin, it is recommended you take the self-evaluation quiz given below.

The quiz will have interview questions on the primary topics of the JavaScript language such as creating variables, operators, loops, functions, conditionals, etc.

Self-Evaluation quiz #

This quiz will have questions testing your JS concepts and coding skills.

Multiple Choice Questions #

Let’s start with the MCQs.

1

This question is about the ternary operator an example of which is on the second line of the following code:

var marks = 40
var grade = (marks < 30) ? 'Fail' : 'Pass'

Which of the following is true about the ternary operator?

A)

The ternary operator is a substitute for an if statement

B)

The ternary operator is the only JavaScript operator that takes three operands

C)

The ternary operator allows two values to be returned at the same time

D)

The ternary operator separates the conditional expression from the true value expression

E)

All of the above

Question 1 of 180 attempted

If you have finished the quiz and feel that your basic concepts are a bit rusty, you can review them before continuing. Check out the course: Introduction to JavaScript: First Steps. It’ll help you go over all the basic concepts.


Now let’s dive into the course!