Description: 

An introductory course providing the foundations of computer programming as an essential tool for technology and engineering. Students learn problem-solving, algorithm formalisation and implementation in the C language through examples, exercises and hands-on activities.

Type Subject
Primer - Obligatoria
Semester
First
Course
1
Credits
6.00

Titular Professors

Previous Knowledge: 

None

Objectives: 

Objectives formulated from the syllabus content and teaching methodology.

·         Understand basic computer operation and the program development process.

·         Analyse problems and represent algorithmic solutions using activity diagrams.

·         Write, compile, run and test structured C programs.

·         Apply control structures, procedures, functions and structured data types to problem-solving.

·         Develop sound software-testing, code-readability and documentation practices.

Contents: 

·         Topic 1. Introduction: problem-solving, formalisation, Linux environment, development tools and C program structure.

·         Topic 2. Basic algorithms: simple types, expressions, input/output, conditionals and loops (while, do-while and for).

·         Topic 3. Procedures and functions: modularity, local and global variables, parameter passing.

·         Topic 4. Structured data types: arrays, strings, records and user-defined types.

·         Topic 5. Introduction to pointers (listed in the syllabus).

Methodology: 

Student-centred active learning: students use their own laptops to write code throughout the course. Conceptual explanations are combined with practical classes, exercises, continuous assessment labs and an assessed individual project. The teaching plan includes Linux (Matagalls), VIM, FileZilla and CodeRunner.

Evaluation: 

The final grade comprises 50% Knowledge + 50% Project/Practice. Each component must be passed independently with a minimum grade of 5/10.

Knowledge = the higher of (a) the final examination grade and (b) 70% final examination + 30% continuous assessment (CA), provided that the examination grade is at least 4.

Project/Practice = 100% P1; the individual project must be passed independently.

Evaluation Criteria: 




Outcome


Observable criteria


Evidence


LO1


Understanding of programming concepts, tools, algorithms, syntax, control structures and data types.


Final exam; CA activities (where applicable).


LO2


Ability to design, implement and test C solutions, including correctness, code quality and documentation.


Individual project P1; CodeRunner tests; execution, software quality and report criteria.

Basic Bibliography: 

Kernighan, Brian W.; Ritchie, Dennis M. El lenguaje de programación C, Prentice-Hall Hispanoamericana, 1991.

Additional Material: 

·         Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L.; Stein, Clifford. Introduction to Algorithms. The MIT Press, 2009.

·         García-Bermejo, J. R. Programación Estructurada en C. Pearson/Prentice-Hall, 2008.

·         Hanly, Jerry R.; Koffman, Elliot B. Problem Solving and Program Design in C. Pearson Education, 2013.

·         Joyanes, L. Fundamentos de la programación. Algoritmos y Estructura de Datos. McGraw-Hill, 2008.

·         Kernighan, Brian W.; Ritchie, Dennis M. El lenguaje de programación C. Prentice-Hall Hispanoamericana, 1991.

·         Kruse, Robert Leroy; Tondon, Clovis L.; Leung, Bruce P. Data structures and program design in C. Prentice-Hall, 1997.

·         Weiss, Mark Allen. Estructuras de datos y algoritmos. Addison-Wesley Iberoamericana, 1995.