1.) Write a program that displays the current date and time in the following format:
Today is Wednesday, March 3, 2010 - 3:31PM
Your program should use a combination of the split() and substring() methdos of the String class.
2.) Write a program that prompts a user for a String and then displays the String in reverese. Use the JOptionPane for all input and output.
Due by March 8, 2010 - 11:59pm
Programming Exercises 6.5 (Printing Distinct Numbers) and 6.11 (Computing Deviation).
Due by February 26, 2010 - 11:59pm
(40pts) Q1: Write an application that inputs a 8-digit integer containing only 0s and 1s (i.e., a binary integer) and prints its decimal equivalent. Use the JOptionPane for all input and output.
(40pts) Q2: A palindrome is a sequence of characters that reads the same backward as forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554, and 11611. Write an application that reads in a 5-digit integer and determines whether it's a palindrome. If the number is not five digits long, display an error message as your output. Use the console for all input and output.
Your programs should not use any repetition statements, or classes that we have not covered in class.
Due by January 20, 2010 - 4:20pm
Question 1.3 - Page 24
Question 2.2 - Page 63
(20pts) - Question 1.3
(20pts) - Question 2.2
Due by January 11, 2010 - 4:20pm
Throughout the quarter I may need to contact you regarding assignment updates, class meetings, and other important subject matter. To do so I will send out e-mails as well as post updates to our Class Website. To facilitate the e-mail contact you are required to submit a valid e-mail address to the Class Roster Website. This should be an e-mail address that you check regularly.
The Class Roster Website also allows you to specify whether you would like to be included in a distributed class roster. If so, you have the option of including your e-mail address and/or telephone number. Note that only the students who opt to include their information on the list will receive a copy of the course roster. Students who do not wish to include their information will not receive a copy. The copy will not be available for download via the Course Website. Instead, it will be distributed via e-mail. You are not required to participate in the class roster, but you are required to completely fill out the form. All fields are required unless otherwise specified.
If you have not already done so, you must register on the Computer Science Network Services (CSNS) Website. Every assignment, including a portion of your midterm and final will be submitted online using this system.
(1% of overall grade) - Class Roster
Due by January 4, 2010 - 11:59pm
CSNS All files must be submitted to CSNS prior to the due date/time.