Examples of JavaScript problems solved for PR11n

Menu:

(Pajak Homepages:)

Pajak.20m.com

Pajak.20fr.com


(Pajak here:)

Home Page

About Page

Links Page

Catalog of notes


(Sample programs:)

Calculators

JavaScript

Server scripting

Java Applets

Delphi (OO)

C++ (PP)

(OO) C++


(Web tutorials:)

Websitemaker


(My research:)

Computing

Search Engine


 

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: 30 June 2002.


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 2002): 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).



You are the th visitor at this page.

7host ASP Hosting