Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

Similar documents
Proper_Name Final Exam December 21, 2005 CS-081/Vickery Page 1 of 4

Student, Perfect Midterm Exam March 24, 2006 Exam ID: 3193 CS-081/Vickery Page 1 of 5

Student, Perfect Final Exam May 25, 2006 ID: Exam No CS-081/Vickery Page 1 of 6

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Horizontal Rule Element

First Name Last Name CS-081 March 23, 2010 Midterm Exam

Student, Perfect CS-081 Final Exam May 21, 2010 Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions:

Introduction to WEB PROGRAMMING

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

CS7026 CSS3. CSS3 Graphics Effects

ICT IGCSE Practical Revision Presentation Web Authoring

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

CS134 Web Site Design & Development. Quiz1

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

Dreamweaver CS3 Lab 2

HTML. Hypertext Markup Language. Code used to create web pages

Final Exam Study Guide

Sign in and join ADC Newsletters Feedback. Creating your first website Part 2: Creating the page layout

CSS Selectors. element selectors. .class selectors. #id selectors

Getting Started with Eric Meyer's CSS Sculptor 1.0

Exercise 1: Understand the CSS box model

THE HITCHHIKERS GUIDE TO HTML

Taking Fireworks Template and Applying it to Dreamweaver

ADOBE 9A Adobe Dreamweaver CS4 ACE.

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Web Development & Design Foundations with XHTML. Chapter 4 Key Concepts

Styles, Style Sheets, the Box Model and Liquid Layout

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

CSS for Page Layout Robert K. Moniot 1

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Page Content. Inserting Text To add text to your document, you can type the text directly or use Cut or Copy and Paste or Paste Special.

The Benefits of CSS. Less work: Change look of the whole site with one edit

Assignments (4) Assessment as per Schedule (2)

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

Introduction to using HTML to design webpages

Programmazione Web a.a. 2017/2018 HTML5

11. HTML5 and Future Web Application

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

Creating HTML files using Notepad

Using Dreamweaver CS6

Fonts, text, and colour on the web. Sourcing, resizing, and inserting web site images MGMT 230 LAB

ORB Education Quality Teaching Resources

Reading 2.2 Cascading Style Sheets

How to lay out a web page with CSS

IT153 Midterm Study Guide

Creating Web Pages with a Template

Creating a Navigation Bar with a Rollover Effect

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Adding CSS to your HTML

Tutorial 3: Working with Cascading Style Sheets

Using Dreamweaver CS6

Html basics Course Outline


CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

How to set up a local root folder and site structure

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 4 Test Bank

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

When you complete this chapter, you will be able to:

Dreamweaver CS 5.5. University Information Technology Services. Training, Outreach, Learning Technologies, and Video Production

Part 3: Images & form styling NOMZAMO S WEBSITE

Architectural Engineering Senior Thesis CPEP Webpage Guidelines and Instructions

Cascading Style Sheets (CSS)

Deccansoft Software Services

Dreamweaver: Portfolio Site

How to lay out a web page with CSS

Ministry of Higher Education and Scientific Research

Dreamweaver CS3 Concepts and Techniques

Flash Image Enhancer Manual DMXzone.com Flash Image Enhancer Manual

Enlargeit! Version 1.1 Operation Manual

Table Basics. The structure of an table

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

HTML and CSS a further introduction

CSC 101: PreLab Reading for Lab #4 More HTML (some of this reading on Tables and Images are based on previous writings of Prof William Turkett)

HTML TUTORIAL ONE. Understanding What XHTML is Not

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

THE HITCHHIKERS GUIDE TO HTML

Parashar Technologies HTML Lecture Notes-4

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

introduction to XHTML

HTML/XML. HTML Continued Introduction to CSS

HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites

Midterm 1 Review Sheet CSS 305 Sp 06

Data Visualization (DSC 530/CIS )

ICT IGCSE Practical Revision Presentation Web Authoring

Web Development & Design Foundations with HTML5

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Dreamweaver: Accessible Web Sites

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2)

Problem Description Earned Max 1 HTML / CSS Tracing 20 2 CSS 20 3 PHP 20 4 JS / Ajax / JSON 20 5 SQL 20 X Extra Credit 1 TOTAL Total Points 100

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2

What is the Box Model?

Dreamweaver Basics Workshop

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

