100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

WGU C777 – EXAM QUESTIONS AND CORRECT ANSWERS 2025

Rating
-
Sold
-
Pages
82
Grade
A+
Uploaded on
25-03-2025
Written in
2024/2025

WGU C777 – EXAM QUESTIONS AND CORRECT ANSWERS 2025 A JavaScript rule concerning variables states that the first character of a variable name must be: A) a letter, the "at" symbol ( @ ) or the dollar sign ( $ ). B) a letter, the "at" symbol ( @ ) or the ampersand ( & ). C) a letter, the underscore character ( _ ) or the dollar sign ( $ ). D) a letter, the ampersand ( & ) or the dollar sign ( $ ). - ANSWERS a letter, the underscore character ( _ ) or the dollar sign ( $ ). All browsers are DOM-compliant, which means that: A) you can develop Web applications that do not rely on proprietary browser plug-ins. B) you do not need to develop multiple versions of your scripts tailored for each browser. C) you can develop Web applications "on the fly" without the need to validate your source code. D) JavaScript is the only scripting language you can use with HTML5. - ANSWERS you do not need to develop multiple versions of your scripts tailored for each browser. Although you can draw various shapes on the HTML5 Canvas, Canvas supports only one primitive shape. Which is it? A) The dot B) The rectangle C) The circle D) The line - ANSWERS The rectangle Before CSS3, background image size was largely dependent on the size of the original image. What CSS3 property can you use to resize a background image? A) The background-origin property B) The background-clip property C) The background-size property D) The background-crop property - ANSWERS The background-size property Canvas is an HTML5 API that provides a place on a Web page (a "canvas") where you can display graphics, animation, video and games dynamically without the need for a plug-in. Which of the following should you use to create objects on a canvas? A) Flash B) CanvasScript C) Cascading Style Sheets (CSS) D) JavaScript - ANSWERS JavaScript Code errors can be repaired, once you are aware of them. What should you do first after you have written your script code, and placed it in (or attached it to) an HTML file? A) Use a third-party add-on debugging tool to locate and fix any errors in your code. B) Test the code by running your script in multiple browsers and browser versions to see if it works as intended. C) Manually review each line of code in your script. D) Use your browser's native debugging tool to locate and fix any errors in your code. - ANSWERS Test the code by running your script in multiple browsers and browser versions to see if it works as intended. Code validation is the process of: A) creating code that responds to user screen size. B) accessing another point in a Web page or separate Web page. C) determining how to display HTML elements in your Web page. D) checking your code to verify that it complies with the syntax rules for your chosen standard. - ANSWERS checking your code to verify that it complies with the syntax rules for your chosen standard. Consider the following code (line numbers added for reference): function makeBold(text) { var boldText = () //insert code here } What code statement must be inserted in Line 3 to return the text in bold to the calling statement? A) makeBold = boldText;

Show more Read less
Institution
WGU C777
Course
WGU C777











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
WGU C777
Course
WGU C777

Document information

Uploaded on
March 25, 2025
Number of pages
82
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

WGU C777 – EXAM QUESTIONS AND CORRECT
ANSWERS 2025

A JavaScript rule concerning variables states that the first character of a variable name must be:

A) a letter, the "at" symbol ( @ ) or the dollar sign ( $ ).

B) a letter, the "at" symbol ( @ ) or the ampersand ( & ).

C) a letter, the underscore character ( _ ) or the dollar sign ( $ ).

D) a letter, the ampersand ( & ) or the dollar sign ( $ ). - ANSWERS a letter, the underscore
character ( _ ) or the dollar sign ( $ ).



All browsers are DOM-compliant, which means that:

A) you can develop Web applications that do not rely on proprietary browser plug-ins.

B) you do not need to develop multiple versions of your scripts tailored for each browser.

C) you can develop Web applications "on the fly" without the need to validate your source code.

D) JavaScript is the only scripting language you can use with HTML5. - ANSWERS you do not
need to develop multiple versions of your scripts tailored for each browser.



Although you can draw various shapes on the HTML5 Canvas, Canvas supports only one
primitive shape. Which is it?

A) The dot

B) The rectangle

C) The circle

D) The line - ANSWERS The rectangle



Before CSS3, background image size was largely dependent on the size of the original image.
What CSS3 property can you use to resize a background image?

,A) The background-origin property

B) The background-clip property

C) The background-size property

D) The background-crop property - ANSWERS The background-size property



Canvas is an HTML5 API that provides a place on a Web page (a "canvas") where you can
display graphics, animation, video and games dynamically without the need for a plug-in. Which
of the following should you use to create objects on a canvas?

A) Flash

B) CanvasScript

C) Cascading Style Sheets (CSS)

D) JavaScript - ANSWERS JavaScript



Code errors can be repaired, once you are aware of them. What should you do first after you
have written your script code, and placed it in (or attached it to) an HTML file?

A) Use a third-party add-on debugging tool to locate and fix any errors in your code.

B) Test the code by running your script in multiple browsers and browser versions to see if it
works as intended.

C) Manually review each line of code in your script.

D) Use your browser's native debugging tool to locate and fix any errors in your code. -
ANSWERS Test the code by running your script in multiple browsers and browser versions to see
if it works as intended.



Code validation is the process of:

A) creating code that responds to user screen size.

B) accessing another point in a Web page or separate Web page.

C) determining how to display HTML elements in your Web page.

,D) checking your code to verify that it complies with the syntax rules for your chosen standard. -
ANSWERS checking your code to verify that it complies with the syntax rules for your chosen
standard.



Consider the following code (line numbers added for reference):



function makeBold(text) {

var boldText = text.bold()

//insert code here

}



What code statement must be inserted in Line 3 to return the text in bold to the calling
statement?

A) makeBold = boldText;

B) return true;

C) return makeBold;

D) return boldText; - ANSWERS return boldText;



Consider the following code from a CSS document:



body {background-color: #008080; color: #FFFFFF;}



This code is an example of what?

A) A rule

B) A value

C) A declaration

D) A property - ANSWERS A rule

, Consider the following code to create a search field:



input type="search" name="search"



What occurs if the input type of "search" is not supported by a browser?

A) When text is entered into the field, the right side of the field will display an "X," which can be
used to clear the text.

B) The search field will not display on the page.

C) The search field will display on the page but will not allow any user input.

D) The search field will degrade to a standard text box. - ANSWERS The search field will degrade
to a standard text box.



Consider the following code:



<style>

h3~p {

color: #008080;

}

</style>



What does this code do?

A) It formats every <p> element that is preceded by an <h3> element as teal text.

B) It formats every <h3> element that is followed by a <p> element as teal text.

C) It formats the first <p> element that is preceded by an <h3> element as teal text.

D) It formats the first <h3> element that is followed by a <p> element as teal text. - ANSWERS It
formats every <p> element that is preceded by an <h3> element as teal text.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
brilliantstudies Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
95
Member since
1 year
Number of followers
45
Documents
2518
Last sold
3 months ago

4.0

12 reviews

5
7
4
2
3
1
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions