Practice Exam I

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

You see the following MIME type on a file attached to an e-mail: text/css. What file name extension is usually given to this MIME file type so that Web servers can properly process it?

.css

A programmer has decided to store information in memory for later use. What is used to do this?

A variable

Which line of XHTML code creates a valid hyperlink to a target on the same page named "targetArea2"?

<a href="#targetArea2"> Top of the FAQ </a>

Which of the following is used in many programming languages to help end an infinite loop?

A break statement

You want to create a place on a Web page where you can display graphics, animation, video and games "on the fly" without the need for a plug-in. What HTML5 API should you use to accomplish this?

Canvas

You have created several Flash presentations for your Web site's default page and some other pages. To enjoy all of the benefits of these pages, which of the following must your site visitors do?

Download a plug-in

You have been asked to create a corporate intranet in which employees can easily transfer pictures of themselves to the correct locations next to their biographies. Which HTML5 API allows you to accomplish this?

Drag-and-drop

You are developing pages for your company's Web site. You want to ensure accessibility for all users, including those with disabilities. Which type of content is most likely to cause problems for those with neurological disorders?

Correct Response: Content that flashes, flickers or strobes

A Web developer responsible for designing Web pages has used a GIF and a PNG image from a public Web site without permission. No prior relationship exists between the Web developer and the company from which the images were obtained. The images were simple "spacer" images that helped create a more uniform Web page. The images did not contain any logos or product-specific information. What violation may have nevertheless occurred?

Correct Response: Copyright infringement

You want to create an internal hyperlink in you Web page. Which choice describes the two steps you must perform?

Correct Response: Create an anchor, then create a link that points to the anchor.

You have a contract job to create Web pages in HTML for a company based in Canada. How can you ensure usability as defined by the Canadian government for this company's disabled Web site users?

Correct Response: Create pages according to acts passed by the Canadian government.

Which of the following is a necessary step when calculating bandwidth?

Correct Response: Determining the speed of your network connection

One of your Web team members has made several changes to pages on a Web server. Another Web team member has updated several programs running on the Web server. Why is it important to document these types of changes?

Correct Response: Documentation provides evidence that duties have been properly performed.

Consider the following portion of HTML code for creating a table: padding:6px; border-spacing:2px; } Which statement correctly describes the resulting table?

Correct Response: Each cell will have 6 pixels more than the default of space between the content and the cell border.

You need to pay an Internet Service Provider (ISP) for services rendered. Which payment technology would you use?

Correct Response: Electronic Funds Transfer (EFT)

Which activity is most likely to be necessary during a Web site planning meeting?

Correct Response: Explaining capabilities of the Web server and database to the marketing team

As a novice Web developer, you have been asked by your partners to create a Web site for your new business venture to ensure that your potential customers are able to find your business over the Internet. Which of the following would prove most helpful to you in your endeavor?

Correct Response: Find Web development training, tips, tricks and advice from appropriate courses, online tutorials, user groups, professional trade journals, scholarly writings, and reference books.

Consider the following HTML code:<a href="http://192.168.2.3/indexes/index.html"> CCYP Home </a> Which type of hyperlink reference is given in this code?

Correct Response: Fully qualified URL

Your manager has requested that you modify the company's Web site to display the location of site visitors. Which HTML5 API allows you to accomplish this?

Correct Response: Geolocation

HTML comes in several versions. Which HTML version includes the Transitional, Strict and Frameset "flavors?"

Correct Response: HTML 4.01

You want to create Web pages that can easily adapt to smartphones, tablets, gaming devices and smart TVs, as well as to traditional PCs. Which of the following would be best suited for this purpose?

Correct Response: HTML5 APIs

Consider the following HTML code from a page that resides on a Web server: <a href="../ccyp.html"> CCYP Home </a> According to this code, where does the file named ccyp.html reside on the Web server?

Correct Response: In a directory one level above the current page

Consider the following HTML code on a page that resides on a Web server: <a href="pages/index.html"> CCYP Home </a> According to this code, where does the file named index.html reside on the Web server?

Correct Response: In the "pages" subdirectory, which resides beneath the page being currently edited

Your Web team has recommended a development environment that will make the site appear more attractive. This development environment is also proven to reduce development costs. However, it requires all site users to first download a browser plug-in. Which choice lists the affecting factors your team should consider before implementing this development environment?

Correct Response: Inconvenience to the user, cost, and audience limitation

Your team needs to evaluate a Web site primarily designed for consumption in a particular country. Which of the following is a relevant to ask during this process?

Correct Response: Is the color combination used effective for the culture(s) in the country?

What does the <!DOCTYPE> tag provide for a Web browser?

Correct Response: It informs the browser about the HTML version to use.

For the purposes of Web site development, which of the following is an essential characteristic of a test server?

Correct Response: It must have the same configuration as the "live" server.

Which statement accurately describes a bitmap graphic?

Correct Response: It uses small dots (usually thousands) to create images and specify colors.

Which statement about mobile apps is true?

Correct Response: Mobile apps are stand-alone applications that are downloaded from a vendor's software repository.

Your company wants to partner with another company and share information. However, you do not want members of the other company to reveal any of your company's important information, such as trade secrets. To this end, you have just signed a document that protects your company's trade secrets and intellectual property, and also stipulates penalties if information is improperly revealed. Which type of document is this?

Correct Response: Non-Disclosure Agreement (NDA)

User-entered information has been passed from a Web form to a database server. Where is the CGI script located?

Correct Response: On the Web server

In which of the following formats are image layers supported?

Correct Response: PNG

You have included on your Web page a graphic image file that conforms to a relatively new standard. This graphic format is capable of supporting compression, animation and transparency. It is also an open standard. However, this image file format is not supported in older browsers. Which image file format are you using?

Correct Response: PNG

Mario has been hired by a popular restaurant chain to develop a new section for its Web site that will promote its new express menu service. The project manager has made it clear that money is not an issue, but time is. The deadline is approaching, and there is a great deal of work needed to complete the site coding and a requested multimedia feature. Mario must also allow plenty of time for the testing phase. Based on these factors, what is Mario's best strategy for obtaining the graphical media he will need for the site?

Correct Response: Purchase stock photos from online resources.

Pax has been hired by a small business to develop its Web site. He begins the project by creating a document that specifies the basic requirements for the site. This document defines the site's purpose and specifies the company's audience. It also directs the site navigation so that it makes sense from a user's point of view. What is the name of the document that Pax created?

Correct Response: Storyboard

Which step is most helpful for ensuring that your Web page code renders well for most users?

Correct Response: Test the page in multiple browsers.

This code does not validate as HTML5. Why?

Correct Response: The <body> tag is not properly closed.

Nigel has decided that it is not necessary to test his Web site in multiple browsers. What would be a valid reason to support Nigel's decision

Correct Response: The Web site is an intranet and the company has standardized to one browser.

You are applying a font type to a Web page using your GUI HTML editor. Which of the following should you consider?

Correct Response: The character sets available in most browsers

Company management has decided that the Web site needs to add unique features to help differentiate it from competitors' Web sites. Which team can best determine the type of features that users will consider unique?

Correct Response: The marketing team

You are using a server provided by an ISP. Your CGI script fails to execute on the server. Which is a common reason why CGI scripts fail to execute on a server?

Correct Response: The script does not have executable permissions.

You have been hired by Acme Inc. to update its company Web site. You discover that the existing Web pages were structured using tables. You are explaining to Acme's managers why the Web site needs to be recoded in HTML5 with CSS controlling the structure of the document. What is the most important reason for using HTML5 and CSS?

Correct Response: The site can be viewed by HTML5-compliant browsers, including mobile devices.

You want to add a table into your Web document using a GUI HTML editor. You are using HTML5 and CSS. Which of the following describes a valid use of tables?

Correct Response: To make information appear in an organized manner

The HR Department has asked your Web team to create a Web page for the company's intranet site that will compare the company's three different employee insurance plan options. What is the most effective way to accomplish this?

Correct Response: Use document structure tags to lay out the page, and use a table to organize the insurance plan information.

Which approach is ideal for ensuring that a Web page is maintained and does not appear neglected?

Correct Response: Using automated link-checking software

Which choice lists the two types of graphics currently used in Web pages?

Correct Response: Vector and bitmap

Which of the following activities is essential to maintaining a Web site so that end users do not feel that the Web site is neglected or lacks maintenance?

Correct Response: Verifying that all hyperlinks are valid

Emily has been asked to update Web page content for her company's site and is working with the marketing department to gather information that will help her revise site navigation and product content. Which audience-development technique would provide the information she seeks?

Correct Response: Visitor tracking

Consider the following HTML5 code,This HTML5 and CSS code directs the sidebar background image to display:

Correct Response: at the top-right of the sidebar.

You are embedding audio in your Web page and want to specify that the audio file should play immediately upon loading. Which attribute is needed to accomplish this?

Correct Response: autoplay="autoplay"

