<< Prev Question Next Question >>

Question 10/54

You write the following JavaScript code. (Line numbers are included for reference only.)

You need to write a function that will initialize and encapsulate the member variable full name.
Which are two possible code fragments you could insert at line 02 to achieve this goal? (Each correct
answer presents a complete solution. Choose two.)

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (54q)
Question 1: Which CSS3 code fragment styles an H2 element only if it is ...
Question 2: Which element should you use to rotate an SVG square?...
Question 3: Your code includes the following fragment: &lt;input type="t...
Question 4: Which three generic font family names are valid values of th...
Question 5: Which code fragment will display an image file while the vid...
Question 6: Which CSS3 code fragment rounds the corners of a border?...
Question 7: Which three events are valid for the HTML CANVAS element? (C...
Question 8: Which three technologies does HTML5 encompass? (Choose three...
Question 9: Which CSS3 code fragment will style only the external links ...
Question 10: You write the following JavaScript code. (Line numbers are i...
Question 11: You need to ensure the scope of a variable named j is limite...
Question 12: What is the default value of the CSS position property?...
Question 13: Which layout can you create by using a single CSS3 region?...
Question 14: Web Workers define an API for:
Question 15: Which three statements describe cookies? (Choose three.)...
Question 16: Which two semantic tags are used to define layouts in HTML5?...
Question 17: Which HTML5 tag is used to mark text that has been added to ...
Question 18: Which two touch gestures require a multi-touch device? (Choo...
Question 19: Which positioning scheme places an object in normal document...
Question 20: Which three properties can be used with the TouchEvent objec...
Question 21: Which three are valid JavaScript variables? (Choose three.)...
Question 22: Which term describes the canvas API?...
Question 23: You are creating a page by using HTML5. You add script tags ...
Question 24: Which two HTML5 tags format text content only? (Choose two.)...
Question 25: You add a div object to a page. Which CSS3 code fragment wil...
Question 26: Which attribute prefills a default value for an input elemen...
Question 27: When you are working with the path API, what is the purpose ...
Question 28: Your HTML5 code includes this code segment: (Exhibit) Which ...
Question 29: You create an interface for a touch-enabled application. You...
Question 30: Which HTML5 code fragment shows a way to validate numeric in...
Question 31: Which three components define the URL used for localStorage ...
Question 32: Which code shows the correct way to nest tags in HTML5? (Exh...
Question 33: Which two CSS properties can be used to position multiple HT...
Question 34: Which CSS3 code segment styles the text color of EM elements...
Question 35: When you are testing a touch interface, which two gestures c...
Question 36: When you are using the GeoLocation API, which two arguments ...
Question 37: Which two events are supported on touch devices? (Choose two...
Question 38: Which JavaScript method allows you to register multiple hand...
Question 39: What value does the following JavaScript code fragment store...
Question 40: In CSS, the flow-into property deposits:...
Question 41: In HTML5, which two objects in the Web Storage specification...
Question 42: When applied to an image, the CSS float:right property:...
Question 43: Which are two features of SVG? (Choose two.)...
Question 44: When content from a flow is loaded into a region, overflowed...
Question 45: On a Windows touch device, which gesture serves the same pur...
Question 46: You write the following code to create a page. (Line numbers...
Question 47: Which code fragment sets up a timer that calls a function na...
Question 48: Which CSS property defines which sides of an element where o...
Question 49: Which two are WebSocket events? (Choose two.)...
Question 50: Which code fragment sets up a timer that calls a function na...
1 commentQuestion 51: Which CSS position value is used to position an element rela...
Question 52: Which HTML5 tag is used to display text with a fixed-width f...
Question 53: Which two terms represent interfaces in the File API? (Choos...
1 commentQuestion 54: Which code fragment prepares the HTML5 application to be use...