460-2057/02 – C# Programming I (C# I)
Gurantor department | Department of Computer Science | Credits | 4 |
Subject guarantor | doc. Ing. Petr Gajdoš, Ph.D. | Subject version guarantor | doc. Ing. Petr Gajdoš, Ph.D. |
Study level | undergraduate or graduate | Requirement | Choice-compulsory type A |
Year | 2 | Semester | winter |
| | Study language | English |
Year of introduction | 2019/2020 | Year of cancellation | |
Intended for the faculties | FEI | Intended for study types | Bachelor |
Subject aims expressed by acquired skills and competences
The aim of the subject is to familiarize students with C# language such that they can understand all basic constructions of the selected language and a run-time environment. The students will be able to create desktop applications in C#.
Knowledge and Skills:
- selected development environment with emphasis on Microsoft Visual Studio, program debugging
- understanding .NET Framework and .NET Core platforms
- Understanding Common Language Runtime (CLR), Ahead-of-Time (AoT) vs. Just-in-Time (JIT) compilation
- key elements of the language and language structures, grammar, memory management
- type system and difference between primitive and object types
- principles of object oriented programming (OOP) projected into C #
- iterators, execution control, exception system
- type conversions, generic types, collections
- events, lambda expressions
- working with files, LINQ
- console application creation
After completing the course, the student should be able to design and implement a problem-solving application with the knowledge of object-oriented programming using the latest features of C# language.
Teaching methods
Lectures
Tutorials
Summary
Students will deepen the knowledge of object-oriented programming with respect to the use of C# language, which belongs to the most used languages. The course builds on the "Introduction to Programming" and "Object-Oriented Programming" courses and requires that the students have already successfully passed these courses.
Compulsory literature:
Recommended literature:
Way of continuous check of knowledge in the course of semester
Continuous monitoring of study activities and assigned tasks during regular lessons.
E-learning
Other requirements
It is expected that students will actively solve the assigned tasks in programming lessons. Some tasks may require careful home preparation.
Prerequisities
Co-requisities
Subject has no co-requisities.
Subject syllabus:
Lecture notes will include at least the following topics:
1. Description of the .NET CORE architecture
2. Data types and program constructs of C# language
3. Basic input / output
4. Class definitions, inheritance, overloading methods
5. Program interface design - definition, utilization, implementation
6. Generic data types
7. Collections and their usage, iterators, LINQ
8. Simple lambda expressions, exception system
9. Strings and regular expressions
10. File system and advanced work with input / output
11. Delegates and events
12. Attributes and metadata
13. Threads and synchronization
Practical exercises on computer labs will correspond to lecture notes:
1. An example of code compilation, assembly
2. Exercise on data types and basic program constructs of C# language
3. Working with a standard input/output
4. Class definitions, inheritance, overloading methods
5. Program interface design - definition, utilization, implementation
6. Creating of a generic class and its usage
7. Collections and their usage, iterators, LINQ
8. Simple lambda expressions, exception system
9. String processing with the use of regular expressions
10. File system and advanced work with input/output, XML, JSON, etc.
11. Delegates and events
12. Attributes and metadata
13. Threads and synchronization
Conditions for subject completion
Occurrence in study plans
Occurrence in special blocks
Assessment of instruction
Předmět neobsahuje žádné hodnocení.