
COMSCI REVIEW 3RDQ
Authored by mardion macarilay
Computers
2nd Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an advantage of JavaScript?
It has less contact with the server
It runs in a single execution thread
It gives immediate feedback to the visitors
It has an expanded interactivity
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is a number method that accepts a number input x and returns a number with given decimal digits.
toFixed()
toPrecision()
parseFloat()
Number()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
TRUE OR FALSE.
Declaring a constant variable should always be in uppercase
TRUE
FALSE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can place any number of scripts in an HTML document.
Scripts can be placed in the _____.
<body> only
<head> only
<head> and <body> section
None of the above. It should be in a separate code.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The console.log() method can also be used to quickly output a message or write data to the browser console.
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A standard version of the core JavaScript language is specified by the ECMA-262 Specification
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is the best example of a concat function that will execute the message: "Sana uno ko ComSci" in JavaScript? (2 pts)
var manifest = "Sana ko";
document.write (manifest.concat("uno", "ComSci"));
var manifest;
document.write (manifest.concat("sana" + "uno" + "ko" + "ComSci"));
var manifest = "Sana" + "uno" + "ko" + "ComSci";
document.write (manifest.concat());
var manifest = "Sana uno ko";
document.write (manifest.concat("ComSci"));
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?