CIW Post Assessment Questions and
Answers 100% Pass
Which CSS property defines how text should be handled when it extends beyond its allotted area? -
✔✔text-overflow
You are using some graphics that require WebGL for important functionality on your mobile site.
Which statement describes the support you can expect or provide for this? - ✔✔You can provide users
with a link to test for WebGL support and obtain a supporting browser.
Stanley is the senior developer of apps for an organization that is considered to be at the cutting edge
of mobile-device technology. Which of the following should Stanley use to create apps for mobile
devices? - ✔✔HTML5 APIs
Consider the following code:
var yearBirth = "1956";
What variable data type does this snippet of code represent? - ✔✔String
Which of the following statements about Cascading Style Sheets (CSS) is true? - ✔✔CSS commands
contain formatting instructions that determine how to display HTML elements in Web pages.
What is the name for Microsoft's implementation of JavaScript? - ✔✔JScript
Emily Charlene © 2025, All Rights Reserved.
,2|Page
You have created a new Web site for your company, and you want to add a script so that a "welcome"
pop-up box appears to the user as soon as he or she launches the site. Which JavaScript method should
you use to display the message? - ✔✔The alert() method
Which CSS3 property can be used to apply a delay effect when an element changes from one style to
another, such as when a user hovers over an element? - ✔✔transition
Which JavaScript object can trigger the onerror event handler? - ✔✔image
What HTML5 form element provides users with a drop-down menu of pre-defined choices and an
autocomplete feature that filters choices while they type? - ✔✔The <datalist> element
Many markup code validators exist, but the most authoritative is the W3C Markup Validation Service.
How does the W3C Markup Validation Service determine to what HTML standard to validate your
code? - ✔✔It reads the <!DOCTYPE> declaration on an HTML page and validates according to the
specified DTD.
Which statement is true about JavaScript? - ✔✔JavaScript is widely used for client-side and server-
side scripts.
What type of JavaScript expression evaluates to true or false? - ✔✔Logical
Consider the following code:
<script>
var v1 = "Blue";
function f ()
{
v1 = "Green";
Emily Charlene © 2025, All Rights Reserved.
, 3|Page
alert (v1);
}
f();
alert (v1);
</script>
What is the expected result when this script is run in the browser? - ✔✔Two alert boxes, both
displaying the message Green
Responsive Web Design uses three main techniques to develop responsive pages. Which technique
allows you to specify CSS styles based on viewport size? - ✔✔Media queries
Consider the following code:
CSS file:
.right {
text-align: right;
}
HTML file:
<h3 class="right">Right-aligned heading level three</h3>
Emily Charlene © 2025, All Rights Reserved.