UNIVERSITY COLLEGE OF THE FRASER VALLEY
COMP 150, Fall 1999 - Section MI1 (Mission)
Introduction to Programming with C++

Mid Term Review


[ COMP150 Main Page ]


1. Review Slides (PPT)
2. Review Document (MSWORD)

COMP 150 Midterm Review - Spring 99

Time: 3 hrs

Marks: 60 Marks

Weighting: 35% of final grade

Exam Format:

  • Three questions. You will be given three programming problems for which you must write a programming solution.
  • Hands on. The entire test is hands-on which means all questions will be completed on the computer.
  • Open book. It is open book so you may bring notes and your textbook as a reference but you may not copy other students' files during the exam. Your are required to complete and hand-in your own work. Plagiarism will result in zero.
  • Blank Floppy Disk. Bring a disk and clearly label your disk with your name when you hand in your exam materials. The disk should originally be blank and contain only the exam solutions (cpp files) and executables.
  • Back-up. Back-up your work frequently and ensure you are saving your files to your own floppy disk. You are responsible for ensuring your files are properly saved on your disk when you hand in your exam for marking.
  • Computer accounts. Students are required to have his or her own valid and working student username and password in order to gain access to a computer.
  • Attempt every question. Part marks are given for programs that are partially completed or are almost working.
  • There will be no printing, e-mail, chat lines, computer games or talking between students allowed during the exam.

Topics:

C++ datatypes and variables.

Tutorial 3

Arithmetic operators.

Tutorial 2,3

Assignment operators.

Tutorial 2,3

Standard program input and output.

Tutorial 2,3

Strings.

Tutorial 3, slides

Logical Operators and Precedence

Tutorial 3

Functions.

Tutorial 4

Selection (if) and Multiple Selection (switch).

Tutorial 5

Counted Loops (for, while & do while).

Tutorial 6

Boolean and Boolean Expressions.

Tutorial 6

Conditional Looping.

Tutorial 6

Constants.

Tutorial 3

Enumerated Types

Slides

For Review:

  • In your book – Q 1, 3, 4 (pg 192 – 195), Q4 (pg 261), Q 7, 14 (pg 291 – 293), Q 2, 5 (pg 316)
  • NO NEED TO PRINT, HAND IN, or OUTPUT TO FILE (for all above exercises)
  • Previous slides - attempt all examples (slides 1-6)
  • Review midterm summary - PPT Slides Review Week 7
  • Review supplemental example programs