COS 1512

University of South Africa

Here are the best resources to pass COS 1512. Find COS 1512 study guides, notes, assignments, and much more.

All 3 results

Sort by

COS 1512 ASSIGNMENT 2
  • COS 1512 ASSIGNMENT 2

  • Exam (elaborations) • 7 pages • 2021
  • Question 1 Consider the following structure used to keep record of a meeting: struct Meeting { string speaker; string topic; string venue; string date; } Turn the meeting struct into a class. The class should have member variables for all the values in the corresponding struct. Make all member variables private. Include public member functions for each of the following:  a default constructor that sets the string data members to blank strings;  member functions to set each of ...
    (0)
  • $3.49
  • + learn more
COS 1512 ASSIGNMENT 1
  • COS 1512 ASSIGNMENT 1

  • Exam (elaborations) • 11 pages • 2021
  • Question 1 INPUT: #include <iostream> using namespace std; void calcCharges(int daysInHospital, double dayRate, double mediCharges, double serviceCharges) { double totalCharges; totalCharges = ((daysInHospital * dayRate) + mediCharges + serviceCharges); (ios::fixed); (ios::showpoint); sion(2); cout << "The Total Charges for hospital stay is: R" << totalCharges; } int main() { int daysInHospital; double dayRate, mediCharges, serviceCharges; char pa...
    (0)
  • $3.49
  • + learn more
Tutorial Letter 101/0/2021 Introduction to Programming II COS1512 Year module School of Computing
  • Tutorial Letter 101/0/2021 Introduction to Programming II COS1512 Year module School of Computing

  • Exam (elaborations) • 9 pages • 2021
  • This module introduces students to the design, implementation and evaluation of algorithmsbased, structured object-oriented computer programs, with the fundamentals of simple data structures, (including object-orientation). Students are equipped to think logically, creatively, and conceptually and to recognize the design rules, techniques, and components in order to compose and present a functional working program solution to a perceived computing problem of a client, for the applicatio...
    (0)
  • $6.39
  • + learn more