Package deal
COS1512
Exam (elaborations) COS1512 ASSIGNMENT 02_ 2 Exam (elaborations) COS1512 QUESTIONS AND ANSWERS 3 Exam (elaborations) COS1512_OCT2017_EXAM and answers 4 Exam (elaborations) COS1512_EXAM_PACK
[Show more]Exam (elaborations) COS1512 ASSIGNMENT 02_ 2 Exam (elaborations) COS1512 QUESTIONS AND ANSWERS 3 Exam (elaborations) COS1512_OCT2017_EXAM and answers 4 Exam (elaborations) COS1512_EXAM_PACK
[Show more]COS1512_EXAM_PACK 
JUNE 2017 P2 
Page 1 of 6 1 C STRINGS 
Error Correction 
If(str!=”STOP” If(strcmp(str,”STOP”); 
Str = “STOP” Strcpy(str,”STOP”); 
2 RECURSION 
Void CountDown(int num) 
{ 
If (num = 0) 
Cout << 0 << endl; 
Else 
{ 
 Cout << num << endl; 
Coun...
Preview 4 out of 55 pages
Add to cartCOS1512_EXAM_PACK 
JUNE 2017 P2 
Page 1 of 6 1 C STRINGS 
Error Correction 
If(str!=”STOP” If(strcmp(str,”STOP”); 
Str = “STOP” Strcpy(str,”STOP”); 
2 RECURSION 
Void CountDown(int num) 
{ 
If (num = 0) 
Cout << 0 << endl; 
Else 
{ 
 Cout << num << endl; 
Coun...
COS1512_OCT2017_EXAM and answers 
COS1512_OCT2017_EXAM and answers
Preview 2 out of 13 pages
Add to cartCOS1512_OCT2017_EXAM and answers 
COS1512_OCT2017_EXAM and answers
COS1512 QUESTIONS AND ANSWERS 
COS1512 QUESTIONS AND ANSWERS
Preview 4 out of 55 pages
Add to cartCOS1512 QUESTIONS AND ANSWERS 
COS1512 QUESTIONS AND ANSWERS
//Question 1 
#include<iostream> 
#include<iomanip> 
using namespace std; 
//Class definition - user interface 
class Module 
{ 
private: 
string moduleName; 
string moduleCode; 
string lecturer; 
int nrStudents; 
public: 
Module(); 
Module(string moduleNameP,string moduleCodeP,string le...
Preview 3 out of 20 pages
Add to cart//Question 1 
#include<iostream> 
#include<iomanip> 
using namespace std; 
//Class definition - user interface 
class Module 
{ 
private: 
string moduleName; 
string moduleCode; 
string lecturer; 
int nrStudents; 
public: 
Module(); 
Module(string moduleNameP,string moduleCodeP,string le...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Stuvia is a marketplace, so you are not buying this document from us, but from seller Tutor23. Stuvia facilitates payment to the seller.
No, you only buy this summary for R138,67. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
80364 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy summaries for 14 years now