QUESTION 21 An arithmetic operator that works with two items in an expression is
ID: 3772661 • Letter: Q
Question
QUESTION 21
An arithmetic operator that works with two items in an expression is called a ____ operator.
binary
unary
secondary
logical
5 points
QUESTION 22
An external style sheet written in the CSS language should have the file name extension ____.
.txt
.html
.css
.cs
5 points
QUESTION 23
External files containing JavaScript commands and functions always have the file extension ____.
“.java”
“.jsc”
“.txt”
“.js”
5 points
QUESTION 24
If you add an item to an array but do not define it, it will have a ____ value.
-1
0
1
null
5 points
QUESTION 25
In JavaScript, the ____ is used to combine two text strings into a single string.
backslash ( )
underscore character ( _ )
ampersand character ( & )
plus symbol ( + )
5 points
QUESTION 26
In ____-side programming, the program that is used to modify the contents and structure of Web pages is run on each user’s own computer.
applet
script
server
client
5 points
QUESTION 27
In a(n) ____ statement, different commands are run based upon different possible values of a variable.
If...Else
For loop
If
Switch
5 points
QUESTION 28
The HTML ____ element is used to access an external script file.
<script file=“url”></script>
<script href=“mime-href” src=“url”></script>
<script type=“mime-type” src=“url”></script>
<script scope=“mime-scope” href=“url”></script>
5 points
QUESTION 29
The ____ event handler is called when the user has pressed a key.
onkeypress
onclick
onkeydown
onkey
5 points
QUESTION 30
The ____ expression is equivalent to the expression x = x + 1;
x++;
x = x;
x = 1;
x = ++;
a.binary
b.unary
c.secondary
d.logical
Explanation / Answer
21 Answer. a) Binary operator. because unary operator works with one item in an expression, A secondary operator is a person(s) associated with a construction activity whose operational control is limited to: 1. the employment of other operators. or 2. the ability to approve or disapprove changes to the construction plans and specifications whereas logical operators can be applied between two or more expressions which involves two or more items in each expression.
So the answer is Binary Operator i.e., option: a
22) Answer: c) .css
because .txt is extension of notepad files, .html is extension of static webpages, and .cs is extension of c# files.
23) Answer: d) .js
.java is extension of java files. .jsc is extension of java script config file and .txt is text file
24) Answer: b) 0
25) Answer: d) plus symbol(+)
26) Answer: b) script.
27) Answer: b) For loop
28) Answer: c) <script type= "mime-type" src="url"></script>
29) Answer: a) onkeypress.
30) Answer: a) x++;
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.