Last active
December 3, 2022 16:15
-
-
Save AhsanAyaz/7d9d0a0949308716725794bf90266cf7 to your computer and use it in GitHub Desktop.
JavaScript questions JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"question":"Which is the purpose of JavaScript?", | |
"answers":{ | |
"1":"To style HTML Pages", | |
"2":"To add interactivity to HTML pages", | |
"3":"To perform server side scripting operations" | |
}, | |
"correctAnswerId":"2", | |
"id":"1" | |
}, | |
{ | |
"question":"To insert a JavaScript into an HTML page, which tag is used?", | |
"answers":{ | |
"1":"<script='java'>", | |
"2":"<javascript>", | |
"3":"<script>" | |
}, | |
"correctAnswerId":"3", | |
"id":"2" | |
}, | |
{ | |
"question":"Which of the following is correct to write “Hello World” on the web page?", | |
"answers":{ | |
"1":"print('Hello World')", | |
"2":"document.write('Hello World')", | |
"3":"response.write('Hello World')" | |
}, | |
"correctAnswerId":"2", | |
"id":"3" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment