General information


Subject type: Basic

Coordinator: Rosa Herrero Antón

Trimester: First term

Credits: 6

Teaching staff: 

Catherine Juan Nadal
Enric Sesa Nogueras 

Teaching languages


  • Catalan

Skills


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

Description


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.

 

 

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

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, it is necessary that the student has completed a minimum of three practicals and that the 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 of EXAM 2 has a grade lower than 4, the final grade of the subject will be that of this activity. The subject will be suspended, with the possibility of recovery.

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 4, the same weighting as described above will be applied. Otherwise, the subject will not be considered recovered.

Identification of plagiarism is considered a serious circumstance that may lead to a failing grade in the subject. In case of detection of plagiarism, the coordination of the degree will be informed so that the corresponding disciplinary measures can be taken.

REFERENCES


Basic

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

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