is448exam1

Card Set Information

Author:
tttran1
ID:
138880
Filename:
is448exam1
Updated:
2012-03-01 07:03:53
Tags:
is448 exam1
Folders:

Description:
exam1 for is448
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user tttran1 on FreezingBlue Flashcards. What would you like to do?


  1. The style rule p { padding: 20px; border: 3px solid black; }creates
    a paragraph with padding of 20px and a solid black border of width 3px.
  2. It is not possible to set an image as a background in a XHTML page using CSS. T/F
    False
  3. Padding of an element, in the CSS Box model refers to the space between the border of the current element and the adjacent element. T/F
    FALSE
  4. CSS style rules can be written in separate files and the link to the external style sheet must appear in the head of the document. T/F
    TRUE
  5. The color property in CSS specifies the foreground color of an element. T/F
    TRUE
  6. In CSS, class selectors are used to allow different occurrences of the same tag to use different style specifications. T/F
    TRUE
  7. In the following style rule which term is the CSS 'property'?
    p { font-family: Arial, Helvetica; }
    font-family
  8. The span tag is useful when one wants to apply a style to less than a whole paragraph or line of text. T/F
    TRUE
  9. In CSS, floating elements are not removed from normal document flow. T/F
    FALSE
  10. Which of the following has higher precedence than document style sheets?
    Browser default styles
    Inline style
    Inline style
  11. Character positions start at index 0 in strings in Javascript. T/F
    TRUE
  12. The operator === disallows type conversion of either operand. T/F
    TRUE
  13. Variables in Javascript can be explicitly declared with the 'var' keyword and implicitly declared through the assignment operator. T/F
    TRUE
  14. When the Javascript code is embedded within the <body> tags of the HTML page, the script runs on page load. T/F
    TRUE
  15. Javascript can be included in the <head> element or the <body> element of the HTML page or in an external file. T/F
    TRUE
  16. A string in Javascript can be enclosed in double quotes or in single quotes. T/F
    TRUE
  17. The confirm method of the Window object in Javascript allows the creation of a message box with a message and an 'OK' button only. T/F
    FALSE
  18. A variable declared with var inside a function has global scope.
    FALSE
  19. The Javascript function search finds a given pattern in a string and if pattern is found, it returns the starting position of the pattern. T/F
    TRUE
  20. Repition in patterns can be shown by using curly braces enclosing a number or by using any of the following special characters ? or * or +. T/F
    TRUE

What would you like to do?

Home > Flashcards > Print Preview