K-INFO
HU
EN
Login

Foundation of Computer Science

A számítástudomány alapjai
A tantárgyleírás hatályossága
Hatályosság kezdete:
2026. March 21.
Hatályosság vége:
Subject name (Hungarian, English)
A számítástudomány alapjai
Foundation of Computer Science
Subject code BMEVISZAA05
Subject type
Training Level
Course types and hours (weekly/semester)
Course type lecture tutorial laboratory
hours (weekly) 2 2 0
type (linked/independent) derived course
Assessment type vizsga
Credits 5
Subject coordinator
DR. Katona Gyula
position: egyetemi tanár
Responsible department
Számítástudományi és Információelméleti Tanszék
Faculty Villamosmérnöki és Informatikai Kar
Subject website http://www.cs.bme.hu/sza
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

Programme

Week 1: Basic concepts of combinatorics: permutations, variations, combinations, binomial coefficient, nimonial theorem

Week 2: Basic concepts of graph theory (vertex, edge, degree, isomorphism). Path, circuit, connectivity, trees.

Week 3: Shortest path, BFS, Dijkstra, Ford, Floyd algorithms, widest paths in directed and undirected graphs

Week 4: DFS, directed cycles, fundamental system of cycles and cuts, PERT

Week 5:  Euler- and Hamiltonian circuits, sufficient and necessary conditions for the existence. Dirac, Ore theorems,

Week 6: Graph coloring problems (vertex, edge and map coloring). Bipartite graphs. Flows, Ford-Fulkerson theorem, algorithm to find a maximal flow. Integral maximum flow lemma.

Week 7:  Multiple source flows, vertex capacities, undirected flows.

Week 8: Bipartite graphs, matchings, Hall's theorem, algorithm to find a maximal matching. Independent and covering vertex and edge sets, König's and Gallai's theorems. 

Week 9: Planar graphs, duality. Euler's Theorem, Kuratowski's theorem, four color theorem.

Week 10: Basic concepts of algorithms and complexity. Polynomially solvable and NP-complete problems, coNP.

Week 11: Karp-reduction, Cook-Levin theorem, famous NP-complete problems: SAT, HAM, 3-COLOR, k-COLOR, MAXSTABLE, MAXCLIQUE, HAMPATH.

Week 12:  Basic concepts in number theory: divisibility, primes,  fundamental theorem of number theory, number of divisors, distribution of primes

Week 13: Congruences, diophantine equations, Euler-Fermat theorem,

Week 14: Algorithms in number theory: prime tests, public key cryptography, RSA. 

The objective is to provide the students with the required theoretical background in combinatorics, algorithmics, elementary cryptography, and graph theory for further studies in electrical engineering. Obtained skills and expertise:  Theoretical knowledge and problem solving skills in the treated fields of mathematics.

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

2 hours lecture, 2 hours problem solving

Tanulástámogató anyagok

Online források
M. O. Albertson, J. P. Hutchinson: Discrete Mathematics with Algorithms, Wiley, 1988 

Recommended preliminary knowledge for completing the subject

Knowledge type competencies
(azon előzetes ismeretek összessége, amelyek megléte nem kötelező, de a tantárgy eredményes teljesítését nagyban elősegíti)
nincs
Skill type competencies
(azon előzetes képességek és készségek összessége, amelyek megléte nem kötelező, de a tantárgy eredményes teljesítését nagyban elősegíti)
nincs
Recommended (non-compulsory) preliminary competencies
(azon ajánlott (nem kötelező) előzetesen megszerzendő kompetenciák összessége, amelyek jelentősen hozzájárulnak a tantárgy eredményes teljesítéséhez)
nincs
General rules
Requirements: Signature: 2 midterms during the semester. Both must be at least 30% and at least 40% in average.  Final: Oral exam. Final grade: 40% midterms, 60% oral exam.  Additional possibilities: 2 occasions for retake the midterms, each time either one of the test can be retaken.
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

Not provided.

Workload to complete the subject

No workload breakdown provided.

Validity of subject requirements
Requirements valid from:
Requirements valid until:
Curriculum placement

No curriculum placements recorded for this subject version.