Programming 1

Semestr: Winter

Range: 14KP+6KC


Credits: 6

Programme type:

Study form: Parttime

Course language: Czech


The aim of the course is to teach the students: basic interactions with user interface and to program development system, introduction to JAVA, basic control flow structures and data structures, functions, arrays, object-oriented programming concepts, streams and files. The students are able to construct and debug a simple program in Java.


Course syllabus:

1. Basic terms of information technology and computer technology, operating systems, software, compiler, interpreter, programming languages, syntax, semantics
2. Java conception, basic properties, course and trends, introduction in the language, program processing, byte code
3. Program structure in Java, program construction, program debugging, Java development kit, 4. Basic properties of imperative programming, algorithm development, variables, operators, simple data objects, assignment
5. Expressions, I/O- reading and writing, control flow structures, conditions, loops, iteration
6. Functions, procedures, parameters, parameter passing, static variables, local variables, block, memory management for functions and variables, heap, stack
7. Array, reference variable, array as a parameter, function of array type
8. Decomposition of problem into sub-problems, principle of recursion and iteration
9. Implementation of tables and sets by means of array, multidimensional array, collections, containers in Java
10. Principles of object-oriented programming, classes, class as a programming unit, class as an origin of data type, static and instance variable
11. Structure of the object, dynamic character of objects, constructors, constructor properties, instance of a class, overloading, authorized access
12. Classes, inheritance, hierarchy of classes, composition, abstract classes, polymorphism,
13. Files and streams, file as a sequence of bytes, introduction to exceptions, writing/reading of primitive types, primitive types and objects (strings), objects, serialization
14. Reserve

Seminar syllabus:

1.Introduction to computing system of the university
2.Introduction to program development system
3.Structure of the program in Java
4.Debugging of trivial tasks in program development system, running out of it
5.Program sequences, input, output, control flow structures
7.Arrays, assignment of a semester task
8.Non-simple problem solving, decomposition problem to sub-problems
9.Functions and procedures
10.Classes and objects I
11.Classes and objects II
12.Files and streams


[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