Final Exam - COSC 231 W21
CSS animations provide a way to animate the values of ____________________ over time.
CSS properties
The ____________________ defines every object and element on a web page.
Document Object Model (DOM)
____________________ can be described as the transfer of structured data between different companies using networks.
EDI
jQuery is a(n) _______________ library.
JavaScript
Two-dimensional barcodes that can be scanned by smartphones to access a website are called ____________________ codes.
QR
_______________ is a protocol that allows data to be privately exchanged over public networks.
Secure Sockets Layer (SSL)
The _____ operating system(s) treat uppercaseand lowercase letters differently.
UNIX and Linux
In addition to a search engine listing, a website can be promoted by ____________________.
a variety of methods, including affiliate programs, banner ads, banner exchanges, reciprocal link agreements, blog posting, RSS feeds, newsletters, personal recommendations, social bookmarking, and traditional media advertising, or including a URL or QR code on all promotional materials
You would like to conduct a survey and ask your web page visitors to indicate the web browsers that they use. Which of the following form controls is best to use for this purpose? a. check box b. radio button c. text box d. scrolling text box
a. check box
Which of the following is a technique for creating reusable JavaScript code? a. define a function b. create a script block c. define an if statement d. use an onclick event handler
a. define a function
Which of the following is a conditional that can be used to test for support of a CSS property? a. feature query b. support query c. media query d. property query
a. feature query
Which of the following properties configures proportional flexible items? a. flex b. flex-wrap c. align-items d. justify
a. flex
In which section of a web page should meta tags be placed? a. head b. body c. comment d. CSS
a. head
Which of the following issues are uniquely related to international e-commerce? a. language and currency conversion b. browser version and screen resolution c. bandwidth and Internet service provider d. none of the above
a. language and currency conversion
Which of the following, from outermost to innermost, are components of the box model? a. margin, border, padding, content b. content, padding, border, margin c. content, margin, padding, border d. margin, padding, border, content
a. margin, border, padding, content
Which of the following is a promotion method whose main purpose is to bring return visitors to your website? a. newsletter b. banner exchange c. TV ad d. none of the above
a. newsletter
A web page document is considered to be which of the following in the Document Object Model? a. object b. property c. method d. attribute
a. object
Which of the following can be used to change the location of an element slightly in relation to where it would otherwise appear on the page? a. relative positioning b. the float property c. absolute positioning d. this cannot be done with CSS
a. relative positioning
Which meta tag is used to configure display for mobile devices? a. viewport b. handheld c. mobile d. screen
a. viewport
Which is an HTML API that stores information on the client? a. web storage b. geolocation c. canvas d. client storage
a. web storage
A(n) ____________________ is a protocol that allows software components to communicate—interacting and sharing data.
application programming interface (API)
A digital certificate is a form of a(n) _______________ that also contains additional information about the entity holding the certificate.
asymmetric key
Use the _______________ jQuery method to configure the value of HTML attributes.
attr()
Which of the following configures a class called side to float to the left? a. .side { left: float; } b. .side { float: left; } c. .side { float-left: 200px; } d. .side { position: left; }
b. .side { float: left; }
Which code provides a hyperlink to an audio file called hello.mp3? a. <audio data="hello.mp3"></audio> b. <a href="hello.mp3">Hello (Audio File)</a> c. <canvas data="hello.mp3"></canvas> d. <link src="hello.mp3">
b. <a href="hello.mp3">Hello (Audio File)</a>
Choose the HTML tag that would configure a text box with the name "city" and a width of 40 characters. a. <input type="text" id="city" width="40"> b. <input type="text" name="city" size="40"> c. <input type="text" name="city" size="40"> d. <input type="text" width="40">
b. <input type="text" name="city" size="40">
Which HTML tag pair is used to specify table headings? a. <td> </td> b. <th> </th> c. <head> </head> d. <tr> </tr>
b. <th> </th>
Which of the following is true? a. A merchant account allows you to use SSL on your website. b. A digital wallet is a virtual wallet that can be used for mobile or online payments. c. Instant storefronts are what most large-scale e-commerce sites use. d. none of the above
b. A digital wallet is a virtual wallet that can be used for mobile or online payments.
Which CSS property specifies the distance between the cell text and the cell border? a. border-style b. padding c. border-spacing d. cellpadding
b. padding
You would like to conduct a survey and ask your web page visitors to vote for their favorite search engine. Which of the following form controls is best to use for this purpose? a. check box b. radio button c. text box d. scrolling text box
b. radio button
For businesses, which is an advantage of using e-commerce? a. the potential for fraudulent transactions b. reduced costs c. using shopping carts d. increased costs
b. reduced costs
Typically, how long can it take between the time you submit your website and the time it is listed in a search engine? a. several hours b. several weeks c. several months d. a year
b. several weeks
Which of the following include(s) an online catalog, a shopping cart, and a secure order form? a. web host providers b. shopping cart software c. web server software d. shopping cart script
b. shopping cart software
Which of the following is a term for creating content that is easily sharable? a. search engine optimization b. social media optimization c. link popularity d. search engine linking
b. social media optimization
Which of the following form controls would be appropriate for an area that your visitors can use to type in their e-mail address? a. select list b. text box c. scrolling text box d. label
b. text box
For businesses, which is a potential risk of using e-commerce? a. increased customer satisfaction b. the possibility of fraudulent transactions c. lower overhead costs d. none of the above
b. the possibility of fraudulent transactions
Which of the following contains information about which keywords are bringing visitors to your website? a. web position log b. website log c. search engine file d. none of the above
b. website log
The CSS _______________ property can be used to configure the color and width of a table border.
border
A condition (productCost>5) is used in an if statement. Which of the following values of productCost will result in this condition being evaluated as true? a. 4 b. 5 c. 5.1 d. none of the above
c. 5.1
_____ can be described as testing how actual web page visitors use a website.
usability testing
The _______________ CSS property specifies the vertical alignment of the contents of a cell in a table.
vertical-align
The file extensions .webm, .ogv, and .m4v indicate types of ____________________ files.
video
The _______________ object is assumed to exist and it is not necessary to include it as an object when referring to its methods and properties.
window
The _________ property configures the stacking of positioned elements on a web page.
z-index
Which of the following is the code to invoke a function called isValid() when the user clicks the submit button? a. <input type="text" onmouseout="isValid();"> b. <input type="submit" onsubmit="isValid();"> c. <form method="post" action="URL" onsubmit="return isValid();"> d. <form method="post" action="URL" onclick="return isValid();">
c. <form method="post" action="URL" onsubmit="return isValid();">
Forms contain various types of _______________, such as text boxes and buttons, which accept information from a web page visitor. a. hidden elements b. labels c. form controls d. legends
c. form controls
Which of the following properties associates a grid item (HTML element) with a named area of the grid? a. grid-name b. grid-item c. grid-area d. grid
c. grid-area
Which HTML attribute associates a table data cell with a table header cell? a. head b. align c. headers d. th
c. headers
Which of the following is a rating determined by a search engine based on the number of links to a particular site and the qualities of those links? a. line checking b. reciprocal linking c. link popularity d. social media optimization
c. link popularity
When the user positions the mouse pointer on a link, the browser detects which one of these events? a. mouseon b. mousehover c. mouseover d. mousedown
c. mouseover
Which of the following is an example of using a descendant selector to configure the anchor tags within the nav element? a. nav. a b. a nav c. nav a d. a#nav
c. nav a
Which of the following is a container element used to configure responsive images? a. display b. flex c. picture d. link
c. picture
Which property provides a way for you to rotate, scale, skew, or move an element? a. display b. transition c. transform d. relative
c. transform
Which web hosting option is appropriate for the initial web presence of an organization? a. dedicated hosting b. free web hosting c. virtual hosting d. co-located hosting
c. virtual hosting
Use the _______________ element to provide a brief description of a table that displays on the web page.
caption
Use the _______________ jQuery method to configure CSS styles.
css()
Which of the following pseudo-classes is the default state for a hyperlink that has been clicked? a. :hover b. :link c. :onclick d. :visited
d. :visited
Which of the following describes the appearance of text within a th element? a. the text is centered b. the text is displayed one size larger c. the text has bold font weight d. the text has bold font weight and is centered
d. the text has bold font weight and is centered
Use of a copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research is called ____________________.
fair use
To group a number of form controls visually on the page, use the _______________ element.
fieldset
The _______________ property is a shorthand property that configures both the flex-direction and the flex-wrap.
flex-flow
The _____ determines the appropriate use of graphics on the site and creates and edits graphics.
graphic designers
The ____________ property is a shorthand property that combines the grid-template-areas, grid-template-rows, and grid-template-columns properties.
grid-template
_______________ is an attribute of the td element that associates the table data cell with a table header cell.
headers
Use a(n) ____________ to define a fragment identifier on a page.
id attribute
When using flexbox to vertically and horizontally center text within an element, set both the _____ and _____ properties to the value center.
justify-content, align-items
If an element is configured with float: right;, the other content on the page will appear to its __________________.
left
The __________________ is always transparent.
margin
To limit the number of characters that a text box will accept, use the _______________ attribute.
maxlength
_______________ determine the capability of the mobile device, such as browser viewport dimensions and resolution.
media queries
To cause a number of radio buttons to be treated as a single group, the value of the _______________ attribute must be identical.
name
A form control button can be used with a(n) _______________ event handler to run a script when the user clicks a button.
onclick
The jQuery _______________ is triggered when the DOM of a web page is completely loaded by a browser.
ready event
Use the _______________ attribute to configure a table cell to occupy more than one row in the table.
rowspan
Frequently used information research resources are ____________________.
search engines
You would like to accept a number that's in a range from 1 to 25. The user needs visual verification of the number they selected. Which of the following form controls is best to use for this purpose? a. spinner b. check box c. radio button d. slider
spinner
The purpose of the _______________ attribute is to provide a method for a browser to display different images depending on specific criteria.
srcset
The ability to keep web page visitors at your site is called ____________________.
stickiness
An encryption method that uses a single, shared private key is ____________________.
symmetric encryption
The ___________ pseudo-class can be used to modify the display of a hyperlink when a mouse pointer passes over it.
:hover
Use ____________________ to indicate that you do not want a web page to be indexed.
<meta name="robots" description="noindex, nofollow">
The comparison operator that checks for the exactly equal to condition is _______________.
==
Which CSS pseudo-class applies to the first element of a specified type? a. :first-of-type b. :first-type c. :first-child d. :first
a. :first-of-type
In which phase is a prototype of the website often created? a. Design phase b. Conceptualization phase c. Production phase d. Analysis phase
a. Design phase
Which of the following is true about domain names? a. It is recommended to register multiple domain names that are redirected to your website. b. It is recommended to use long, descriptive domain names. c. It is recommended to use hyphens in domain names. d. There is no reason to check for trademarks when you are choosing a domain name.
a. It is recommended to register multiple domain names that are redirected to your website.
Which of the following is an object-based, client-side scripting language? a. JavaScript b. HTML c. CSS d. API
a. JavaScript
What is a short-range wireless communication that uses a radio frequency to share information between electronic devices? a. NFC b. SSL c. EDI d. FTP
a. NFC
Which of the following occurs during the Evaluation phase? a. The goals for the site are reviewed. b. The web designers are evaluated. c. The competition is evaluated. d. none of the above
a. The goals for the site are reviewed.
Which of the following is a disadvantage of an instant online storefront? a. The store is based on a template and may look very similar to other online stores. b. The store can be ready in minutes. c. The store cannot accept credit cards. d. none of the above
a. The store is based on a template and may look very similar to other online stores.
Which of the following is an open-source video codec? a. Theora b. Vorbis c. MP3 d. Wave
a. Theora
Which of the following can describe JavaScript as used in a web page? a. a scripting language b. a markup language c. an easy form of Java d. a language created by Microsoft
a. a scripting language
Which attribute of the form element is used to specify the name and location of the script that will process the form field values? a. action b. process c. method d. id
a. action
Which method of the window can be used to display a message to the user? a. alert() b. message() c. status() d. display()
a. alert()
What type of files are .wav, .aiff, .mid, and .au? a. audio files b. video files c. both audio and video files d. image files
a. audio files
Which of the following are included in the role of an information architect? a. being instrumental in defining the site organization, navigation, and labeling b. attending all meetings and collecting all information c. managing the project d. none of the above
a. being instrumental in defining the site organization, navigation, and labeling
Which of the following options best describes how a website owner can obtain a digital certificate? a. Digital certificates are automatically created when you register for a domain name. b. Contact a certificate authority and apply for a digital certificate. c. Digital certificates are automatically created when you are listed in a search engine. d. none of the above
b. Contact a certificate authority and apply for a digital certificate.
Which of the following should you do to provide for usability and accessibility? a. Use video and sound whenever possible. b. Supply text descriptions of audio and video files that appear on your web pages. c. Never use audio and video files. d. none of the above
b. Supply text descriptions of audio and video files that appear on your web pages.
Which methodology is often used by web project teams? a. the SDLC b. a derivative of the SDLC that is similar to the one discussed in this chapter c. a methodology that is decided as the project is built d. no development methodology is necessary
b. a derivative of the SDLC that is similar to the one discussed in this chapter
In which of the following does one website promote another site's products or services in exchange for a commission? a. newsletter b. affiliate program c. search engine optimization d. stickiness
b. affiliate program
What does the jQuery code snippet $('div') select? a. the element assigned to an id named div b. all div elements c. the first div element d. the last div element
b. all div elements
Which CSS property eliminates the space between the borders on table cells? a. border-style b. border-spacing c. padding d. cellspacing
b. border-spacing
Which of the following properties can be used to clear a float? a. float or clear b. clear or overflow c. position or clear d. overflow or float
b. clear or overflow
Which of the following is a collection of information which is organized so that its contents can easily be accessed, managed, and updated? a. SERP b. database c. robot d. QR Code
b. database
Which elements can be used to configure an interactive widget? a. hide and show b. details and summary c. display and hidden d. title and summary
b. details and summary
Which of the following is the code for accessing the contents of an input box named userData on a form? a. document.forms[0].userData b. document.forms[0].userData.value c. document.forms[0].userData.contents d. document.forms[0].userData.data
b. document.forms[0].userData.value
Which of the following values would you assign to the display property to configure a flexbox container? a. grid b. flex c. flexbox d. block
b. flex
Which of the following properties configures whether flex items are displayed on multiple lines? a. flex-direction b. flex-wrap c. flex-template d. flex-basis
b. flex-wrap
Which of the following properties configures empty space between grid tracks? a. align b. grid-gap c. gutter d. grid-template
b. grid-gap
Which property and value are used to configure an unordered list item with a square list marker? a. list-bullet: none; b. list-style-type: square; c. list-style-image: square; d. list-marker: square;
b. list-style-type: square;
Which of the following is the attribute used to indicate whether the style sheet is for printing or screen display? a. rel b. media c. type d. content
b. media
When the user moves the mouse pointer away from a link it had been hovering over, the browser detects which one of these events? a. mouseoff b. mouseout c. mouseaway d. mouseup
b. mouseout
Which of the following is the intended use of tables on web pages? a. configuring the layout of an entire page b. organizing information c. forming hyperlinks d. configuring a resume
b. organizing information
Which HTML tag would configure a scrolling text box with the name "comments", 2 rows, and 30 characters? a. <textarea name="comments" width="30" rows="2"></textarea> b. <input type="textarea" size="30" name="comments" rows="2"> c. <textarea name="comments" rows="2" cols="30"></textarea> d. <input type="comments" rows="2" name="comments" cols="30">
c. <textarea name="comments" rows="2" cols="30"></textarea>
Which HTML tag pair is used to group rows in the footer of a table? a. <footer> </footer> b. <tr> </tr> c. <tfoot> </tfoot> d. <td> </td>
c. <tfoot> </tfoot>
What is a first step for search engine optimization? a. Join an affiliate program. b. Start a blog. c. Add a description meta tag to each page. d. Create a QR code.
c. Add a description meta tag to each page.
Which of the following acronyms refer to the business-to-consumer e-commerce business model? a. B2B b. BTC c. B2C d. C2B
c. B2C
Which of the following is optimized for responsive two-dimensional page layout? a. CSS absolute positioning b. CSS Display Layout c. CSS Grid Layout d. CSS Flexible Box Layout
c. CSS Grid Layout
Which of the following is the most popular search engine? a. Iframe b. Yahoo! c. Google d. Bing
c. Google
Which of the following can describe Ajax? a. It is an object-based scripting language. b. It is a useful HTML element. c. It is a web development technique for creating interactive web applications. d. It is a CSS property.
c. It is a web development technique for creating interactive web applications.
What is the purpose of private registration for a domain name? a. It protects the privacy of your website. b. It is the cheapest form of domain name registration. c. It protects the privacy of your contact information. d. none of the above
c. It protects the privacy of your contact information.
What happens when a browser does not support the video or audio element? a. The computer crashes. b. The web page does not display. c. The fallback content, if it exists, will display. d. The browser closes.
c. The fallback content, if it exists, will display.
Which CSS property specifies the background color of a table? a. background b. bgcolor c. background-color d. table-color
c. background-color
Which of the following is a major function of e-commerce? a. using SSL to encrypt orders b. adding items to a shopping cart c. buying and selling goods d. none of the above
c. buying and selling goods
Which of the following properties identifies a CSS selector as a grid container? a. grid b. directive c. display d. grid-template
c. display
Which of the following causes an element to display as a block of content with white space above and below? a. display: none; b. block: display; c. display: block; d. display: inline;
c. display: block;
Choose the HTML that would associate a label displaying the text "E-mail:" with the e-mail text box. a. E-mail <input type="textbox"name="email" id="email"> b. <label>E-mail:</label><input type="text"name="email" id="email"> c. <label for="email">E-mail:</label><input type="text"name="email" id="emailaddress"> d. <label for="email">E-mail:</label><input type="text"name="email" id="email">
d. <label for="email">E-mail:</label><input type="text"name="email" id="email">
Which HTML tag pair is used to begin and end a table row? a. <td> </td> b. <tbody> </tbody> c. <table> </table> d. <tr> </tr>
d. <tr> </tr>
What will happen when a browser encounters a form control that it does not support? a. The computer will shut down. b. The browser will crash. c. The browser will display an error message. d. The browser will display an input text box.
d. The browser will display an input text box.
What do team members do during the Analysis phase of a website project? a. determine what the site will do—not how it will be done b. determine the information topics of the site c. determine the content requirements of the site d. all of the above
d. all of the above
Which of the following occurs during the Production phase? a. A web authoring tool is often used. b. The graphics, web pages, and other components are created. c. The web pages are individually tested. d. all of the above
d. all of the above
Which of the following should be included when testing a website? a. checking all of the hyperlinks within the site b. viewing the site in a variety of web browsers c. viewing the site in a variety of screen resolutions d. all of the above
d. all of the above
Which of the following is the rendering flow used by a browser by default? a. regular flow b. normal display c. browser flow d. normal flow
d. normal flow
Which of the following will assign the value 5 to the variable productCost? a. productCost => 5; b. productCost <= 5; c. productCost == 5; d. productCost = 5;
d. productCost = 5;
Which of the following form controls would be appropriate for an area that your visitors can use to type in comments about your website? a. text box b. select list c. radio button d. scrolling text box
d. scrolling text box