Exam Review Flashcards

1
Q

To load a web page into a web browser, you can

a) click the browser’s Back button
b) type just the filename of the web page into the browser’s address bar
c) type the domain name of the web page into the browser’s address bar
d) type the URL of the web page into the browser’s address bar

A

To load a web page into a web browser, you can type the URL of the web page into the browser’s address bar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Because all web browsers don’t interpret HTML and CSS the same way, a major web development issue is__________ compatability

A

cross-browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In a web application, the client uses a ___________________________ to interact with a web server.

A

web browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

To view the source code for a web page in any browser, you can?

a) right-click the page and then select the View Source or View Page Source command
b) click the Menu icon and then select the More Tools–>View Source command
c) select the View Source command from the File menu
d) none of the above

A

To view the source code for a web page in any browser, you can

right-click the page and then select the View Source or View Page Source command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A web application starts when a client sends a/an ______________________ to a server.

A

http request

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A __________________ web page is one that doesn’t change.

A

static

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A _______________________ makes websites available to other computers over a network.

A

web server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

To load a web page from an intranet into your web browser, you can

a) type just the domain name into the address bar
b) click on the Load or Reload button
c) type just the file name into the address bar
d) use the Open or Open File command in the File menu

A

To load a web page from an intranet into your web browser, you can? use the Open or Open File command in the File menu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In an HTTP URL, the ________________________ is coded immediately after the protocol but before the path.

A

domain name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following is NOT a guideline for user accessibility?

a) Make sure that any essential information in images is also provided in text.
b) Make sure that each page will run in all browsers.
c) Provide text that is easy to read.
d) Make sure all links can be accessed with the keyboard.

A

Which of the following is NOT a guideline for user accessibility?
Make sure that each page will run in all browsers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When you include JavaScript in a web application, the language is run by the JavaScript engine of the ______________________________.

A

web browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

To format a web page, you use _______________________.

A

Cascading style sheets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An intranet is a ______________________ area network that is used for web applications.

A

local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

JavaScript code is run by the:

a) web server
b) application server
c) web browser
d) database server

A

web browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Using the techniques that will help your website rank higher in search engine results is called _________________________________.

A

search engine optimization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When you _____________________ a website, you upload its folders and files from a WAN to an Internet Server.

A

publish

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

When a client requests a dynamic web page, the HTML is generated by

a) a database server
b) the web server
c) the web browser
d) an application server

A

an application server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

An HTTP response is sent from

A

the web server to client

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

An HTML document that’s generated by a web application is a ________________________ web page.

A

dynamic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Which of the following is NOT a guideline for usability?

a) Include a navigation bar in the header.
b) Include a logo that goes to the home page.
c) Make sure that pages are easy to work with on smaller devices.
d) Present as much critical information as possible “above the fold”.

A

Make sure that pages are easy to work with on smaller devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Websites that are designed to adapt gracefully to any screen size use a technique called _______________________________.

A

Responsive Web design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

A _______________________ makes websites available to other computers over a network.

A

web server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

In HTML, the body element provides the structure and ____________________ of the document.

A

content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

One of the benefits of validating an HTML document is that it can solve some ____________________ problems.

A

testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

In HTML, you must enclose the value for an attribute in quotation marks if the value includes one or more____________________.

A

spaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

A CSS selector can refer to a specific HTML element by specifying the value of the element’s ________________________ attribute.

A

id

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

One way to run a web page that’s on your computer is to find the file for it using your system’s file _________________ and double-click on it.

A

explorer

28
Q

Three inline elements are

A

b, a, and img

29
Q

________________________ refers to characters like tab characters, line return characters, and spaces that are ignored by the browser.

A

whitespace

30
Q

When you start a new HTML file from a ______________________, you start from code that can be used for more than one HTML file.

A

template

31
Q

In HTML, you can code a ____________________ attribute as just the attribute name.

A

boolean

32
Q

A valid HTML document requires?

A

head and body

33
Q

You should use the ______________ element to identify a section of a web page only when the HTML5 semantic elements don’t apply.

A

div

34
Q

The portion of a web page that displays the most important content is commonly coded as an HTML5 ____________________ element.

A

main

35
Q

A sidebar in a web page should be coded as an HTML5 ____________________ element.

A

aside

36
Q

A series of navigation links should usually be coded within an HTML5 ____________________ element.

A

nav

37
Q

A relative URL is relative to the ________________________ web page

A

current

38
Q

By default, a browser displays each _________________ element on a new line.

A

block

39
Q

To specify a color in a CSS rule, you can code a/an ____________________ value in percentages or in hexidecimal numbers.

A

RGB

40
Q

If more than one rule set is applied to an element, the rule set with the selector that has the highest ______________________ is used.

A

specificity

41
Q

A child selector in CSS allows you to select elements that

a) are any descendant of an element
b) have an attribute that matches the specified child
c) have a class that matches the specified child
d) are a direct descendant of an element

A

are a direct descendant of an element

42
Q

