latest Assignments new******

High Level of Programming Mid-sem Questions - submission (18-07-16)


Individual

Quiz

1. What are the differences between the function prototype and the function definition?

2. Do the names of parameters have to agree in the prototype, definition, and call to the function?

3. If a function doesn’t return a value, how do you declare the function?

Exercises

1. Write the prototype for a function named Perimeter( ), which returns an unsigned long int and takes two parameters, both unsigned short ints.

2. Write the definition of the function Perimeter( ) as described in Exercise 1. The two parameters represent the length and width of a rectangle. Have the function return the perimeter (twice the length plus twice the width).





GROUP WORK

Exercises
1. Write the code that declares a class called Employee with these data members: itsAge, itsYearsOfService, and itsSalary.

2. Rewrite the Employee class declaration to make the data members private, and provide public accessor methods to get and set each of the data members.

3. Write a program with the Employee class that makes two employees; sets their itsAge, itsYearsOfService, and itsSalary; and prints their values. You’ll need to add the code for the accessor methods as well.



4. Continuing from Exercise 3, write the code for a method of Employee that reports how many thousands of dollars the employee earns, rounded to the nearest 1,000.



5. Change the Employee class so that you can initialize itsAge, itsYearsOfService, and itsSalary when you create the employee.





Reference: Page 173 and 135 in learn C++ in 21 day slides.



Web Based Design - GROUP WORK
Design a simple website with Java and PHP in groups.

Data Communication submission GROUP WORK-submission (25-07-16)
Using your server on your virtual machine make sure all these configurations are working:

Virtualization
Active Directory
Domain
Services (>5)
Wireless and Cable Network
DHCP Designed IP Scheme


Information System
Read on ERP(Enterprise Resource planning), CRM (Customer Relationship Management) before coming to class.

Comments

Popular Posts