WGU C799 WEB DEVELOPMENT FOUNDATIONS FINAL EXAM LATEST REAL EXAM 70 QUESTIONS AND ANSWERS |AGRADE
WGU C799 WEB DEVELOPMENT FOUNDATIONS FINAL EXAM LATEST REAL EXAM 70 QUESTIONS AND ANSWERS |AGRADE 1. Which tag, in addition to html is required for building a web page using HTML5? • article • body • link • script 2. A developer creates a form with a group of three radio buttons. How should the developer configure the attributes for the radio buttons? • The name attribute for each should be unique; the value attribute for each should be unique • The name attribute should be the same for all; the value attribute for each should be unique • The name attribute for each should be unique; the value attribute should be the same for all • The name attribute should be the same for all; the value attribute should be the same for all. 3. Which technology is often used with software that is embedded in hardware? • Internet Information Services (IIS) • Common Gateway Interface (CGI) • Active Server Pages (ASP) • Personal Home Page (PHP) 4. Which input type provides many options in one control but allows only one choice? • Multi-option select • Single-option select * • Text Area • Check box 5. Which technology should be used to reduce spam submissions sent by your form? • CAPTCHA • SEO • SSL • HONEYPOT 6. Which Hypertext Transfer Protocol (HTTP) method should be used to submit data from a form to a URL? • Head • Post • Put • Get 7. A developer adds the following HTML markup to a webpage: meta name=”Description” content=”WGU Web Foundations Courses”/ Where can a user view the meta tag name and content? • It is neither rendered nor visible in the markup • It is shown publicly and rendered markup • It is visible in the markup and rendered • It is visible when inspecting the pages markup 8. Which type of HTML element can have multiple values selected when the multiple=”multiple” attribute is applied? • Select list • Check box • Radio button • Text box 9. Which attribute is used by all form fields? • Value • Src • Href • Name 10. What is true of container tags and empty tags? • Container tags stand alone and empty tags come in pairs • Container tags come in pairs and empty tags stand alone • Container tags and empty tags stand alone • Container tags and empty tags come in pairs 11. Which form field is used to choose a non-exclusive value? • Textbox • Check box • Test area • Radio button 12. Which attribute pair in a form allows data to be uploaded? • Value=”type” • Type=”type” • Value=”file” • Type=”file” 13. What happens to a top-aligned menu as a webpage is scrolled if the menu is formatted using the position fixed CSS code? • Moves with the page • Leaves an empty gap • Appears on the right • Moves to the bottom 14. Which acronym describes color and full transparency? • RGBA • HDMI • PNG • TIFF 15. What does the href attribute indicate about a linked document containing an external style sheet? • Title • Location • Type • Relationship 16. Which line of code results in a background color of green? • Body background-color:green; • Body (background-color:green;) • Body {background-color:green;} • Body [background-color:green;] 17. Which syntax is used for a comment? • */Comment/* • /*Comment*/ • */Comment*/ • /*Comment/* 18. Which two CSS properties are used to set the background color of an HTML element? • Colorbackground • Background-color • Background • Font-colorbackground • Background-font-color 19. Which anchor selector determines the color of unvisited links? • A hover • A link • A visited • An active 20. Which two attributes are required within an image tag? • Float • Src • Align • Alt • Title 21. What is the purpose of the checked=”checked” attribute and value? • To apply a checkered style on radio and checkbox elements • To apply a checkered style on single and multiple-select lists • To pre-select checkbox and multiple select lists • To pre-select radio and checkbox elements 22. Which type of CSS selector should be used to specify the color on an unvisited hyperlink • A visited • Target • A link • Title 23. Which font-size unit specifies the exact size of text rendered on a screen? • Em • Px • Pt • Vw 24. Which code shows an image names that redirects to index html when the link is selected? • img href=”index html” src=””. • a href=””.img src+””//a • a href””img src=”img src=””//a • img href=”/a 25. Which HTML entity tells the browser to look for an anchor within the current document? • Less than symbol () • Semicolon (;) • Apostrophe(‘) • Hash symbol (#) 26. Which value of the shape attributes sets the clickable area to the entire image? • Circle • Poly • Rect • Default 27. Which HTML5 markup creates a tablet with three columns and two rows? • !DOCTYPE html html table captionWe Sell Fruit/caption tr thApples/th thOranges/th thPears/th /tr tr td45/td td55/td td65/td /tr /table/html • !DOCTYPE html html table captionWe Sell Fruit/caption tr thApples/th thOranges/th /tr tr td45/td td55/td /tr /table/html • !DOCTYPE html html table captionWe Sell Fruit/caption tr thApples/th thOranges/th /tr tr td45/td td55/td /tr tr td/td /tr /table/html • !DOCTYPE html html body table captionWe Sell Fruit/caption tr thApples/th thOranges/th thPears/th /tr tr td45/td td555/td td65/td /tr /table /body/html 28. Which HTML5 tag should be used if a document hosted on a external domain is to be displayed in pages on the company website? • form • article • iframe • input 29. Which two audio formats are supported with the HTML5 audio tag? • MP4 • MP3 • H.264 • Ogg • WebM 30. Which purpose does a serve as a link on a web page? • Marking text to change the formatting to bold • Connecting to a different place on the same page • Adding paragraph formatting to a series of text blocks • Adding line-break formatting within a block of text 31. Which two reasons explain the importance of testing a website on multiple devices rather than desktops only? • Broken links • Touch support • Broken images • Loading time • Screen space 32. A developer is given the following HTML markup and CSS3 code: label { color: darkgray; } header link rel=”stylesheet” type=”text/css” href=””/ style Label { color: darkblue; } /style /header body style=”color: darkred;” p input type=”checkbox” name=”chkOrange” value=”oranges” / label style=”color: carkcyan;” for=”chkOrange”Oranges/label /p /body Which color is shown for the label tag? • Darkblue • Darkcyan • Darkgray • Darkred 33. Which portion of a non-interlaced image must the browser read before it can display the top half of the image? • The entire image • One fourth of the image • Three fourths of the images • One half of the image 34. Which loading progression describes a non-interlaced image? • Appears fuzzy at first • Seems to fade in • Reads from left to right • Renders from top to bottom 35. Which editor is used to add inline CSS to a webpage? • Site management • Page • GUI • Text 36. A website developer is given code to build a table: table tr thFirst Name/th thLast Name/th /tr tr tdJohn/td tdSmith/td /tr /table Which editor should be used? • GUI • WYSIWYG • Page • Text 37. Which two rules can be validated with the W3C Markup Validation Service? • Alt attribute omitted from img • Border attribute omitted from table • article omitted • !DOCTYPE omitted • - omitted 38. Which code inside the body tag will pass the validation in the W3C Markup Validation Service? • body table style”padding: 10px; margin 10px, border: 1px solid black” tr tdSome text/td tdimg src=””//td /tr /table/body • body table cellpadding=”10” cellspacing=”10” border=”2” tr tdSome text/td tdimg src=”” alt=”some title”//td /tr /table/body • body table style”padding: 10px; margin: 10px, border: 1px solid black” tr tdSome text/td tdimg src=”” alt=”some title”//td /tr /table/body • body table cellpadding=”10” cellspacing=”10” border=”2” tr tdSome text/td tdimg src=””//td /tr /table/body 39. Which two approaches are suitable for creating mobile web pages? • Applying absolute pixels for width instead of percentages • Managing different styles for each screen size • Using percentages for width instead of absolute pixels • Utilizing large-sized images • Operating the same styles for all screen sizes 40. Which action guarantees compliance to HTML and CSS standards during website design and development? • Hire additional testers • Use online code validators • Check page on multiple browsers • Preview pages in a browser 41. Which HTML5 option directs web application caching? • Http-equiv=”cache-control” • Manifest=”” • Pragma: no-cache • Cache-Control: max-age=0 42. Which code should be used to embed movies natively on an HTML5 page? • video width=”800”height=”600” class=”center” controls=”controls”source src=”M4” type=”video/mp4”//video • smil xmlns= body par video src=”M”fill”=”freeze”/ /par /body/smil • object classid=”clsid:D27CDBGE-AE6D-11cf-96B” width=”800” height=”600”codebase= param name=”movie” value=”MyV”/object • svg xmlns= • g video xlink:href=”MyV”x=”0” y=”0” width=”800” height=”600”//g/svg 43. A client requires an internet presence that is equally good for desktop and mobile users. What should a developer build to address a variety of screen sizes while minimizing the use of different software versions? • One site for desktop and three native applications for the three most used operating systems • One responsive site with one layout • One site for the desktop and one native application for the most used mobile operating system • One adaptive site with two layouts 44. Where will a browser find a file name in the URL path of /normal/? • In a directory that begins one level higher than the current page • In the root directory • In a directory that begins at the same level as the current page • In the subdirectory 45. What enables the separation of presentation and content? • Tables • Hypertext markup language • Cascading style sheets (CSS) • div tags 46. What are hyperlinks in HTML? • Fixed information that establishes the various elements used on a web page • Code that provides the formatting and look of a web page or document written in a markup language • Embedded instructions within a text file that call another location in the same file or separate file • Vocabulary used by developers to enhance the structure and navigation of data on a web page 47. Which issue is an ethical problem, as opposed to a legal one, concerning web pages? • Fair use • Trademark infringement • Copyright infringement • Plagiarism 48. What is defined as intellectual property that remains private so that an organization retains viability? • Copyright • Trade secret • Trademark • Software license 49. What does a business require to legally protect itself when outsourcing web development? • Non-disclosure Agreement (NDA) • Key Performance Indicator (KPI) • Memorandum of Understanding (MOU) • Letter of intent (LOI) 50. Which font is sans serif? • Georgia • Times • Garamond • Arial 51. What is a definition of copyright? • Intellectual property that must remain private for a company to remain viable • The exclusive and assignable legal ownership of expression, given to creator • A unique word, phase, or symbol registered by an organization with the government • An instance of infringement in which someone other than the author claims content as theirs 52. Which browser is used to test websites for accessibility by those with visual impairment? • Edge • Chrome • Safari • Lynx 53. Which e-commerce model refers to a company that sells products to consumers? • C2C • C2B • B2B • B2C 54. Given the following code: nav ul lia href=””Home/a/li lia href=”about/a/li lia href=””/acontact/li /ul /nav Which coding error would cause a poorly formatted link? • a tag should be outside of the li tag • ul tag should be a ol tag • S should be outside of the a tag • Contact should be between the a tags 55. Which HTML element is used to draw graphics on a webpage via JavaScript? • Figure • Image • Canvas • Iframe 56. What handles the aesthetics of a website? • GIF • RTF • PDF • CSS 57. Which client-side programming language makes a website interactive? • Javascript • MPEG • JPEG • PostScript 58. Which file type stores structured data that can be interchanged with various types of applications? • .xml • .rtf • .wav • .sql 59. What is defined as the legal protection of a brand by a company? • Copyright • License • Trademark • Infringement 60. Which technology is used to keep webpages to a manageable size? • Caching • Mobile optimization • Video hosting • Compression 61. Which hex value represents a green color? • #00FF00 • #F000F0 • #FF0000 • #0000FF 62. Which accessibility characteristic is a solution for users with hearing impairment? • Transcript of audio • Screen reading conversion • Easily read fonts • Textual description of images 63. Which scripting language is considered proprietary by Microsoft? • Perl • Active Server Pages (ASP) • Ruby • JavaServer Pages (JSP) 64. What is a characteristic of dedicated hosting? • The service provider charges high upfront costs • The service provider furnishes the server • The customer provider the server • The customer chooses the operating system 65. What is a characteristic of a traditional cloud hosting service provider? • Limited customization options • Increase in upfront costs • Ability to process complex websites • Customer-provided servers 66. Which hosting solution has a service provider that allots space for equipment? • Virtual server • Colocation • Dedicated • Cloud server 67. Which protocol is recommended for sending sensitive data? • SMTP • HTTPS • IMAP • HTTP 68. What improves a user’s experience through consistency across different devices? • Standalone sites • Adaptive layouts • Responsive design • Native apps 69. Which feature is embedded to find content throughout a website? • Image Map • Glossary • Site map • Breadcrumbs
Written for
- Institution
- WGU C799
- Course
- WGU C799
Document information
- Uploaded on
- December 2, 2023
- Number of pages
- 14
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu c799 web development foundations final exam la