Dive into the Javascript Trivia Exam and test your knowledge on JavaScript functions, syntax, and code execution. This quiz assesses key programming concepts and practical application skills, making it ideal for learners looking to improve or test their JavaScript proficiency.
Alert()
If()
Script()
None of the choices
Rate this question:
Events
Functions
Actions
Objects
Rate this question:
Yes, perfectly
Error
Exception will be thrown
Memory leak
Rate this question:
123
123xyz
Exception
NaN
Rate this question:
Var o = Object();
Var o;
Var o= new Object;
Object o=new Object();
Rate this question:
Event
Func
Function
Script
Rate this question:
When the button is clicked an output sayHell will be displayed Option 1
When the button is clicked an output "Hello" will be displayed
When the button is clicked an output "Button" will be displayed
When the button is clicked an output "Hello there!" will be displayed
Rate this question:
Functions would not eliminates the need of writing the same code again and again
A function can take multiple parameters separated by comma.
It will not allow a programmer to divide a big program into a number of small and manageable functions
The parameter list of the function should be empty
Rate this question:
To create a function using Function() constructor
To implement nested functions.
To implement function literal
None of the choices
Rate this question:
9
0
10
None of the choices
Rate this question:
Method
Classes
Interfaces
Classes and Interfaces
Rate this question:
From
To
This
Object
Rate this question:
Function
Class
Object
Event
Rate this question:
OnSubmit
Onmouseover
OnClick
All of the given
Rate this question:
Return
Void
Function
Script
Rate this question:
Encapsulation
Aggregation
Inheritance
Polymorphism
Rate this question:
Polymorphism
Encapsulation
Inheritance
Aggregation
Rate this question:
Polymorphism
Encapsulation
Inheritance
Aggregation
Rate this question:
Encapsulation
Inheritance
Aggregation
Polymorphism
Rate this question:
ObjectName.objectProperty = new propertyValue();
ObjectName.objectProperty = new propertyValue;
ObjectName.objectProperty = propertyValue;
ObjectName.objectProperty = propertyValue();
Rate this question:
Alert ("This is test");
Document.write ("Hello world");
Document.write (This is test);
None of the given
Rate this question:
New
This
Void
Alert
Rate this question:
Constructor
Object
Events
Var
Rate this question:
Fun sayHello();
Func say Hello()
Book name is : Perl Book name is : Perl function sayHello()
Function sayHello;
Event
Function
Script
Form
Rate this question:
Return a value
Accept parameters and Return a value
Accept parameters
None of the above
Rate this question:
Js
Scripting
Script
Javascript
Rate this question:
Select
If
Switch
For
Rate this question:
DateObjectName = new Date([parameters])
DateObjectName.new Date([parameters])
DateObjectName := new Date([parameters])
DateObjectName Date([parameters])
Rate this question:
True
False
-ERROR do not click-
-ERROR do not click-
Rate this question:
It refers current object
It refers previous object
It is variable which contains value
None of the above
Rate this question:
258
Error
7
78
Rate this question:
ToLocaleUpperCase()
ToUpperCase()
ToString()
Substring()
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Click here
Do not click here
Do not click here
Do not click here
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.