Logo

Computer Basics /computer Fundamentals

Code: 102765
Credits: 6
2026/2027
Degree programme Type Course
Computer Engineering FB 1

Contact lecturer

Name :
Vicenç Soler Ruíz
Email :
vicenc.soler@uab.cat

Teaching staff

Lluís Antoni Terés Terés
Jorge Sacristan Riquelme
Juan Escudero Garcia
Gabriel Ramirez Gonzalez
Francesc Serra Graells
Isaac Martinez Sabate
Raul Aragonés Ortíz

Teaching staff (external to UAB)

Marc Torres Padilla

Group languages

You can consult this information at the end of the document.

Prerequisites

There are no prerequisites.

Objectives

This subject is part of the first year of the degree.

The objective of the subject is for students to understand the role that digital systems play in the world of computing, to be able to design and implement digital systems of medium-low complexity using logic gates, hardware description languages ​​and reconfigurable devices. The subject is structured in four blocks:

  1. Representation of information in the computer
  2. Combinational digital circuits
  3. Sequential digital circuits
  4. Introduction to UP-UC architectures

All this leaves students in a position to be able to approach the design of more elaborate circuits and to understand that a computer is only a digital system of a certain complexity; which is what students will be able to design in the subsequent year based on this knowledge of digital circuits and systems.

Learning outcomes

  • KM08 (Recognise the different parts of computers, as well as their internal functioning.) Recognise the different parts of computers, as well as their internal functioning.
  • SM08 (Determine the basic architecture and functional units of a computer and its theoretical foundations of programming.) Determine the basic architecture and functional units of a computer and its theoretical foundations of programming.

Contents

1. Representation of information in the computer

  • Numeral systems: most common systems and base changes
  • Representation of text and numbers.
  • Representation of integers (M&S, C1 and C2) and real numbers (fixed and floating point)
  • Boolean algebra and basic binary arithmetic with integers

2. Combinational circuits (CC)

  • Signals and digital systems. Description of a digital system. Digital Electronic Systems (DES). From MOS transistors to AND, OR and INV logic gates. Synthesis of DES as a process of progressive refinement.
  • Definition of Combinational Circuit. Synthesis from tables to ROM and logic gates.
  • Boolean algebra. Truth tables. Combinational functions.
  • NAND, NOR, XOR, NXOR logic gates. 3-state buffers.
  • Cost/Benefit relationship: Response time versus hardware complexity.
  • Combinational modules: multiplexers, decoders...
  • Synthesis methods: Synthesis from truth tables or directly from algorithms.

3. Sequential circuits (CS)

  • Need for sequential circuits. Definition of a CS. States and synchronization. Synchronous sequential circuits. Clock, reset and set.
  • Basic sequential components: bistables, flip flops and latches.
  • Explicit description of CS: Behavior Graphs and State Transition Tables.
  • Synthesis of CS from graph-tables. Moore and Mealy machines. State coding.
  • Registers, counters, memories. Structures, types and most frequent uses.

4. Introduction to PU-CU architectures

  • Concept of Processing Unit (PU) and Control Unit (CU).
  • Processing Unit (PU): computing, storage and data routing resources under the control of the CPU.
  • Control Unit (CU): finite state machine to manage the PU.
  • Example of a simple PU-CU with a PU based on multiplexers and a CU based on a Moore machine.

Learning activities and methodology

Title Hours ECTS Learning outcomes
Laboratory practices 12 0.48
Case study 12 0.48
Exercise-based classes 30 1.2
Autonomous work 40 1.6
Videos viewing 12 0.48
Laboratory practice assignments 10 0.4
Preparing and solving exercises 16 0.64
  • The virtual platform for communication with students is the UAB Virtual Campus.
  • The subject is organized into four main blocks. The materials offered through the Virtual Campus include a series of videos that students must watch before attending class and that contain the theoretical-practical knowledge needed for the design of digital systems and practical exercises.
  • The subject is taught in "classroom problems" mode. All face-to-face classes are treated as problem-based sessions. The classes are dedicated to solving questions and doubts in the videos, and cases proposed by the teacher. Students must actively participate in these classes; these are not conventional "theory" classes. They take place in small groups (around 30-40 students), an indispensable condition to reach the necessary degree of interactivity in a subject of eminently practical character.
  • The course is completed with laboratory practices where the students implement the circuits (they have generaly been limited to be designed "on paper"). Each session accommodates 20-25 students working in groups of 2 and lasts 2 hours.
  • Tutoring sessions may be individual or in small groups and will be done on demand and in coordination between each teacher and the related students. There may also be open tutoring sessions for all interested students that may be proposed by the teaching staff; but these will require prior submission to the corresponding forum of the Virtual Campus (CV) those specific questions about concepts or exercises that must be addressed in order for the teachers to plan and carry out that tutoring properly.
  • Note: 15 minutes of a class will be reserved, within the calendar established by the center/degree, for students to complete the surveys to assess both the performance of the teaching staff and the subject.
