Deck 13: Web Promotion & A Brief Look at Javascript and Jquery

Full screen (f)
exit full mode
Question
A function can ______ a value to indicate success or failure.

A) pass
B) set
C) return
D) none of the above
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following will assign the value "Smith" to the variable customerName?

A) customerName = > "Smith";
B) customerName < = "Smith";
C) customerName = = "Smith";
D) customerName = "Smith";
Question
The code to access the contents of an input box named email on a form is

A) document.forms[0].email
B) document.forms[0].email.value
C) document.forms[0].email.contents
D) document.forms[0].email.data
Question
The _______________property can set the background color of the document.

A) document.background
B) document.bgcolor
C) document.color
D) document.backgroundcolor
Question
Select the comparison operator to use when testing a condition for equality.

A) =
B) ==
C) < >
D) none of the above
Question
A _____ is an action that can be performed with an object.

A) property
B) method
C) variable
D) function
Question
The _______ defines every object and element on a web page.

A) Document Object Model
B) Browser
C) Operating System
D) None of the above
Question
Select the technology that was developed by a joint effort between Netscape and Sun Microsystems.

A) Java
B) JavaScript
C) Flash
D) Ajax
Question
A ______ is an attribute or characteristic of an object.

A) property
B) method
C) variable
D) function
Question
Use the ____________ method to write text to a web page.

A) document.write()
B) document.code()
C) document.text()
D) document.new()
Question
The __________ event handler is triggered when the visitor places their mouse on an object.

A) onclick
B) onmouseout
C) onmouseover
D) onmousehover
Question
Select an appropriate use of JavaScript:

A) form validation
B) sending e-mail
C) both a and b
D) none of the above
Question
Select the valid JavaScript variable name below:

A) prompt
B) myName
C) my Name
D) visitor'sName
Question
A ______ is a reusable block of JavaScript statements.

A) property
B) method
C) variable
D) function
Question
A __________ is a term used to describe a select list that allows the user to select an option to load another web page.

A) navigation
B) page header
C) jump menu
D) none of the above
Question
The _____ method displays a message to the user and contains one button.

A) prompt()
B) alert()
C) message()
D) none of the above
Question
JavaScript can be described as:

A) an object-oriented scripting language
B) an easy form of Java
C) a language created by Microsoft
D) none of the above
Question
In the context of web page interactivity, an _________ can be described as an action taken by the user.

A) object
B) event
C) tag
D) browser
Question
Select the true statement from those listed below.

A) < script > tags are used to contain JavaScript statements
B) < script > tags can be placed in both the header and the body section of a web page
C) < script > tags are read by the browser
D) All of the statements above are true
Question
How many scripts can be embedded in an XHTML document?

A) Not more than one
B) Two scripts
C) One script in the header section and one script in the body section
D) As many as you need
Question
Uses for meta tags include:

A) to indicate that a web page should not be indexed
B) to indicate the character encoding for a web page
C) to indicate a description of a website
D) all of the above
Question
Select the jQuery code that will set the background color of all li elements to green.

A) $('li').style('background-color', 'green');
B) $('li').html('background-color', 'green');
C) $('li').attr('background-color', 'green');
D) $('li').css('background-color', 'green');
Question
Select the true statement:

A) You need to purchase the jQuery library.
B) The jQuery library is available online through a CDN
C) All browsers automatically include the jQuery library
D) None of the above statements is true.
Question
Select the true statement below.

A) Paying to be listed preferentially in a search engine is considered by many organizations to be a justified cost of doing business.
B) Submit your site to search engines before it is finished.
C) It only takes a few minutes to be listed in a search engine.
D) All of the statements above are true.
Question
Other parts of a web page that a search engine robot may examine include:

A) page title
B) text in headings and paragraphs
C) links
D) all of the above
Question
Banner ads benefit websites by________.

A) bringing many new visitors to your site
B) increasing awareness of the website
C) both bringing many new visitors and increasing awareness of the site
D) None of the above
Question
Select the true statements about meta tags.

A) They may be placed anywhere in the web page.
B) They may be used by search engines to index a web page
C) They must be present or the page will not be indexed.
D) All of the above are true.
Question
jQuery is

A) an application developed by Microsoft
B) a free open-source JavaScript library
C) an application developed by Adobe
D) none of the above
Question
Chapter13Test
CHAPTER 13 Web Promotion
Question
Select the components of a search engine.

A) robot
B) database
C) search form
D) all of the above
Question
The first step in submitting your web site to search engines and search directories is to

A) join an affiliate program
B) visit the search engine and submit your web site
C) prepare your pages for search engines by adding keyword and description meta tags to your pages
D) none of the above
Question
The ability to keep web page visitors at your site is called _______.

A) link popularity
B) stickiness
C) attention
D) None of the above
Question
Search indexes are different from search engines because:

A) Search engines are larger
B) Search indexes have a human being review your web site
C) Search engines are easier to use
D) None of the above.
Question
Website promotion methods include:

A) banner ads
B) word of mouth
C) newsletters
D) all of the above
Question
Select the best description of an "impression".

A) a search form is completed
B) a visitor recommends your site to a friend
C) your site is listed in a search engine
D) your ad is viewed by a website visitor
Question
__________ are the most popular method used by visitors to find web sites.

A) banner ads
B) hearing about web sites on TV
C) search engines
D) personal recommendations
Question
A rating determined by a search engine based on the number of links to a particular site and the qualities of those links is called ________.

A) link checking
B) reciprocal linking
C) link popularity
D) None of the above
Question
When using jQuery, what is used to determine when the web page's DOM has been fully loaded by the browser?

A) $(document).onload()
B) $(document).ready()
C) $(html).loaded()
D) $(document).onload()
Question
Information about which keywords are bringing visitors to your website can be found in the _______.

A) web position log
B) website log
C) search engine file
D) None of the above
Question
Using ________ as a promotion method will bring return visitors to your site.

A) newsletters
B) banner exchanges
C) TV ads
D) none of the above
Question
Which jQuery method has the purpose of getting or setting the value of an HTML attribute?

A) attr()
B) html()
C) css()
D) style()
Question
_____ Yahoo! is the most popular search engine.
Question
The measurement, collection, analysis and reporting of Internet data for the purposes of understanding and optimizing web usage is called _________________.

A) search engine optimization
B) social media optimization
C) Web analytics
D) search engine results
Question
Select the true statement below.

A) Using tables can improve your search engine optimization.
B) Content contained within Flash media is invisible to search engines.
C) Your HTML code must be valid in order to be listed in search engine results.
D) Descriptive page titles and heading tags with appropriate keywords can help with search engine optimization.
Question
_____ XML Sitemap is an XML file that is used by search engines but is not accessed by your web page visitors.
Question
The price you are charged if you sign up for a paid sponsor or ad program and a visitor clicks on a link to your website.

A) CPL
B) CTR
C) CPM
D) CPC
Question
The term _________________ refers to configuring a web page so that it can be easily linked to from social bookmarking and social networking sites.

A) search engine optimization
B) social media optimization
C) Web analytics
D) search engine results page
Question
_____ In an affiliate program a website (the affiliate) promotes another website's products or services (the merchant) in exchange for a commission.
Question
Click thru rate (CTR) is the

A) ratio of the number of times an ad is clicked to the number of times it is viewed.
B) the rate you pay for each time a visitor clicks on your ad
C) the rate you pay for each time a visitor clicks on your ad and makes a purchase
D) the number of new visitors to your site each day
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/49
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 13: Web Promotion & A Brief Look at Javascript and Jquery
1
A function can ______ a value to indicate success or failure.

A) pass
B) set
C) return
D) none of the above
C
2
Which of the following will assign the value "Smith" to the variable customerName?

A) customerName = > "Smith";
B) customerName < = "Smith";
C) customerName = = "Smith";
D) customerName = "Smith";
D
3
The code to access the contents of an input box named email on a form is

A) document.forms[0].email
B) document.forms[0].email.value
C) document.forms[0].email.contents
D) document.forms[0].email.data
B
4
The _______________property can set the background color of the document.

A) document.background
B) document.bgcolor
C) document.color
D) document.backgroundcolor
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
5
Select the comparison operator to use when testing a condition for equality.

A) =
B) ==
C) < >
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
6
A _____ is an action that can be performed with an object.

A) property
B) method
C) variable
D) function
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
7
The _______ defines every object and element on a web page.

A) Document Object Model
B) Browser
C) Operating System
D) None of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
8
Select the technology that was developed by a joint effort between Netscape and Sun Microsystems.

A) Java
B) JavaScript
C) Flash
D) Ajax
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
9
A ______ is an attribute or characteristic of an object.

A) property
B) method
C) variable
D) function
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
10
Use the ____________ method to write text to a web page.

A) document.write()
B) document.code()
C) document.text()
D) document.new()
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
11
The __________ event handler is triggered when the visitor places their mouse on an object.

A) onclick
B) onmouseout
C) onmouseover
D) onmousehover
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
12
Select an appropriate use of JavaScript:

A) form validation
B) sending e-mail
C) both a and b
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
13
Select the valid JavaScript variable name below:

A) prompt
B) myName
C) my Name
D) visitor'sName
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
14
A ______ is a reusable block of JavaScript statements.

A) property
B) method
C) variable
D) function
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
15
A __________ is a term used to describe a select list that allows the user to select an option to load another web page.

A) navigation
B) page header
C) jump menu
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
16
The _____ method displays a message to the user and contains one button.

A) prompt()
B) alert()
C) message()
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
17
JavaScript can be described as:

A) an object-oriented scripting language
B) an easy form of Java
C) a language created by Microsoft
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
18
In the context of web page interactivity, an _________ can be described as an action taken by the user.

A) object
B) event
C) tag
D) browser
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
19
Select the true statement from those listed below.

