Programming in practice Code:  22.608    :  6
View general information   Description   The subject within the syllabus as a whole   Professional fields to which it applies   Prior knowledge   Information prior to enrolment   Learning objectives and results   Content   View the learning resources used in the subject   Support tools and learning resources   Guidelines on assessment at the UOC   View the assessment model  
You can use the course plan to plan your enrolment (check to see whether the course is being run this semester in the More UOC / The University / Programmes of study section on Campus). Once teaching starts, you'll be able to find it in the classroom. (The course plan may be subject to change.)

In the subject of Fundamentals of Programming, you have acquired the basic concepts of programming within the classical or procedural paradigm. This subject seeks to help the student to finish assimilating these basic concepts of programming, deepening in some of them.

 

Until now, the proposed problems could be solved with the use of the theoretical tools and concepts explained in the theory modules, following guidelines of good programming practices. The final goal of the student was to obtain a code that solved the problem. In solving real problems, however, obtaining computer solutions to solve specific problems is an engineering task, where the creativity and expertise of the programmer may be the difference between reaching a solution or that the project fails.

 

There are no magic recipes to find feasible solutions to all the problems that a programmer can face throughout his or her professional life. The only way for the student to develop abilities to solve problems and efficient approach to solutions is by creating their own mechanisms, which is only achieved through practice. Therefore, this will be a mainly practical subject, where the student will have to face more complex problems and take into account aspects of optimization of the code to find solutions that not only work but also are efficient in terms of speed and memory usage.

 

Continuing with what has begun in the subject of Fundamentals of Programming, this subject will use the programming language C in order to codify the solutions to the proposed problems.


Amunt

This subject delves into the concepts introduced in the subject Fundamentals of Programming, and therefore it is given to achieve all its agenda. Given that the concepts introduced in this subject are supported by the basic concepts of programming, if the student accesses this subject without having assimilated the basic knowledge of Fundamentals of Programming, he/she will need much more time to solve the proposed tasks, finding him/herself with a much greater difficulty in understanding the modules.

 

It is important that at the end of the subject the student has achieved a high level of programming within the classical paradigm, since in successive semesters, programming will be introduced within the object-oriented paradigm, in the subject Object-Oriented Programming and Design.


Amunt

Achieving a good algorithmic and programming level is the basis for the professional practice in the development of computer applications’ field, and in almost all the tasks that require process automation or computer-based simulators. In addition, the ability to abstain when solving a problem in programming is very useful in other aspects of the professional life of the engineers, creating good working habits and a correct structuring and organization of tasks.

 

Additionally, the C programming language used in the subject’s practices is a language that is widely used in all types of problems and fields, having been used as a source of inspiration for many other modern languages, which will give you the ability to learn new programming languages easily.


Amunt

The previous knowledge for the accomplishment of the subject is those that are specified like contents in the Fundamentals of Programming. In particular, you need to have good knowledge in the algorithm formulation and structured programming techniques. It is also necessary to have an easy way to codify algorithms in C language.


Amunt

Since this subject is the Fundamentals of Programming extension, it is recommended to pass it before. Students with the possibility of validating Fundamentals of Programming, it is necessary to take into account that for the correct monitoring of Programming in Practice, they must know the following:

• Basic concepts of structured programming

¿ Program flow

¿ Conditional and iterative control structures

¿ Modularity: Definition and implementation of actions and functions

• Data types

¿ Basic types

¿ Vectors and arrays

¿ Tuples and tables

¿ Abstract types of basic Data (queues, pile and lists)

¿ Pointers

• Recursion notions

• Use of dynamic memory

• Basic knowledge of the C programming language.

 

As students of Programming in Practice, you will have access to all the Fundamentals of Programming materials, but the dedicated time to the subject and its difficulty will be much greater in the case of not having basic notions of these contents.


Amunt

Grade’s competences

 

Design and build computer applications using development, integration and reuse techniques.

 

Subject’s objectives

 

The central competence of this subject is that the student reaches the ability to design and build computer applications through development, integration and reuse techniques.

 

Achieving this competence requires working in the following specific competencies:

 

 

  1. To know how to write and implement an algorithm that satisfies some pre-established requirements applying the most appropriate methodology.
  2. to know how to calculate the complexity of an algorithm and be able to compare the efficiencies of the various possible solutions to solve a given problem.
  3. To learn in depth the most current and popular programming languages environments¿¿.
  4. To know the different mechanisms to execute an application (compilers, interpreters, etc.).
  5. To know deeply the existing resources to debug a program.
  6. To know how to implement (encode) any software design.
  7. To know how to choose the modular structure and data necessary to build a computer application.
  8. To be able to understand algorithms and written programs (in a specific programming language) for other people, as well as know the most accepted algorithms and library components for specific problems (eg, data manipulation, etc.).
  9. To know good programming practices (tabulation, comments, documentation, names policy, etc.).

 


Amunt

This subject has the following thematic blocks:

  1. Top-down design

  2. Formalization of algorithms.

  3. Abstract Data Types

  4. Recursion

  5. Techniques of algorithm analysis (complexity and efficiency).

  6. Search and classification algorithms (linear search, binary search, bubble method, sorting by insertion, sorting by selection, etc ...).

 

At a practical level it is seen:

  1. Introduction to the programming tools: development environment, compiler, interpreter and debugger.

  2. C programming language

  3. Memory management

  4. Read and write

  5. Implementation of complex algorithms

Amunt

Wiki Programming practicals Web

Amunt

This subject will use as the main reference source:

 

• Programming materials: materials in a web format that contain the theoretical information and practical examples necessary for the follow-up of the subject.

 

In the resources of the lab classroom you will find:

• C language manual: Basic programming manual in C

• C programming style guide


Amunt

The assessment process is based on the student's personal work and presupposes authenticity of authorship and originality of the exercises completed.

Lack of authenticity of authorship or originality of assessment tests, copying or plagiarism, the fraudulent attempt to obtain a better academic result, collusion to copy or concealing or abetting copying, use of unauthorized material or devices during assessment, inter alia, are offences that may lead to serious academic or other sanctions.

Firstly, you will fail the course (D/0) if you commit any of these offences when completing activities defined as assessable in the course plan, including the final tests. Offences considered to be misconduct include, among others, the use of unauthorized material or devices during the tests, such as social media or internet search engines, or the copying of text from external sources (internet, class notes, books, articles, other students' essays or tests, etc.) without including the corresponding reference.

And secondly, the UOC's academic regulations state that any misconduct during assessment, in addition to leading to the student failing the course, may also lead to disciplinary procedures and sanctions.

Amunt

This course can be passed with the activities performed during the year and taking a synthesis test (ST). The combination of the final mark of the continuous assessment activities (CA) and the final mark of the practical (Pr) gives the final continuous assessment mark (FC: CA + Pr).

To be eligible for taking the ST, the final continuous assessment mark (FC) must be equal or greater than 5. The final course mark will be obtained subsequently by crossing the mark of the ST with the FC.

The formula for accrediting the course is as follows: (CA + Pr) + ST.

 
 

Amunt