COURSE PASSPORT

NETB101 Introduction to Programming
NETB121 Programming Language C++

Lecturers: Nikolay Kirov, Emil Kelevedzhiev
e-mail:
nkirov<at>nbu.bg, keleved<at>math.bas.bg

We will maintain a course homepage that will contain links to all course handouts and some supplementary materials. The URL for this course is
http://www.math.bas.bg/~nkirov/2008/NETB101/index.html
which you may want to save as a bookmark in your web browser. 

1. COMPETENCES:

In this course we will cover the fundamentals of the C++ programming language. As Cay Horstmann points out, ``It is impossible to teach all of C++ to beginning programmers in one semester. This book [and course] purposefully omits several useful but technically complex C++ topics...'' We'll be covering built-it types, flow control, functions, objects, classes, vectors, and pointers.

Students successfully finished this course will:

1) know
Number Data Types, Input and Output Operators, Assignment Operator, Strings Basic Control Flow, Operators, Functions and Procedures, Variable Scope and Global Variables, Stepwise Refinement, Testing and Debugging, Using Vectors and Arrays to Collect Data Items

2) be able to

  • Writing Simple Programs in C++
  • Constructing and Using Objects
  • Writing Functions
  • Using Vectors and Arrays

  • 2. MAIN TOPICS

    1) Introduction
    The Anatomy of a Computer, Translating Human-Readable Programs to Machine Code, Programming Languages Design and Evolution, Compiling a Simple Program, Errors, The Compilation Process, Algorithms

    2) Fundamental Data Types
    Number Types, Input and Output, Assignment, Constants, Arithmetic, Strings, Output Formatting

    3) Objects
    Constructing Objects, Using Objects, Real-Life Objects, Displaying Graphical Shapes, Graphics Structures, Choosing a Coordinate System, Getting Input from the Graphics Window

    4) Basic Control Flow
    The if Statement, The if/else Statement, Relational Operators, Input Validation, Simple Loops, Processing a Sequence of Inputs, Using Boolean Variables

    5) Functions
    Functions as Black Boxes, Writing Functions, Function Comments, Return Values, Parameters, Side Effects, Procedures, Reference Parameters, Variable Scope and Global Variables, Stepwise Refinement, From Pseudocode to Code, Walkthroughs, Preconditions

    6) Classes
    Discovering Classes, Interface, Encapsulation, Member Functions, Default Constructors, Constructors with Parameters, Accessing Data Fields, Comparing Member Functions with Nonmember Functions, Separate Compilation

    7) Advanced Control Flow
    Multiple Alternatives, Nested Branches, Boolean Operations, DeMorgan's Law, The for Loop, The do Loop, Nested Loops, Processing Text Input, Simulations

    8) Testing and Debugging
    Unit Tests, Selecting Test Cases, Test Case Evaluations, Assertions, Program Traces, The Debugger, Strategies, Debugger Limitations

    9) Vectors and Arrays
    Using Vectors to Collect Data Items, Vector Subscripts, Vector Parameters and Return Values, Removing and Inserting Elements, Parallel Vectors, Arrays, Array Parameters, Character Arrays, Two-Dimensional Arrays


    3. RECOMMENDED TEXTBOOKS

    A. Textbook
    Cay Horstmann, Computing Concepts with C++ Essentials, Third Edition, John Wiley & Sons, 2003.
    B. Similar textbooks in Bulgarian
    [1] Кай Хорстман, Принципи на програмирането със С++, ИК Софтех, София, 2000, 2003 [translation from second edition].
    [2] Николай Киров, Сборник от учебни материали по ВЪВЕДЕНИЕ В ПРОГРАМИРАНЕТО, Деметра, София, 2003.
    [3] Николай Киров, Сборник от учебни материали по ПРОГРАМИРАНЕ И СТРУКТУРИ ОТ ДАННИ, Деметра, София, 2004.


    4. TEACHING FORMS

    Each topic includes:
    - Theoretical lecture: NETB101
    - Workshop: NETB121

    5. FORM OF EVALUATION AND COMPETENCE ASSESSMENT

    NETB101

    Tests
    Homeworks
    Practice
    Written exam
    Oral exam
    Curren Evaluation
    40%
    30%
    30%
    0%
    0%
    Term Exam
    40%
    0%
    20%
    20%
    20%
    NETB121


    Homeworks
    Practice
    Curren Evaluation

    30%
    70%

    Term Exam

    30%
    70%


    6. CURRENT CONTROL AND SCHEDULE  



    Points for NETB101
    Current 
    Evaluation
    Points for NETB121
    Current 
    Evaluation
    Week No.

    Points for NETB101
    Term Exam
    Points for NETB121
    Term Exam
    Test_1 NETB101 10 - 5

    - -
    Test_2 NETB101 10 - 10

    - -
    Final Test NETB101 20 - 15

    40 -
    Homework_1 NETB121 10 10 6

    - 10
    Homework_2 NETB121 10 10 11

    - 10
    Homework_3 NETB121 10 10 15
    - 10
    Exam of Practice_1 NETB121 10 10 6
    - -
    Exam of Practice_2 NETB121 10 10 11
    - -
    Final Exam of Practice NETB121 10 50 15
    20 70
    Written Exam NETB101
    - - -
    20 -
    Oral Exam NETB101 - - -
    20 -
    Extra Points* both max 5 max 5 -
     -  -
    Total:
    100 100 -
    100 100
    Points (or %) Grade
    90-100 Excellent 6
    76-89 Very good 5
    60-75 Good 4
    50-59 Satisfactory 3
    0-49 Poor 2

    7. ADDITIONAL EXPLANATION ON THE EXAMINATION MATERIALS AND EVALUATION CRITERIA

    Obliged attendance of the lessons – minimum 80% (24 hours per each subject = 48 hours from 60)  
    http://www.math.bas.bg/~nkirov/2008/NETB101/