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]

Data Center Architect
The Computer Merchant, Ltd
US-MA-chelsea

Justtechjobs.com Post A Job | Post A Resume
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs


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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

Created: April 29, 2005

URL: