Course detail
Object-Oriented Programming
FEKT-BPC-OOPAcad. year: 2024/2025
Basic features of the .NET platform, introduction of development environment MS Visual Studio. Basics of the C# language - basic types, classes, operators, conversions, cycles, decision-making, value and reference types, enumerated types, numeric data types, strings and characters, string operations, fields and collections, namespaces. Object-oriented programming in C # - pillars of OOP, encapsulation, inheritance, polymorphism, type casting, the lifetime of the object, exception handling, delegates, events, generics, reflection, anonymous classes, types var and dynamic, lambda expressions, integrated querying language - LINQ. .NET Libraries – collections library, namespace for working with files - System.IO, namespace for the user interface - System.Windows.Forms. Web applications and web services - design principles of web applications and web services, System.Net library, simple client-server communication via sockets.
Language of instruction
Number of ECTS credits
Mode of study
Guarantor
Department
Entry knowledge
Rules for evaluation and completion of the course
up to 10 points per mid-semester test
up to 20 points per semester project
up to 50 points per exam
Computer exercises are obligatory, justified computer exercises can be made up after prior arrangement with the instructor.
Aims
Students will be able to:
- control the development environment Microsoft Visual Studio,
- create a program in C#,
- debug programs in C# and look for errors,
- explain the pillars of object-oriented programming,
- design the object structure of a program,
- design graphical user interface,
- propose a relational model of the database applications,
- create a web service and web application.
Study aids
Prerequisites and corequisites
Basic literature
BORY, Pavel. C# bez předchozích znalostí. Brno: Computer Press, 2016. ISBN 978-80-251-4686-6. (CS)
LAURENČÍK, Marek. SQL: podrobný průvodce uživatele. Praha: Grada Publishing, 2018. Průvodce. ISBN 978-80-271-0774-2. (CS)
MACDONALD M., SZPUSZTA M. ASP.NET 3.5 a C# 2008, Zoner Press 2008, 1584 s., ISBN 978-80-7413-008-3 (CS)
MAREŠ, A., 1001 tipů a triků pro C# 2010, Computer Press, 2011, ISBN 9788025132500 (CS)
PECINOVSKÝ, R. OOP - Naučte se myslet a programovat objektově, Computer Press 2010, 576 s., ISBN 978-80-251-2126-9 (CS)
PIALORSI, P., RUSSO, M. Microsoft LINQ - Kompletní průvodce programátora, Computer Press 2009, 616 s., ISBN 978-80-251-2735-3 (CS)
SHARP J. Microsoft Visual C# 2008, Computer Press 2008, 592 s., ISBN 978-80-251-2027-9 (CS)
VIRIUS, M., C# 2010 Hotová řešení, Computer Press, 2012, 424 s., ISBN 978-80-251-3730-7 (CS)
Recommended reading
Classification of course in study plans
- Programme BPC-AMT Bachelor's 0 year of study, summer semester, elective
- Programme BPC-AUD Bachelor's
specialization AUDB-TECH , 2 year of study, summer semester, compulsory-optional
specialization AUDB-ZVUK , 2 year of study, summer semester, compulsory-optional - Programme BPC-ECT Bachelor's 0 year of study, summer semester, elective
- Programme BPC-IBE Bachelor's 3 year of study, summer semester, compulsory-optional
- Programme BPC-MET Bachelor's 0 year of study, summer semester, elective
- Programme BPC-SEE Bachelor's 0 year of study, summer semester, elective
- Programme BPC-TLI Bachelor's 2 year of study, summer semester, compulsory-optional
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
2. Class, instance, class members (data members, events, methods, properties), constructors, modifiers.
3. Cycles, conditions, enumerated types.
4. Strings, arrays, namespaces.
5. Pillars of object-oriented programming in C # (encapsulation, inheritance, polymorphism).
6. Virtual methods, abstract classes, hiding of members, casting, exceptions handling.
7. Interfaces, delegates, events, generics, reflection, lambda expressions, LINQ.
8. Collections, working with files.
9. Graphical user interface - Forms, WPF.
10. Fundamentals of Database Systems, SQL language.
11. MS SQL data access, LINQ to SQL technology.
12. Web services, ASP. NET applications.
13. Recapitulation, analysis of the written part of examination.
Exercise in computer lab
Teacher / Lecturer
Syllabus
2. Development environment Microsoft Visual Studio 2022. Console application: Types, operators, conversion.
3. Console application: Class, instance, class members, constructors, modifiers.
4. Console application: Cycles, conditions, enumerated types.
5. Console application: Strings.
6. Console application: Pillars of object-oriented programming in C # (encapsulation, inheritance).
7. Console application: Virtual methods, abstract classes, hiding of members.
8. Console application: Interfaces, delegates, events, generics.
9. Console application: Collections, working with files.
10. WPF application. User interface.
11. Fundamentals of Database Systems, SQL language.
12. Console application: MS SQL data access, LINQ to SQL technology.
13. Self-contained projects presentation.