Base Knowledge
n. a.
Teaching Methodologies
In the theoretical lectures is made a presentation of theoretical concepts and their apllication, well as the resolution of complementary exercises.
Laboratory classes with problem solving, which include discussion, analysis and development of the respective algorithm and its implementation in C language. All phases are monitored by the teacher.
Learning Results
The aim is encourage students to solve problems through the development of the respective algorithms.
It is intended to teach students how to develop a program in a structured way.
Provide students with the basics of the C language, which allow them the possibility to develop small programs.
Program
Algorithmic and modeling Issues
Main programming paradigms
Introduction to C language
Structure of a C program
-Declaration of variables and constants
-Reserved words
-Identifiers – rules and conventions
-Predefined data types
-Ranges of variation of variables
-Operations and defined functions
– Modifiers type
– Expressions
-Interaction with the user
-Control Structures
–Sequence.
–Selection: if statement, else clause, if statement chaining, switch statement
–Repeat: while statement, do-while statement, for statement, Chain of repeat statements, break and continue statements
-Pointers
–Understanding addresses and pointers
–Defining functions: header and body
–Function Declaration
— Side effects
–Communication between functions: return, arguments and parameters, Passing parameters of pre-defined data types
– Vectors
–Declaration and Initialization
–Multi-Dimensional Vectors
–Manipulation of Vectors,
–Strings
— Declaration and Initialization
— Reading and writing Strings
–String Manipulation
–Defined Functions for Strings
–Conversion between Numeric Types and Strings
Curricular Unit Teachers
Internship(s)
NAO
Bibliography
Vasconcelos, V., Marques, L, (2012). Linguagem C – Textos de apoio., ISEC (disponível na secção de texto e site da Unidade Curricular)
King, K. N. (2008). C Programming – A Modern Approach”, Norton & Company, 2nd Ed. (disponível no ISEC: 1A -1-374)
Damas, L. (1999). Linguagem C. FCA – Editora de Informática. (disponível no ISEC: 1A -1- 458)
Kochan, S. G. (2005). Programming in C. 3rd Ed. (disponível no ISEC: 1A-1- 165)
Guerreiro P. (2006). Elementos de Programação com C. FCA – Editora de Informática, 3ª Ed (disponível no ISEC: 1A -1- 458)
S., Herbert. (1998). Teach Yourself C. McGraw-Hill, 3rd Ed. (disponível no ISEC: 1A – 1 – 257 )