Politecnico di Torino
Politecnico di Torino
   
Login  
en
Politecnico di Torino
Anno Accademico 2016/17
04JCJLI, 04JCJJM, 04JCJLM, 04JCJLP, 04JCJLS, 04JCJLX, 04JCJLZ, 04JCJMA, 04JCJMB, 04JCJMC, 04JCJMH, 04JCJMK, 04JCJMO, 04JCJMQ, 04JCJNX, 04JCJOD, 04JCJPC, 04JCJPI, 04JCJPL
Computer sciences
Corso di Laurea in Ingegneria Dell'Autoveicolo (Automotive Engineering) - Torino
Corso di Laurea in Ingegneria Meccanica (Mechanical Engineering) - Torino
Corso di Laurea in Ingegneria Informatica (Computer Engineering) - Torino
Espandi...
Docente Qualifica Settore Lez Es Lab Tut Anni incarico
Sanchez Sanchez Edgar Ernesto ORARIO RICEVIMENTO A2 ING-INF/05 50 10 20 0 9
Squillero Giovanni   A2 ING-INF/05 50 10 20 0 9
SSD CFU Attivita' formative Ambiti disciplinari
ING-INF/05
ING-INF/05
5
3
C - Affini o integrative
F - Altre (art. 10, comma 1, lettera f)
Attivitą formative affini o integrative
Abilitą informatiche e telematiche
Esclusioni:
12BHD
Presentazione
This course, mandatory for all the students, has a twofold objective: on one hand, to introduce the student to the issues related to computer science, in particular from the cultural standpoint, but also from the technological one. On the other hand, the course aims at teaching the use of computer programming as a way to solve real-life problems.
Risultati di apprendimento attesi
The student must acquire two fundamental types of knowledge; the solution of realistic problems through programs implemented using a programming language and to be executed on a computer; the understanding of the quantitative aspects of computer science such as performance, computational power, representation of information, computer architecture. These skills will be applied to the solution of practical problems.
Prerequisiti / Conoscenze pregresse
The main prerequisites are the knowledge of some basic notions of Calculus.
Programma
NUMERICAL AND NON-NUMERICAL REPRESENTATIONS (4 HRS)
-Unsigned Numbers
-Representation intervals
-Operations with pure binary numbers: Addition, Subtraction, Overflow.
-Signed Numbers (sign and magnitude and two's complement representations)
-Real Numbers (Fixed and Floating Point)
-Characters encoding (ASCII, UNICODE)

BOOLEAN ALGEBRA (2 HRS]
-AND, OR, NOT operators and Boolean expressions
- truth tables of a generic Boolean expression

COMPUTER ARCHITECTURE (4 HRS)
-Von Neumann model (Program Memory, Control Unit, Operating Unit)
-CPU (execution speed) and cache
-PC architecture (devices and buses)
-Hardware and programs: assembly languages vs. high level languages
-Translating high-level languages into binary code: compilers

PROBLEM SOLVING AND ALGORITHMS (4 HRS)
-Flow charts, pseudo-code
-Problem solving and program writing

C LANGUAGE (46 HRS]
-Data types.
-Symbolic constants.
-Input/output operations (printf and scanf).
-Control-Flow structures (iterative and conditional).
-Arrays and multidimensional arrays (of integers, reals and characters).
-Functions and calls (by reference, by value, pointers).
-Strings.
-Command line arguments (argc and argv).
-Files.
-Struct.
Organizzazione dell'insegnamento
The course includes 20 hours of lab, in which the topics covered in the classes will be implemented as C programs.
Testi richiesti o raccomandati: letture, dispense, altro materiale didattico
-Handouts of class material.
-H.M.Deitel e P.J.Deitel, 'C: How to Program', 8th edition, Prentice-Hall
Criteri, regole e procedure per l'esame
The exam consists of a written test and of a optional oral test. The written test aims at assessing the students' knowledge of the theoretical aspects of the course (through numerical exercises or open-answer questions) and the programming skills (through the writing on paper of a C program that implements the solution of a practical problem). The oral test can be requested by the instructor and consists of a discussion about the written test and may cover any of the topic covered in the course.
Orario delle lezioni
Statistiche superamento esami

Programma definitivo per l'A.A.2016/17
Indietro



© Politecnico di Torino
Corso Duca degli Abruzzi, 24 - 10129 Torino, ITALY
WCAG 2.0 (Level AA)
Contatti