Deck 13: Web Development and HTML/CSS

ملء الشاشة (f)
exit full mode
سؤال
For the URL "http://www.bbc.com/news/meltingArcticIceFlows.j p g", news is the

A) directory path to the target file.
B) domain.
C) target file.
D) web server computer or a subdomain.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
What does the "WG" in WHATWG stand for?

A) World Governance
B) World Group
C) Wide Guard
D) Working Group
سؤال
Given the following HTML code that forms the top of a web page, what instruction should appear above the code?
<html>
<head>
<title>Sample Web Page
</head>

A) <!DOCTYPE html>
B) <doctype html>
C) <DOCTYPE>
D) <doctype>
سؤال
The purpose of the W3C's Tidy tool is to:

A) organize the web pages currently open in a user's browser.
B) organize the web pages stored on a web server.
C) check a web page to ensure that it complies with HTML5 standard.
D) check a web page to ensure that it complies with coding-convention style rules.
سؤال
Which of the following elements is in the heading content model category?

A) a
B) h5
C) h10
D) title
سؤال
To provide an indication that text that has been deleted, what container element should you surround the text with?

A) del
B) delete
C) erase
D) expunge
سؤال
You can use the time element's datetime attribute to specify the date by using which of the following formats for its value?

A) yyyy-mm-dd
B) yyyy-monthName-dd
C) monthName/dd/yy
سؤال
The kbd element indicates that its enclosed text is:

A) input for a program.
B) output for a program.
C) a program-generated error message.
D) programming code.
سؤال
Given the following CSS rule, which type of selector is used?
)funky {color: darkorchid;}

A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
سؤال
Which of the following CSS-rule locations has the highest priority for determining the application of CSS rules?

A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
سؤال
Which of the following CSS-rule locations has the lowest priority for determining the application of CSS rules?

A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
سؤال
Why do coding conventions suggest not using the style attribute?

A) The HTML5 standard does not include the style attribute.
B) It leads to code inefficiencies.
C) It defeats the purpose of CSS: keeping presentation separate from content.
سؤال
Which of the following would be a valid comment in an external CSS file?

A) <!-- this is a CSS comment. -->
B) <comment>this is a CSS comment.</comment>
C) // this is a CSS comment
D) /* this is a CSS comment. */
سؤال
Which of the following is an integer-format RGB value for dark blue?

A) rgb(100,100,255)
B) rgb(200,200,255)
C) rgb(50,100,50)
D) rgb(0,0,100)
سؤال
Suppose a web page has a elements inside a nav container. There is a nav type selector rule that applies a red background to matched elements and there is a nav > a child selector rule that applies a blue background to matched elements. What color will be applied to the a elements?

A) Red
B) Blue
C) It is unclear because the rules conflict.
سؤال
To create a flexbox layout, you should use which of the following?

A) The flex container
B) The flexiblebox container
C) display: flex within a CSS rule
D) flexible: box within a CSS rule
سؤال
To help a screen reader know which header cell a data cell is associated with:

A) use the th element's data attribute with a value that matches the associated data cell's id value.
B) use the td element's headers attribute with a value that matches the associated header cell's id value.
C) apply a header: heading-cell-id CSS rule to the data cell where the heading-cell-id value matches the associated header cell's id value.
سؤال
In organizing a website's links, a hierarchical structure is good for:

A) presenting a long article.
B) websites with multiple second-level pages that serve as starting points for different areas within your website.
C) websites that need to be highly accessible.
سؤال
Given the following CSS rule, what type of selector is used?
* {color: blue;}

A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
سؤال
To specify uppercase letters for a list, what value should you use with the list-style-type CSS property?

A) decimal
B) titlecase
C) uppercase-letters
D) upper-alpha
سؤال
With its 24-bit color palette, the JPEG image file format:

A) can store any picture with no color degradation.
B) is limited in its ability to store pictures accurately (because it introduces color degradation).
C) encrypts data (such as credit card information) to help with transaction security.
سؤال
For HTML's content model categories, the phrasing category includes elements that would be appropriate for describing catch phrases that serve as headings for other content.
سؤال
For HTML's content model categories, the flow category is a superset of several other categories.
سؤال
When the pre element surrounds whitespace, whitespace collapsing takes place.
سؤال
It is legal to have a p element inside another p element.
سؤال
The span element is a generic phrasing element that does not provide any special meaning by itself.
سؤال
A global attribute is an attribute that can be used with any element.
سؤال
CSS inheritance is when a CSS property value flows down from a parent element to one or more of its child elements.
سؤال
The CSS display property's table-cell value can be used for mimicking a th element.
سؤال
For an element that uses absolute positioning, if you use the left property, you must also use the right property.
سؤال
With relative positioning, an element's specified position is relative to its containing block.
سؤال
All the images on a web page share the same color palette.
سؤال
One of the main benefits of the GIF image file format is that with its 8-bit color palette, GIF files tend to be small.
سؤال
Normally, you should omit an img element's width and height attributes so that the image displays with its natural size.
سؤال
One way to implement responsive images is with resolution switching. Resolution switching is when you provide a list of images for different versions of the same picture where the images have the same aspect ratios, but different sizes.
سؤال
One way to implement responsive images is with art direction. Art direction is when you provide a list of images for different versions of the same picture where the images have different aspect ratios.
سؤال
In 1993, Tim Berners-Lee and Dan Connolly submitted the first formal proposal for ______ to the Internet Engineering Task Force (IETF).
سؤال
The blank, newline, and tab characters are referred to as __________ characters. They are invisible when displayed on the browser window.
سؤال
The "ins" in the ins element stands for ______.
سؤال
If you want absolute positioned boxes to have their text aligned vertically at their bottoms, then for each box you should include not only the top property (with the same value for each box), but also the ______ property (with the same value for each box).
سؤال
A pseudo-class begins with a colon and it conditionally selects elements from a group of elements specified by the selector at the immediate left of the colon. If there is no explicit selector, then the implicit selector is ______.
سؤال
The ______ image file format was invented in 1996 as an open-source alternative to the GIF format because the GIF format was copyright protected.
سؤال
By default, browsers use purple to display links that have been clicked recently. They are formally known as ______ links.
سؤال
You should always surround attribute values with _______, thus forming a string.
سؤال
What does it mean for container elements to be properly nested?
سؤال
To improve the following code's style, what should you do with the " character references?
<p>And God said "Let there be light."</p>
سؤال
Consider the following code:
<img id="zoomba-class" src="zoomba.j p g" alt="zoomba class">
Assume the above img element is positioned within the current web page. Provide an element that would link to the above img element.
سؤال
What is the purpose of the ol element's start attribute?
سؤال
To establish relative positioning, what value should be used with the position property?
سؤال
To handle browsers that support different audio file formats, you can provide multiple options between your audio start and end tags. Which of the following could serve as a valid option?

A) <source src="../audio/hippoRoar.wav" type="audio/wav">
B) <audio source="../audio/ hippoRoar.wav" type="audio/wav">
C) <source src="../audio/hippoRoar.xmp" type="audio/xmp">
D) <audio source="../audio/ hippoRoar.xmp" type="audio/xmp">
سؤال
Which of the following is a valid CSS rule that generates a color gradient background?

A) body {background-image: linear-gradient(to right, blue, red);}
B) body {background-image: color-spectrum(horizontal, blue, red);}
C) body {background-color: spectrum(blue, red);}
سؤال
An advantage of client-side processing over server-side processing is that client-side processing:

A) tends to be more efficient when the calculations require a lot of programming code.
B) tends to be more efficient when the calculations require large amounts of data.
C) is better for proprietary code.
D) tends to be faster.
سؤال
Which of the following is the best way to prompt for number of children and store the input as a number?

A) numOfKids = parseInt(prompt("Number of children:", ""));
B) numOfKids = parseFloat(prompt("Number of children:", ""));
C) numOfKids = confirm("Number of children:"));
D) prompt(numOfKids, "Number of children:"));
سؤال
A text control is an example of a "one line plain text edit control." Which of the following attribute-value pairs could be added to an input element to create another type of one line plain text edit control?

A) type="edit"
B) type="tel"
C) type="textarea"
سؤال
Which of the following displays a numOfPurchases variable's value in the browser's debugging frame?

A) console.log("numOfPurchases = " + numOfPurchases);
B) debug.display("numOfPurchases = " + numOfPurchases);
C) <debug>numOfPurchases = %numOfPurchases</debug>
سؤال
Suppose you have a class named Student with a class variable named numOfStudents. How should you access the numOfStudents property?

A) Use numOfStudents by itself.
B) this.numOfStudents
C) Student.numOfStudents
سؤال
Suppose you have a class named Employee with a name property and a standard setName method. What is the situation after the following code executes?
Var emp1 = new Employee("Emme");
Var emp2 = emp1;
Emp2.setName("Jessie");

A) For their name properties, emp1 stores "Emme" and emp2 stores "Jessie".
B) For their name properties, both emp1 and emp2 store "Emme".
C) For their name properties, both emp1 and emp2 store "Jessie".
D) Both emp1 and emp2 store null.
سؤال
When you call the addEventListener method, you pass two arguments to it. The first argument is for the name of a predefined event built into the DOM. What is the second argument for?

A) The name of a function that serves as a listener for the first argument's event firing
B) The name of the class where the first argument's event is defined
C) The control whose event is being listened to
سؤال
What do canvas's transformation operations allow you to do with graphics objects?

A) Move in a straight line, rotate, and scale
B) Duplicate, delete, and move in a straight line
C) Duplicate and create
سؤال
In JavaScript, which of the following creates an empty array?

A) var [] arr1;
B) var arr1 = new Array();
C) var arr1();
D) var arr1;
سؤال
In JavaScript, to find the number of elements in an array, use:

A) the length property.
B) the size property.
C) the elements method.
D) It is impossible to find the number of elements in an array.
سؤال
Suppose you have an array named carMakes with two elements in it. When the following JavaScript code executes, what happens?
CarMakes[2] = "GM";

A) The "GM" value overlays the array's second element's value.
B) The array dynamically expands and adds a third element with a "GM" value to the array at index position 2.
C) There is an "out of range" error because there is no element at index position 2.
سؤال
What is the difference between a method heading and a function heading?

A) A method heading uses the word method at the left.
B) A function heading uses the word function at the left.
C) A method heading includes parameters and a function heading provides arguments.
D) A function heading includes parameters and a method heading provides arguments.
سؤال
What does the following CSS rule do?
Input:valid:focus {color: green;}

A) If an input element contains valid input and focus is on the element, the element's foreground color turns green.
B) If a form is submitted and focus is on the form, the form turns green.
C) If a user enters valid input into a prompt dialog, the dialog turns green.
سؤال
An if statement is an example of a:

A) A declaration statment
B) A branching statement
C) A looping statement
سؤال
With a CSS web font at-rule, the src attribute is assigned a list of font files. The browser downloads the files first, then decides which one to use.
سؤال
The following JavaScript variable name exhibits proper coding conventions:
dog_name
سؤال
An object is defined by its set of properties and its set of behaviors.
سؤال
All element objects have an outerHTML property, which stores the element's code, including the element's start and end tags.
سؤال
The Document Object Model models all of the parts of a web page (elements, attributes, and plain text) as nodes in a node tree.
سؤال
A local variable is a variable that can be used only within the function in which it is declared.
سؤال
For the "if, else" form of the if statement, you may include only one if clause, but as many else clauses as you like.
سؤال
Coding conventions suggest that you declare a named constant at the point where the named constant is used.
سؤال
If you call the checkValidity method from an input control object and the method call returns false, that means the input control's value is invalid.
سؤال
Typically, an infinite loop is indicative of a bug.
سؤال
With a do loop, the loop is guaranteed to execute at least one time.
سؤال
To group radio buttons together, each of the radio button controls should have a name attribute with the same value.
سؤال
A radio button's checked property is associated with the radio button element's checked attribute, which means the checked property returns true if the radio button's element has a checked attribute, and the checked property returns false if the radio button's element has no checked attribute.
سؤال
Normally, within a class definition, you should include a constructor as the class's first member.
سؤال
To specify font size (e.g., 2em) and font family (e.g., times new roman) values for canvas text, you should use the context object's font-weight and font-family properties, respectively.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/98
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 13: Web Development and HTML/CSS
1
For the URL "http://www.bbc.com/news/meltingArcticIceFlows.j p g", news is the

