Subject description - A0B36PR2

Summary of Study | Summary of Branches | All Subject Groups | All Subjects | List of Roles | Explanatory Notes               Instructions
A0B36PR2 Programming 2
Roles:P, V Extent of teaching:2P+2C
Department:13136 Language of teaching:CS
Guarantors:  Completion:Z,ZK
Lecturers:  Credits:6
Tutors:  Semester:L


The course moves along the understanding of programming skills from Programming 1, the aim is to design an interactive application with a graphic user interface (GUI), with knowledge of polymorphism abstract classes, interfaces, events handling, applets, user libraries, library practical application. Further students continue by the comparative way in getting acquainted in C language on the base of Java language, dynamic memory management, students are able to analyze the simple programs in C language.

Study targets:

Semester project focused on two tasks - form of interactive applications or applet with utilization of exceptions and events processing in Java and debugging a simple program in language C. Three phases of supervision: assignment of semester task and consultation, running consultation, closing demonstration and defense

Course outlines:

1. Revision and resume of programming basic in Java, arrays, functions, parameters, object-oriented programming,
classes structures, structure of Java program, abstract classes
2. Graphic user interface (GUI) in Java, communication types, AWT and SWING libraries, GUI principles,
components, containers, layout managers, events handling
3. Polymorphisms abstract classes, interfaces, interface as a variable type, interface and inheritance, interface
4. Event as an object, events handling, event source, listeners, the model of events spreading, events model
implementation, events processing
5. Event definition handling, more then one event sources and listeners, events source distinguishing
6. Exceptions, the principle of exceptions processing, complete exception handling
7. Exception throwing, exception propagation, exception generating, exception hierarchy, checked and unchecked
8. Applets, properties, applications, activation of the applet, the life cycle of the applet, parameters passing
to applet, applet restrictions
9. Libraries, class library, documentation use, utilization of collections, containers, lists, sets, examples
10. Basic programming in C language, compilation, language description, the model of compilation, program
structure, structure of function, example of program
11. Comparative presentation of C language to Java language, macros, conditional translation, language syntax,
struct, union, enum types
12. Systematic programming v C, statement semantic, preprocessor, basic libraries, I/O, input, output
13. Pointers, memory management, function and pointers, pointers and arrays
14. Reserve

Exercises outline:

1. Introductory test, revision and resume of programming basic in Java and object-oriented programming
2. Graphic user interface (GUI) in Java layout design
3. Graphic user interface (GUI) in Java interaction, assignment of semester task
4. Polymorphisms, abstract classes, interfaces
5. Events handling
6. Events generation processing
7. Exceptions handling
8. Applets I 9. Applets II
10. Libraries, class library, documentation use,
11. Introduction to development system for C language, analysis of programs in C languages, a simple C
program debugging
12. A systematic programming in C language
13. Pointers, memory management, pointers and arrays
14. Reserve


[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


Programovaní 1,


Subject is included into these academic programs:

Program Branch Role Recommended semester
BPKYR1 Robotics P 2
BPKYR_BO Common courses P 2
BPKYR3 Systems and Control P 2
BPKYR2 Sensors and Instrumentation P 2
BPOI1 Computer Systems P 2
BPOI_BO Common courses P 2
BPOI3 Software Systems P 2
BPOI2 Computer and Information Science P 2
BPKME1 Communication Technology V 2
BPKME5 Komunikace a elektronika V 2
BPKME_BO Common courses V 2
BPKME4 Network and Information Technology V 2
BPKME3 Applied Electronics V 2
BPKME2 Multimedia Technology V 2
BPEEM1 Applied Electrical Engineering V 2
BPEEM_BO Common courses V 2
BPEEM2 Electrical Engineering and Management V 2
BMI(ECTS) Manager Informatics V 2
BWM(ECTS) Web and Multimedia V 2
BIS(ECTS) Intelligent Systems V 2
BSI(ECTS) Software Engineering V 2

Page updated 14.6.2021 19:52:31, semester: L/2021-2, L/2020-1, Z,L/2022-3, Z/2021-2, Send comments about the content to the Administrators of the Academic Programs Proposal and Realization: I. Halaška (K336), J. Novák (K336)