Subject description - A0B36PR2

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

Web page:

https://moodle.fel.cvut.cz/local/kos/course_info.php?code=AE0B36PR2

Anotation:

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
type
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
exceptions
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

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

Requirements:

Programovaní 1, https://eduweb.fel.cvut.cz/courses/A0B36PR2/

Subject is included into these academic programs:

Program Branch Role Recommended semester


Page updated 28.3.2024 17:52:49, semester: Z/2023-4, Z/2024-5, L/2023-4, Send comments about the content to the Administrators of the Academic Programs Proposal and Realization: I. Halaška (K336), J. Novák (K336)