A) directory path to the target file.
B) domain.
C) target file.
D) web server computer or a subdomain.
A
2
What does the "WG" in WHATWG stand for?

A) World Governance
B) World Group
C) Wide Guard
D) Working Group
D
3
Given the following HTML code that forms the top of a web page, what instruction should appear above the code?
<html>
<head>
<title>Sample Web Page
</head>

A) <!DOCTYPE html>
B) <doctype html>
C) <DOCTYPE>
D) <doctype>
A
4
The purpose of the W3C's Tidy tool is to:

A) organize the web pages currently open in a user's browser.
B) organize the web pages stored on a web server.
C) check a web page to ensure that it complies with HTML5 standard.
D) check a web page to ensure that it complies with coding-convention style rules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which of the following elements is in the heading content model category?

A) a
B) h5
C) h10
D) title
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
6
To provide an indication that text that has been deleted, what container element should you surround the text with?

A) del
B) delete
C) erase
D) expunge
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
7
You can use the time element's datetime attribute to specify the date by using which of the following formats for its value?

A) yyyy-mm-dd
B) yyyy-monthName-dd
C) monthName/dd/yy
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
8
The kbd element indicates that its enclosed text is:

A) input for a program.
B) output for a program.
C) a program-generated error message.
D) programming code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
9
Given the following CSS rule, which type of selector is used?
)funky {color: darkorchid;}

A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which of the following CSS-rule locations has the highest priority for determining the application of CSS rules?

A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following CSS-rule locations has the lowest priority for determining the application of CSS rules?

A) In the browser's native default settings
B) In an external CSS file
C) In a style element in the web page's head section
D) In the user's wish box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
12
Why do coding conventions suggest not using the style attribute?

A) The HTML5 standard does not include the style attribute.
B) It leads to code inefficiencies.
C) It defeats the purpose of CSS: keeping presentation separate from content.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following would be a valid comment in an external CSS file?

A) <!-- this is a CSS comment. -->
B) <comment>this is a CSS comment.</comment>
C) // this is a CSS comment
D) /* this is a CSS comment. */
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following is an integer-format RGB value for dark blue?

A) rgb(100,100,255)
B) rgb(200,200,255)
C) rgb(50,100,50)
D) rgb(0,0,100)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
15
Suppose a web page has a elements inside a nav container. There is a nav type selector rule that applies a red background to matched elements and there is a nav > a child selector rule that applies a blue background to matched elements. What color will be applied to the a elements?

A) Red
B) Blue
C) It is unclear because the rules conflict.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
16
To create a flexbox layout, you should use which of the following?

A) The flex container
B) The flexiblebox container
C) display: flex within a CSS rule
D) flexible: box within a CSS rule
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
17
To help a screen reader know which header cell a data cell is associated with:

A) use the th element's data attribute with a value that matches the associated data cell's id value.
B) use the td element's headers attribute with a value that matches the associated header cell's id value.
C) apply a header: heading-cell-id CSS rule to the data cell where the heading-cell-id value matches the associated header cell's id value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
18
In organizing a website's links, a hierarchical structure is good for:

A) presenting a long article.
B) websites with multiple second-level pages that serve as starting points for different areas within your website.
C) websites that need to be highly accessible.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
19
Given the following CSS rule, what type of selector is used?
* {color: blue;}

A) Type selector
B) Universal selector
C) Class selector
D) Pseudo selector
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
20
To specify uppercase letters for a list, what value should you use with the list-style-type CSS property?

A) decimal
B) titlecase
C) uppercase-letters
D) upper-alpha
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
21
With its 24-bit color palette, the JPEG image file format:

A) can store any picture with no color degradation.
B) is limited in its ability to store pictures accurately (because it introduces color degradation).
C) encrypts data (such as credit card information) to help with transaction security.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
22
For HTML's content model categories, the phrasing category includes elements that would be appropriate for describing catch phrases that serve as headings for other content.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
23
For HTML's content model categories, the flow category is a superset of several other categories.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
24
When the pre element surrounds whitespace, whitespace collapsing takes place.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
25
It is legal to have a p element inside another p element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
26
The span element is a generic phrasing element that does not provide any special meaning by itself.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
27
A global attribute is an attribute that can be used with any element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
28
CSS inheritance is when a CSS property value flows down from a parent element to one or more of its child elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
29
The CSS display property's table-cell value can be used for mimicking a th element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
30
For an element that uses absolute positioning, if you use the left property, you must also use the right property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
31
With relative positioning, an element's specified position is relative to its containing block.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
32
All the images on a web page share the same color palette.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
33
One of the main benefits of the GIF image file format is that with its 8-bit color palette, GIF files tend to be small.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
34
Normally, you should omit an img element's width and height attributes so that the image displays with its natural size.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
35
One way to implement responsive images is with resolution switching. Resolution switching is when you provide a list of images for different versions of the same picture where the images have the same aspect ratios, but different sizes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
36
One way to implement responsive images is with art direction. Art direction is when you provide a list of images for different versions of the same picture where the images have different aspect ratios.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
37
In 1993, Tim Berners-Lee and Dan Connolly submitted the first formal proposal for ______ to the Internet Engineering Task Force (IETF).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
38
The blank, newline, and tab characters are referred to as __________ characters. They are invisible when displayed on the browser window.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
39
The "ins" in the ins element stands for ______.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
40
If you want absolute positioned boxes to have their text aligned vertically at their bottoms, then for each box you should include not only the top property (with the same value for each box), but also the ______ property (with the same value for each box).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
41
A pseudo-class begins with a colon and it conditionally selects elements from a group of elements specified by the selector at the immediate left of the colon. If there is no explicit selector, then the implicit selector is ______.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
42
The ______ image file format was invented in 1996 as an open-source alternative to the GIF format because the GIF format was copyright protected.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
43
By default, browsers use purple to display links that have been clicked recently. They are formally known as ______ links.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
44
You should always surround attribute values with _______, thus forming a string.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
45
What does it mean for container elements to be properly nested?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
46
To improve the following code's style, what should you do with the " character references?
<p>And God said "Let there be light."</p>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
47
Consider the following code:
<img id="zoomba-class" src="zoomba.j p g" alt="zoomba class">
Assume the above img element is positioned within the current web page. Provide an element that would link to the above img element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
48
What is the purpose of the ol element's start attribute?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
49
To establish relative positioning, what value should be used with the position property?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
50
To handle browsers that support different audio file formats, you can provide multiple options between your audio start and end tags. Which of the following could serve as a valid option?

A) <source src="../audio/hippoRoar.wav" type="audio/wav">
B) <audio source="../audio/ hippoRoar.wav" type="audio/wav">
C) <source src="../audio/hippoRoar.xmp" type="audio/xmp">
D) <audio source="../audio/ hippoRoar.xmp" type="audio/xmp">
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
51
Which of the following is a valid CSS rule that generates a color gradient background?

A) body {background-image: linear-gradient(to right, blue, red);}
B) body {background-image: color-spectrum(horizontal, blue, red);}
C) body {background-color: spectrum(blue, red);}
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
52
An advantage of client-side processing over server-side processing is that client-side processing:

A) tends to be more efficient when the calculations require a lot of programming code.
B) tends to be more efficient when the calculations require large amounts of data.
C) is better for proprietary code.
D) tends to be faster.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
53
Which of the following is the best way to prompt for number of children and store the input as a number?

A) numOfKids = parseInt(prompt("Number of children:", ""));
B) numOfKids = parseFloat(prompt("Number of children:", ""));
C) numOfKids = confirm("Number of children:"));
D) prompt(numOfKids, "Number of children:"));
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
54
A text control is an example of a "one line plain text edit control." Which of the following attribute-value pairs could be added to an input element to create another type of one line plain text edit control?

A) type="edit"
B) type="tel"
C) type="textarea"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
55
Which of the following displays a numOfPurchases variable's value in the browser's debugging frame?

