Web Development Foundations - C779

Web Development Foundations - C779

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

You are embedding a video in your Webpage. What three formats should you specify in the <source> element to ensure that most browsers and devices can access your video? A MP4, MP3 and Wav B WebM, Ogg and Wav C MP4, MP3 and Ogg D MP4, WebM and Ogg

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (78)

Section 1

(50 cards)

You are embedding a video in your Webpage. What three formats should you specify in the <source> element to ensure that most browsers and devices can access your video? A MP4, MP3 and Wav B WebM, Ogg and Wav C MP4, MP3 and Ogg D MP4, WebM and Ogg

Front

D MP4, WebM and Ogg

Back

What can be considered a drawback of obtaining feedback about your Website by conducting customer surveys via email? A Most customers who answer email surveys have idiosyncratic perspectives. B You increase your chances of receiving prank information from trolls. C You are able to contact more customers than if you were to conduct the survey in person. D Your organization runs the risk of receiving a bad reputation as a spammer.

Front

D Your organization runs the risk of receiving a bad reputation as a spammer.

Back

Which Web-ready image formats support interlacing?. GIF and JPEG JPEG and PNG GIF and PNG GIF and JPEG

Front

GIF and PNG

Back

Which of the following is considered to be the preferred method of designing Webpages? A Implementing a multi-page layout using CSS B Implementing an absolute-positioning layout using CSS C Implementing a fixed-width layout using CSS D Implementing a liquid design layout using CSS

Front

D Implementing a liquid design layout using CSS

Back

Which choice lists the three elements generally involved in an n-tier solution? A The data, the business logic, and the presentation of data B The application layer, the session layer, and the physical layer C The database, the permissions, and the data D The Web browser, the Web server, and the database server

Front

A The data, the business logic, and the presentation of data

Back

Which Web image format is best suited for line art, custom drawings and navigational images? A Joint Photographic Experts Group (JPEG) B Portable Network Graphics (PNG) C Windows Bitmap (BMP) D Graphics Interchange Format (GIF)

Front

D Graphics Interchange Format (GIF)

Back

What is the basic element of a raw text string sent from a Web form to a Web server's CGI script? A An environment variable B An action value C A method value D A name=value pair

Front

D A name=value pair

Back

What is a CSS selector? A The value in a markup tag you want to change with a CSS style B The property in a markup tag to which designated styles are applied C A format instruction in a CSS file D Any element to which designated styles are applied

Front

D Any element to which designated styles are applied

Back

How many colors are specified in the browser-safe color palette? A 16 B 16.7 million C 255 D 216

Front

D 216

Back

Why wouldn't you use CMYK color schemes in your Webpage? A CMYK is not understood by hardware (such as printers) and could break your Website's operability. B CMYK is a proprietary color scheme, and it is expensive to get the rights to use it. C CMYK is too detailed for monitors to display. D The CMYK color scheme is not supported in HTML5.

Front

D The CMYK color scheme is not supported in HTML5.

Back

Which of the following is an Americans with Disabilities Act (ADA) compliance factor? A You must provide text-based alternatives to all non-text content (e.g., Java applets). B You must make documents available without requiring an associated style sheet. C You must identify all row and column headers when using tables for data. D You must make information equally available in color and without color.

Front

A You must provide text-based alternatives to all non-text content (e.g., Java applets).

Back

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 A line of code that allows you to read and alter variables B A command that repeats the terminal input you type C A line of code that refers to an entire series of steps or commands D A command used to process code in standard text files

Front

B A command that repeats the terminal input you type

Back

Which feature is commonly found in a Website management editor? A The ability to assign tasks to team members B The ability to simulate a Secure Sockets Layer (SSL) session C The ability to generate scripting and programming code D The ability to encrypt Webpages

Front

A The ability to assign tasks to team members

Back

Which of the following describe the data from which Webpages are created, but do not format Webpages? A Extensible Hypertext Markup Language (XHTML) and Standard Generalized Markup Language (SGML) B Extensible Markup Language (XML) and Standard Generalized Markup Language (SGML) C Hypertext Markup Language (HTML) and Extensible Hypertext Markup Language (XHTML) D Extensible Markup Language (XML) and Hypertext Markup Language (HTML)

Front

B Extensible Markup Language (XML) and Standard Generalized Markup Language (SGML)

Back

Text surrounded by the <b> and <strong> tags both result in bold text. How do the tags differ? A The <b> and <strong> elements are equivalent: Both apply the bold font style. B The <strong> element applies the bold font style, whereas <b> applies a heavier weight to the text relative to the surrounding text. C The <b> and <strong> elements are equivalent: Both apply a heavier weight to the text relative to the surrounding text. D The <b> element applies the bold font style, whereas <strong> applies a heavier weight to the text relative to the surrounding text.

Front

D The <b> element applies the bold font style, whereas <strong> applies a heavier weight to the text relative to the surrounding text.

Back

Which HTML 4.01 flavor must you use to place Webpages inside each other to create separate panes in the browser window? A HTML 4.01 Strict B HTML 4.01 Frameset C HTML 4.01 Standard D HTML 4.01 Transitional

Front

B HTML 4.01 Frameset

Back

By default, horizontal rules display: A centered on the page, indented from the left and right margins. B left-aligned on the page. C right-aligned on the page. D with a 3-D shading effect.

Front

D with a 3-D shading effect.

Back

Which of the following statements about HTML5 is true? A The <!DOCTYPE> declaration is no longer required in HTML5. B HTML5 documents start with the structural elements <head> and <meta>. C HTML5 documents are backward-compatible to older browser versions. D The DTD file is no longer required in HTML5.

Front

D The DTD file is no longer required in HTML5.

Back

Which technique should you use to indent a paragraph or create additional spaces between words on an HTML page? A Insert a line break. B Press the spacebar. C Insert non-breaking spaces. D Insert a character break.

Front

C Insert non-breaking spaces.

Back

What automatically separates individual list items when you create an ordered or numbered list? A Non-breaking spaces B Empty list items C Single line breaks D Single paragraph breaks

Front

C Single line breaks

Back

What is a metalanguage? A A language that is used to describe the data from which Webpages are created B A language that is used to format Webpages C A language that is used to create other languages D A language in which you need not define your own document language rules

Front

C A language that is used to create other languages

Back

Which of the following are metalanguages? A Standard Generalized Markup Language (SGML) and Extensible Markup Language (XML) B Hypertext Markup Language (HTML) and Extensible Hypertext Markup Language (XHTML) C Extensible Hypertext Markup Language (XHTML) and Standard Generalized Markup Language (SGML) D Extensible Markup Language (XML) and Hypertext Markup Language (HTML)

Front

A Standard Generalized Markup Language (SGML) and Extensible Markup Language (XML)

Back

Which of the following lines of HTML code will create a link to the text that reads "FAQ"? A <a href="#h1"> Top of the FAQ </a> B <a href="#targetArea1"> Top of the FAQ </a> C <a href="targetArea1"> Top of the FAQ </a> D <a href="#FAQ"> Top of the FAQ </a>

Front

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

Back

