#Sales Offer!| Get upto 25% Off:

1. (PP 1.10, p.82) (2 marks) Write a program that displays the word “HI” in large block letters. Make
each large letter out of the other character as shown below.
III III HHHHHHHHHHH
III III HHH
III III HHH
IIIIIIIIIIII HHH
IIIIIIIIIIII HHH
III III HHH
III III HHH
III III HHHHHHHHHHH
2. (PP 2.4 p.135) (3 marks) Write a program that prompts for and reads a course name, its credits and
reference book. Then print the following paragraph, inserting the appropriate data:
This semester, a new course on course_name has been added to the curriculum. It consists of
credits credits and the reference book for this course is reference_book.
3. (PP 4.5, p.228) (4 marks) Write a class called Phone that contains instance data that represents the
make, model, and year of the phone. Define the Phone constructor to initialise these values. Include
getter and setter methods for all instance data, and a toString method that returns a one-line
description of the phone. Add a method called isObsolete that returns a boolean indicating if the
phone is obsolete (if it is more than 10 years old). Create a driver class called PhoneCheck, whose
main method instantiates and updates several Phone objects. The main method should also contain
your code to illustrate the use of all the methods defined in Phone.

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!