Computer Science (Informática)

Grado en Ingeniería Electrónica y Automática Industrial 


Last-minute announcements

This section will feature news, warnings, announcements, and, in general, all kinds of information which is not available at the beginning of the semester. It will be updated as the information becomes available. Students are strongly advised to check here often.


Juan Ignacio Pérez Sanz
Office DE-322
e-mail: nacho.perez(at)
Office hours: arrange by e-mail

Program (2022-2023)

1.  Introduction to Computers

Basic definitions. Functional structure. Von Neumann machine. Machine and assembly languages. Compilers. Programs Historical evolution.

2.  Representation of Information.

Representation of numbers. Binary codification. Integers: sign, 1-C, 2-C, biased representations. Reals: floating point, IEEE754. Alphanumeric information.

4.  The C Programming Language.

·                Introduction to the C programming language. Characteristics and elements. Sample program.

·                Data types.

·                Input and output.

·                Operators and expressions.

·                Control flow.

·                Functions.

·                Vectors and strings.

·                Pointers.

·                Structures. Unions. Bit-fields. Typedef.

·                File input and output.

·                Dynamic memory.

·                The C-language preprocessor.

Class hours

Lectures:    Tuesdays, 12-14h, in room EA1B
Lab:            Thursdays, 12-14h, in lab EL7
Organization (also, check the School's activity calendar for exam dates, etc)


The course follows the standard continuous evaluation procedure, with the following exams:
According to current regulations (students are advised to contact the Secretaría de Alumnos to this respect), students may apply for the non-standard ‘single exam’ evaluation procedure. Should this application be accepted, the grading will result from a single exam consisting of three parts, very similar in nature and percentages to those described above under the ‘continuous evaluation’ procedure: one quiz for units 1-2, one for unit 4, and one last part for the lab work.


Lecture slides

Unit 1       1 slide/page (pdf)        2 slides/page (pdf)
Unit 2       1 slide/page (pdf)        2 slides/page (pdf)
Unit 4
        Unit 4.1
        Unit 4.2
        Unit 4.3
        Unit 4.4
        Unit 4.5
        Unit 4.6
        Unit 4.7
        Unit 4.8
        Unit 4.9
        Unit 4.10
        Unit 4.11
        Unit 4.12


Assignment 1 (check also the Addendum to Assignment 1)
Assignment 2
Assignment 3
Assignment 4
Assignment 5

Additional Resources