A) console.log("numOfPurchases = " + numOfPurchases);
B) debug.display("numOfPurchases = " + numOfPurchases);
C) <debug>numOfPurchases = %numOfPurchases</debug>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
56
Suppose you have a class named Student with a class variable named numOfStudents. How should you access the numOfStudents property?

A) Use numOfStudents by itself.
B) this.numOfStudents
C) Student.numOfStudents
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
57
Suppose you have a class named Employee with a name property and a standard setName method. What is the situation after the following code executes?
Var emp1 = new Employee("Emme");
Var emp2 = emp1;
Emp2.setName("Jessie");

A) For their name properties, emp1 stores "Emme" and emp2 stores "Jessie".
B) For their name properties, both emp1 and emp2 store "Emme".
C) For their name properties, both emp1 and emp2 store "Jessie".
D) Both emp1 and emp2 store null.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
58
When you call the addEventListener method, you pass two arguments to it. The first argument is for the name of a predefined event built into the DOM. What is the second argument for?

A) The name of a function that serves as a listener for the first argument's event firing
B) The name of the class where the first argument's event is defined
C) The control whose event is being listened to
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
59
What do canvas's transformation operations allow you to do with graphics objects?

A) Move in a straight line, rotate, and scale
B) Duplicate, delete, and move in a straight line
C) Duplicate and create
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
60
In JavaScript, which of the following creates an empty array?

A) var [] arr1;
B) var arr1 = new Array();
C) var arr1();
D) var arr1;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
61
In JavaScript, to find the number of elements in an array, use:

A) the length property.
B) the size property.
C) the elements method.
D) It is impossible to find the number of elements in an array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
62
Suppose you have an array named carMakes with two elements in it. When the following JavaScript code executes, what happens?
CarMakes[2] = "GM";

A) The "GM" value overlays the array's second element's value.
B) The array dynamically expands and adds a third element with a "GM" value to the array at index position 2.
C) There is an "out of range" error because there is no element at index position 2.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
63
What is the difference between a method heading and a function heading?

A) A method heading uses the word method at the left.
B) A function heading uses the word function at the left.
C) A method heading includes parameters and a function heading provides arguments.
D) A function heading includes parameters and a method heading provides arguments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
64
What does the following CSS rule do?
Input:valid:focus {color: green;}

A) If an input element contains valid input and focus is on the element, the element's foreground color turns green.
B) If a form is submitted and focus is on the form, the form turns green.
C) If a user enters valid input into a prompt dialog, the dialog turns green.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
65
An if statement is an example of a:

A) A declaration statment
B) A branching statement
C) A looping statement
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
66
With a CSS web font at-rule, the src attribute is assigned a list of font files. The browser downloads the files first, then decides which one to use.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
67
The following JavaScript variable name exhibits proper coding conventions:
dog_name
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
68
An object is defined by its set of properties and its set of behaviors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
69
All element objects have an outerHTML property, which stores the element's code, including the element's start and end tags.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
70
The Document Object Model models all of the parts of a web page (elements, attributes, and plain text) as nodes in a node tree.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
71
A local variable is a variable that can be used only within the function in which it is declared.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
72
For the "if, else" form of the if statement, you may include only one if clause, but as many else clauses as you like.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
73
Coding conventions suggest that you declare a named constant at the point where the named constant is used.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
74
If you call the checkValidity method from an input control object and the method call returns false, that means the input control's value is invalid.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
75
Typically, an infinite loop is indicative of a bug.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
76
With a do loop, the loop is guaranteed to execute at least one time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
77
To group radio buttons together, each of the radio button controls should have a name attribute with the same value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
78
A radio button's checked property is associated with the radio button element's checked attribute, which means the checked property returns true if the radio button's element has a checked attribute, and the checked property returns false if the radio button's element has no checked attribute.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
79
Normally, within a class definition, you should include a constructor as the class's first member.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
80
To specify font size (e.g., 2em) and font family (e.g., times new roman) values for canvas text, you should use the context object's font-weight and font-family properties, respectively.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 98 في هذه المجموعة.