CMP1041 Pseudo Coding And Flowcharting Assessment 2 Answer

pages Pages: 4word Words: 890

Question :

Subject Code and Name
CMP1041 - Foundation Programming
Assessment Number
Assessment Title
Pseudo Coding and Flowcharting
Assessment Type Length or Duration
Subject Learning 


Assessment Purpose

Software development companies have engineering employees with different levels of expertise, i.e. from junior engineers to senior engineers. Junior engineers may be given projects that are outside their ability to achieve, and thus receive help from more experienced engineers.

In this assessment you work as a senior engineer for a security software company that has a new client. A junior engineer was assigned to this client however has been struggling with the more complex parts of the software. Part of your role as a senior engineer at the security software company is to help the junior engineer in providing non-buggy software for the client.

Assessment Task / Item

For this assessment, you must submit a pdf file that contains your final solutions to the following four tasks.

Assessment Instructions

Read each of the following four (4) tasks and write your responses in the form of a report. The report will be submitted as one (1) pdf file.

Hi senior engineer! As a junior engineer I am struggling to finish the following four tasks. I’ve attempted each of them at least a little bit before getting stuck! I would greatly appreciate your help with these tasks!

Task 1

The client wants to add security tag readers to doors that allow employees to scan their security tag and if they have the security level appropriate to access the door, they can progress through the door. If they do not have the appropriate security level, security will be alerted with the employee’s name and the door will be locked down - not allowing anyone to enter until the door has been reset by security.

Doors are given a security level from 1 to 3, where 3 is the highest security level, and 1 is the lowest. Employees are also given a security level from 1 to 3. An employee with a security level of 1 can access all doors that also have a security level of 1. An employee with a security level of 2 can access all doors that have a security level of 1 or 2. An employee with a security level of 3 can access all doors that have a security level of 1 or 2 or 3.

I’ve finished a flowchart, but as a junior I am unsure if it has bugs! Can you please identify any syntax, logic, and runtime errors in the flowchart and do the following:

  1. Identify the flowchart node that has the error.
  2. Provide a flowchart node that fixes the error.
  3. Provide information about what the error was.

Task 2

The client wants to be able to upgrade an employee’s security level, so as the employee receives a promotion they can access new areas.

An employee may upgrade another employee’s security level only if the upgrader (the employee upgrading another employee) has a security level at least one security level above the upgradee (the employee being upgraded). That way an employee with a security level of 2 can upgrade an employee with a security level of 1 to a security level of 2, but is not able to upgrade an employee of security level 2 to a security level of

3. In the case where the employee does not have the correct security level to upgrade another employee, security should be alerted with the names of both of the employees.

As a junior engineer I was unsure how to achieve this, but I have started a flowchart. Could you please finish the flowchart, using appropriate tools that will create presentable flowcharts, so that I can implement this within a programming language.

Task 3

The client wants to be able to downgrade all employee’s security levels, if the employee has a specific role. Only an employee with a role of Security should be able to downgrade all employee’s security levels based on their role.

For example the client decides that all employees with a role of Scientist should no longer have access to security level 2 rooms and wants to be able to downgrade their security level from 2 to 1. An employee with the role of Security will then execute this program to downgrade all employees security level’s with the role of Scientist. An employee’s security level should never be below 1. If an employee tries to execute this program with a role that is not Security then security should be alerted with the employee’s name.

Again, I was unsure how to achieve this, but I have started a flowchart. Could you please finish the flowchart so that I can implement this within a programming language.

Task 4

As a junior engineer, I intend on implementing the above programs in an Object Oriented Language, such as C++. Can you please help me get started by providing the properties and methods for the Employee class, to be used in my class diagram, that has all the properties and methods required for the programs above, specifically methods that allow upgrading or downgrading an employee’s security level easily would be great!

Show More

Answer :

For solution, connect with our online professionals.