Blockchain JavaScript Developer set 2
Free Online Best Blockchain JavaScript Developer MCQ Questions for improve your basic knowledge of Blockchain JavaScript. This Blockchain JavaScript Developer set 2 test that contains 25 Multiple Choice Questions with 4 options. You have to select the right answer to a question.
Start
Congratulations - you have completed Blockchain JavaScript Developer set 2.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
What will be the output of the following JavaScript code?
var string 1 = ”123”;
var intvalue = 123;
alert( string1 + intvalue );
A | 123246 |
B | 246 |
C | 123123 |
D | Exception |
Question 2 |
In JavaScript the x===y statement implies that:
A | Both x and y are equal in value, type and reference address as well. |
B | Both are x and y are equal in value only. |
C | Both are equal in the value and data type. |
D | Both are not same at all. |
Question 3 |
A hexadecimal literal begins with __________
A | 0 |
B | 0x |
C | 0X |
D | Both 0x and 0X |
Question 4 |
The "function" and " var" are known as:
A | Keywords |
B | Data types |
C | Declaration statements |
D | Prototypes |
Question 5 |
Which of the following variables takes precedence over the others if the names are the same?
A | Global variable |
B | The local element |
C | The two of the above |
D | None of the above |
Question 6 |
The type of a variable that is volatile is _______________
A | Volatile variable |
B | Mutable variable |
C | Immutable variable |
D | Dynamic variable |
Question 7 |
When interpreter encounters an empty statements, what will it do?
A | It will Shows a warning |
B | It will Prompts to complete the statement |
C | It will Throws an error |
D | It will Ignores the statements |
Question 8 |
The web development environment (JavaScript) offers which standard construct for data validation of the input entered by the user?
A | Controlled loop constructs |
B | Server page access |
C | Client side Event |
D | Permit server-side |
Question 9 |
Javascript is a ______________ type of language.
A | Object-Oriented |
B | Object-Based |
C | Assembly-language |
D | High-level |
Question 10 |
JavaScript Code can be called by using ___________
A | RMI |
B | Triggering Event |
C | Preprocessor |
D | Function/Method |
Question 11 |
In JavaScript, what is a block of statements?
A | is a Conditional block |
B | is combines a number of statements into a single compound statement |
C | is a conditional block and a single statement |
D | is a block that contains a single statement |
Question 12 |
When there is an indefinite or an infinite value during an arithmetic computation in a program, then JavaScript prints______.
A | Prints an exception error |
B | Prints an overflow error |
C | Displays "Infinity" |
D | Prints the value as such |
Question 13 |
In JavaScript, what will be used for calling the function definition expression:
A | Function prototype |
B | Function literal |
C | Function calling |
D | Function declaration |
Question 14 |
Which of the following is correct about features of JavaScript?
A | JavaScript is complementary to and integrated with HTML. |
B | JavaScript is open and cross-platform. |
C | Both of the above |
D | All of the above |
Question 15 |
What kind of expression is “new Point(2,3)”?
A | Primary Expression |
B | Object Creation Expression |
C | Invocation Expression |
D | Constructor Calling Expression |
Question 16 |
Choose the correct snippet from the following to check if the variable "a" is not equal the "NULL":
A | if(a!==null) |
B | if (a!) |
C | if(a!null) |
D | if(a!=null) |
Question 17 |
When interpreter encounters an empty statements, what will it do?
A | Shows a warning |
B | Prompts to complete the statement |
C | Throws an error |
D | Ignores the statements |
Question 18 |
Which of the following functions of the String object returns the character in the string starting at the specified position via the specified number of characters?
A | slice() |
B | split() |
C | substr() |
D | search() |
Question 19 |
In the JavaScript, which one of the following is not considered as an error?
A | Syntax error |
B | Missing of semicolons |
C | Division by zero |
D | Missing of Bracket |
Question 20 |
The "new Point(3,2)", is a kind of _______ expression
A | Object Creation Expression |
B | Primary Expression |
C | Invocation Expression |
D | Constructor Calling Expression |
Question 21 |
Which of the following number object functions returns the value of the number?
A | toString() |
B | valueOf() |
C | toLocaleString() |
D | toPrecision() |
Question 22 |
A function definition expression can be called as __________
A | Function prototype |
B | Function literal |
C | Function calling |
D | Function declaration |
Question 23 |
Which of the following type of variable is visible everywhere in your JavaScript code?
A | global variable |
B | local variable |
C | Both of the above |
D | None of the above |
Question 24 |
Which of the following given functions of the Number Object formats a number with a different number of digits to the right of the decimal?
A | toExponential() |
B | toFixed() |
C | toPrecision() |
D | toLocaleString() |
Question 25 |
Which one of the following also known as Conditional Expression?
A | Alternative to if-else |
B | Switch statement |
C | If-then-else statement |
D | immediate if |
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
Get Results
There are 25 questions to complete.
← |
List |
→ |
Return
Shaded items are complete.
1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 |
End |
Return
You have completed
questions
question
Your score is
Correct
Wrong
Partial-Credit
You have not finished your quiz. If you leave this page, your progress will be lost.
Correct Answer
You Selected
Not Attempted
Final Score on Quiz
Attempted Questions Correct
Attempted Questions Wrong
Questions Not Attempted
Total Questions on Quiz
Question Details
Results
Date
Score
Hint
Time allowed
minutes
seconds
Time used
Answer Choice(s) Selected
Question Text
All done
Need more practice!
Keep trying!
Not bad!
Good work!
Perfect!