SPECIALISTS EXAM
WGU C777 WEB QUIZZES DEVELOPMENT
APPLICATIONS PRE-ASSESSMENT WITH 500
QUESTIONS CORRECTLY ANSWERED, LATEST
UPDATED
• No developer writes perfectly clean code all the time. Scripting
and programming languages are complex, precise and demanding.
Some errors are very common because they are easy to make.
Which of the following is perhaps the most common error made
in JavaScript programming?
A) Inconsistent or incomplete use of curly braces
B) Neglecting to use the correct version of JavaScript for your
browser
C) Inconsistent or incomplete use of parentheses
D) Neglecting to verify and follow proper case-sensitivity -
Neglecting to verify and follow proper case-
sensitivity
• Which of the following is true about calling statements in
JavaScript?
A) Calling statements only work in Internet Explorer and should
be avoided.
B) A function's statements are processed when the function is
called by a calling statement.
SPECIALISTS EXAM
, SPECIALISTS EXAM
C) It is not necessary to know a function name to create a
calling statement.
D) Calling statements cannot be used for user-defined
functions. - A function's statements are processed
when the function is called by a calling statement.
• Which event handler is used by the submit object?
A) onclick
B) onreset
C) onsubmit
D) onselect - onclick
• Which event occurs when a user clicks the mouse button outside
of a particular field?
A) focus
B) blur
C) click
D) change - blur
• Which of the following is an event handler processed by the form
object?
A) onsubmit
B) submit
C) onfocus
D) focus - onsubmit
SPECIALISTS EXAM
, SPECIALISTS EXAM
• Which of the following statements is true regarding global
variables and local variables?
A) You declare a global variable within a function.
B) You declare a local variable outside of any function.
C) You can access a global variable value from any function or
script block you define on the HTML page.
D) You can access a local variable value from any function or
script block you define on the HTML page. - You
can access a global variable value from any function or script
block you define on the HTML page.
• Consider the following JavaScript code:
• var myVar;
• function helloWorld(){
• myVar = "Hello World";
• }
• alert(myVar);
• What will be the result of this code?
A) A dialog box that displays: Hello World
B) A dialog box that displays: null
C) A dialog box that displays: helloWorld
D) A dialog box that displays: undefined - A dialog box
that displays: undefined
SPECIALISTS EXAM
, SPECIALISTS EXAM
• Consider the following expression:
• (((8 - 2) * 6) / (6 - 2)) * 3
• What is the result of this expression?
A) 27
B) 3
C) 102
D) 9 - 27
• Where in an HTML document should you place a function if you
want the function to load when the browser reaches the script
point in the page or when the appropriate user event occurs?
A) The title section of your page
B) The meta section of your page
C) The body section of your page
D) The head section of your page - The body section
of your page
• In relation to a computer programming, scripting or markup
language, a "bug" is an error in the code. Which type of bug will
not cause error alerts?
A) Logic errors
B) Load-time errors
C) Run-time errors
D) Compiler errors - Logic errors
SPECIALISTS EXAM
WGU C777 WEB QUIZZES DEVELOPMENT
APPLICATIONS PRE-ASSESSMENT WITH 500
QUESTIONS CORRECTLY ANSWERED, LATEST
UPDATED
• No developer writes perfectly clean code all the time. Scripting
and programming languages are complex, precise and demanding.
Some errors are very common because they are easy to make.
Which of the following is perhaps the most common error made
in JavaScript programming?
A) Inconsistent or incomplete use of curly braces
B) Neglecting to use the correct version of JavaScript for your
browser
C) Inconsistent or incomplete use of parentheses
D) Neglecting to verify and follow proper case-sensitivity -
Neglecting to verify and follow proper case-
sensitivity
• Which of the following is true about calling statements in
JavaScript?
A) Calling statements only work in Internet Explorer and should
be avoided.
B) A function's statements are processed when the function is
called by a calling statement.
SPECIALISTS EXAM
, SPECIALISTS EXAM
C) It is not necessary to know a function name to create a
calling statement.
D) Calling statements cannot be used for user-defined
functions. - A function's statements are processed
when the function is called by a calling statement.
• Which event handler is used by the submit object?
A) onclick
B) onreset
C) onsubmit
D) onselect - onclick
• Which event occurs when a user clicks the mouse button outside
of a particular field?
A) focus
B) blur
C) click
D) change - blur
• Which of the following is an event handler processed by the form
object?
A) onsubmit
B) submit
C) onfocus
D) focus - onsubmit
SPECIALISTS EXAM
, SPECIALISTS EXAM
• Which of the following statements is true regarding global
variables and local variables?
A) You declare a global variable within a function.
B) You declare a local variable outside of any function.
C) You can access a global variable value from any function or
script block you define on the HTML page.
D) You can access a local variable value from any function or
script block you define on the HTML page. - You
can access a global variable value from any function or script
block you define on the HTML page.
• Consider the following JavaScript code:
• var myVar;
• function helloWorld(){
• myVar = "Hello World";
• }
• alert(myVar);
• What will be the result of this code?
A) A dialog box that displays: Hello World
B) A dialog box that displays: null
C) A dialog box that displays: helloWorld
D) A dialog box that displays: undefined - A dialog box
that displays: undefined
SPECIALISTS EXAM
, SPECIALISTS EXAM
• Consider the following expression:
• (((8 - 2) * 6) / (6 - 2)) * 3
• What is the result of this expression?
A) 27
B) 3
C) 102
D) 9 - 27
• Where in an HTML document should you place a function if you
want the function to load when the browser reaches the script
point in the page or when the appropriate user event occurs?
A) The title section of your page
B) The meta section of your page
C) The body section of your page
D) The head section of your page - The body section
of your page
• In relation to a computer programming, scripting or markup
language, a "bug" is an error in the code. Which type of bug will
not cause error alerts?
A) Logic errors
B) Load-time errors
C) Run-time errors
D) Compiler errors - Logic errors
SPECIALISTS EXAM