OHJ-1106 Programming I, periods I & II 2011


The deadline of the second homework assignment has been extended to 18th of December 2011 at 23:59:59.
The specification of the second homework assignment has been published!
The specification of the first homework assignment has been published!
Lecture rooms have been changed to S3 (Monday) and SE203 (Wednesday)

Teaching in English
tut.ot.prog1
Main
Grading
Exercises
Homework
Lectures
Material
POP feedback
Old exams

Printable version
Page map



Introduction

This course is a 4-credit-unit course, intended for beginners without a prior knowledge of programming. There are no prerequisite courses even though the course Computer literacy is recommended.
After completing this course, students can write small programs in an imperative programming language.

Finnish students can also participate in the course. The course is equivalent to the course Ohjelmointi 1. It is, however, held completely in English.

Objectives

  • Understanding the basic elements of computer software and their roles in a computer system
  • Understanding the basic concepts of imperative programming languages
  • Understanding the importance of documentation, readability and a good programming style
  • Understanding the concepts of variables and constants, data types, and control flow in a program.
  • Learning the basics of C++ i.e. constants and variables, conditional and iterative statements, functions, structures and some basic data structures

Organization

The course is a two-period course and it consists of 36 hours of lectures and 11 exercise classes. During the course, small programming exercises need to be turned in each week. The course also includes additional programming assignments which need to be turned in on time and accepted in order to pass the course

The course is held yearly during the periods one and two. It is NOT possible to take the course during the other periods or with other special arrangements.

Attendance

Attendance is not obligatory. Active participation (both in lectures and exercises) adds 5 points to your overall course score.

Syllabus

(subject to change)
Week Monday Lecture Wednesday Lecture Friday Exercises Work Due Reading
35:
29.08-04.09
- Get to Know
- Introduction
Introduction to programming No exercise session - Skansholm: 1
Savitch: 1
36:
05.09-11.09
Algorithms Programming basics:
- Programming languages
- The first program
- Editing and writing the code
- Compilation
Tutoring session
A Quick Unix Reference
- Skansholm: 1
Savitch: 1
37:
12.09-18.09
- Data Types
- Variables
- C++ reserved words
Basic input/output Tutoring session
A Quick Unix Reference
Instructions
- Skansholm:5
Savitch: 2
38:
19.09-25.09
Operating With Data Scope and Lifetime Questions
Solution
- Skansholm:5
Savitch:2
39:
26.09-02.10
Branching Looping Questions
Solution
- Skansholm: 2, 15
Savitch: 3
40:
03.10-09.10
Functions Functions (cont'd)
Questions
Solution
- Skansholm: 4
Savitch:4, 5
41:
10.10-16.10
Arrays Revision Questions
Solution
- Skansholm: 2.7
Savitch: 7
42:
17.10-23.10
Examination week Homework 1
43:
24.10-30.10
No lecture - Revision - Skansholm:
Savitch:
44:
31.10-06.11
Character Strings

Programming Style
- Questions
Solution
- Skansholm: 3.3
Savitch: 8.2
45:
07.11-13.11
Structures & Unions - Questions
Solution
- Skansholm: 15.3, 15.4
Savitch: 10.1
46:
14.11-20.11
Streams - Questions
Test program
Solution
- Skansholm: 11
Savitch: 6
47:
21.11-27.11
Programming Style - Questions
Solution
-
Skansholm:
Savitch:
48:
28.11-04.12
Sorting and searching - Questions
Solution
- Skansholm:
Savitch:
49:
05.12-11.12
vector - Questions
Solution
Homework 2
Skansholm:
Savitch:

Last Updated 15.12.2011 09:22 - imed.hammouda@tut.fi