Annotation: within the schedule set by the centre or degree programme, 15 minutes of one class will be reserved for students to evaluate their lecturers and their courses or modules through questionnaires.

Assessment

Continuous assessment activities

Title Weight Hours ECTS Learning outcomes
Two partial tests and/or final test 50% 8 0.32 KM08, SM08
Assessable practice activities 30% 2 0.08 SM08
Submission of exercises 20% 8 0.32 KM08, SM08

This course does not include single assessment.

a) Assessment activities

Student assessment includes the following activities:

  1. Two individual partial test carried out face-to-face, in a controlled environment, and in written format. These tests assess the student's acquired knowledge and his/her skills solving problems.
  2. Exercises resolution: a set of on-line exercises, with automatic grading process, must be delivered on previously scheduled dates. Individual activity.
  3. The viewing of videos before attending the class, necessary to be able to follow the face-to-face sessions. Individual activity.
  4. Activities in which students must demonstrate the skills acquired during the development of the practices. Team activity.

The mark of the course by continued assessment (CA) is obtained from:

  1. (activity 1) the mark obtained in the 2 partial test (PT1 and PT2),
  2. (activities 2 and 3) turn in exercises and video viewing (Pb),
  3. (activity 4) the mark of the grading activities of practices (LT)

following this formula: CA = PT · 0,5 + Pb · 0,2 + LT · 0,3

where: PT = (PT1+PT2)/2

To pass the course by continuous assessment (CA) the following conditions must be met:

  1. CA ≥ 5,
  2. PT1 and PT2 must be ≥ 4, and CA must be ≥ 5; and
  3. LT must be ≥ 5

b) Assessment activities: scheduling

Dates of the assessment tests and the submission of exercises are published in the Virtual Campus (VC) and may be subject to changes due to unforeseen eventualities. Any modification will be reported through this platform.

It is important to bear in mind that no assessment activitieswill bepermitted for any student at a different date or time to that established, unlessfor justified causes duly advised before the activity and with the lecturer’s previous consent.

c) Retake process

The evaluation activity 1 corresponding to the theory can be retaken in the final test.

  1. If the grade obtained in one of the PP1 or PP2 tests is < 4, this grade must be passed by taking a retake exam for the corresponding test. In order to apply the formula (which takes into account the partial tests, the exercises and the practice activities), the grade obtained in this retake exam must be ≥ 5
  2. If the grade obtained in both partial test is < 4, the student must take a new exam that will include the entire subject. The grade obtained will be the new PP grade, which must be ≥ 5 in order to apply the formula (which takes into account partial tests, exercises and practices).

Activities 2 and 3 (turning in exercises and video viewing) corresponding to 20% of the final grade cannot be retaken. Activity 4 cannnot be retaken either.

If after retaking these new tests PT < 5 or LT < 5, the final grade of the course will be the lowest value between CA and 4.5.

A student who has passed a partial exam or even passed through continuous assessment can take the retake exam. The final grade will be the one obtained in this retake, whether better or worse than the previous one.

d) Grades review

The review procedure will be informed once the grades have been published and it usually consists of establishing a deadline for students to request the revision and, depending on the requests received, the student will be informed about the specific date and deadline for the review. If the student does not follow the procedure established in the review or does not attend the review, this activity will not be reviewed later.

The review of any test may deal to an improvement and a worsening of the corresponding grade, depending on the revised interpretation of the test.

e)Special grades

  • A "non-assessable" grade cannot be assigned to students who have participated in any of the individual partial tests or practices.
  • In order to reach the qualification “with Honours”, the final grade must be ≥ 9.0. Since the number of students with this distinction cannot exceed 5% of the number of students enrolled in the course, this distinction will be awarded to whoever has the highest final grade.

f) Irregularities committed by the student, copy and plagiarism