The normalize.css style sheet

a) Forces older browsers to recognize the HTML5 semantic elements
b) Causes all browsers to use their default styles instead of the styles in the user style sheet
c) Adds the HTML5 semantic elements to the browser’s DOM
d) Causes all browsers to render HTML elements the same way

A

Causes all browsers to render HTML elements the same way

43
Q

Pseudo-class selectors let you apply formatting

a) to elements that specify multiple classes
b) when specific conditions occur
c) to selected portions of text
d) when a button control is clicked

A

when specific conditions occur

44
Q

To include a CSS file in an HTML document, you use the _______________________ element.

A

link

45
Q

By default, the box for a block element is as tall as the _________________ requires.

A

content

46
Q

You use a reset selector to

a) set the font sizes for all text elements to their defaults
b) set inherited properties to their default values
c) set the margins and padding for all elements to zero
d) set the background color for all elements to white

A

set the margins and padding for all elements to zero

47
Q

In the box model, the border comes between the margin and the _____________________ for box.

A

padding

48
Q

If you want to use padding to control the spacing before and after h2 elements, you should start by setting the ____________________________ for those elements to zero.

A

margin

49
Q

When you use ____________________ positioning with CSS, the other elements on the page are positioned as if the element wasn’t there.

A

absolute

50
Q

When you set the position property for a block element to fixed, the element

a) moves when you scroll in the browser window
b) can’t overlap other elements on the web page
c) is positioned relative to the browser window
d) always appears in the top left corner of the browser window

A

When you set the position property for a block element to fixed, the element is positioned relative to the browser window

51
Q

If you want to use a __________________ page layout, you set the width of the page to a percent.

A

fluid

52
Q

When you set the position property for a block element to absolute, the browser

a) positions the element relative to the browser window
b) keeps the element in the flow of elements on the web page
c) takes the element out of the flow of elements on the web page
d) doesn’t allow the element to overlap other elements on the web page

A

takes the element out of the flow of elements on the web page

53
Q

When you set the float property for a block element to left, the elements that follow it will flow into the space

a) to the right of the floated element
b) to the right of the floated element if there’s enough space
c) to the left of the floated element if there’s enough space
d) to the left of the floated element

A

to the right of the floated element if there’s enough space

54
Q

To stop an element from flowing into the space on the side of a floated element, you can code the ____________________ property.

A

clear

55
Q

When you use ____________________ positioning with CSS, the positioned element doesn’t move in the browser window, even when you scroll.

A

fixed

56
Q

When you use CSS to set the float property for an element, you should also set the ____________________ of the element.

A

width

57
Q

For a three-column layout, you can

a) code the main content and asides in any sequence and then float the first aside and the main content to the left and the second aside to the right
b) float the main content in the center and let the asides flow around it
c) code the main content and asides in any sequence and then float them all to the left
d) code the main content and asides in sequence from left to right and then float the first aside to the left and the second aside to the right

A

code the main content and asides in any sequence and then float the first aside and the main content to the left and the second aside to the right

58
Q

A web __________________ provides space on a server that’s connected to the Internet.

A

hosting service

59
Q

Before you can get a domain name, you need to have it checked against the names in the domain name ______________________________.

A

registry

60
Q

You use a/an _______________________ program to transfer files to and from the web server.

A

FTP

61
Q

When you submit your website to a search engine, a _________________ crawls through the pages of your site and scores them for later use in searches.

A

robot

62
Q

To stop search engines from including some of the pages in your website, you can create a robot.txt file and store it in the _________________ folder of your site.

A

root

63
Q

To test a website after it has been uploaded to the web server for the first time, you need to do all but one of the following. Which one is it?

a) Check the formatting of each page
b) Check each link on each page to make sure it works
c) Check the contents on each page
d) Check each page to make sure that all images are in place

A

Check the contents on each page

64
Q

When you upload one or more pages to a website, a common problem is

a) connecting to the wrong server
b) using the wrong names for the pages
c) overwriting pages that have the same names
d) not uploading all of the HTML, CSS, and image files that the page refers to

A

not uploading all of the HTML, CSS, and image files that the page refers to

65
Q

When you submit your website to a search engine,

a) you submit only the URL of the home page
b) you submit only the pages that you want indexed
c) you can provide descriptive information that will help the engine place your site
d) you submit all of the pages of your site

A

you submit only the URL of the home page

66
Q

After you submit your website to a search engine,

a) you need to submit it again whenever you make enhancements to it
b) you shouldn’t delete pages that are in the index
c) the robot periodically crawls through your site and re-indexes it
d) you can use a meta element to tell the robot how to score your page

A

the robot periodically crawls through your site and re-indexes it

67
Q

You can use a meta tag to do all but one of the following. Which one is it?

a) Tell a search engine not to follow the links on the page
b) Redirect the user from an inactive page to an active page
c) Tell a search engine not to index a page
d) Redirect the user from a page that has been deleted to an active page

A

Redirect the user from an inactive page to an active page