Kim is developing a Web site using HTML5. She wants the new HTML5 structural elements (such as <header> and <article>) to be styled consistently in all browsers. To ensure that the site will render successfully, Kim needs to add a CSS rule that will change them to which element type?

Correct Response: block

You work on your company's Web development team. Your supervisor has directed you to validate the code on all your site's recently updated Web pages. Which Web-based validation tool can you use to validate HTML documents?

Correct Response: www.validator.w3.org

Which of the following is a common use for JavaScript on the client side?

Creating cookies

Which statement accurately describes the Scalable Vector Graphics (SVG) technology?

It is an open standard that you can use to create cross-platform animated movies.

How does the HTML5 geolocation API display its results?

In a localized map of the user's location

When you use the HTML5 Offline Web application API, you must create a list of the files needed for the Web application to work offline, such as the main .html file, the .css file, and any images or JavaScript files used. What is this list called?

Manifest

Xavier has embedded a video in his Web page using the HTML5 video format. However, when he tests the page, the video does not render properly. He reviews his code carefully, which appears as follows: <video height="210" class="center" controls="controls"> <video src="video.ogg" type="video/ogg" /> Your browser does not support the HTML5 video element. </video> What does Xavier need to do to correct this code?

Replace the second instance of the <video> element with the <source> element.

HTML5 provides native support for animation, movies and other multimedia without the use of plug-ins. Which elements does HTML provide to allow developers a standard method to embed video and audio into their Web pages?

The <video> and <audio> elements

Which of the following is a benefit of Scalable Vector Graphics (SVG)?

Text inside of images can be searched.

You are embedding audio in your Web page and want to specify that the audio file should play immediately upon loading. Which attribute is needed to accomplish this?

autoplay="autoplay"

You are embedding a video in your Web page and want to incorporate the play, pause, rewind, fast forward and volume video controls. Which attribute is needed to accomplish this?

controls="controls"

You are embedding audio in your Web page and want to specify that the audio file should play over and over again without stopping. Which attribute is needed to accomplish this?

loop="loop"

Your manager has requested that you modify the company's Web site to display the location of site visitors. Which HTML5 API allows you to accomplish this?

Geolocation

Your Web team has recommended a development environment that will make the site appear more attractive. This development environment is also proven to reduce development costs. However, it requires all site users to first download a browser plug-in. Which choice lists the affecting factors your team should consider before implementing this development environment?

Inconvenience to the user, cost, and audience limitation

How many colors are specified in the browser-safe color palette?

216

You want to embed video into your HTML5 Web page. Which code is best for accomplishing this?

<video width="360" height="270" controls="cpmtrp;s" poster="image.png"> <source src="video.mp4" type="video/mp4" /> <source src="video.web" type="video/webm" /> <source src="video.ogg" type="video/ogg" /> Your browser does not support the HTML5 video element. </video>

A member of your Web development team has created an application using the C++ programming language. The code for the program is currently in a text file. What is required to process this text file information into an executable application?

A compiler

You have been assigned to work with a Web developer to troubleshoot the output of a CGI application. Your job is to type commands into a terminal, and the Web developer will read the output. You cannot see what you are typing into the terminal. The Web developer directs you to enable echo in your application. What is echo?

A command that repeats the terminal input you type

You supervise the Web development team for your company. As your team is redesigning the company site, you need to make decisions about various issues, including acceptable color combinations, sales strategies and target markets. Other departments and individuals in your company will have important input that you need to include. Which step should you take?

Attend a branding standards meeting.

You are writing HTML code for your Web page. You use hexadecimal notation to specify the RGB values you want to use on the page. What aspect of your Web page are you specifying with these values?

Correct Response: Colors

Which strategy can help a Web team avoid copyright infringement?

Correct Response: Conducting regular content reviews

Consider the following HTML code: <h1> Welcome to the Habitat for Humanity Web Site </h1> <hr/> <p> Habitat for Humanity is a not-for-profit organization that provides decent, affordable housing. </p> What is the default width of the horizontal line created on this page?

Correct Response: 100 percent

You have added a table to your Web page consisting of two columns and five rows, including the header row. In the first header cell, you have set the height property in the CSS style sheet to 50 pixels. You have also mistakenly set the height property for the second header cell to 75 pixels. How tall will the header row be?

Correct Response: 75 pixels

You want to create a hyperlink to a secure resource that ensures information is properly encrypted. Which line of HTML code will accomplish this?

Correct Response: <a href="https://www.CIWcertified.com"> Visit Our Secure Site </a>

Which line of code will validate as HTML5?

