Question 1
The world’s largest network is _____.Selected Answer: d.the InternetQuestion 2
A simple text editor allows dragging HTML elements onto a page while the code is being written in the editor.Selected Answer: TrueQuestion 3
A(n) ____________________ type is the specific category of information that a variable contains.Selected Answer: dataQuestion 4
A(n) _________ is a collection of two or more computers that are linked together to share resources and information.Selected Answer: networkQuestion 5
All browsers display webpages identically.Selected Answer: FalseQuestion 6
Identify the letter of the choice that best matches the phrase or definition.Question Selected Match Method that lets you specify an event handler for an eventa.addEventListener()The lines that make up a functionb.function callA logical value of true or falsee.BooleanThe code that invokes a named functionf.function definitionCan be either global or localj.innerHTMLA number that contains decimal places or that is written in exponential notationh.floating-pointA value treated in comparison operations as the Boolean value falsei.falsyPlaced after a variableg.operator precedenceThe order in which operations in an expression are evaluatedd.scopeA property whose value is the content between an element's opening and closing tagsc.postfix operator
Question 7
In JavaScript programming, you can write your own procedures, called ____, which refer to a related group of JavaScript statements that are executed as a single unit.Selected Answer: c.functionsQuestion 8
PHP (Hypertext Preprocessor) script which is processed at the server results in an HTML webpage that is sent back to the client.Selected Answer: TrueQuestion 9
Placing a parameter name within the parentheses of a function definition is the equivalent of declaring a new ____________________.Selected Answer: variableQuestion 10
The ____ operator executes one of two expressions based on the results of a conditional expression.Selected Answer: c.?:Question 11
The ____ statement is used to execute specific programming code if the evaluation of a conditional expression returns a truthy value.Selected Answer: b.ifQuestion 12
The ____ statement is used to repeat a statement or series of statements as long as a given conditional expression evaluates to a truthy value.Selected Answer: b.forQuestion 13
The conditional expression in the while statement is enclosed within ____ following the keyword while.Selected Answer: b.parenthesesQuestion 14
Changing the order in which JavaScript code is executed is known as ____________________.Selected Answer: controlling flowQuestion 15
Which arithmetic operators have the highest precedence?Selected Answer: b.* / %Question 16
Which of the following is a logical operator?Selected Answer: a.||Question 17
You access an array element’s value just as you access the value of any other variable, except that you include the element index in brackets.Selected Answer: TrueQuestion 18
You can use an arithmetic operator to return the modulus of a calculation, which is the ____ when you divide one number by another number.Selected Answer: d.remainder leftQuestion 19
You can use the compound ____ to combine two strings.Selected Answer: d.assignment operatorQuestion 20
Hypertext Markup Language (HTML) browsers ignore spaces that exist between the tags in a HTML document.Selected Answer: TrueQuestion 21
Each repetition of a looping statement is called a(n) ____________________.Selected Answer: iterationQuestion 22
An if statement keeps repeating until its conditional expression evaluates to false.Selected Answer: FalseQuestion 23
A(n) ____ statement is a statement that returns a value to the statement that called the function.Selected Answer: c.returnQuestion 24
A(n) ____ is a variable that is used within a function.Selected Answer: b.parameterQuestion 25
A web _____ is a program that interprets and displays webpages so that users can view and interact with a webpage.Selected Answer: c.browser
0 comments:
Post a Comment