Programming 1
Keywords |
Classification |
Keyword |
OFICIAL |
Informatics |
Instance: 2012/2013 - 1S
Cycles of Study/Courses
Teaching language
Portuguese
Objectives
At the end of this course unit, the students should be able to:
- plan simple computer programs for console generic applications;
- implement such programs in source-code of the C programming language and in executable files.
Program
Introduction.
Variables and basic data types.
Control structures.
Functions.
Generic arrays and strings.
Simple data structures.
Dynamic structures.
Files: text and binary.
Mandatory literature
Deitel, Paul J.;
C. ISBN: 978-0-13-608588-1
António Adrego da Rocha; Introdução à Programação usando C, FCA Editora, 2006. ISBN: 978-972-722-524-8
Complementary Bibliography
Kernighan, Brian W.;
The C programming language. ISBN: 0-13-110362-8
Damas, Luís Manuel Dias;
Linguagem C. ISBN: 972-722-156-4
Sá, Joaquim P. Marques de;
Fundamentos de programação usando C, N. ISBN: 972-722-475-X
Teaching methods and learning activities
The classes comprise both lectures and laboratory programming. The lectures present the main theoretical topics as well as illustrating exercises. In the programming laboratory, the students are expected to plan, write, execute and improve simple console programs. The main computing environment is Linux with GCC (Gnu Compiler Collection).
There are also sessions of accompanied study besides the regular classes.
All the documents related to the course unit are available in the FEUP's Moodle environment and some of the evaluation exams are also conducted through this environment.
Software
Ambiente Linux funcional, preferencialmente com interface gráfica KDE
GCC (Gnu Compiler Collection)
keywords
Physical sciences > Computer science > Programming
Evaluation Type
Distributed evaluation without final exam
Assessment Components
Description |
Type |
Time (hours) |
Weight (%) |
End date |
Attendance (estimated) |
Participação presencial |
85,00 |
|
|
Preparation for the exams |
Exame |
15,00 |
|
|
Study |
Exame |
50,00 |
|
|
|
Total: |
- |
0,00 |
|
Amount of time allocated to each course unit
Description |
Type |
Time (hours) |
End date |
Prepation for the classes |
Estudo autónomo |
39 |
|
|
Total: |
39,00 |
|
Eligibility for exams
The students should not exceed the limit of allowed classes' absences and should get at least 40% of the maximum grade for the classes evaluation part of the final grade (F in the marks' formula below).
Calculation formula of final grade
Final Grade = 0,4 F + 0,6 MT
* Continuous evaluation (F)
F = 0,5 UT + 0,375 PE + 0,125 P
UT = 1/3 UT1 + 1/3 UT2 + 1/3 UT3
where:
UT1,UT2,UT3 - grade of the 3 micro-tests (during lab classes)
PE - grade of the preparation of problems that apply the course's content
P - grade of the overall participation and performance during the lectures and lab classes
* Minitests (MT)
MT = 1/3 MT1 + 2/3 MT2
where:
MT1,MT2 - grade of the 2 minitests
* Final grade combining all components
If MT component >= 30%:
Final Grade = 0,2 UT + 0,15 PE + 0,05 P + 0,2 MT1 + 0,4 MT2
Otherwise:
Final Grade = 0,2 UT + 0,15 PE + 0,05 P
Evaluation of Tests and micro-tests:
Micro-tests: there will be 3 and are performed at the end of laboratory classed, in the Moodle environment; each will have the duration of 15 minutes and consist of multiple-answer questions or solving a simple problem;
Minitests: there will be 2 tests, one at the middle of the course and the other near the end; both will be made in the Sigex environment and have the duration of 60 minutes; they consist of 10 multiple-answer questions and of writing one or more programs in C; personal documentation is not allowed.
Examinations or Special Assignments
-
Special assessment (TE, DA, ...)
In the occasions specifically mentioned in the law, there will be a global evaluation consisting of an exam lasting for 2 hours, where the student is expected to answer a number of questions of multiple choice and to write some C programs.
The students that are allowed by law to ask for this kind of examination, can also let go of this special privilege and be evaluated as regular students.
Classification improvement
The final grade of the unit course can be improved, but only in the following year; it consists of the same examinations that will be required in the following year. Eventually, at the student request, only one of the items, F or MT, of the final grade can be improved.
Observations
The students should conduct themselves with both commitment and honour. In case of cheating, the Course Director will be informed (it is reminded that there are specific laws regarding university cheating, e.g. art. 14th of Decision number 1536/2005 of the dean of U.Porto, DR. nº 225 of 23.Nov.2005).
The teachers will be available for the clarification of unit course topics and for supporting the students, making it possible for them to best learn the presented topics. The attendance timetable will be made available in the courses' official web page.