NETB125 Лабораторни упражнения по програмиране

Анотация:

This course is intended for beginners in computer programming and offers basic practical knowledge that covers the fundamentals of imperative and procedural programming. The programming language is chosen C++ because of its popularity and practicality. Also, this allows the course to serve as background for the course NETB171 Object-oriented design with C++.

The programming environment is Linux/Unix OS and GCC C++ compiler. The usage of any IDE is not encouraged in this course.

The course covers in details the fundamental data types, strings, program control flow, program structure, functions and variable scope, arrays and vectors.

прочети още
Мрежови технологии (на английски език)

Преподавател(и):

доц. Ласко Ласков  д-р

Описание на курса:

Компетенции:

Students successfully finished the course:

1) know:

• basic ideas of procedural programming;

• basic data types and operations in C++;

• basic string operations, array and vector manipulations.

2) are able to:

• write and compile simple programs in C++;

• use and write functions;

• use strings, vectors and arrays.


Предварителни изисквания:
• Intermediate computer literacy, secondary school mathematics.



Форми на провеждане:
Редовен

Учебни форми:
Лекция

Език, на който се води курса:
Английски

Теми, които се разглеждат в курса:

1. Your programming environment: introduction to Linux/Unix OS. Your first program.

2. C++ program structure. Input and output. Common errors. Algorithm implementation.

3. Numeric data types and arithmetic operations.

4. Strings.

5. Basic control flow: conditional statements.

6. Boolean variables and operators. Input validation.

7. Repeatedly execute statements: while, for and do loops.

8. Nested loops. Processing inputs. Random numbers and simulations.

9. Function definition, parameter passing by value, return value and procedures.

10. Variable scope and global variables. Passing value by reference. Recursive functions.

11. Arrays and vectors. Common array algorithms. Arrays and vectors in functions.

12. Two-dimensional arrays.

Литература по темите:

• Cay S. Horstmann, C++ for Everyone, 2nd Edition, John Wiley & Sons, 2011.

• Cay S. Horstmann, Timothy Budd, Big C++, John Wiley & Sons, 2008.

Средства за оценяване:

Assessment during the semester: 30% homework assignments and 70% exams of practice:

• three homework assignments, each brings max. 10 pt.

• two exams of practice, each brings max. 10 pt. and final exam of practice, 50 pt.