A) < script > tags are used to contain JavaScript statements
B) < script > tags can be placed in both the header and the body section of a web page
C) < script > tags are read by the browser
D) All of the statements above are true
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
20
How many scripts can be embedded in an XHTML document?

A) Not more than one
B) Two scripts
C) One script in the header section and one script in the body section
D) As many as you need
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
21
Uses for meta tags include:

A) to indicate that a web page should not be indexed
B) to indicate the character encoding for a web page
C) to indicate a description of a website
D) all of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
22
Select the jQuery code that will set the background color of all li elements to green.

A) $('li').style('background-color', 'green');
B) $('li').html('background-color', 'green');
C) $('li').attr('background-color', 'green');
D) $('li').css('background-color', 'green');
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
23
Select the true statement:

A) You need to purchase the jQuery library.
B) The jQuery library is available online through a CDN
C) All browsers automatically include the jQuery library
D) None of the above statements is true.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
24
Select the true statement below.

A) Paying to be listed preferentially in a search engine is considered by many organizations to be a justified cost of doing business.
B) Submit your site to search engines before it is finished.
C) It only takes a few minutes to be listed in a search engine.
D) All of the statements above are true.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
25
Other parts of a web page that a search engine robot may examine include:

A) page title
B) text in headings and paragraphs
C) links
D) all of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
26
Banner ads benefit websites by________.

A) bringing many new visitors to your site
B) increasing awareness of the website
C) both bringing many new visitors and increasing awareness of the site
D) None of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
27
Select the true statements about meta tags.

A) They may be placed anywhere in the web page.
B) They may be used by search engines to index a web page
C) They must be present or the page will not be indexed.
D) All of the above are true.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
28
jQuery is

A) an application developed by Microsoft
B) a free open-source JavaScript library
C) an application developed by Adobe
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
28
Chapter13Test
CHAPTER 13 Web Promotion
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
29
Select the components of a search engine.

A) robot
B) database
C) search form
D) all of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
30
The first step in submitting your web site to search engines and search directories is to

A) join an affiliate program
B) visit the search engine and submit your web site
C) prepare your pages for search engines by adding keyword and description meta tags to your pages
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
31
The ability to keep web page visitors at your site is called _______.

A) link popularity
B) stickiness
C) attention
D) None of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
32
Search indexes are different from search engines because:

A) Search engines are larger
B) Search indexes have a human being review your web site
C) Search engines are easier to use
D) None of the above.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
33
Website promotion methods include:

A) banner ads
B) word of mouth
C) newsletters
D) all of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
34
Select the best description of an "impression".

A) a search form is completed
B) a visitor recommends your site to a friend
C) your site is listed in a search engine
D) your ad is viewed by a website visitor
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
35
__________ are the most popular method used by visitors to find web sites.

A) banner ads
B) hearing about web sites on TV
C) search engines
D) personal recommendations
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
36
A rating determined by a search engine based on the number of links to a particular site and the qualities of those links is called ________.

A) link checking
B) reciprocal linking
C) link popularity
D) None of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
37
When using jQuery, what is used to determine when the web page's DOM has been fully loaded by the browser?

A) $(document).onload()
B) $(document).ready()
C) $(html).loaded()
D) $(document).onload()
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
38
Information about which keywords are bringing visitors to your website can be found in the _______.

A) web position log
B) website log
C) search engine file
D) None of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
39
Using ________ as a promotion method will bring return visitors to your site.

A) newsletters
B) banner exchanges
C) TV ads
D) none of the above
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
40
Which jQuery method has the purpose of getting or setting the value of an HTML attribute?

A) attr()
B) html()
C) css()
D) style()
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
41
_____ Yahoo! is the most popular search engine.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
42
The measurement, collection, analysis and reporting of Internet data for the purposes of understanding and optimizing web usage is called _________________.

A) search engine optimization
B) social media optimization
C) Web analytics
D) search engine results
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
43
Select the true statement below.

A) Using tables can improve your search engine optimization.
B) Content contained within Flash media is invisible to search engines.
C) Your HTML code must be valid in order to be listed in search engine results.
D) Descriptive page titles and heading tags with appropriate keywords can help with search engine optimization.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
44
_____ XML Sitemap is an XML file that is used by search engines but is not accessed by your web page visitors.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
45
The price you are charged if you sign up for a paid sponsor or ad program and a visitor clicks on a link to your website.

A) CPL
B) CTR
C) CPM
D) CPC
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
46
The term _________________ refers to configuring a web page so that it can be easily linked to from social bookmarking and social networking sites.

A) search engine optimization
B) social media optimization
C) Web analytics
D) search engine results page
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
47
_____ In an affiliate program a website (the affiliate) promotes another website's products or services (the merchant) in exchange for a commission.
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
48
Click thru rate (CTR) is the

A) ratio of the number of times an ad is clicked to the number of times it is viewed.
B) the rate you pay for each time a visitor clicks on your ad
C) the rate you pay for each time a visitor clicks on your ad and makes a purchase
D) the number of new visitors to your site each day
Unlock Deck
Unlock for access to all 49 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 49 flashcards in this deck.