Logo ČVUT
Loading...
CZECH TECHNICAL UNIVERSITY IN PRAGUE
STUDY PLANS
2011/2012

Programming 2

Login to KOS for course enrollment Display time-table
Code Completion Credits Range Language
A0B36PR2 Z,ZK 6 2+2c Czech
The course cannot be taken simultaneously with:
Programming in Java (A7B36PJV)
Grading of the course requires grading of the following courses:

Lecturer:
Ivan Jelínek (gar.)
Tutor:
Ivan Jelínek (gar.), Martin Balík, Martin Bloch, Zdeněk Buk, Lenka Hapalová, Jaroslav Kuchař, Radek Malinský, Martin Mudroch, Jan Šedivý
Supervisor:
Department of Computer Science and Engineering
Synopsis:

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.

Requirements:

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

Syllabus of lectures:

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

Syllabus of tutorials:

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

Study Objective:

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

Study materials:

[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

Note:
Time-table for winter semester 2011/2012:
Time-table is not available yet
Time-table for summer semester 2011/2012:
06:00–08:0008:00–10:0010:00–12:0012:00–14:0014:00–16:0016:00–18:0018:00–20:0020:00–22:0022:00–24:00
Mon
Tue
roomT2:H1-130

16:15–17:45
(lecture parallel2
parallel nr.201)

Dejvice haly
AlgDejvice - Veřejná
roomT2:H1-130

18:00–19:30
(lecture parallel2
parallel nr.202)

Dejvice haly
AlgDejvice - Veřejná
Fri
roomT2:E1-8
Buk Z.
11:00–12:30
(lecture parallel2
parallel nr.211)

Dejvice haly
Počítačová učebna
roomT2:E1-8
Buk Z.
12:45–14:15
(lecture parallel2
parallel nr.212)

Dejvice haly
Počítačová učebna
roomT2:E1-8
Buk Z.
14:30–16:00
(lecture parallel2
parallel nr.213)

Dejvice haly
Počítačová učebna
room

16:15–17:45
(lecture parallel1
parallel nr.102)

room

18:00–19:30
(lecture parallel1
parallel nr.101)

roomT2:H1-131
Balík M.
14:30–16:00
(lecture parallel1
parallel nr.104)

Dejvice haly
AlgDejvice
room

16:15–17:45
(lecture parallel1
parallel nr.106)

room

18:00–19:30
(lecture parallel1
parallel nr.103)

roomT2:H1-130
Balík M.
16:15–17:45
(lecture parallel2
parallel nr.206)

Dejvice haly
AlgDejvice - Veřejná
roomT2:H1-130
Balík M.
18:00–19:30
(lecture parallel1
parallel nr.111)

Dejvice haly
AlgDejvice - Veřejná
Thu
roomT2:H1-130

07:30–09:00
(lecture parallel2
parallel nr.203)

Dejvice haly
AlgDejvice - Veřejná
roomT2:H1-130
Šedivý J.
09:15–10:45
(lecture parallel2
parallel nr.205)

Dejvice haly
AlgDejvice - Veřejná
roomT2:H1-130
Malinský R.
12:45–14:15
(lecture parallel1
parallel nr.108)

Dejvice haly
AlgDejvice - Veřejná
roomT2:H1-130
Malinský R.
14:30–16:00
(lecture parallel1
parallel nr.109)

Dejvice haly
AlgDejvice - Veřejná
roomT2:H1-130
Malinský R.
16:15–17:45
(lecture parallel1
parallel nr.110)

Dejvice haly
AlgDejvice - Veřejná
roomT2:D3-209
Jelínek I.
07:30–09:00
(lecture parallel1)
Dejvice
Posluchárna
roomT2:C3-132
Jelínek I.
16:15–17:45
(lecture parallel2)
Dejvice
Posluchárna
Fri
roomT2:H1-131
Mudroch M.
07:30–09:00
(lecture parallel1
parallel nr.105)

Dejvice haly
AlgDejvice
roomT2:H1-131
Mudroch M.
09:15–10:45
(lecture parallel1
parallel nr.107)

Dejvice haly
AlgDejvice
roomT2:H1-131
Mudroch M.
11:00–12:30
(lecture parallel1
parallel nr.112)

Dejvice haly
AlgDejvice
room

12:45–14:15
(lecture parallel2
parallel nr.207)

The course is a part of the following study plans:
Generated on 2012-7-9
For updated information see http://bilakniha.cvut.cz/en/predmet12580804.html