General information


Subject type: Basic

Coordinator: Vladimir Bellavista Parent

Trimester: First term

Credits: 6

Teaching staff: 

Catherine Juan Nadal
Enric Sesa Nogueras 
Montserrat Estañol Lamarca 

Academic year: 2025

Teaching course: 1

Languages ​​of instruction


  • Catalan

Competencies / Learning Outcomes


Basic skills
  • B2_That students know how to apply their knowledge to their job or vocation in a professional way and have the skills they demonstrate by developing and defending arguments and solving problems within their area of ​​study

Specific skills
  • EFB3_Ability to understand and master the basic concepts of discrete mathematics, logic, algorithms and computational complexity, and their application for solving engineering problems

  • EFB4_Basic knowledge of the use and programming of computers, operating systems, databases and computer programs with application in engineering

Transversal competences
  • T1_That students know a third language, which will be preferably English, with an adequate level of oral and written form, according to the needs of the graduates in each degree

Presentation of the subject


The subject of Fundamentals of Programming belongs to the subject of Programming and is the first in this area. The various topics covered in the course are designed to train students in learning the basics within the program. These concepts will be needed in the rest of the subjects within this same subject and also in later subjects within the degree.

 

The classroom (physical or virtual) is a safe space, free of sexist, racist, homophobic, transphobic and discriminatory attitudes, either towards students or towards teachers. We trust that together we can create a safe space where we can make mistakes and learn without having to suffer prejudice from others. 

Contents


1.- INTRODUCTION TO ALGORITHMICS AND THE PROGRAMMING

  • Algorithms and programs
  • Programming languages
  • Programming environment
  • Programming process
  • Anatomy of a simple program

2.- BASIC CONCEPTS OF IMPERATIVE PROGRAMMING

  • Variables and types
  • The assignment operator
  • Expressions and evaluation of expressions
  • Reading and writing
  • Forms of execution: sequential, conditional / alternative and iterative
  • Conditional Execution
  • Alternative Execution

3.- ITERATIVE STRUCTURES

  • Iterative execution
  • Basic iterative schemes: routes and searches

4.- PARAMETRIZATION

  • Procedures. Parameterization
  • Anatomy of a procedure
  • Functions. Types of functions

5.- THE TABLE TYPE

  • Structured tables and types
  • One-component variables and multi-component variables
  • Declaration, creation and filling in of tables
  • Fillings of tables with iterative structures
  • Tables as parameters
  • Two-dimensional tables
  • Declaration, creation and filling in of two-dimensional tables
  • Fillings of two-dimensional tables with iterative structures
  • Search schemes and routes in tables

Activities and evaluation system


The final grade is the weighted sum of the grades for the following activities:

WEIGHT ACTIVITY

EXAM 1 15%

EXAM 2 50%

PRACTICE 1 5%

PRACTICE 2 6%

PRACTICE 3 6%

PRACTICE 4 8%

PRACTICE 5 10%

With the above weights, laboratory (practical) activities have a weight of 35%, theoretical activities have a weight of 65%.

To pass the subject, the student must have completed a minimum of three practicals and must last two have a minimum rating of 4.

If these premises are not given, the subject will be suspended and in this case without the possibility of recovering it.

If the grade for EXAM 2 is less than 5, the final grade for the subject will be that of this activity. The subject will be failed, with the possibility of resit.

In the event that it was favorable for the student, the 15% + 50% weighting of the two exams could be changed to 0% + 65%.

Recovery only makes it possible to recover the grade of the theoretical activities, EXAM 1 and 2, and as long as this new grade is not lower than 5, the same weighting as described above will be applied. Otherwise, the subject will not be considered recovered.

Considerations:

1.- In general, Tecnocampus establishes: any form of academic fraud will be sanctioned in accordance with the center's evaluation regulations. In the event that signs of fraud are detected, including the improper use of generative artificial intelligence tools, the subject's teaching staff may call the student for an individual interview with the aim of verifying their authorship.

2.- In the particular case of this subject, given its fundamental nature, the student is required not only to provide solutions to certain problems, but also to be able to generate them autonomously, without any external help. For this reason, the use of generative artificial intelligences (IAG) to resolve the problems posed in the subject —whether in exercises, practices or tests— is counterproductive, is strictly prohibited and will be considered a case of fraud by plagiarism. In this sense, the use of IAGs to generate programming code is not allowed, not even in the form of fragments, even if this code is later modified or personalized. The critical use of IAGs as a vehicle to resolve doubts about the subject is not considered a misuse of these mechanisms as long as this does not contradict what has been indicated previously and the student does not lose sight of the fact that he may obtain incorrect answers and/or not adjusted to the contents of the subject. Failure to comply will result in a grade of NP in the subject - without the right to retake.

3.- It will also lead to a NP grade in the subject if the student uses unauthorized tools during the exams, such as a mobile phone or smart watch.

 

Bibliography


Basic

Juan Nadal, Lina. Programming: Class notes and exercises. Internal publication of the ESUPT.

Sesa Nogueras, Enric (2010). Programming: Class notes and exercises. Internal publication of the EUPM.