Upgrade to remove ads
Web Dev Final Review
Terms in this set (131)
What is the internet?
Global system of interconnected computer networks that use IP/TCP to serve billions of users world wide.
What the internet originally called?
When did the internet first go live?
What does IP stand for?
What is the function of an IP?
Directs packets to a specific computer using an IP address.
What does TCP stand for?
Transmission Control Protocol
What is the function of TCP?
Directs packets to a specific application on a computer using a port number.
How is an IP address formatted?
What is the web?
System of interlinked hypertext documents accessed over the internet using the HTTP protocol.
What are the components of a URL?
Local Host Name
In a URL, what is the Scheme?
In a URL, what is the Host Name?
In a URL, what is the Local Host Name?
In a URL, what is the Domain Name?
In a URL, what is the TLD?
In a URL, what is the Path?
What is a web browser?
Software that runs on the client used to access and display web content.
What are the most popular web browsers?
What is a web server?
A computer or software on the internet that listens for HTTP requests and responds with HTTP responses.
What does DNS stand for?
Domain Name System
What is contained in an HTTP request?
What is contained in an HTTP response?
Content Length (Number of bytes in the body)
What are the common response status codes?
What does the response status 200 mean?
What does the response status 301 mean?
What does the response status 302 mean?
Found under different temporary url
What does the response status 304 mean?
What does the response status 403 mean?
What does the response status 404 mean?
What does the response status 500 mean?
Internal Server Error
What are some examples of MIME types?
What is another for a MIME type?
What are differences between HTML and XHTML?
tags don't have to be closed
tags don't have to be closed in the order that they are opened.
No attributes are required.
Attributes don't have to be quoted.
Attributes don't need a value.
tags must be closed
tags must be closed in the order that they are opened.
Some attributes are required.
Attributes must be quoted.
Attributes need a value.
What do elements do in HTML?
Define a document's structure and meaning.
What tool does HTML use to represent information?
What does an attribute do in CSS?
Modifies the behavior of a tag.
What is a void element?
Tag that doesn't surround any content.
How is a HTML page laid out?
How are comments written in HTML?
<!--Example Comment in HTML-->
What is the tag to make text bold?
What is the tag to make text italics?
What is the tag to make paragraphs?
What is the difference between absolute URL and relative URL?
Absolute is the whole URL. http://www.harding.edu/addFriends.php
Relative is only the last part of the URL. addFriends.php
How do you link to another page in HTML?
<a href = "www.harding.edu">Text to be displayed</a>
How do you link to an email in HTML?
<a href = "mailto:email@example.com">Send Pix</a>
How do you display an image in HTML?
<img src = "image.jpg">
Differences between png, gif, jpg images?
Used for logos
Used for logos
Uses 256 colors
Used for photos
Uses lossy compression
What are examples of character entities?
What does the character entity < display?
What does the character entity > display?
What does the character entity & display?
What does the character entity display?
It displays a non-breaking space.
What does the <hr> tag do?
Inserts a horizontal rule.
How do you make an unordered list in HTML?
How do you make an ordered list in HTML?
What is a nested list?
A list inside of a list.
How do you make a table in HTML?
What are meta tags for?
Provides metadata about the HTML document, that isn't displayed to the user.
What is CSS used for?
Changing the layout colors and fonts of a webpage when rendered in the browser.
What are the different ways to incorporate CSS in your HTML document?
Embedded style sheet
External style sheet
If a HTML document had two conflicting styles, one in a External Style Sheet and one as an Inline Style, which style would take precedence?
What tool can you use to specify HTML that you want to change with CSS in a style sheet?
What is an example of a Class in CSS?
What is the difference between inline level elements and block level elements in HTML?
Does not change the flow of the elements in the document.
Has a virtual box around it's content.
What tags are used with in-line level elements?
What tags are used in block level elements?
What are examples of anchor pseudo classes?
Where do you put files on taz?
What HTML file is accessed automatically when taz is loaded?
What web server does taz use?
What url do you use to access taz?
What permissions do you need to give to files in order for Apache to access them?
world read permission
Define "My SQL"
A popular open source relational database management system.
What are relational databases composed of?
Within a rational database table, what is a primary key?
A value that uniquely identifies each item in the table.
What does SQL stand for?
Structured query language
What does the acronym CRUD stand for?
Create Read Update Delete
What action goes with Creation in CRUD?
What action goes with Read in CRUD?
What action goes with Update in CRUD?
What action goes with Delete in CRUD?
T/F You can insert a value into a database table in any order.
How do you connect to your own database?
$mysqli = new mysqli($hostname, $username, $password, $db_name);
What does the next statement return?
$mysqli -> connect_errno;
Returns true, if you could not connect to the database.
How do you access the information to see why an SQL command failed.
$mysqli -> errno;
$mysqli -> error;
What does fetch_row(); do?
It returns an array split up by numbers that represents row numbers in your database.
What does fetch_assoc(); do?
It returns an associative array allowing you to access items by name, rather by number in you database.
what does $mysqli->affected_rows do?
Returns a number of rows affected by a certain function.
What is a query?
A query is an inquiry to extract data from the database in a readable format according to the user's request.
What is a real escape string?
Escapes all the problematic characters in a string.
What is SALT in regards to password hashes.
It is random data that is used as an additional input to a one-way function that hashes a password.
What is MD5?
A hash system that is out of date.
What is sha1?
A hash system that is out of date.
What is a require statement?
A statement that tells the php file how to access other files? Similar to a #include in c++.
What is the 302 associated with in my SQL?
Header Location URL.
What is a SQL injection attack?
When a user used php code in an input box in order to destroy or gain information from a database.
What is user authentication?
The process of verifying that a user is who he claims to be.
What is a hash?
A short unique fixed length string.
What is a hashing function?
Converts a piece of data of any size into a hash.
What is mobile web?
Accessing the www with a mobile devices web browser
What are the popular mobile browsers?
Internet Explorer Mobile
What are three typical strategies for mobile web design?
1. Do nothing.
2. Create alternate versions for each page.
3. Create an entirely new website.
How does client side redirection work?
How does server side redirection work?
Server routs mobile user agent to different page.
What are some general principals for mobile page design.
Decrease download time
Keep design simple
Reduce the number of mouse clicks
Ensure links and buttons are large enough
Allow an opt out
How does one test mobile web applications?
Mobile web emulators
who coined the term "responsive web design"?
Ethan Marcotty (May 2007)
What is the goal of responsive web design?
to create an optimal viewing experience across a wide range of devices.
What are media queries?
Media type and one or more expressions.
What does a veiwpoint meta tag do?
Automatically adjusts the document width to be equal to the browser width
What do media queries do?
Tells the document to adjust to a new layout based on a given browser width set by the programmer.
What is bootstrap?
What is a web service?
A service that a client program can interface with using http.
What does web api stand for?
Web Application Programming Interface
What is omdb api?
A free web service to obtain movie information.
What does json stand for?
What is file_get_contents(&url) used for?
To make an HTTP request to the web service and get back the HTTP response body.
What is json_decode($json) used for?
Returns a parsed json object with arrays containing the data.
What does urlencode($url) do?
It puts in the escape characters necessary for a URL to work.
What is a web directory?
A compilation of all the websites on the web, ordered in a hierarchy.
What did Yahoo start as?
The first web directory (1994)
What is the largest web directory today?
open directory project
What device automatically collects web pages?
What is an index?
A list of websites that have crawled by a web crawler.
How is an inverted index built.
It is built by compiling a list of the words in the site and the documents that contain those words.
cat: 2, 5
dog: 1, 5, 6
What are different things that search engines take into account when ranking web pages?
What is Google bombing?
The practice of causing a web page to rank highly in search engine results for unrelated or off-topic search terms by linking heavily.
What is page rank?
The amount of links from important web pages to your site.
What is SEO?
Search Engine Optimization
What is white hat in Search Engine Optimization?
Creating content that is meaningful and building a website the correct way.
What is black hat in Search Engine Optimization?
Creating web pages designed only for search engine consumption. Intentionally cheating the system to make your site higher ranking on Google.
YOU MIGHT ALSO LIKE...
HTML Exam Review
Unit 4: The Web
LIS4381 Quiz 8
OTHER SETS BY THIS CREATOR
Assembler Quiz 1
COMP 311 Exam 2
Operating Systems Test #1
COMP 311 Exam 1