Javascript is an _______ language?, Object-based, Object-oriented, Procedural, Functional, Which of the following keywords is used to define a variable in JavaScript?, class, function, var, int, Which of the following methods can be used to display data in some form using JavaScript?, document.write(), console.log(), window.alert(), All of the above, Inside whice HTML element do we put the JavaScript?, js tag, javascript tag, script tag, scripting tag, How do you call a function named "myFunction"?, myFunction(), call function myFunction(), call myFunction(), Where is the correct place to insert a JavaScript?, the <head> section, both <head> and <body> section, the <body> section, What will be the output of the following code snippet?, 59, 14, compilation error, 5 + "9", What will be the output for the following code snippet?, 9, 81, 0, error, What is the purpose of the return statement in a function?, To stop the execution of the function, To return a value from the function, To define the input parameters of the function, To declare a new variable within the function, The external JavaScript file must contain the <script> tag., True, False.
0%
JavaScript Quiz
Share
Share
Share
by
Adillanzri
Men. atas
Sains Komputer
Pengaturcaraan
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
Open results
Copy link
QR code
Delete
Continue editing:
?