NEW
Font size
WorksheetsIT 201 - Midterm Quiz 1 - JavaScript concept and operation
Total questions: 15
Worksheet time: 16mins
Who developed Javascript?
Brendan Eich
Tim Berners-Lee
Marc Andreesen
Rasmus Lerdorf
What was the original name of Javascript chosen by the founder of Netscape?
Livescript
Mocha
JScript
ECMA Script
Which of the following is not an advantage of Javascript?
It validate user input before sending the page off to the server.
It provides immediate feedback to the visitors.
It increase user and interface interactivity.
It support multi-threading and multiprocessor capabilities.
Which of the following is an international body responsible for the development of a scripting standard?
ISO
W3C
ASCII
ECMA
What is the official name of Javascript?
ECMAScript
LiveScript
JScript
Mocha
Which of the following script tag attribute refer to the location of an external document containing the program code?
ref
href
src
resource
Which of the following is the correct syntax to insert javascript externally?
<script src=“URL” type="text/javascript">
<script src=“URL” language="javascript" type="text/javascript">
<script href=“URL” type="text/javascript">
<script src=“URL” language="javascript">
Which of the following display option should we use if we need to get or set the HTML or XML markup contained within the element?
innerHTML
document.write()
window.alert()
console.log()
Which of the following javascript display option is more convenient to used during testing procedure?
document.write()
innerHTML
console.log()
window.alert
Which of the following display option for javascript is more suited to use for debugging purposes?
innerHTML
document.write()
console.log()
window.alert()
Which of the following option to display in Javascript is often used if you want to make sure information comes through to the user and takes the focus away from the current window?
window.alert
console.log()
innerHTML
document.write()
Which of the following is a variable without a value?
null
undefined
zero
empty
Which of the following operator is used in logical statements to determine equality or difference between variables?
Comparison
Bitwise
Logical
Conditional
What type of operator is applied in the following syntax?
variableName = (condition) ? Value1: value2
ternary
logical
bitwise
comparison
Which of the following operators treat their operands as a sequence of 32 bits (zeroes and ones), rather than as decimal, hexadecimal, or octal numbers?
bitwise
arithmetic
assignment
logical
