Programming

B241 - Winter 24/25
This course is not present in Moodle. You can visit its homepage by clicking the "Course page (outside Moodle)" button on the right (if available).

Programming - A0B36PRI

Credits 5
Semesters Both
Completion Assessment + Examination
Language of teaching Czech
Extent of teaching 2P+2C
Annotation
The course is an introduction into basics programming using using the Java language. Its core are data types, expressions, functions (exemplified by those at Java programming language), algorithms complexity evaluation, basics of programming techniques. In a comparative way the basic properties of language C are presented.
Study targets
Semester project focused on a complex task - type of a simple database with a possibility of text input, item modification and deleting, text output in language Java and a simple program in C language. Three phases of supervision: assignment of semester task and consultation, running consultation, closing demonstration and defense
Course outlines
1. Algorithms, programs and programming languages
2. Variables, expressions and assignments
3. Control structures
4. Procedures and functions, parameters
5. Top-down program design
6. Structured data types, arrays
7. Dynamic data structures
8. Abstract data types, queues, stacks
9. Searching and sorting algorithms, complexity of algorithms
10. Pointers, static and dynamic data structures, linked lists
11. Introduction in language C, basic statements, input/output
12. Function and parameters, arrays, structures
13. Pointers, administration of the memory, arrays and pointers
14. Reserve

Exercises outlines
1. Computer laboratory usage
2. Data representation
3. Variables, expressions, assignments, input and output
4. Branches
5. Loops
6. Procedures and functions
7. Arrays
8. Strings and another classes
9. Recursion
10. Objects
11. Pointers and linked lists
12. Simple programs in C
13. Simple programs in C, test
14. Reserve


Literature
[1] Zakhour, S: The Java Tutorial: A Short Course on the Basics, 4th Edition, Amazon, 2006

[2] Hawlitzek, F: Java 2, Addison-Wesley, 2000

[3] Eckel, B: Thinking in Java 2, Prentice Hall, 2000