Arvutiteaduse instituut
  1. Kursused
  2. 2023/24 kevad
  3. Programmeerimine keeles C++ (MTAT.03.158)
EN
Logi sisse

Programmeerimine keeles C++ 2023/24 kevad

  • Home
  • Labs
    • Submission of solutions
    • Results
  • Examination times
  • Guides
  • References

The first opportunity is in the last week of the semester, in your normal classes (28./30.5.2024). The second slot is the week after (one slot for all groups, 4.6.2024 16.15 - 18.00) and the return two weeks later in case it's needed (18.6.2024 16.15 - 18.00), all in room 2005.

Exam review questions

The exam may ask questions of this level, as multiple choice or "fill in the blanks".

  • What is the difference between i++ and ++i?
  • What is the difference between public , private and protected class access rights?
  • How do the same access rights work if the class also has a superclass with some kind of access rights (how does public/protected/private inheritance change the access)?
  • Which parts does a doxygen comment of a function have?
  • What does the life cycle of an object look like (when is the constructor called , when is the destructor called , what happens in between?)
  • How do you get elements from an array ?
  • How do you get elements from an array of pointers?
  • What is the difference between a pointer and a reference and how do they work in the context of classes? How do they change access to attributes?
  • What does the delete command do, when to delete and when to delete[] .
  • Given "Student* x=new Student;", is x.method() or x->method() correct?
  • Given a short program, identify an error.
  • Add a line to a short program to achieve a certain task.
  • Arvutiteaduse instituut
  • Loodus- ja täppisteaduste valdkond
  • Tartu Ülikool
Tehniliste probleemide või küsimuste korral kirjuta:

Kursuse sisu ja korralduslike küsimustega pöörduge kursuse korraldajate poole.
Õppematerjalide varalised autoriõigused kuuluvad Tartu Ülikoolile. Õppematerjalide kasutamine on lubatud autoriõiguse seaduses ettenähtud teose vaba kasutamise eesmärkidel ja tingimustel. Õppematerjalide kasutamisel on kasutaja kohustatud viitama õppematerjalide autorile.
Õppematerjalide kasutamine muudel eesmärkidel on lubatud ainult Tartu Ülikooli eelneval kirjalikul nõusolekul.
Courses’i keskkonna kasutustingimused