Main page | Study Branches/Specializations | Groups of Courses | All Courses | Roles                Instructions

A course is the basic teaching unit, it's design as a medium for a student to acquire comprehensive knowledge and skills indispensable in the given field. A course guarantor is responsible for the factual content of the course.
For each course, there is a department responsible for the course organisation. A person responsible for timetabling for a given department sets a time schedule of teaching and for each class, s/he assigns an instructor and/or an examiner.
Expected time consumption of the course is expressed by a course attribute extent of teaching. For example, extent = 2 +2 indicates two teaching hours of lectures and two teaching hours of seminar (lab) per week.
At the end of each semester, the course instructor has to evaluate the extent to which a student has acquired the expected knowledge and skills. The type of this evaluation is indicated by the attribute completion. So, a course can be completed by just an assessment ('pouze zápočet'), by a graded assessment ('klasifikovaný zápočet'), or by just an examination ('pouze zkouška') or by an assessment and examination ('zápočet a zkouška') .
The difficulty of a given course is evaluated by the amount of ECTS credits.
The course is in session (cf. teaching is going on) during a semester. Each course is offered either in the winter ('zimní') or summer ('letní') semester of an academic year. Exceptionally, a course might be offered in both semesters.
The subject matter of a course is described in various texts.

BIE-PJV Programming in Java Extent of teaching: 2P+2C
Instructor: Blizničenko J. Completion: Z,ZK
Department: 18102 Credits: 4 Semester: Z

Annotation:
The course Programming in Java will introduce students to the object oriented programming in Java programming language. Beside of basics of Java language the fundamental APIs will also be presented, especially data structures, files, GUI, networking, databases and concurrent APIs.

Lecture syllabus:
1. Introduction, history of Java language, editions and versions, operators and their precedence, first executable code.
2. Keywords, the first program, its execution, concepts of class, attributes, methods, inheritance and encapsulation.
3. Inheritance between classes, abstract classes and interfaces, attribute inheritance, shadowing, overriding, constructors.
4. Polymorphism, exceptions, their categories, creation, propagation in and handling.
5. Arrays, parameterized classes (genericity), collections, sorting, comparison, hashing.
6. Input and output: Finding information about the OS, about the file system, working with files, text and binary streams, serialization.
7. StreamAPI, lambda expressions, functional interfaces.
8. Threads: Multi-threaded applications, thread synchronization, their life cycle, priorities, interrupts, common problems.
9. Networking in Java: Basic concepts, differences between TCP and UDP, classes for network communication, client-server architecture.
10. GUI creation and JavaFX library: its basic parts and classes, working with FXML, responsive design, layout of elements, controls.
11. JavaFX events, animations, transitions and transformations.
12. Database: Relational DB basics, connecting to a DB using Java, classes for executing commands, processing data retrieved from queries, SQL data types vs. Java data types.
13. (if the semester has 13 weeks) News in Java 9 and later.

Seminar syllabus:
1. Introduction to the subject, comparison of Java vs C/C++, first executable code.
2. Key concepts, the first program, its execution, concepts of class, attribute, method, inheritance and encapsulation, immutability.
3. Inheritance between classes, abstract classes and interfaces, attribute inheritance, shading, overlays, constructors, arrays.
4. Basics of collections, an overview of their types, implementations and practical use, parameterized classes (genericity).
5. Advanced collections, map and its implementation, hashing.
6. Input and output: Working with files, text and binary streams, serialization.
7. StreamAPI, lambda expressions, functional interfaces.
8. Threads: Multi-threaded applications, thread synchronization, producer-consumer problem.
9. Networking in Java: Basic concepts, classes for network communication, practical use of TCP with client-server architecture.
10. GUI creation and JavaFX library: Working with FXML, layouting, controls, tools for working with JavaFX.
11. Working with JavaFX by programming.
12. Database: Basics of relational DB, connecting to DB using Java, classes for executing commands, processing data obtained by queries.
13. (if the semester has 13 weeks) Consultations

Literature:
Schildt Herbert: Java: A Beginner's Guide The Java Tutorials: https://docs.oracle.com/javase/tutorial/ Java Tutorial: https://www.tutorialspoint.com/java/

Requirements:
Basic programming skills in any imperative programming language (e.g. completed PA1 course). It is recommended to have finished or simultaneously attend PA2 course.

Information about the course and courseware are available at https://moodle-vyuka.cvut.cz/course/view.php?id=8521

The course is also part of the following Study plans:
Study Plan Study Branch/Specialization Role Recommended semester
BIE-PI.21 Computer Engineering 2021 V Není
BIE-PV.21 Computer Systems and Virtualization 2021 V Není
BIE-PS.21 Computer Networks and Internet 2021 V Není
BIE-TI.21 Computer Science 2021 V Není
BIE-SI.21 Software Engineering 2021 V Není
BIE-IB.21 Information Security 2021 (Bachelor in English) V Není
BIE-TI.2015_ORIGINAL Computer Science (Bachelor, in English) V Není
BIE-TI.2015 Computer Science (Bachelor, in English) V Není
BIE-WSI-SI.2015 Software Engineering (Bachelor, in English) V Není
BIE-BIT.2015 Computer Security and Information technology (Bachelor, in English) V Není


Page updated 25. 4. 2024, semester: Z,L/2023-4, Z/2019-20, Z/2024-5, L/2022-3, Z/2020-1, Z,L/2021-2, L/2020-1, Z/2022-3, L/2019-20, Send comments to the content presented here to Administrator of study plans Design and implementation: J. Novák, I. Halaška