Notwithstanding other disciplinary measures deemed appropriate, and in accordance with the current academic regulations, assessment activities will receive a zero grade whenever a student commits academic irregularities that may alter such assessment. Assessment activities graded using this procedure will not be re-assessable. If it is necessary to pass any of these assessment activities to pass the subject, the grading as zero for disciplinary measures will also entail a direct fail for the subject, with no opportunity to re-assess it in the same academic year.

Irregularities contemplated in this procedure include, among others:

  • the total or partial copying of a test, practical exercise, report, or any other evaluation activity;
  • allowing others to copy;
  • presenting group work that has not been done entirely by the members of the group;
  • unauthorized use of AI (eg Copilot, ChatGPT or equivalent) to solve exercises, practices and/or any other evaluable activity
  • presenting any materials prepared by a third party as one’s own work, even if these materials are translations or adaptations, including work that is not original or exclusively from the student;
  • having communication devices such as mobile phones, smart watches, etc., accessible during theoretical-practical in-class assessment tests (individual exams).
  • talk to peers during individual theoretical-practical assessment tests (exams);
  • copy or attempt to copy from other students during theoretical-practical assessment tests (exams); - use or attempt to use writings related to the subject during the performance of the theoretical-practical evaluation tests (exams), when these have not been explicitly allowed.

Restricted use of AI: For this subject, the use of Artificial Intelligence (AI) technologies is permitted exclusively in support tasks, such as bibliographic or information searches. The student must clearly identify which parts have been generated with this technology, specify the tools used and include a critical reflection on how these have influenced the process and the final result of the activity. The lack of transparency in the use of AI in this assessable activity will be considered a lack of academic honesty and may lead to a partial or total penalty in the grade of the activity, or greater sanctions in serious cases.

In future editions of this subject, students who have committed irregularities in a grading activity will not have any of the evaluation activities already carried out set as validated.

In short: copying, allowing copying or plagiarizing (or the attempt to) in any of the grading activities is equivalent to a FAIL, not compensable and with no validations of any of the parts of the subject in subsequent years.

g) Assessment of students who enrolled the subject in previous academic years but did not successfully passed the subject

In the evaluation process described, there will be no differentiated treatment for students who enrolled the subject in previous academic years and did not successfully passed the subject.

Bibliography

  • Teacher's documents posted on Virtual Campus.
  • Digital Design and Computer Architecture, RISC-V Edition. S. Harris, D. Harris. 1ª Edition 2021. Paperback ISBN 9780128200643; ebook ISBN 9780128200650
  • Digital Systems: From Logic Gates to Processors. Deschamps JP, Valderrama E, Terés L. Springer 2017. ISBN 978-3-319-41198-9. This is the basic book for online courses:
  • Coursera MOOC (español): https://www.coursera.org/learn/sistemas-digitales
  • Coursera MOOC (inglés): https://www.coursera.org/learn/digital-systems
  • Exercicis resolts de Disseny Digital. Joan Pons, Dani Bardés, Diego Mateo i Josep Altet. ISBN: 9798334549364. 1ª edició 2024.

Software

  • Quartus II Web Edition

Course groups and languages

The information provided is provisional until November 30. After this date, you will be able to consult the language of each group through this link. To access the information, you will need to enter the course CODE

Type of teaching Group Language Semester Shift
(PAUL) Classroom practices 411 Catalan first semester morning-mixed
(PLAB) Practical laboratories 411 Catalan first semester morning-mixed
(PAUL) Classroom practices 412 Catalan first semester morning-mixed
(PLAB) Practical laboratories 412 Catalan first semester morning-mixed
(PLAB) Practical laboratories 413 Catalan first semester morning-mixed
(PLAB) Practical laboratories 414 Catalan first semester morning-mixed
(PLAB) Practical laboratories 415 Catalan first semester afternoon
(PLAB) Practical laboratories 416 Catalan first semester afternoon
(PLAB) Practical laboratories 417 Catalan first semester morning-mixed
(PLAB) Practical laboratories 418 Catalan first semester morning-mixed
(PLAB) Practical laboratories 419 Catalan first semester morning-mixed
(PLAB) Practical laboratories 420 Catalan first semester morning-mixed
(PLAB) Practical laboratories 421 Catalan first semester afternoon
(PLAB) Practical laboratories 422 Catalan first semester morning-mixed
(PAUL) Classroom practices 431 Catalan first semester morning-mixed
(PAUL) Classroom practices 432 Catalan first semester morning-mixed
(PAUL) Classroom practices 451 Catalan first semester afternoon
(PAUL) Classroom practices 452 Catalan first semester afternoon