ECE 538 Assignment 1

The goal of this assignment is to (1) demonstrate proper submission of assignments in HTML format and (2) write some simple Java programs.

  1. Prepare an HTML document with the filename index.html.
    1. Use h1 for the main title (Assignment 1).
    2. Use h2 for your name.
    3. Write a paragraph (or more) listing your major, your goals for this course (What you you want to accomplish?), and your prior programming experience and HTML experience.
    4. Write another paragraph or more demonstrating the use of italics, bold, and code formats and the use of Greek letters and mathematical symbols.
    5. Finally demonstrate the use of the ordered list (ol).

  2. Install Java on your notebook computers.

    You can download Java SE 8 from oracle.com

  3. Write a Java program similar to Hello.java that demonstrates println and printf functions. Demonstrate the use of formats in printf and the use of string concatenation in Java. Your program should use multiple features of these functions and be unique.

  4. Write an html file to document the code and output above. Place this file in a separate directory and put a hyperlink to this file in your index.html file.

  5. Write a program using console dialog (see InputTest.java and Retirement.java) to read two or more resistance values and calculate the total resistance if the resistors are in series and if the resistors are in parallel.

  6. Modify the program to use command line arguments for the resistance values.


Maintained by John Loomis, last updated 12 May 2014