When you create an internal hyperlink with the anchor element, what occurs if you omit the hash ( # ) from the href attribute? A The browser will look for an internal file by the name specified in the href attribute. B The internal hyperlink will target the Website home page rather than the area specified in the href attribute. C The Webpage containing the internal hyperlink will not render. D The browser will look for an external file by the name specified in the href attribute.

Front

D The browser will look for an external file by the name specified in the href attribute.

Back

A storyboard is a document that describes the: A organizational design standards to which your Website must adhere. B purpose and intended audience for a Website, and provides a rough outline of the pages needed. C design elements you will use in your Website. D demographic and cultural issues your Website will address.

Front

B purpose and intended audience for a Website, and provides a rough outline of the pages needed.

Back

Which of the following should you use when you develop your own Webpages and want to link them to form a site? A External hyperlinks B Internal hyperlinks C Image hyperlinks D Local hyperlinks

Front

D Local hyperlinks

Back

Which is a technology that resides on a server and receives Web form data from the browser, then processes the data into human-readable format? A XML B HTTP C HTML D CGI

Front

D CGI

Back

When developing your own Webpages, when should you use an internal hyperlink? A To reference another area within the same Webpage B To link a Webpage file to a separate file on the Internet C To link a file on your local system to another file on your local system D To create a link from a graphic image to a separate file on the Internet

Front

A To reference another area within the same Webpage

Back

Consider the following HTML code on a page that resides on a Web server: <a href="pages/index.html">uCorp</a> According to this code, where does the file named index.html reside on the Web server? A In the "pages" directory, which resides above the page being currently edited B In the "home" subdirectory, which resides off of the "pages" directory on the server C In the "pages" subdirectory, which resides beneath the page being currently edited D In the Web server's root directory

Front

C In the "pages" subdirectory, which resides beneath the page being currently edited

Back

Consider the following code from a CSS document: body {color: teal; font: white;} This code is an example of what? A A property B A rule C A value D A selector

Front

B A rule

Back

Using a linked style sheet, you have modified the look and feel of an HTML page. You noticed that the rules you applied remain in force unless explicitly overruled using other styles. Which term describes this phenomenon? A Inheritance B Hierarchy C Overrules D Structuring

Front

A Inheritance

Back

Consider the following code snippet: <tr> <th rowspan="5"> Site Development Associate </th> </tr> Which choice most accurately describes the result of the code? A The row heading is located in a cell whose height is 50 percent of the height of the page. B The row heading is located in a cell that is five inches tall. C The row heading is located in a cell in the fifth row of the table. D The row heading is located in a cell that vertically spans five rows of the table.

Front

D The row heading is located in a cell that vertically spans five rows of the table.

Back

What color does the mixture of red, green and blue light on a monitor screen produce? A White B Brown C Violet D Black

Front

A White

Back

Why is it preferable to use <strong> in lieu of <b> to apply the bold text style? A Because depending on the HTML flavor you are using, <b> can have different meanings B Because <strong> is valid in all flavors of HTML, whereas <b> is not C Because <b> applies the bold text attribute only to text with a fixed-space font D Because <strong> can be used both to denote bold text when printed and strongly spoken text when output through an audio device

Front

D Because <strong> can be used both to denote bold text when printed and strongly spoken text when output through an audio device

Back

Generally, which Web image format should you use if you want the highest image quality? A Windows Bitmap (BMP) B Portable Network Graphics (PNG) C Graphics Interchange Format (GIF) D Joint Photographic Experts Group (JPEG)

Front

D Joint Photographic Experts Group (JPEG)

Back

According to this code, where does the file named index.html reside on the server? In the "home" directory, which resides off of the "pages" directory on the server In the "pages" directory, which resides off of the server's root directory In the "uCorp" directory, which resides off of the server's root directory In the "pages" directory, which resides one directory beneath the directory currently being edited

Front

In the "pages" directory, which resides off of the server's root directory

Back

Why should you avoid adding spaces or hard returns within an <img> tag? A Because this practice makes the source code more difficult to interpret B Because this practice prevents the image from rendering in a browser C Because HTML will render the additional spaces or hard returns, which may affect the placement of the image on the page D Because XHTML will render the additional spaces or hard returns, which may affect the placement of the image on the page

Front

D Because XHTML will render the additional spaces or hard returns, which may affect the placement of the image on the page

Back

Which of the following requires that all electronic and information technology developed, procured, maintained or used specifically by federal agencies be comparably accessible to users with disabilities? A Web Content Accessibility Guidelines (WCAG) B Americans with Disabilities Act (ADA) C Section 508 of the Rehabilitation Act D Web Accessibility Initiative (WAI)

Front

C Section 508 of the Rehabilitation Act

Back

In hexadecimal code, the number 16 is represented as: A 15. B F. C A. D 10.

Front

D 10.

Back

Which statement about this code is accurate? A It is part of a table with three data cells. B It is part of a table with three captions. C It is part of a table with three rows. D It is part of a table with three columns.

Front

D It is part of a table with three columns.

Back

Tags that format text as bold or italic are known as: A block-level elements. B text-level elements. C formatting elements. D markup elements.

Front

B text-level elements.

Back

Your team needs to evaluate a Website primarily designed for consumption in a particular country. Which of the following is a relevant question to ask during this process? A Can end-users download the Flash plug-in from this country? B What language will be used to create the CGI for the Web forms? C Is the color combination used effective for the culture(s) in the country? D How many colors are available to the standard Web browser?

Front

C Is the color combination used effective for the culture(s) in the country?

Back

A block-level element is a markup element that affects at least: A one character. B an entire paragraph. C an entire page. D one word.

Front

B an entire paragraph.

Back

Which of the following is true of CMYK? A CMYK is supported in HTML5, although support is expected to be withdrawn in HTML6. B Color schemes written in RGB and CMYK can be freely converted between each other without any change to coloration. C CMYK is used for color printing, and any RGB color schemes get converted to CMYK when sent to a color printer. D When you combine the CMYK colors, you produce the color white.

Front

C CMYK is used for color printing, and any RGB color schemes get converted to CMYK when sent to a color printer.

Back

What is the default value for aligning images relative to text using CSS? A middle B left C top D bottom

Front

D bottom

Back

Which HTML tag should you use if you want to center and indent a block of text? A The <p> tag B The <pre> tag C The <br> tag D The <blockquote> tag

Front

D The <blockquote> tag

Back

Which of the following assumes the current document's path so that all references are made from the document's current directory? A Absolute URL B Partial URL C Targeted URL D Fully qualified URL

Front

B Partial URL

Back

You are embedding a video in your Webpage and want to incorporate the play, pause, rewind, fast forward and volume video controls. Which attribute is needed to accomplish this? This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task are A to H and alt+1 to alt+9. A src="controls" B controls="controls" C controls="video" D video="controls"

Front

B controls="controls"

Back

HTML markup tags consist of: A an attribute, a value and a comment. B an element, a comment and a value. C an element, an attribute and a comment. D an element, an attribute and a value.

Front

D an element, an attribute and a value.

Back

In order to create an external hyperlink, you must determine: A the partial URL, including the protocol indicator, for the Webpage to which you want to link. B the relative URL, including the protocol indicator, for the Webpage to which you want to link. C the absolute URL, including the protocol indicator, for the Webpage to which you want to link. D the absolute URL, excluding the protocol indicator, for the Webpage to which you want to link.

Front

C the absolute URL, including the protocol indicator, for the Webpage to which you want to link.

Back

Section 2

(28 cards)

Which attribute is shared by all Web form field elements? A The method attribute B The type attribute C The name attribute D The action attribute

Front

C The name attribute

Back

In database technology, what is the term for the SQL coding necessary to create relationships with the data stored in a database? A Data B Presentation C Code D Business logic

Front

D Business logic

Back

HTML5 APIs are used to create apps for: A object-based programs. B object-oriented programs. C mobile devices. D DHTML.

Front

C mobile devices.

Back

What is the advantage to selecting Go as your server-side language? A It has strong runtime safety. B It shortens the production to distribution pipeline. C It is fully outfitted with all the common features programmers have come to expect from a modern language. D It is one of the largest and most well-established programming languages and is thus well supported.

Front

B It shortens the production to distribution pipeline.

Back

Visual Basic (VB) is best used for what purpose? A Tasks that require a full suite of object-oriented capabilities. B Stand-alone applications and server-side Web applications. C Client-side applications in Web browsers. D Any task that a language like C++ or Java could perform.

Front

B Stand-alone applications and server-side Web applications.

Back

What is the main advantage to using Java? A It is platform agnostic. B It uses a 'write once, run anywhere' philosophy and does not need to be tested across multiple systems. C It is optimized for use primarily on the Windows operating system. D It does not require a compiler.

Front

A It is platform agnostic.

Back

The term "pixel" is short for: A "picture layer." B "pixel scan." C "picture element." D "picture resolution."

Front

C "picture element."

Back

Which of the following should you use to specify the width in characters of a scrolling text box? A The size attribute B The width attribute C The maxlength attribute D The cols attribute

Front

D The cols attribute

Back

A flat file is a database in which information: A is inaccessible by front-end users. B is stored statically; information can be searched, but cannot be reorganized or placed into another database. C can be sorted, altered and placed into other databases for retrieval. D is stored in a single table.

Front

D is stored in a single table.

Back

Which of the following occurs when you specify the wrap="soft" attribute and value for the <textarea> tag? A Text you enter will continue on one line beyond the scrolling text box border. B Text you enter will wrap to the next row as it approaches the scrolling text box border. C The amount of text you will be able to type in each row will be restricted to the width of the scrolling text box. D You will be able to enter only one row of text in the scrolling text box.

Front

A Text you enter will continue on one line beyond the scrolling text box border.

Back

Animated GIF programs allow the user to: A convert images from any other format to GIF 89a. B set the interval of appearance between multiple GIF 89a images. C create animation files using one GIF 89a image. D create transitional images to fit between the GIF 89a images.

Front

B set the interval of appearance between multiple GIF 89a images.

Back

In a raw text string, which of the following is used to replace spaces entered by the user? A Underscores ( _ ) B Ampersands ( & ) C Plus signs ( + ) D Quotation marks ( " " )

Front

C Plus signs ( + )

Back

Which of the following should you use to define a client-side image map? A The <imagemap> tag B The <img> tag C The <area> tag D The <map> tag

Front

D The <map> tag

Back

What is the best source from which you can obtain feedback about your Website to evaluate the site's effectiveness and determine ways you can improve the site? A Sales representatives B Marketing representatives C Members of the Web development team D Organization stakeholders and shareholders

Front

A Sales representatives

Back

What is Scalable Vector Graphics (SVG)? A A vector-based file format developed by various vendors used for graphics and graphical applications B A proprietary technology that uses Java applets to describe graphics and graphical applications C A W3C-recommended language that uses XML to describe graphics and graphical applications D A raster-based file format developed by various vendors used for graphics and graphical applications

Front

C A W3C-recommended language that uses XML to describe graphics and graphical applications

Back

An interlaced image format is read from: A left to right. B top to bottom. C right to left. D bottom to top.

Front

A left to right.

Back

In Microsoft Internet Explorer, what occurs on a Web form if you omit the closing </form> tag? A The form will render but the form fields will appear as blank boxes with "Xs" in them. B The form fields will render but users will not be able to submit any information. C The form fields will render and users will be able to submit information. D The form fields will not render.

Front

B The form fields will render but users will not be able to submit any information.

Back

The only Web-ready image file formats that support animation are: A GIF 87a and GIF 89a. B GIF, MNG and PNG. C JPEG and PNG. D GIF 89a and JPEG.

Front

B GIF, MNG and PNG.

Back

Which of the following is characteristic of two-tier computing? A The client is responsible for presentation, and the server manages the data and the business logic. B Data, business logic and presentation are completely separated. C The client is responsible for presentation and business logic, and a server houses only the data. D Data, business logic and presentation are all combined into one application or database.

Front

C The client is responsible for presentation and business logic, and a server houses only the data.

Back

What happens if you omit the size attribute when you use the <select> tag to create a select list? A The number of items that will appear in the list by default will depend on the browser. B No more than four items will appear in the list. C No items will appear in the list. D The scrolling list box will appear as a blank box with an "X" in it.

Front

A The number of items that will appear in the list by default will depend on the browser.

Back

Question 23 : Consider the following Cascading Style Sheets (CSS) rule: body {color: teal;} Which is the "declaration" portion of this rule? A The portion that reads "teal" B The portion inside the braces C The portion that reads "body" D The portion that reads "color"

Front

B The portion inside the braces

Back

Which of the following describes a CGI? A A dedicated piece of hardware and/or software that serves user requests for Webpages as well as receives user input. B A program that allows a Web server to pass control to a software application in order to process user submitted data. C A script that is embedded in an HTML page, downloaded by the user, and executed on their local machine. D An element on a Webpage used for collecting user input.

Front

B A program that allows a Web server to pass control to a software application in order to process user submitted data.

Back

When you submit a Web form, the browser sends the information entered in this form to the Web server as: A hexadecimal code. B a raw text string. C a client-side script. D a server-side script.

Front

B a raw text string.

Back

You can use the <pre> tag to: A insert a line break preceding a paragraph. B display preformatted tabular data because it is more attractive and functional than an HTML table. C display preformatted tabular data if you have no time to format it. D insert introductory text preceding a header.

Front

C display preformatted tabular data if you have no time to format it.

Back

You are using an image map that is 180 pixels wide and 90 pixels high. You want to define a circular hot spot on the image using coordinates "90,45,30." What does the coordinate pair "90,45" represent? A The bottom-right corner of the rectangle encompassing the circle B The center of the circle C The radius of the circle D The top-left corner of the rectangle encompassing the circle

Front

B The center of the circle

Back

Which of the following is a typical problem that occurs when a hyperlink is not correctly coded? A The browser crashes. B The page will not download. C Text and images disappear. D The page downloads slowly.

Front

C Text and images disappear.

Back

The <audio> element supports which three formats? A MP3, Ogg and Wav B MP4, Ogg and Wav C Ogg, Wav and WebM D MP3, MP4 and Ogg

Front

A MP3, Ogg and Wav

Back

Question 30 : Which statement best describes Extensible Markup Language (XML)? A A language based on XHTML and CSS that incorporates dynamic elements into Webpages B A language that describes data elements on a Webpage C A metalanguage that was used to create HTML D A markup language that uses a large set of predefined tags to format Webpage display

Front

B A language that describes data elements on a Webpage

Back