Correct Response: <area shape="rect" coords="0,0,75,75" href="home.htm" alt="home"/>

When creating an image map on a Web page, in which HTML tag would you place the target URL for a hyperlink?

Correct Response: <area>

Roberto is creating a Web page using HTML5. He wants to indent a quote on the page. Which element should he use to accomplish this?

Correct Response: <blockquote>

You are developing a Web page using HTML5 and CSS. You want to align a paragraph of text to the right side of the page. Which code uses the correct syntax for this style?

Correct Response: <p style="text-align: right">This text will align to the right</p>

Which of the following is an HTML phrase element that formats text in a fixed-width font?

Correct Response: <samp>

In the Web form you are creating, you want a multiple-option select list to appear with five options. Which line of HTML code will help accomplish this?

Correct Response: <select name="work" multiple="multiple" size="5">

An end user has just clicked the OK button on a Web document to send information to the Web server. Which of the following contains a reference to the CGI script that allows this Web page to send information to a Web server?

Correct Response: A Web form

End users have complained that when they click a link on your company's Web site, the wrong client loads. You review the page with the suspect link and find the following HTML code:

Correct Response: A Web server has been specified.

How does a bitmap differ from an image map?

Correct Response: A bitmap uses small dots to create images and specify colors, whereas an image map uses areas of an image to act as hyperlinks.

Which of the following costs should be considered when providing your own Web server instead of using a cloud service provider or an Internet Service Provider (ISP)?

Correct Response: A hardware and software support technician

Consider the following HTML tag:<area shape="rect" coords="0,0,10,20" href="home.htm" alt="home"/> In this tag, what is specified by the value of the href attribute?

Correct Response: A page that will load when a user clicks this hot spot on an image map

You have been directed to change this form field so that users can select more than one option from this list. In addition to rewording the page text, which change must you make to the code?

Correct Response: Add the multiple="multiple" attribute and value to the <select> element.

You have been assigned to develop a mobile version of your company's Web site. First, you eliminate all banners and advertisements from the site pages. What else can you do to optimize the site for mobile users?

Correct Response: Add white space to page designs.

Which law passed in the United States is designed to ensure that disabled people are not improperly excluded from jobs?

Correct Response: Americans with Disabilities Act

Which elements of an image can be made transparent?

Correct Response: Any element of a specified color

Your Web team is developing a new site for your company. As you are validating design issues, you review the pages' adherence to organizational design standards. What do these standards support?

Correct Response: Branding and marketing

Toshiba wants to sell products to customers from its main corporate Web site. As a result, a Web site you helped develop has been used to transfer information between your company and an office belonging to Toshiba, Inc. Which type of e-commerce model is the Web site you developed based upon?

Correct Response: Business to business (B2B)

You want to create Web pages that can easily adapt to smartphones, tablets, gaming devices and smart TVs, as well as to traditional PCs. Which of the following would be best suited for this purpose?

HTML5 APIs

You are embedding a video in your Web page. What three formats should you specify in the <source> element to ensure that most browsers and devices can access your video?

MP4, WebM and Ogg

Consider the following code: CACHE MANIFEST CACHE: index.html styles.css actions.js banner.jpg FALLBACK: images/banner.fallback.jpg /message.html * This file is a required component of which HTML5 API?

Offline Web application

You are creating a Web document on a mobile device and will be out of your Internet Service Provider's coverage range for the remainder of the day. Which HTML5 API will allow you to continue working on the document?

Offline Web application

Which animation technology can be viewed by Web users without a browser plug-in?

Portable Network Graphics (PNG)

Nicolai wants to add demand-based content to his Web site so that customers can access the information at their behest. Which audience-development technique describes the process Nicolai wants to implement?

Pull technology

If a Web page author wants her users to select only one option among several specified on a form, which input type should she specify?

Radio buttons

The HTML5 canvas API supports only which shape?

Rectangle

Emily has been asked to update Web page content for her company's site and is working with the marketing department to gather information that will help her revise site navigation and product content. Which audience-development technique would provide the information she seeks?

Visitor tracking


Set pelajaran terkait

Quality Assurance interview Questions and Answers for QA Engineers

View Set

Endocrine System Assignment-Who Am I?

View Set

Phlebotomy Essentials 6th edition. ALL quizzes, ALL ch. tests, GRADED work, NOT guesses. PLUS, the FULL NAHP study guide

View Set

RCLF1B SE Block 4 (all portions) | App Reg & Cul Studies SE Course (RCLF1BSE01) (RCLF1BSE00)

View Set

series 6 - securities chapter unit 6 b- annuities

View Set