CS 301



CS 3010 Review for Exam I Spring 2013

Chapter 1

1. What protocol is used by the majority of computer connections to the Internet?

2. What is the form of an IP address?

3. Describe a fully qualified domain name.

4. What is the document root of a Web server?

5. What is a virtual host?

6. What is the task of a DNS name server?

7. What is hypertext?

8. What is hypermedia?

9. What is the purpose of a MIME type specification in a response from a server?

10. What must a Web server furnish the browser when it returns a document with an experimental MIME type?

11. What is a proxy server?

12. What is the purpose of the Accept field in an HTTP request?

13. What field is required in an HTTP response?

14. What problem is addressed by using a public key approach to encryption, relative to earlier encryption methods?

15. Why does the public key approach work?

16. Explain the authentication issue in security.

17. What is the difference between a virus and a worm?

18. In the context of HTML documents, what is a filter?

19. What is the purpose of a meta-markup language?

20. Where is JavaScript code interpreted?

21. What are the two components of Flash?

23. Into what are documents translated when processed?

24. Where is PHP code interpreted?

25. In what ways is Ruby more object-oriented than Java?

26. In what fundamental way does an Ajax Web application differ from a traditional Web application?

27. For what particular kind of Web application was Rails designed?

Chapter 2 (Introduction to HTML)

1. What does it mean for a tag or attribute of HTML to be deprecated?

2. Why does HTML include predefined character entities?

3. What are the differences between JPEG and GIF image formats?

4. What are the two required attributes in XHTML of an tag and what are their purposes?

5. How is the target of a link that is not at the beginning of a document usually defined?

6. What is the form of the value of the href attribute in an anchor tag when the target is a fragment of a document other than the one in which the link appears?

7. What is the difference between an inline and a block element?

8. What is the purpose of the colspan attribute of the tag?

9. What is the purpose of the rowspan attribute of the tag?

10. What is the required attribute of the tag?

11. How can one change the size of a text widget?

12. What is the difference in operation between a group of checkbox buttons and a group of radio buttons?

13. What kind of widget can be created with a tag?

14. What is a textarea element and what is it used for?

15. What is the purpose of the size attribute of a select element?

16. Describe the structure of an audio element.

17. How were most video clips played in markup documents before HTML5?

18. What are the deficiencies of the time element?

18. What is the difference in the specification of attribute values in documents between HTML and XHTML?

Chapter 3 (Cascading Style Sheets)

1. What is the advantage of document-level style sheets over inline style sheets?

2. What is the purpose of external style sheets?

3. What attributes and attribute values are required in a link to an external style sheet?

4. What is the format of an inline style sheet?

5. What is the format of a document-level style sheet, and where does it appear?

6. What is the format of an external style sheet?

7. What is the form of comments within the rule list of a document-level or external style sheet?

8. What is the purpose of a class selector?

9. What is the purpose of a generic class selector?

10. What is the purpose of an id selector?

11. What is the difference between a descendant selector and a child selector?

12. Describe the purpose of the line-height property.

13. What are the three ways color property values can be specified?

14. Why is a list of font names given as the value of a font-family property?

15. How is the list-style-type property used with unordered lists?

16. Describe how the float property is used, using an example.

17. Explain how properties are inherited.

18. What is the effect of the repeat-x value of the background-repeat property?

19. Be able to draw and label the box model.

20. What layout information does a tag by itself indicate to the browser?

21. What is the purpose of the tag?

22. Which of id selectors or contextual selectors has precedence over the other?

Chapter 4 (JavaScript)

1. What is the root object in JavaScript?

2. Describe the two ways to embed a JavaScript script in an HTML document.

3. What are two reasons JavaScript scripts are hidden in HTML documents, by putting them in HTML comments?

4. What are the numeric data types in JavaScript?

5. What value does typeof return for an object operand?

6. What is the result of evaluating the expression 2 + “much”?

7. What is the result of evaluating the expression 2 * “12”?

8. What is the result of evaluating the expression 2 * “much”?

9. Describe the operations of the prompt method.

10. What is the difference between == and ===?

11. When is a JavaScript constructor called?

12. What properties do an object created with a new operator and the Object constructor have?

13. Describe the two ways the properties of an object can be referenced.

14. How is a new property of an object created?

15. Describe the semantics of the for-in statement.

16. What relationship is there between the value of the length property of an Array object and the actual number of existing elements in the object?

17. What value is returned by a function that contains no return statement?

18. Define the scope of an implicitly declared variable in a JavaScript script embedded in an HTML document?

19. What is the advantage of using local variables in functions?

20. What parameter passing method does JavaScript use?

21. Does JavaScript check the types of actual parameters against their c2rresponding formal parameters?

22. What is special about pattern metacharacters?

23. What does the period match in a pattern?

24. What does /[12abc]/ match?

25. What is the pattern that is equivalent to \w?

26. What does /x{2,5}/ match?

27. What does /x+y*/ match?

28. What does /[^T]/ match?

29. What does /^T/ match?

30. What does the i modifier for patterns do?

31. What exactly does a constructor do in JavaScript?

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download

To fulfill the demand for quickly locating and searching documents.

It is intelligent file search solution for home and business.

Literature Lottery

Related searches