spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / programming / javascript / diaries / 2 To page 1To page 2To page 3To page 4current page
[previous]

Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


The JavaScript Diaries: Part 2

That will wrap up our study for this installment. Practice writing variables and use the examples I have given you here. Remember to use your template and try them to make sure they work. Until then here are some questions. Until next time ...

Review Questions

Answers to these questions will be given in the next installment.

Multiple Choice
  1. A data type is:
    1. a letter
    2. a number
    3. both
  2. The four basic data types are:
    1. strings, numbers, BooBoos, and nulls
    2. strings, text, Booleans, and nulls
    3. strings, numbers, Booleans, and nulls
    4. strings, numbers, Booleans, and zeros
  3. To display a backslash, using an escape sequence, it would be written:
    1. /\
    2. //
    3. |backslash
    4. \\
  4. A variable is used to store:
    1. an escape sequence
    2. hidden script
    3. data
True or False
  1. Comment tags are used to hide script from new browsers.
  2. Variables cannot be used together with text strings.
  3. A string cannot have more than one set of quotes.
  4. HTML elements can be used inside of a string.
  5. A null data type returns a zero.
  6. Bob Dylan writes good music (I just wanted to make sure you were awake).
  7. A variable must be declared and initialized all on the same line.
  8. A variable name can begin with a number.

To Part 3 Continue on to "The JavaScript Diaries: Part 3"


home / programming / javascript / diaries / 2 To page 1To page 2To page 3To page 4current page
[previous]

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

Created: April 29, 2005

URL: