Web & Mobile I test 1
Which of the following commands are available to SFTP servers: PUT, MKDIR, GET, RMDIR? What is the function of each?
-PUT - transfer file(s) from the client to server<div>-GET - retrieve file(s) from the server to client</div><div>-RMDIR - delete a directory on a server</div>
What are characteristics of block elements?
-are as high as needed based on content<div>-follow box model</div><div>-take of 100% of available width</div><div>-rendered with empty space above and below</div>
What are characteristics of in-line elements, such as <span>? (height, width, etc)
-height: one line tall<div>-width: wrap to next line when space runs out</div><div>-doesn't have empty space above or below</div><div>-used to edit specific elements in a sentence/text</div>
when creating an HTML file, the filename:
-should always be only lower-case letters<div>-should never include any special characters</div><div>-should never have any spaces in it</div>
What are media queries?
-uses css @media rule<div>-conditional use of a block of CSS properties based on viewport size</div><div>-helps to control media size according to viewport</div>
"How would a class name of ""bananas"" be selected in CSS?"
.bananas
What is Progressive Enhancement?
A strategy for structured web design by using web technologies in a layered fashion
What is an empty tag? Give an example.
A tag that has no text to effect.<div><hr /></div>
What are the four layers of web design and associated language (if any)?
1) Content<div>2) Structure - html</div><div>3) Presentation - css</div><div>4) Behavior - javascript</div>
The permissions used in class are - for directories and - for files.
755; 644
What is the basic timeline of the internet?
CLI - GUI - mobile - multi-touch (iPhone) - new inputs (accelerometers) - wearable -> future
What are the parts of the web?
Domain name, web server, and web pages
Who is Tim Berners-Lee?
Person who proposed the WWW
What was Mosaic's claim to fame that allowed the web to become popular?
Web browser being able to display both text and images
Alignment seeks to have...
a single alignment scheme throughout
What is Telnet (1972)?
a tool to let you log in to remote computers
Do elements=tags?
yes
What topic doesn't belong to the four layers of web design: browsers, content, behavior, presentation?
browsers
What CSS property is used ot set the color of text?
color
What is the syntax for a multi-element selector?
comma delimiter
"How would an ID name of ""bananas"" be selected in CSS?"
hashtag bananas
To check if an HTML file has met the standard, what link should be used?
http://validator.w3.org/
[attribute|=value]
language attribute selector selects all elements having an attribute beginning with this value followed by a hypen<div><br /></div><div>a[lang|='es']</div>
"Is img src=""picture.gif"" a container tag?"
no
What color is represented by the hex value <div>FF0000</div>
red
Advanced search engine features are designed to reduce: search times, errors, accuracy, results retrieved (check all that apply)
search times, accuracy, results retrieved
[attribute]
selects all attributes with that attribute name
[attribute=value]
selects all elements ahving an attribtue with this (exact) value
The body and title tags enclose content. How does the browser use the tags?
the body content is rendered as the actual display while the title content is shown on the browser's tab
"liv@rit ""choosing topics"" tutorial helps to narrow a topic selection (t/f)"
true
"live@rit ""finding articles"" tutorial helps in the selection of which database to use. (t/f)"
true
An ID name can only be used once per HTML page. (t/f)
true
Gopher was the first menu-driven Internet application used to share documents (t/f)
true
HTML and CSS are client-side technologies/languages
true
Responsvie web design can be accomplished without the use of JavaScript. (t/f)
true
The first version of the Internet was funded by the U.S. Department of Defence's Advanced Research Project Agency (t/f)
true
When designing a web page, it's best to design for handheld mobile devices first, and then work towards larger viewport devices. (t/f)
true
What is the syntax for an everything selector?
*
What is FTP (1973)?
File Transfer Protocol; moves files from one computer to another
(selector combinations) What is the syntax and function of a child selector?
element > element<div>selects only child elements; i.e. immediate decendatns of the first element</div>
(selector combinations) What is syntax for a descendant selector? What does it do?
element (space) element<div>matches all elements that are descendants of a specified element</div>
(selector combinations) What is the syntax and function of an adjacent sibling selector?
element + element<div>selects the sibling elements that directly follows the first element</div>
(selector combinations) What is the syntax and function of the general sibling selector?
element ~ element<div>selects any sibling element that follows the first element</div>
HTML tags are referred to as what?
elements
What are font-relative units?
em<div>1 em = 100% = 16px = 12pt</div>
"""Hypertext"" is text that constrained to be linear and does not contain links to other text or media (t/f)"
false
"img src=""picture.gif"" is an example of a container tag. (t/f)"
false
HTML standards guarantee that HTML pages will display consistently between browsers (t/f)
false
Media queries are used to adjust displays to smaller viewports but the queries themselves cannot determine a device's viewport size. (t/f)
false
The internet is the same thing as the WWW (T/F)
false
Well-designed, elaborate, animated GIFs can hold a viewer's attention and improve retention. (t/f)
false
What is Gopher (1991)?
first menu-driven internet app used to share documents
Which items are considered principles of resonsive web design (rwd): fluid images, HTML <aside>, media queries, CSS fixed positioning, fluid grids?
fluid images, media queries, fluid grids
What are absolute units?
in, cm, mm, pt, pt, pc, px<div>only absolute if output device has high enough resolution</div>
[attribute(tilde)=value]
partial attribute value selector selects all elements having an attribute containing this value
What are 3 other issues in addition to CRAP?
"1) The main idea of a site and primary navigation scheme should be 640x480 pixel area located above ""the fold""<div>2) large block of content are not okay if the blocks have scrolling</div><div>3) narrow columns are easier to read than wide ones</div>"
What are the 3 different types of access to CSS code?
"1. External: link to .css file in <head> section<div>2. Embedded: inside <style>...</style> block in <head> section</div><div>3. Inline: in <body> section, uses style=""attribute"", applies onl to specific HTML element</div>"
What are the 3 main principles of Responsive Web Design (rwd)?
1) fluid images<div>2) media queries</div><div>3) fluid grids</div>
"What are three examples of sites that fit the ""invisible web"" category?"
1) myCourses<div><div>2) library.rit.edu</div></div><div>3) books24x7</div>
How much of the viewport do block elements take up?
100% of available width
SFTP servers require which port when establishing a connection?
22
In order for a browser to recognize the version of HTML code used, a Doctype statement is required. Where is it placed?
Before the <html>
What does CRAP stand for?
Contrast, Repetition, Alignment, Proximity
What is a container tag? Give an example of one.
Effects the text within the opening tag and closing tag; <strong>This text will be bold.</strong>
Web development is the bridge between which two fields?
Marketing (front-end) and Information Technology (back-end)
Is em This text is italic. /em an empty tag?
No
What is the description of a full-stack developer?
Someone who does both front-end (on the client) and back-end development (on the server)
Online credibility is left to which of the following: W3C, chance, IANA, validation.org
chance
what are fluid images?
images can be made to shrink and grow with the device size