Logo

Javascript Questions Set 186:

Quiz Mode

Which of these is a ternary operator?

1
2
3
4

Solution:

  Among the keywords below, which one is not a statement? 

1
2
3
4

Solution:

  Which among the following POSIX signals generate events? 

1
2
3
4

Solution:

Which function calls another function after a time interval?

1
2
3
4

Solution:

Which is the method used to add an event listener?

1
2
3
4

Solution:

Which method is used to maintain the proper aspect ratio during the resizing of an image?

1
2
3
4

Solution:

 The reduce and reduceRight methods follow a common operation called __________ 

1
2
3
4

Solution:

If an operand in a comparison operation is NaN or converts to NaN, what will the comparison operator always return?

1
2
3
4

Solution:

The purpose of a rendering machine is ___________

1
2
3
4

Solution:

What will be the output of the following program?


<input type="text" id="name" onchange="change()">

<script>

function change()

{

console.log("hello");

}

</script>

1
2
3
4

Solution: