Mid-term-review - Arithmetic Operators: +, - , %, /...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Mid-Term Review Exam Format and point distribution (tentative) ± Time: 1 hour and 20 minutes. ± Short questions 50 points Concept, short programming, small problem ± Given a problem write the C++ code – 50 points ± Closed book exam. What to bring to the exam? ± Pencils, pens, and erasers ± Please bring calculator ± Be on time How to prepare? ± Read the book. ± Keep the class notes as guideline. ± Work on relevant exercises at the end of the chapters. ± Write the code, execute and check the correctness on Visual C++ environment. ± Stop by my office or send email to me for any questions you may have.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Topics for the Test ± Chapters 1-6, and numerical algorithms ± All the concepts, algorithms covered in slides and books. ± General concepts about computer systems, number system ± Problem solving steps and Simple C++ programs Data types: char, int, double, Boolean, string
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Arithmetic Operators: +, - , %, / Relational operators: > >= <= != == Boolean operators: && || Simple input/output Preprocessor commands Pseudo code/algorithm writing Topics-contd Control Structures if statement if. .else statement switch statement Repetition statement: while, for, do. .while, break, continue Relational operators. . Logical operators Objected Oriented Programming Class, object, inheritance File streams; cin, cout, ifstream, ofstream Functions Random number generation Parameter passing - pass by value, passing by reference Scope: local, global Storage class: automatic, external, static, register Arrays Sorting algorithms: selection sort Search: sequential, binary String...
View Full Document

Page1 / 3

Mid-term-review - Arithmetic Operators: +, - , %, /...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online