100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CE203 Assignment 1 Application Programming (2019) Questions

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
07-06-2021
Written in
2019/2020

This document is the application programming Assignment Questions only










Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
June 7, 2021
Number of pages
5
Written in
2019/2020
Type
Exam (elaborations)
Contains
Answers

Content preview

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
£4.97
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
filipasa99

Also available in package deal

Thumbnail
Package deal
Ce203 Java Programming Assignment (2019)
-
4 2021
£ 30.63 More info

Get to know the seller

Seller avatar
filipasa99 The University of Essex
View profile
Follow You need to be logged in order to follow users or courses
Sold
3
Member since
5 year
Number of followers
3
Documents
0
Last sold
3 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions