Question Bank

The mid-term exam questions will be picked from this question bank. As part of SAGE each student will be required to post 1-2 questions that they think should be on the mid-term from that week's topic.

I will compile and update the list every week.

Fall 2019

Week 1 - Anatomy of the Web

  • Explain the difference between the world wide web and the internet.
  • What are the differences between a URL and the HTTP protocol? What is the difference between HTTP and HTTPS?
  • How can you tell if the data in a web request is encrypted?
  • What is the different between HTTP and HTTPS?
  • Can applications other than browsers issue HTTP requests?
  • what is the different between a top-level-domain and a subdomain?

Week 2 - HTML

  • What is HyperText Markup Language?
  • Is HTML rendered by a web browser?
  • Do you have to include a closing slash?
  • What are the four main components used to build an HTML document?
  • What are three components are always required for a webpage?
  • What is HTML made up of?
  • What is a webpage made up of?
  • How do you format attributes on HTML elements?
  • What are tags in html?
  • Is this an acceptable line?
    <head>
    <title>The Right Answer
    </head>
  • What elements should appear in an HTML file only once?
  • Who is responsible for managing the HTML protocol?
  • What is the difference between HTTP and HTTPS?
  • Explain the difference between the world wide web and the internet.
  • What are the components of an HTML page?
  • When should a developer add comments to code? What is the significance of these comments?
  • How does Hypertext Markup language code become a webpage display?
  • What are the three cornerstone technologies for the World Wide Web?
  • Should tags and elements in HTML be written in uppercase, lowercase, or a mix of both?
  • Do all HTML tags have an end tag? Why?
  • What do the abbreviations HTTP and HTML stand for?
  • Can applications other than browsers issue HTTP requests?
  • What is the different between a top-level domain and a subdomain?
  • Can you include <u> in an h1 tag?
  • Why is it important to close your tags?
  • What does the <html> tag do?
  • What are the six main components of an HTML page?
  • What is the difference between HTML, CSS and JavaScript?
  • What is the difference between an element and a tag in an HTML page?
  • What is the purpose of an HTML browser?
  • What is the most common way to store and transmit HTML?
  • What does doctype represent?
  • What is the <dl> tag used for?
  • What are the three different technologies used to create web pages?
  • What does the <head> element include?
  • What does it mean when HTML is consistent across every browser?
  • What can potentially happen if more than one head, body, and html tag are included in a code?
  • What does HTML allow you to create?
  • What should be contained in the first line of every HTML5 document?
  • How do you write a comment in your html file but ensure it is not visible on the web page when itis displayed through the browser?
  • The visible part of the HTML document is contained in what element?
  • What 3 components make up a web page and what are each of their roles?

Week 3

  • What is an a tag and why is it important when coding?
  • Why is semantic structure important?
  • Is the <article/> element's role in the <section/&ft; element?
  • What is the semantic order of heading tags?
  • What is the difference between h1, h2, h3, and h4 and when is it appropriate to use each of them?
  • Are <hr/> and <br/> inline or block elements?
  • What are the tags for an ordered list and an unordered list?
  • What elements are always at the beginning of an HTML file?
  • What is the purpose of title and h1 tag in an HTML file?
  • What is the function of a section tag?
  • Is it appropriate for the Header or Footer tags to be contained by the Main tags?
  • How many h1 elements can you have per page?
  • What are block and inline elements in HTML?
  • Why doesn't the <br/> element have close tag?
  • Why is it good for images to have relative paths?
  • Explain ordered and unordered lists with examples.
  • How do you make a link open in a new tab?
  • Explain absolute, relative, and full relative paths with examples.
  • What attribute must an image tag always have?
  • What is the difference between the <head/> and <header/> tags?
  • What does the element article mean and do?
  • How can you associate a CSS file with the HTML file it should style?
  • What is the main purpose of adding an internal link within your website?

Week 4

  • What is the primary function of CSS?
  • What are the ways to indicate border color?
  • Is HTML used to style content?
  • If an external style sheet specifies font for an h1/ element to be 20px and an inline styling specifies it to be 18px, what size will the font be for that element?
  • Can HTML and CSS work by themselves to create a fully functioning webpage?
  • What is the difference between external and internal style sheets?
  • Does the CSS file name have to match the HTML file name it is associated with?
  • What is the term in CSS for a property-value pair?
  • What are the steps to get a gradient background?
  • When you want one single h3/ tag to be a certain color different from your other h3 tags, what do you do?
  • What is the difference between the way that external, internal, and inline elements affect the pages/elements they are included in?
  • What different between href="../styles/style.css" and href="styles/style.css"?
  • What does the syntax rel="stylesheet" mean? What do the elements rel and stylesheet stand for?
  • What does the acronym DOM stand for?
  • How many pixels is an 'em'?
  • How can you style one section in a different way than others marked up with the same section/ tags?
  • What three elements are always required in a webpage? How many of each should a single page include?
  • What are the different units to specify font sizes in CSS?
  • What steps must the browser take in order for the content to be displayed on your screen?
  • How can CSS lay out two block elements side by side on the same row?
  • Explain the difference between a CSS Declaration and a CSS Ruleset/Rule.
  • Explain the difference between block and inline elements in HTML. Give examples of each.

Week 5

content to come
  • What is the sequence of phase within the project life cycle?
  • What’s one way in which building a website is similar to building a house and why?
  • What are the phases of the project life cycle?
  • What is the first step of project lifecycle?
  • In what situations does it make sense for a front-end web developer to use non-semantic elements div/ and span/?
  • When would a non-semantic element be used?
  • In which phase in the project life cycle do front-end web developers spend most of their time and effort?
  • What are the four types of pseudo-class tags for anchor (link) tags?
  • What do F Patterns tell us about web user behavior?
  • what is the purpose of pseudo-classes?
  • Which of the following is the correct syntax for a class selector in CSS?a.#head {}b..head {}c.head {}d.body>head {}
  • What are the 3 basic selectors in CSS and what does each do?
  • What is the use of the BOX MODEL in CSS?
  • What kind of web site layout works best with information that does not need to be read in a specific order?
  • Can multiple HTML elements be given the same ID attribute?
  • What do the components of a wireframe represent?
  • Wireframes may not be altered after they are created. T/F
  • What are the phases of the development life cycle and what happens at each?
  • What is the difference between pseudo-class and pseudo-element?
  • What is the difference between semantic and non-semantic code?
  • Why is it important for web designers to consider the F pattern?
  • What is the syntax for class selectors and ID selectors?
  • Where can you find the github pages url for your personal repository?
  • Do all pages on your webpage get a wireframe layout?
  • How can you reference a table in png format to build a matching table using code?
  • What is the function of a CSS selector in a CSS rule?
  • How does the analysis phase of the development life cycle differ from the specification phase?
  • Who is involved in the implementation phase?
  • List key elements of the implementation phase.
  • what selector would you use if you wanted to only change the style for the first h2 element when there are 3 others on the same HTML page?
  • Describe the three basic types of selectors and how they are used.
  • What CSS selector tool is used to help define the special state of an element?
  • Which phase of the development life cycle would be the most crucial to the development of front-end code?
  • What is one of the main differences between block and inline elements?
  • At what stage in the project life cycle are wireframes created?
  • What is the difference between internal and external stylesheets and when would you use each element?
  • What conditions call for adding pseudoclasses to a CSS selector?