0% found this document useful (0 votes)
301 views7 pages

CIS016 2 Assignment One 2016 17

The document describes an assignment for a software engineering course to design an object-oriented program to control a two-floor elevator. Students must create a GUI to control the elevator, program the control logic, animate the elevator events, log operations to a database, and integrate all components in a C# project. A report is required explaining the design, code, and test results. The assignment aims to develop programming and problem-solving skills for real-world scenarios.

Uploaded by

ProiectulTau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
301 views7 pages

CIS016 2 Assignment One 2016 17

The document describes an assignment for a software engineering course to design an object-oriented program to control a two-floor elevator. Students must create a GUI to control the elevator, program the control logic, animate the elevator events, log operations to a database, and integrate all components in a C# project. A report is required explaining the design, code, and test results. The assignment aims to develop programming and problem-solving skills for real-world scenarios.

Uploaded by

ProiectulTau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

[CIS016-2 OBJECT-ORIENTED PROGRAMMING AND

SOFTWARE ENGINEERING] 1

ASSIGNMENT TOP SHEET


Faculty of Creative Arts, Technologies & Science
Department of Computing & Information Systems

Student Number:

Unit Code
CIS016-2 (Assignement 1)

Unit Name
Object-Oriented Programming and Software
Engineering

Deadline for Submission(s)


14:00PM 28th Nov 2016

Student's Surname

Student's Forename

Unit Coordinator: Dr. Renxi Qiu


Assignment Details:
Assignment 1: Control an Elevator - A C# Project
Instructions to Student:
Work presented in an assessment must be your own. Plagiarism is where a student copies work from
another source, published or unpublished (including the work of another student) and fails to
acknowledge the influence of anothers work or to attribute quotes to the author. Plagiarism is an
academic offence and the penalty can be serious. The Universitys policies relating to Plagiarism can be
found in the University regulations. To detect possible plagiarism we may submit your work to the
national plagiarism detection facility. This searches the Internet and an extensive database of reference
material including other students work to identify. Once your work has been submitted to the detection
service it will be stored electronically in a database and compared against work submitted from this and
other universities. It will therefore be necessary to take electronic copies of your materials for
transmission, storage and comparison purposes and for the operational back-up process. This material
will be stored in this manner indefinitely.
I have read the above information and I confirm that this work is my own and that it may be
processed and stored in the manner described.
Signature (Print Name): ........................................................... Date: ...................................
Extension deadline
Mitigation team agrees that the assignment may be submitted ____ days after the deadline and should
be marked without penalty.
Mitigation team confirmation...................................................................................................................
Please leave sufficient time to meet this deadline and do not leave the handing-in of assignments to the
last minute. You need to allow time for any system problems or other issues

[CIS016-2 OBJECT-ORIENTED PROGRAMMING AND


SOFTWARE ENGINEERING]

ASSIGNMENT ONE:
CONTROL AN ELEVATOR A C#
PROJECT
Aim

This assignment aims to develop students capabilities and skills of


solving real-world problems with C# programming language.
Task description:

A company intends to build a two-floor office building and equip it with an elevator.
Thecompany wants you to develop an object-oriented software control application so
the elevator can work smoothly.
The elevator consists of an elevator car whin which there is a control panel having
buttons and display-window, an elevator shift and request -button panels, one on each
floor.
The elevator cantains a door that opens upon the elevator's arrival at a floor and
closes upon the elevators departure from that floor. The door is closed during the trips
between floors to prevent the passengers from being injured by brushing against the
wall of the elevator shaft. The shaft connects to a "floor door" on each floor so people
cannot fall down the shift when the elevator is not at a floor.
When request-button on a floor is pressed, a built-in light of the button will be on, The
elevator will move towards the floor. The elevator door and floor door will open at the
same time. When a "floor button" of the control panel is pressed, a built-in light will be
on that causes the doors close at the same time. The elevator will then move to the
destination.
When the elevator reaches the destinating floor, it stops and open the doors. After a
while, it closes the doors.

The simple version of the elevator is illustrated below:

[CIS016-2 OBJECT-ORIENTED PROGRAMMING AND


SOFTWARE ENGINEERING] 3

Task 1: To create a GUI which contains


Two request buttons corresponding to the two floors,
respectively
One control panel with two buttons and a display window
Two display areas that display the status of the elevator,
i.e. which floor the elevator currently stays, one is of each
floor
A log button
Task 2: To create a control program that processes the events
published by the GUI. That is,
When any request button is pressed,
o the elevator moves to the corresponding floor
o then the display areas and the display window on the
control panel show the corresponding floor number at
the same time
When the floor number buttons on the control panel are
pressed,
o the elevator moves to the corresponding floor
o then the display areas and the display window on the
control panel show the corresponding floor number at
the same time
Task 3: To implement a program to animate the events described in
Task 2
Task 4: To create a log which record all operations and the
corresponding status of the elevator and the time information
in a MS Access database
Task 5: To show the log on GUI

[CIS016-2 OBJECT-ORIENTED PROGRAMMING AND


SOFTWARE ENGINEERING]

Task 6: To integrate the programs developed in Tasks 1 to 5


Task 7: To write a report which should have the following sections:
aim, task description, design, programs and comments, and
testing results.

[CIS016-2 OBJECT-ORIENTED PROGRAMMING AND


SOFTWARE ENGINEERING] 5
Submission:

What to submit Report and The Entire C# Project Code


Report:
Name your submission Your submission should be named with the
following format: studentIDAssignmentOneReport.doc
Where to submit To a Turnitin site in the Assessment menu of this
Units BREO site, called Assignment One Report
The Entire C# Project Code:
The entire C# project including all folders and files, and the DB
which should be saved in bin->debug folder, and saved as
.zip file
Name your submission Your submission should be named with the
following format: studentIDAssignmentOne.zip
Where to submit To a special folder in the Assessment menu of this
Units BREO site, called Assignment One C# Project Code
Here
Assignment 1 presentation
Your project has to be presented and demonstrated in class to the
lecturer directly. To avoid potential problems due to
environment configuration, you can use your own laptop to
run your code during the presentation.
Deadline for submission By 28 Nov 2016
Assignment 1 presentation - In the week started by 28th of Nov
2016 and during the lecture time
Important note:

This is practical based mini-project assignment. Both C# Project


Code and Report are required and will be marked. Discussion and
peer help are encouraged but copying peers work is regarded as
plagiarism.
The Marking Scheme is in the next page.

CIS016-2 Assignment One - Marking Scheme:


Tasks 1 to 6 (70%)
Task 7
0

Not submitted

25-34

Task 1

35-39

Task 1

40-43

Task 1

FAIL G

PAS
S

44-46
47-49
C

50-53
54-56

In
addition
to
task 1
complet
ed

57-59
B

60-63
64-66

In
addition
to
task 1 ,2
and 3
complet
ed

67-69

70-74
75-79

80100

In
addition
to
task 1-5
complet
ed

Major Syntax
errors, cannot be
compiled.
No major syntax
errors, but
incomplete GUI
Complete GUI for
Task 1
GUI and event
handlers in place
for all buttons
Task 1 full
functions with no
syntax error
Task 2 event
handlers are well
designed
Task 2 &3 event
handlers are well
designed
Task 2&3 work
properly
DB is designed
and
implemented
When the log
button is
pressed, log
information is
sent to and
stored in the DB
Log information
displayed on GUI
and the DB
function
specified above
Integrated
program

Integrated
program& the
status of the
elevator is
graphically
displayed
Well-structured
and neatly

(30%)

Not submitted

Incomplete report
Basic report with
program and
some testing
results

Code and testing


results are
explained to
certain extends

Code and testing


results are clearly
and thoroughly
explained

Well-structured
report and written
in formal English
language

written code

You might also like