Update 2026 | Pass Exam Prep
1. Describe the role of VBScript in web development and how it differs from
JavaScript.
VBScript is primarily used for client-side scripting in Internet
Explorer, while JavaScript is a more widely supported language
across all browsers.
VBScript and JavaScript serve the same purpose and are
interchangeable.
VBScript is used for database management, while JavaScript is used for
styling web pages.
VBScript is a server-side language, whereas JavaScript is only for
client-side.
2. If a web developer wants to use a custom font named 'OpenSans' from a
specific URL, which CSS3 @font-face rule would they need to implement?
@font-face { font-family: 'OpenSans'; src: 'OpenSans.ttf'; }
@font-face { font-family: 'OpenSans'; color: url('path/to/OpenSans.ttf');
}
@font-face { font-family: 'OpenSans'; src: url('path/to/OpenSans.ttf');
}
@font-face { font-family: 'OpenSans'; font-weight: bold; }
3. What does the CSS3 h3 ~ p selector specifically target in a web document?
It targets all <h3> elements that precede a <p> element.
It targets all <h3> elements within a <p> element.
It targets all <p> elements that are siblings of an <h3> element.
, It targets only the first <p> element following an <h3> element.
4. Visual Basic Script (VBScript) is a scripting language developed by which of
the following companies?
Microsoft
Sun Microsystems
Symantec
Macromedia
5. Describe how inheritance affects the styling of child elements in an HTML
document when using a linked style sheet.
Child elements do not inherit any styles from parent elements.
Child elements can only inherit styles if they are defined in the same
style sheet.
Child elements inherit styles from their parent elements, unless
overridden by more specific rules.
Child elements always override parent styles regardless of specificity.
6. Describe why HTML5 is considered a suitable choice for mobile app
development.
HTML5 is primarily used for server-side scripting.
HTML5 does not support multimedia elements.
HTML5 is only effective for desktop applications.
HTML5 is suitable for mobile app development because it allows for
responsive design and cross-platform compatibility.
,7. If an organization wants to ensure their mobile apps function well on both
Android and iOS devices, which technology should they prioritize in their
development process?
Java
HTML5
Swift
C#
8. What CSS property would be used to center a level-three heading?
middle
heading-align
center
text-align
9. A web page that uses a ___ ___ allows the page contents to fill the browser,
sometimes by using percentages for widths.
general sibling
HTML validator
fluid layout
fixed layout
10. Describe the role of JavaScript in web development.
JavaScript is used to create interactive and dynamic content on
web pages.
JavaScript is a markup language for structuring web content.
, JavaScript is used to store data on the server.
JavaScript is primarily used for styling web pages.
11. If you want to create a 3D card flip effect where the back of the card should
not be visible when flipped, which CSS3 property would you need to set to
'hidden'?
backface-visibility
z-index
visibility
transform-style
12. The hover pseudo-class allows you to change to an element's style in which
situation?
None of the above
When the mouse moves off of the element
When the mouse is over the element
When the mouse is to the left of the element
13. Describe the role of a property in a CSS rule and how it affects the styling of
an HTML element.
A property in a CSS rule defines a specific style characteristic that
will be applied to the selected HTML element.
A property is the value assigned to an HTML element's attribute.
A property is a comment that explains the CSS rule.
A property is the selector that identifies which HTML elements to
style.