ADOBE Dreamweaver CS3 Basics

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Web Site Design and Development Lecture 9. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Transcription:

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives aid on any exam or quiz. INSTRUCTIONS: Answer all questions in your examination booklet, in sequence, please. Unless otherwise indicated, all questions count equally. 1. Where is your My Web Pages folder? A. In C:\htdocs B. In My Documents C. On ginkgo.cs.qc.edu D. On www.qc.cuny.edu E. On babbage.cs.qc.edu 2. What happens to your My Web Pages folder when you log off? A. Nothing. If I want to access it again I have to log into the same computer. B. It is automatically copied to all the other computers in the lab. C. It is automatically deleted. D. It is automatically copied to maple and then copied to whatever computer I log into next. E. A copy is automatically emailed to Dr. Vickery 3. What are the restrictions on accessing web pages in the lab using tilde (~) at the beginning of the pathname part of a URL? A. The web pages have to be located under C:\htdocs. B. Tilde means to go up one directory from the current directory. C. There are no restrictions. D. You cannot use a tilde in the pathname part of a URL. E. The user whose account name follows the tilde must be logged into the computer named in the hostname part of the URL at the time the access is made. 4. What does a web designer have to be careful about when developing pages on a Windows computer that will eventually be delivered using a Unix computer? A. Unix file and directory names are case sensititve, but Windows file and directory names are case insensitive, so links that worked on Windows might not work on Unix. B. Windows file and directory names are case snensitive, but Unix file and directory names are case insensitive, so links that worked on Windows might not work on Unix. C. You can t run an Apache server on Windows, but you can run it on Unix. D. You have to use Internet Explorer to look at web pages that were developed on Windows, and you have to use Firefox to look at web pages that were developed on Unix. E. You have to change all your pictures from JPEG to PNG when you move the web pages from Windows to Unix. 5. What happens if you copy web pages to C:\htdocs? A. They can be accessed relative to the document root on any computer in the lab. B. They can be accessed relative to the document root only on the computer where you made the copy. C. They can no longer be accessed by anyone once you log off. D. Dreamweaver manages them for you from that point on. E. They are automatically deleted from My Web Pages. 6. What does an Apache server do if someone requests a directory instead of a file in a URL? A. It executes an alert() function to find out what the browser wants to do about the problem. B. It looks up the user in a database to see if the person is a repeat offender. C. It IM s the web designer to report the problem. D. It sends a bug report to the Apache Foundation so a programmer can fix the problem. E. If configured to do so, and if the file exists, it returns a file named index.xhtml found in that directory.

Exam ID: 7434 CS-081/Vickery Page 2 of 5 7. What difference does it make whether code is well formatted or not? A. The web server handles well-formatted code more efficiently. B. The web browser handles well-formatted code more efficiently. C. Programmers can update and fix well-formatted code more efficiently. D. Well-formatted code makes web pages look better. E. No difference: it doesn t matter how code is formatted. 8. Which one of the following is not a web browser? A. Apache B. Firefox C. Opera D. Safari E. Internet Explorer 9. Overall, what proportion of web accesses are made using Internet Explorer? A. 100% B. About 80% C. About 25% D. Less than 1% E. None. Internet Explorer does not exist. 10. In XHTML, <H2> and <h2> are equivalent. A. True B. False: Tag names must all be upper case in XHTML. C. False: Tag names must all be lower case in XHTML. D. False: Both use angle brackets (<>), which are not allowed in XHTML documents. E. It depends on whether there is a closing tag or not. 11. Which of the following tags must appear in the head node of a web page? A. h1 B. body C. title D. xhtml E. id= header 12. Which of the following tags may not appear in the head node of a web page? A. link B. script C. title D. img E. All of the above 13. Where does the content part of a <title> tag appear when a page is viewed? A. At the top of the viewport, in big letters. B. In the title bar of the browser window. C. In the Firebug window, below the script panel. D. In the property management panel. E. In the location box. 14. What is the difference between JavaScript and PHP? A. JavaScript is a browser and PHP is a server. B. The browser executes Javascript but the server executes PHP. C. They are the same thing. D. Dreamweaver. E. JavaScript is green, but PHP is brown.

Exam ID: 7434 CS-081/Vickery Page 3 of 5 15. Black is the absence of color, so its hexadecimal representation is: A. #000 B. #fff C. #black D. #white E. #0ff 16. Which is better, to put CSS rules and JavaScript code inside an XHTML page or to put them in separate pages and link to them from the XHTML page? A. Separate pages, because it helps keep content, presentation, and actions separate. B. Separate pages, because web pages will not validate if they are all in the same file. C. Inside the XHTML page because the page will not validate if they are in separate files. D. Inside the XHTML page because Dreamweaver gets confused if you don t. E. It depends on what DOCTYPE the server requires. 17. What is a self-closing tag? A. A tag that is automatically closed at the end of the document. B. A tag that is automatically closed by Dreamweaver. C. A tag that has no content and has a slash before the >. D. A tag that calls a JavaScript program to close the user s browser. E. A tag that closes another tag that is inside it. 18. What is validation? A. Using Dreamweaver to copy a web page to the document root. B. Using Vim to remove the tabs from a web page. C. Having a web page checked to be sure the XHTML and/or CSS follows the standards specified by the World Wide Web Consortium. D. Using colors that blend together on a web page. E. Making sure all pictures have the same height. 19. I want to show a photograph taken with a digital camera on a web page. What should I do with the picture using Fireworks (or a similar program)? A. Nothing; all digital cameras produce pictures that are suitable for display on the web. B. Nothing; the browser will fix the picture so that it can be displayed on the web. C. Reduce number of pixels and increase the compression so the picture will download faster while still looking good. D. Increase the number of pixels so the picture will look better on the web. E. Convert the picture to black and white so that color-blind people will be able to see the original colors better. 20. What is the best file format for showing a photograph on a web page? A. TIFF B. PNG C. GIF D. JPEG E. MP3 21. What is the best file format for showing a drawing that includes an alpha (transparency) channel on a web page? A. TIFF B. PNG C. GIF D. JPEG E. MP3 22. What color do you get if you mix red and green lights? A. Black B. White C. Brown D. Blue E. Yellow

Exam ID: 7434 CS-081/Vickery Page 4 of 5 23. Why is it important always to set the background-color if you set the color of an element? A. To make sure there is enough contrast so the text will be readable. B. To make sure the color and the background-color are the same. C. To make sure the browser has a fallback option in case the color you chose isn t available. D. To provide a default aspect ratio for images that are improperly aligned. E. To convert the base tint to the hue of the corporate logo at the top of the page. 24. What is the most accurate description of what an <img> tag does? A. It tells the server to deliver a picture along with the rest of the web page. B. It tells a picture what format to use for converting from RGB to hexadecimal. C. In runs a JavaScript program to create a slide show. D. It tells the browser to request a picture file from the server. E. It asks the user what picture to draw on a web page. 25. What does the CSS selector html, body select? A. All tags named html and all tags named body. B. All tags except those named html or body. C. All tags that are inside either html or body tags. D. None of the above. E. All of the above. 26. What does the CSS selector #footer select? A. A single tag with an id of footer. B. All tags with a class of footer. C. The first tag in the web page named footer. D. Two or more tags with an id of footer. E. A single tag with a class of footer. 27. What does the CSS selector #content p select? A. All contents inside paragraphs. B. All pictures inside contents. C. Any part of a web page that has no content. D. All the paragraphs inside an element with an id of content. E. All links to other web pages. 28. What is the difference between block and inline elements? A. Block elements are used to create spans but inline elements are used to create divisions. B. Block elements create boxes, but inline elements do not. C. Block elements do not create boxes, but inline elements do. D. You cannot put an inline element inside a block element. E. Block elements always start on a new line, but span elments do not. 29. How can you convert an inline element into a block element? A. inline = block B. block = inline C. div = span D. span = div E. display: block 30. What happens if the width of a box s border is 0? A. The margin has to be increased to absorb the border. B. The padding has to be increased to absorb the border. C. The content has to be increased to absorb the border. D. There will be no visible border. E. The box will disappear.

Exam ID: 7434 CS-081/Vickery Page 5 of 5 31. What is a viewport? A. The Dreamweaver option for showing both the code and the actual web page in a split window. B. A type of browser used for developing web pages. C. A Firefox extension for managing the box model. D. An Opera mechanism for emulating Internet Explorer. E. The part of a browser s window where it renders a web page. 32. What are scrollbars used for? A. To tell the server to send smaller pictures. B. To resize the browser window so web pages will look right. C. To manage the situation where a rendered web page will not fit in the current viewport. D. To manage the situation where a window is too large to show the viewport. E. To adjust the viewing angle of the monitor. 33. What is the appropriate unit to use when specifying the size of text on a screen? A. px B. in C. em D. cm E. furlong 34. What is the shorthand order for borders, margins, and padding? A. top bottom left right B. left right top bottom C. top right bottom left D. right left bottom top E. top top top top 35. To what do the height and width of a box refer? A. The size of the content area B. The size of the content area plus the padding C. The size of the content area plus the padding plus the border D. The size of the content area plus the padding plus the border plus the margin E. The size of the margin minus the size of the content area 36. A web page is to include a picture that is two directories up from the web page itself. Which tag is best? A. <img src= http://babbage.cs.qc.edu/images/peaches.jpg alt= Peaches /> B. <img src= /images/peaches.jpg alt= Peaches /> C. <img src= ~/images/peaches.jpg alt= Peaches /> D. <img>src=peaches.jpg</alt = Peaches> E. <img src=../../images/peaches.jpg alt= Peaches /> 37. How many of the choices in Question 36 are syntactically correct? A. None B. 1 C. 2 D. 3 E. 4