WorksheetsQuiz 9 (15.09.2021)
Total questions: 10
Worksheet time: 6mins
In _______, the program code is run from the server hosting the website.
server-side programming
client-side programming
In _______, programs are run on the user's computer using scripts that are downloaded along with the HTML and CSS files.
server-side programming
client-side programming
JavaScript is _________
an compiled language
an interpreted language
inserted directly into an HTML file
placed in a separate text file that is linked to the HTML file
The ______ attribute tells the browser to parse the HTML and JavaScript code together, only pausing to process the script before returning to the HTML file.
async
defer
script
HTML
A ____________ occurs after a script has been successfully loaded with no syntax errors and is being executed by a browser.
load-time error
run-time error
logical error
random error
An _______ is an entity within the browser or web page that has ________ that define it and ________ that can be acted upon it.
object, methods, properties
properties, methods, object
object, properties, methods
methods, properties, object
A ______ is a named item in a program that stores a data value, such as a number or text string.
property
value
method
variable
JavaScript supports the following data types:
numeric value
text string
Boolean value
object
A _________ is a statement that runs a command or command block only when certain circumstances are met.
conditional statement
logical statement
comparison statement
continue statement
A ____ value indicates the truth or falsity of a statement.
numeric
Boolean
text
date
