Evaluate Yourself
In this lesson, you will take a quiz to evaluate yourself.
We'll cover the following
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.
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?
The ternary operator is a substitute for an if
statement
The ternary operator is the only JavaScript operator that takes three operands
The ternary operator allows two values to be returned at the same time
The ternary operator separates the conditional expression from the true value expression
All of the above
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!