A tantárgyleírás hatályossága
| Subject name (Hungarian, English) |
A programozás alapjai 3
Programming 3
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Subject code | BMEVIIIAB00 | ||||||||||||
| Subject type | — | ||||||||||||
| Training Level | — | ||||||||||||
| Course types and hours (weekly/semester) |
|
||||||||||||
| Assessment type | félévközi érdemjegy | ||||||||||||
| Credits | 5 | ||||||||||||
| Subject coordinator |
DR. Goldschmidt Balázs
position: egyetemi docens
contact:
goldschmidt.balazs@vik.bme.hu
|
||||||||||||
| Responsible department |
Irányítástechnika és Informatika Tanszék
|
||||||||||||
| Faculty | Villamosmérnöki és Informatikai Kar | ||||||||||||
| Subject website | https://www.iit.bme.hu/~prog3/en | ||||||||||||
| Primary curriculum type | — | ||||||||||||
| Direct prerequisites – Strong prerequisite | none | ||||||||||||
| Direct prerequisites – Weak prerequisite | none | ||||||||||||
| Direct prerequisites – Parallel prerequisite | none | ||||||||||||
| Direct prerequisites – Milestone prerequisite | none | ||||||||||||
| Direct prerequisites – Exclusion | none |
Objectives
Lecture
1. Basics of Java. Introduction, types, operators, statements. Objects, classes, interfaces, packages. Exception handling, coding style.
2. Java I/O. System Class. I/O Basics. I/O filters. Special classes: pipe, file. Serialization.
3. Utilities.(Scanner, Random, BigInteger, BigDecimal, text processing).
4. Java generics, generics and inheritance. Comparison to C++ generic solutions. Heterogeneous collections, casting, template.
5. Java collections. Collection framework: Collection, Iterator, List, ListIterator, Set, SortedSet, Map, SortedMap. Handling of collections (java.util.Collections).
6. UML and Java. Associations, aggregations, their implementation and notation. C++ flashback (composition, destructor, deep and shallow copy, cloning, copy constructors).
7. Thread handling. Mutual exclusion, synchronization, signalling. Thread safe collections, special concurrent classes (java.util.concurrent)
8. Java GUI basics. Components and containers. Layouts. Event-handling. Low level graphics (java.awt.Graphics)
9. Swing components: menu, dialogs, etc. MVC in swing, JList, JTable, JTree.
10. Automatic and unit testingin Java, JUnit.
11. XML processing in Java: SAX, DOM, JDOM.
12. Logging, log4j, logging levels. Internationalization, localization.
13. Outlook: object-relational mapping in JPA, networking, RMI.
Laboratory
1. Basics of eclipse, intellisense, help, projects.
2. Hello world, command line compilation, eclipse and Java, package handling.
3. Java inheritance, exceptions: C++ heterogeneous collection test problem solved in Java
4. Java IO. Reading from files, handling the file system, printouts, serialiazation, command line arguments.
5. Java Util: collections, sorting, iterators.
6. Java-UML connection, UML modelling tools and code generation
7. Java thread handling: producer-consumer, synchronization.
8. Swing basics. Simple swing example: caesar coder.
9. Swing MVC: JTable task: sorting, display, special rendering.
10. Low level graphics: simple vector graphics.
11. JUnit task. Creating unit tests for a predefined Java source code.
12. XML tasks: processing, generation.
13. Home work presentation.
Learning outcomes
Ez a tantárgy a KKK rendeletben meghatározott, következő kompetenciák fejlesztését szolgálja:
Knowledge
No learning outcomes recorded.
Skills
No learning outcomes recorded.
Attitudes
No learning outcomes recorded.
Autonomy and responsibility
No learning outcomes recorded.
Oktatási módszertan
Tanulástámogató anyagok
Online források
Recommended preliminary knowledge for completing the subject
General rules
Assessment methods
In-term assessments
No detailed assessments provided.
Weight of in-term assessments
No weights provided.
Exam-period assessments
No detailed assessments provided.
Weight of exam elements
No weights provided.
Grade calculation
No grade thresholds provided.
Attendance requirements
No attendance requirements provided.
Rules for retake and resubmission
Not provided.
Short description
Not provided.
Detailed description
Not provided.
Recommended courses
Workload to complete the subject
No workload breakdown provided.
Validity of subject requirements
Curriculum placement
No curriculum placements recorded for this subject version.