PGG311T_PGM216D Faculty: ICTDept Computer Systems Formative assessment 2 Question

Published: 14 Apr, 2025
Category Assignment Subject Engineering
University Tshwane University of Technology Module Title PGG311T_PGM216D Faculty: ICTDept Computer Systems

Background

You have been appointed as an IT programmer to develop a system that can store and manage all employees, where the program must also be able to compute statistics and various requests.For Further understanding, there is a demo provided. 

Questions 1: Create a class named Employee

  • Have the following private data members :staff number, names, gender, age, salary.
  • Have a default constructor and initialize data members with your own values.
  • Have a method called set values which must set all data with values sent to them.
  • Have an access or method (getter) for each data member.

Question 2: Load from file into array of objects button click

Create an employee object array as a global object or under public access specifier. When this button is clicked, load data from the file(data.txt) using TStream Reader or TString list or List box and load it into the array of objects through a setter method. Thereafter disable this button and enableLoad from array of objects onto listbox.

PGG311T_PGM216D Faculty: ICTDept Computer Systems

Do You Need PGG311T_PGM216D Assignment of This Question

Order Non Plagiarized Assignment

Question 3:Load from array of objects into listbox button click

When this button is clicked, load the data from an array of objects into the listbox(data in the listbox is separated by tab). The format of data in the listbox is in the form of line number, staff no, names,gender, age, salary. Take note that line number in the listbox must be generated and the gender abbreviation must be in full name.

Status bars should be published with total employees, total salaries, total males/females, date and time (see format of the output at Figure 2 or demo).

Disabled Load from array of objects into listbox button, make sort by Agebutton and panel search button clickable.

PGG311T_PGM216D Faculty: ICTDept Computer Systems

Question 4: Sort by Age button click

When Sort by age button is clicked, the data in the list box must be sorted by age (in descending order). After sorting, make sure that line numbers (first column) are restored to the original order.Take a look at figure 3 or demo.

PGG311T_PGM216D Faculty: ICTDept Computer Systems

Get the Solution of PGG311T_PGM216D Assignment. Hire Experts to solve this assignment Before your Deadline

Order Non Plagiarized Assignment

Question 5: Search button click

When the search button is clicked, a search happens based on the staff number entered (spaces may be left by the user on the left or right of the staff number in edit box must not be an obstacle for search).

If the staff number is found indicate the line number found in the listbox on the lbl results(the font color also changes to blue), if not found also show a message on the same lbl results(the font color also changes to red).Make sure that the user enters something in the textbox, if not show error message See sample output on the screenshots below or demo.

PGG311T_PGM216D Faculty: ICTDept Computer Systems

PGG311T_PGM216D Faculty: ICTDept Computer Systems

Question 6: On click of a list box (lst Company Employees)

Note: In this question you are only allowed to retrieve data from array of objects as you cannot substitute from lst Company Employees to retrieve data. However, you are allowed to use itemIndex property of lst Company Employees in order to retrieve relevant data from array of objects.

When lst Company Employees is clicked, a form called farm info is called and updated with necessary data, based on the current line clicked in the list box. 

The data must be updated in that form(farm info) in the string grid (stg info) and list box (selt Same).

The string grid is updated with Initials and surname, born year (see format on the demo) and salary.Note the heading and content of the string grid. List box is updated with employees earning the same salary as the employee on the selected line.Take a look at Figure 7 or demo

Buy Answer of PGG311T_PGM216D Assignment & Raise Your Grades

Request To By Answer

If you are stressed about the PGG311T_PGM216D Faculty: ICTDept Computer Systems Assignment, then there is no need to worry now! Whether you need Programming Assignment Help or Computer Science Assignment Help, you will get expert guidance and help on report writing services, which will make your concepts strong. We also provide you free assignment solutions that will help you in understanding. And the best part? All the content is 100% original, written by PhD expert writers, and is well-researched so that you get the best quality. So don't delay now, boost your grades with our help!

Workingment Unique Features

Hire Assignment Helper Today!


Latest Free Samples for University Students

RBP020L063H Leadership and Change Management Assignment Sample

Category: Assignment

Subject: Management

University: University of Roehampton

Module Title: RBP020L063H Leadership and Change Management

View Free Samples

HRMM080 Ethical and Responsible Leadership AS2 Reflective Portfolio Sample

Category: Assignment

Subject: Management

University: University of Northampton

Module Title: HRMM080 Ethical and Responsible Leadership

View Free Samples

ACAD1346 The child’s live Experience Developing Confidence Learners Assignment Sample

Category: Assignment

Subject: Education

University: University of Greenwich (UOG)

Module Title: ACAD1346 The child’s live Experience Developing Confidence Learners

View Free Samples

NUR7011 Developing Healthcare Leaders Assignment Sample | BPP

Category: Assignment

Subject: Nursing

University: BPP University

Module Title: NUR7011 Developing Healthcare Leaders

View Free Samples

Project Management, Leadership and Skills: Planning & Control Portfolio Example

Category: Assignment

Subject: Management

University: University of Salford Manchester

Module Title: Project Management, Leadership and Skills: Planning & Control

View Free Samples
Online Assignment Help in UK