Examples of JavaScript problems solved for PR11n

Menu 1:

(This web site:) (Homepage:)
Index

(Pages on
this web site:)

Home Page

About Me

Links

Catalog of notes


(My lecture
notes on
this web site:)

JavaScript

PR515 (JavaScript
cs/ss scripting)

PR655 (JavaScript
cs/ss advanced)

CS/SS scripting

Java Applets

SE5120 (C)

PP (C++)

OO (C++)

PR611 (C++)

Delphi (OO)


(Program samples:)

2002 Search engines

1999-2003 Calculators


(My computer
research
on this web site:)

Computing

Search Engine


Menu 2:

(Other web sites about:)


(Seismograph:)

alarm.gq.nu

alert.1hwy.com

capsule.20m.com

magnocraft.20fr.com

totalizm.fanspace.com

jp.7h.com


(Magnocraft:)

magnocraft.20fr.com

capsule.20m.com

jp.7h.com

totalizm.fanspace.com

alarm.gq.nu

alert.1hwy.com


(Oscillatory Chamber:)

capsule.20m.com

magnocraft.20fr.com

jp.7h.com

totalizm.fanspace.com

alarm.gq.nu

alert.1hwy.com


(Totalizm:)

totalizm.fanspace.com

jp.7h.com

magnocraft.20fr.com

capsule.20m.com

alarm.gq.nu

alert.1hwy.com


(Computing:)

(Web sites with my lecturing notes - from 2004 till 2005:)

pajak.orcon.net.nz

pajak.ownsthis.com

free.7host03.com/Pajak


(Web sites with
my old lecturing notes - from 1999
till 2003:)

Pajak.20m.com

Pajak.20fr.com


(My web site on
web tutorials:)

Websitemaker.20m.com


(All-in-one
prototypes:)

totalizm.fanspace.com

jp.7h.com

magnocraft.20fr.com

capsule.20m.com

alarm.gq.nu

alert.1hwy.com

Pajak.20m.com

Pajak.20fr.com


 

Solutions for "JavaScript" problems - by Dr Jan Pajak


In order to run any of these solution simply click on the underlined part of the description of this problem!
- For further instructions see the end of this Web page.
- Click the button BACK (from the browser) to return to the previous Web page.
The last update of this Web page was on: 23 July 2005.


Solutions:

ArabicToRoman.htm: Conversion of Arabic numbers into Roman numbers (in JavaScript + HTML).


RomanToArabic.htm: Conversion of Roman numbers into Arabic numbers (in JavaScript + HTML).


Binary_to_decimal.htm: Conversion of binary numbers into decimal numbers with input validation (in JavaScript + HTML).


Prime.htm: Determining whether a given number is a prime number (in JavaScript + HTML).


DayNo.htm: DayNo.htm for finding the subsequent number of a given day in a given year (in JavaScript + HTML).


ISBN.htm: ISBN.htm for validation of ISBN numbers from books (in JavaScript + HTML).


change.htm: Change.htm for finding bills and coins to represent a given amount of change (in JavaScript + HTML).


Fuel.htm: Fuel.htm for converting fuel consumption in cars from miles per gallon into liters per 100 km (in JavaScript + HTML).


Fuel_back.htm: Fuel_back.htm for converting fuel consumption in cars from liters per 100 km into miles per gallon (in JavaScript + HTML).


Leap.htm: Leap.htm for determining whether a given year is a leap year (in JavaScript + HTML).



Problems:

Text of sample problems for JavaScript students (MS *.doc format).

Text of JavaScript Assignment 1 (MS *.doc format).


Instructions:

(1) In order to download JavaScript solutions to your computer click on it, then reveal the source code (means click on: view/source pull-down menu), finally save the source code of JavaScript to your own computer!
(2) To return to this Web page, click on the Back button on the tool palette of your browser.
(3) If you wish to see any other related Web pages, see the Favorite Links Page.
(4) Address for correspondence (May 2005): Dr Jan Pajak, P.O. Box 33250, Petone 6340, New Zealand.

Note that "self-paste" type exercises, which prepare students for solving these programming problems, are outlined in lecture notes (Topic T2 for JavaScript programming).

178