Subject description - AD0B36PR2

Summary of Study | Summary of Branches | All Subject Groups | All Subjects | List of Roles | Explanatory Notes               Instructions
AD0B36PR2 Programming 2 Extent of teaching:14+6c
Guarantors:  Roles:P,V Language of
Teachers:  Completion:Z,ZK
Responsible Department:13136 Credits:6 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


Programming 1,


Subject is included into these academic programs:

Program Branch Role Recommended semester
BKEEM1 Applied Electrical Engineering V 2
BKEEM_BO Common courses V 2
BKEEM2 Electrical Engineering and Management V 2
BKOI1 Computer Systems P 2
BKOI_BO Common courses P 2
BKOI3 Software Systems P 2
BKOI2 Computer and Information Science P 2
BKKYR1 Robotics P 2
BKKYR_BO Common courses P 2
BKKYR3 Systems and Control P 2
BKKYR2 Sensors and Instrumentation P 2
BKKME1 Communication Technology V 2
BKKME_BO Common courses V 2
BKKME4 Network and Information Technology V 2
BKKME3 Applied Electronics V 2
BKKME2 Multimedia Technology V 2
BIS(ECTS)-D Intelligent Systems V 2
BKSTMWM Web and Multimedia V 2
BKSTMSI Software Engineering V 2
BKSTMMI Manager Informatics V 2
BKSTMIS Intelligent Systems V 2
BKSTM_BO Common courses V 2
BSI(ECTS)-D Software Engineering V 2
BWM(ECTS)-D Web and Multimedia V 2
BMI(ECTS)-D Manager Informatics V 2

Page updated 20.6.2019 15:53:00, semester: Z,L/2020-1, L/2018-9, Z,L/2019-20, Send comments about the content to the Administrators of the Academic Programs Proposal and Realization: I. Halaška (K336), J. Novák (K336)