100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CE203 Assignment 1 Application Programming (2019) Questions £4.97   Add to cart

Exam (elaborations)

CE203 Assignment 1 Application Programming (2019) Questions

 27 views  0 purchase

This document is the application programming Assignment Questions only

Preview 2 out of 5  pages

  • June 7, 2021
  • 5
  • 2019/2020
  • Exam (elaborations)
  • Answers
All documents for this subject (4)
avatar-seller
filipasa99
CE203 ASSIGNMENT 1 2019

Credit:
20% of total module mark.

Module Learning Outcomes Examined:
1) Demonstrate knowledge of core Java application libraries. 3) Write Java
programs with interactive graphical user interfaces (GUIs). 5) Write Java programs
that make efficient use of the Java collections package.

Submission Deadline:
11.59.59am, Wednesday 13th November 2019.

Submission will be via the Faser online submission system.

You should refer to the Undergraduate Students’ Handbook for details of the
departmental policy regarding late submission and university regulations regarding
plagiarism; the work handed in must be entirely your own.
It is expected that marking of the assignment will be completed within 3/4 weeks
of the submission deadline.

Introduction
This assignment involves writing a Java application using Swing and AWT GUI
components and a Java collections data structure. They must be hand-coded by
you. If you use IntelliJ Idea or any other IDE you must not use the GUI Designer
or any similar tool. Additionally, you should not use any other external libraries
not part of the Java API. The files should contain brief comments.

WARNING AND ADVICE ABOUT POSSIBLE ACADEMIC OFFENCES
Your solutions should be your own unaided work. You can make use of any of the
programs from the CE203 lecture notes and the lab templates on Moodle. You may
use any features from the Java Standard Edition Application Programming
Interface (Jave SE API) including those not covered in CE203.
You must NOT use any third-party classes (e.g. classes that are not provided as
part of the Java SE download). If you use any other information sources, you must
clearly reference these. For more information, please see the University pages
on plagiarism and the Academic Offences Procedures.
DO NOT COPY PROGRAM CODE FOR THIS ASSIGNMENT FROM ANOTHER
STUDENT OR FROM THE INTERNET OR FROM ANY OTHER SOURCES. DO NOT
LET OTHER STUDENTS COPY YOUR WORK




Page 1 12/10/2019

, CE203 ASSIGNMENT 1 2019
Part 1
Write a frame-based application that allows the user to store a list of words. The
layout should be such that any buttons will be displayed at the top of the panel,
user input is provided in a text field at the bottom and any system output will be
displayed in the centre. The application should provide features and corresponding
buttons that allow the user to:

a) Add a word to the list (the word to be added is provided in a text field at the
bottom of the application).
b) Display all the words from the list that end with a specified letter (this method
should be case-insensitive, e.g. no matter whether the user input is 'A' or ‘a’, all
words ending with 'a' should be displayed)
c) Remove from the list all occurrences of a word entered in the text field.
d) Clear the list

The list may contain duplicate entries. Words may contain only letters, numbers,
and hyphens (-) and must begin with a letter.
For each action specified above an appropriate message should be displayed on the
centre panel confirming the action, e.g.

“Word ‘toast’ has been added to the list”.

An appropriate error message should be displayed if any failed action e.g.

“The string ‘12’ was not added to the list as it is not a valid word.”

The list should be implemented using an ArrayList


Part 2
A colour may be specified by its RGB value – the amount of red, green and blue it
contains. These amounts are integers between 0 and 255. For example, red is
represented by (255, 0, 0), blue by (0, 0, 255) and yellow (which is made up from
red and green) by (255, 255, 0). White is (255, 255, 255) and black is (0, 0, 0). The
Color class has a constructor with 3 arguments that allows a user to create a
Color object by providing the RGB values.

Extend the application you developed for Part 1 so that it allows the user to specify
RGB values in three additional text fields. These should be located next to the
existing text field already defined for entering words into the application.




Page 2 12/10/2019

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller filipasa99. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £4.97. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

57114 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£4.97
  • (0)
  Add to cart