11 Replies - 5745 Views - Last Post: 11 November 2009 - 07:38 PM

#1 CodeBuster  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 20-October 09

How to study for C++ exam?

Post icon  Posted 27 October 2009 - 01:55 PM

Anyone know any good study strategies for a C++ exam? How do you (the reader) prepare for a test?
Is This A Good Question/Topic? 0
  • +

Replies To: How to study for C++ exam?

#2 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3101
  • View blog
  • Posts: 19,141
  • Joined: 14-September 07

Re: How to study for C++ exam?

Posted 27 October 2009 - 02:00 PM

How advanced of a class is it?

Generally (for any language test):

Know the syntax
Know common pitfalls
Know common items and their usages (iostream for example)
Pointers, Pointers, Pointers!

More advanced topics:

Polymorphism, Encapsulation, and Inheritance and how it applies in OOP
classes, structs, etc...
dynamic memory allocation and deallocation
Pointers, Pointers, Pointers!
Operator overloading
Copy constructors

Did I mention pointers?
Was This Post Helpful? 0
  • +
  • -

#3 CodeBuster  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 20-October 09

Re: How to study for C++ exam?

Posted 27 October 2009 - 02:02 PM

View PostKYA, on 27 Oct, 2009 - 01:00 PM, said:

How advanced of a class is it?

Generally (for any language test):

Know the syntax
Know common pitfalls
Know common items and their usages (iostream for example)
Pointers, Pointers, Pointers!

More advanced topics:

Polymorphism, Encapsulation, and Inheritance and how it applies in OOP
classes, structs, etc...
dynamic memory allocation and deallocation
Pointers, Pointers, Pointers!
Operator overloading
Copy constructors

Did I mention pointers?


It's the intro to C++ class, but it is very challenging.
Was This Post Helpful? 0
  • +
  • -

#4 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3101
  • View blog
  • Posts: 19,141
  • Joined: 14-September 07

Re: How to study for C++ exam?

Posted 27 October 2009 - 02:05 PM

Do you have a syllabus or schedule handy? What book are you using?
Was This Post Helpful? 0
  • +
  • -

#5 CodeBuster  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 20-October 09

Re: How to study for C++ exam?

Posted 27 October 2009 - 02:08 PM

View PostKYA, on 27 Oct, 2009 - 01:05 PM, said:

Do you have a syllabus or schedule handy? What book are you using?


The book is called "Problem Solving With C++ 7th Edition" by Walter Savitch.
Was This Post Helpful? 0
  • +
  • -

#6 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3101
  • View blog
  • Posts: 19,141
  • Joined: 14-September 07

Re: How to study for C++ exam?

Posted 27 October 2009 - 02:11 PM

I cannot stand that guy's books. He wrote a java one I had to use in an intro class a few years back. He went out of way to reinvent the wheel. We had to use his Canvas class and a bunch of other unnecessary crap.

But I digress.

Has the teacher given a hint or list of what's going to be on the exam? If not I still wouldn't mind seeing a syllabus. It'll provide insight onto possible test subjects.

This post has been edited by KYA: 27 October 2009 - 02:12 PM

Was This Post Helpful? 1
  • +
  • -

#7 CodeBuster  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 20-October 09

Re: How to study for C++ exam?

Posted 27 October 2009 - 02:14 PM

View PostKYA, on 27 Oct, 2009 - 01:11 PM, said:

I cannot stand that guy's books. He wrote a java one I had to use in an intro class a few years back. He went out of way to reinvent the wheel. We had to use his Canvas class and a bunch of other unnecessary crap.

But I digress.

Has the teacher given a hint or list of what's going to be on the exam? If not I still wouldn't mind seeing a syllabus. It'll provide insight onto possible test subjects.


Yeah, I hate that book, too! And yes, he told us what's on the test. I'll get the list up in a few minutes.
Was This Post Helpful? 0
  • +
  • -

#8 CodeBuster  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 20-October 09

Re: How to study for C++ exam?

Posted 27 October 2009 - 02:49 PM

OK, here's the list:

escape sequences
strings
math symbols
while loops
do loops
if statements
switch statements
breaks
increment/decrement

That's about it, the test will be true/false and multiple choice (to my advantage!)

I'll just thank you in advance!
Was This Post Helpful? 0
  • +
  • -

#9 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3101
  • View blog
  • Posts: 19,141
  • Joined: 14-September 07

Re: How to study for C++ exam?

Posted 27 October 2009 - 03:01 PM

The only escape sequences I ever really use are new line and tab: \n \t

C++ strings I imagine? Brush up on them here.

Not sure what you mean by math symbols.

All the loop structures are pretty simple/self explanatory. If you get 'em you get 'em.

breaks are used to exit a loop or other control structure

Increment/decrement is pretty self explanatory as well.
Was This Post Helpful? 0
  • +
  • -

#10 sparkart  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 113
  • View blog
  • Posts: 688
  • Joined: 16-February 09

Re: How to study for C++ exam?

Posted 28 October 2009 - 08:43 AM

Quote

Not sure what you mean by math symbols.

I am guessing: '/' '*' '+' '-' '%'
Was This Post Helpful? 0
  • +
  • -

#11 CodeBuster  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 19
  • Joined: 20-October 09

Re: How to study for C++ exam?

Posted 28 October 2009 - 12:29 PM

Thanks everyone, this really helped!
Was This Post Helpful? 0
  • +
  • -

#12 SpeedisaVirus  Icon User is offline

  • Baller
  • member icon

Reputation: 114
  • View blog
  • Posts: 855
  • Joined: 06-October 08

Re: How to study for C++ exam?

Posted 11 November 2009 - 07:38 PM

You may also want to understand some basic data structures...since this is a while after the post...how did you do?

Always wise to be informed on primitive data types, arrays, linked lists, and binary trees as well as everything that was already listed. These are things almost any intro class will at least gloss over enough to get a question or two on an exam.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1