Need Help ?

Expert Answers

(Solved): Suppose you are to design the pages of a website for College...

Suppose you are to design the pages of a website for College of Medical and Health Science (CMHS) which comprises four departments viz: Medicine (MED), Physiology (PHY), Dentistry (DEN) and Public Health (PBH). The contents of the website will include: · welcome messages from the Provost, Dean, and all Heads of Departments on their respective pages · academic programs for undergraduate and Post graduate (both Masters and PhD.) (e.g., MBBS Medicine, BSc. Physiology, MPH Public Health, PhD Physiology, etc. · available courses in each department, courses (e.g., DEN405, PHY204, MED111, PBH441, etc.), · the profiles of academic staff in each department and any other information you may deem necessary.

i. With the aid of suitable sketches and brief explanations of the different stages, propose suitable organizational schemes and organizational structures for the contents of the website. (50 marks)

ii. From the organizational structure proposed in (i), propose a low-fidelity prototype for the home page of the website and other pages

(Solved): What is the difference between user flow and task flow If it...

What is the difference between user flow and task flow
If it is an example of a recruitment site and it has 3 people, the user, the company and all (the home page)
How are they drawn and are they combined into one drawing or separated in user flow
like site
https://www.bayt.com
If possible, please give an example of each

(Solved): C++ //WE HAVE TO // TODO - Add an object of CommissionEmpl...

C++

//WE HAVE TO

// TODO - Add an object of CommissionEmployee

// Run the print method of CommissionEmployee

 

 

// Fig. 11.9: fig11_09.cpp

// Testing class BasePlusCommissionEmployee.

#include <iostream>

#include <iomanip>

#include "BasePlusCommissionEmployee.h" // class definition

#include "BasePlusCommissionEmployee.cpp"

#include "CommissionEmployee.cpp"

 

using namespace std;

 

int main()

{

// instantiate BasePlusCommissionEmployee object

BasePlusCommissionEmployee

employee( "Bob", "Lewis", "333-33-3333", 5000, .04, 300 );

 

// set floating-point output formatting

cout << fixed << setprecision( 2 );

 

// get commission employee data

cout << "Employee information obtained by get functions: \n"

<< "\nFirst name is " << employee.getFirstName()

<< "\nLast name is " << employee.getLastName()

<< "\nSocial security number is "

<< employee.getSocialSecurityNumber()

<< "\nGross sales is " << employee.getGrossSales()

<< "\nCommission rate is " << employee.getCommissionRate()

<< "\nBase salary is " << employee.getBaseSalary() << endl;

 

employee.setBaseSalary( 1000 ); // set base salary

 

cout << "\nUpdated employee information output by print function: \n"<< endl;

employee.print(); // display the new employee information

 

// display the employee's earnings

cout << "\n\nEmployee's earnings: $" << employee.earnings() << endl;

 

d1;

d1.print();

return 0;

} // end main

 

// TODO - Add an object of CommissionEmployee

 

// Run the print method of CommissionEmployee

 

};

 

------------------------------------------------------------------

BasePlusCommissionEmployee.h

#ifndef BASEPLUS_H
#define BASEPLUS_H

#include // C++ standard string class
#include "CommissionEmployee.h" // CommissionEmployee class declaration

class BasePlusCommissionEmployee : public CommissionEmployee
{
public:
BasePlusCommissionEmployee( const std::string &, const std::string &,
const std::string &, double = 0.0, double = 0.0, double = 0.0 );

void setBaseSalary( double ); // set base salary
double getBaseSalary() const; // return base salary


double earnings() const; // calculate earnings
void print() const; // print BasePlusCommissionEmployee object
private:
double baseSalary; // base salary
}; // end class BasePlusCommissionEmployee

#endif

----------------------------------------------------------------

BasePlusCommissionEmployee.cpp

// Fig. 11.11: BasePlusCommissionEmployee.cpp
// Class BasePlusCommissionEmployee member-function definitions.
#include
#include
#include "BasePlusCommissionEmployee.h" // class definition
using namespace std;

// constructor
BasePlusCommissionEmployee::BasePlusCommissionEmployee(
const string &first, const string &last, const string &ssn,
double sales, double rate, double salary )
// explicitly call base-class constructor
: CommissionEmployee( first, last, ssn, sales, rate )
{
setBaseSalary( salary ); // validate and store base salary
} // end BasePlusCommissionEmployee constructor

// set base salary
void BasePlusCommissionEmployee::setBaseSalary( double salary )
{
if ( salary >= 0.0 )
baseSalary = salary;
else
throw invalid_argument( "Salary must be >= 0.0" );
} // end function setBaseSalary

// return base salary
double BasePlusCommissionEmployee::getBaseSalary() const
{
return baseSalary;
} // end function getBaseSalary

// calculate earnings
double BasePlusCommissionEmployee::earnings() const
{
// derived class cannot access the base class's private data
return baseSalary + ( commissionRate * grossSales );
} // end function earnings

// print BasePlusCommissionEmployee object
void BasePlusCommissionEmployee::print() const
{
// derived class cannot access the base class's private data
cout << "base-salaried commission employee: " << firstName << ' '
<< lastName << "\nsocial security number: " << socialSecurityNumber
<< "\ngross sales: " << grossSales
<< "\ncommission rate: " << commissionRate
<< "\nbase salary: " << baseSalary;
} // end function print

double earnings() const; // calculate earnings
void print() const; // print BasePlusCommissionEmployee object
private:
double baseSalary; // base salary
}; // end class BasePlusCommissionEmployee

#endif

---------------------------------------------------------------

ComissionEmployee.h

#ifndef COMMISSION_H
#define COMMISSION_H

#include // C++ standard string class

class CommissionEmployee
{
public:
CommissionEmployee( const std::string &, const std::string &,
const std::string &, double = 0.0, double = 0.0 );

void setFirstName( const std::string & ); // set first name
std::string getFirstName() const; // return first name

void setLastName( const std::string & ); // set last name
std::string getLastName() const; // return last name

void setSocialSecurityNumber( const std::string & ); // set SSN
std::string getSocialSecurityNumber() const; // return SSN

void setGrossSales( double ); // set gross sales amount
double getGrossSales() const; // return gross sales amount

void setCommissionRate( double ); // set commission rate (percentage)
double getCommissionRate() const; // return commission rate

double earnings() const; // calculate earnings
void print() const; // print CommissionEmployee object
protected:
std::string firstName;
std::string lastName;
std::string socialSecurityNumber;
double grossSales; // gross weekly sales

double commissionRate; // commission percentage
}; // end class CommissionEmployee

#endif

----------------------

(Solved): Suppose you are to design the pages of a website for College...

Suppose you are to design the pages of a website for College of Medical and Health Science (CMHS) which comprises four departments viz: Medicine (MED), Physiology (PHY), Dentistry (DEN) and Public Health (PBH). The contents of the website will include:

· welcome messages from the Provost, Dean, and all Heads of Departments on their respective pages

· academic programs for undergraduate and Post graduate (both Masters and PhD.) (e.g., MBBS Medicine, BSc. Physiology, MPH Public Health, PhD Physiology, etc.

· available courses in each department, courses (e.g., DEN405, PHY204, MED111, PBH441, etc.),

· the profiles of academic staff in each department and any other information you may deem necessary.

 

i. With the aid of suitable sketches and brief explanations of the different stages, propose suitable organizational schemes and organizational structures for the contents of the website. (50 marks)

ii. From the organizational structure proposed in (i), propose a low-fidelity prototype for the home page of the website and other pages

(Solved): Q8 Write a C++ program that asks the user to enter 7 integer...

Q8 Write a C++ program that asks the user to enter 7 integers. The program should find out the following and displays it on the screen: a) Maximum number entered.

b) Second maximum number entered.

c) The average of all 7 integers.

(Solved): C++ ; main.cpp is demonstrating inheritance as well as use o...

C++ ; main.cpp is demonstrating inheritance as well as use of constructor and destructor. This keeps giving me a link error please fix it and complete the program. main.cpp #include #include #include "BasePlusCommissionEmployee.h" // class definition using namespace std; int main() { // instantiate BasePlusCommissionEmployee object BasePlusCommissionEmployee employee( "Bob", "Lewis", "333-33-3333", 5000, .04, 300 ); // set floating-point output formatting cout << fixed << setprecision( 2 ); // get commission employee data cout << "Employee information obtained by get functions: \n" << "\nFirst name is " << employee.getFirstName() << "\nLast name is " << employee.getLastName() << "\nSocial security number is " << employee.getSocialSecurityNumber() << "\nGross sales is " << employee.getGrossSales() << "\nCommission rate is " << employee.getCommissionRate() << "\nBase salary is " << employee.getBaseSalary() << endl;*/ employee.setBaseSalary( 1000 ); // set base salary cout << "\nUpdated employee information output by print function: \n" << endl; employee.print(); // display the new employee information // display the employee's earnings cout << "\n\nEmployee's earnings: $" << employee.earnings() << endl; } // end main // TODO - Add an object of CommissionEmployee // Run the print method of CommissionEmployee ------------------------------------------------------------------ BasePlusCommissionEmployee.h #ifndef BASEPLUS_H #define BASEPLUS_H #include // C++ standard string class #include "CommissionEmployee.h" // CommissionEmployee class declaration class BasePlusCommissionEmployee : public CommissionEmployee { public: BasePlusCommissionEmployee( const std::string &, const std::string &, const std::string &, double = 0.0, double = 0.0, double = 0.0 ); void setBaseSalary( double ); // set base salary double getBaseSalary() const; // return base salary double earnings() const; // calculate earnings void print() const; // print BasePlusCommissionEmployee object private: double baseSalary; // base salary }; // end class BasePlusCommissionEmployee #endif ---------------------------------------------------------------- BasePlusCommissionEmployee.cpp // Fig. 11.11: BasePlusCommissionEmployee.cpp // Class BasePlusCommissionEmployee member-function definitions. #include #include #include "BasePlusCommissionEmployee.h" // class definition using namespace std; // constructor BasePlusCommissionEmployee::BasePlusCommissionEmployee( const string &first, const string &last, const string &ssn, double sales, double rate, double salary ) // explicitly call base-class constructor : CommissionEmployee( first, last, ssn, sales, rate ) { setBaseSalary( salary ); // validate and store base salary } // end BasePlusCommissionEmployee constructor // set base salary void BasePlusCommissionEmployee::setBaseSalary( double salary ) { if ( salary >= 0.0 ) baseSalary = salary; else throw invalid_argument( "Salary must be >= 0.0" ); } // end function setBaseSalary // return base salary double BasePlusCommissionEmployee::getBaseSalary() const { return baseSalary; } // end function getBaseSalary // calculate earnings double BasePlusCommissionEmployee::earnings() const { // derived class cannot access the base class's private data return baseSalary + ( commissionRate * grossSales ); } // end function earnings // print BasePlusCommissionEmployee object void BasePlusCommissionEmployee::print() const { // derived class cannot access the base class's private data cout << "base-salaried commission employee: " << firstName << ' ' << lastName << "\nsocial security number: " << socialSecurityNumber << "\ngross sales: " << grossSales << "\ncommission rate: " << commissionRate << "\nbase salary: " << baseSalary; } // end function print double earnings() const; // calculate earnings void print() const; // print BasePlusCommissionEmployee object private: double baseSalary; // base salary }; // end class BasePlusCommissionEmployee #endif --------------------------------------------------------------- ComissionEmployee.h #ifndef COMMISSION_H #define COMMISSION_H #include // C++ standard string class class CommissionEmployee { public: CommissionEmployee( const std::string &, const std::string &, const std::string &, double = 0.0, double = 0.0 ); void setFirstName( const std::string & ); // set first name std::string getFirstName() const; // return first name void setLastName( const std::string & ); // set last name std::string getLastName() const; // return last name void setSocialSecurityNumber( const std::string & ); // set SSN std::string getSocialSecurityNumber() const; // return SSN void setGrossSales( double ); // set gross sales amount double getGrossSales() const; // return gross sales amount void setCommissionRate( double ); // set commission rate (percentage) double getCommissionRate() const; // return commission rate double earnings() const; // calculate earnings void print() const; // print CommissionEmployee object protected: std::string firstName; std::string lastName; std::string socialSecurityNumber; double grossSales; // gross weekly sales double commissionRate; // commission percentage }; // end class CommissionEmployee #endif

(Solved): 4 examples of common information security policies ? please...

4 examples of common information security policies ?

 

please do not hand writing

(Solved): Hi. I have a class called Employee and there are constructor...

Hi. I have a class called Employee and there are constructors as arraylists that show the projects that the are currentProjects and doneProjects(it finished). Each employee must have at least 3 projects. Employees work in this company between 08.00 - 13.00 and 14.00 - 19.00, and 50 minutes per day are allocated for each project. If the employee is an intern, he gets $50 per session, if he is a senior, $100. Interns can only do simple level projects, while seniors can do projects at any level. What I need to do is to create an EmployeeHome class for the company using java gui swing and create a screen where employees in this class can choose new projects (if they are interns, they can only choose basic projects) and update the project history according to their selection. and I need to create appropriate time schedules for both types of employees, can you help me? JAVA