FONDAMENTI DI INFORMATICA

Similar documents
ROSETTA STONE PRODUCT OVERVIEW

Course Content Concepts

CS Machine Learning

Extending Place Value with Whole Numbers to 1,000,000

Spring 2016 Stony Brook University Instructor: Dr. Paul Fodor

Tour. English Discoveries Online

Cross Language Information Retrieval

Conversions among Fractions, Decimals, and Percents

Laboratorio di Intelligenza Artificiale e Robotica

USER ADAPTATION IN E-LEARNING ENVIRONMENTS

MULTILINGUAL INFORMATION ACCESS IN DIGITAL LIBRARY

Language Center. Course Catalog

My First Spanish Phrases (Speak Another Language!) By Jill Kalz

Using Virtual Manipulatives to Support Teaching and Learning Mathematics

Timeline. Recommendations

The Strong Minimalist Thesis and Bounded Optimality

Full text of O L O W Science As Inquiry conference. Science as Inquiry

On the Combined Behavior of Autonomous Resource Management Agents

The lab is designed to remind you how to work with scientific data (including dealing with uncertainty) and to review experimental design.

CS177 Python Programming

Learning Microsoft Office Excel

A method to teach or reinforce concepts of restriction enzymes, RFLPs, and gel electrophoresis. By: Heidi Hisrich of The Dork Side

Data Structures and Algorithms

AN INTRODUCTION (2 ND ED.) (LONDON, BLOOMSBURY ACADEMIC PP. VI, 282)

Busuu The Mobile App. Review by Musa Nushi & Homa Jenabzadeh, Introduction. 30 TESL Reporter 49 (2), pp

Number Line Moves Dash -- 1st Grade. Michelle Eckstein

Focus of the Unit: Much of this unit focuses on extending previous skills of multiplication and division to multi-digit whole numbers.

Learning Microsoft Publisher , (Weixel et al)

Using Blackboard.com Software to Reach Beyond the Classroom: Intermediate

Approved Foreign Language Courses

Dublin City Schools Career and College Ready Academies FAQ. General

Research computing Results

CS4491/CS 7265 BIG DATA ANALYTICS INTRODUCTION TO THE COURSE. Mingon Kang, PhD Computer Science, Kennesaw State University

Parsing of part-of-speech tagged Assamese Texts

Undergraduate Program Guide. Bachelor of Science. Computer Science DEPARTMENT OF COMPUTER SCIENCE and ENGINEERING

Mathematics subject curriculum

GACE Computer Science Assessment Test at a Glance

EECS 700: Computer Modeling, Simulation, and Visualization Fall 2014

Ministry of Education, Republic of Palau Executive Summary

A systems engineering laboratory in the context of the Bologna Process

Dublin City Schools Mathematics Graded Course of Study GRADE 4

LEARNER VARIABILITY AND UNIVERSAL DESIGN FOR LEARNING

Section V Reclassification of English Learners to Fluent English Proficient

Introduction to CS 100 Overview of UK. CS September 2015

Android App Development for Beginners

Fashion Design Program Articulation

content First Introductory book to cover CAPM First to differentiate expected and required returns First to discuss the intrinsic value of stocks

Spring 2015 IET4451 Systems Simulation Course Syllabus for Traditional, Hybrid, and Online Classes

A Metacognitive Approach to Support Heuristic Solution of Mathematical Problems

Berlitz Swedish-English Dictionary (Berlitz Bilingual Dictionaries) By Berlitz Guides

THE UNIVERSITY OF SYDNEY Semester 2, Information Sheet for MATH2068/2988 Number Theory and Cryptography

CENTRAL MAINE COMMUNITY COLLEGE Introduction to Computer Applications BCA ; FALL 2011

School of Innovative Technologies and Engineering

P. Belsis, C. Sgouropoulou, K. Sfikas, G. Pantziou, C. Skourlas, J. Varnas

Algebra Nation and Computer Science for MS Initiatives. Marla Davis, Ph.D. NBCT Office of Secondary Education

Mandarin Lexical Tone Recognition: The Gating Paradigm

Administrative Services Manager Information Guide

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Open Source Mobile Learning: Mobile Linux Applications By Lee Chao

Specification of the Verity Learning Companion and Self-Assessment Tool

IAT 888: Metacreation Machines endowed with creative behavior. Philippe Pasquier Office 565 (floor 14)

XXII BrainStorming Day

Tablet PCs, Interactive Teaching, and Integrative Advising Promote STEM Success

Computer Organization I (Tietokoneen toiminta)

Robot manipulations and development of spatial imagery

Xinyu Tang. Education. Research Interests. Honors and Awards. Professional Experience

Advanced Multiprocessor Programming

Physics 270: Experimental Physics

Postprint.

University of Arizona

MATH 205: Mathematics for K 8 Teachers: Number and Operations Western Kentucky University Spring 2017

The IDN Variant Issues Project: A Study of Issues Related to the Delegation of IDN Variant TLDs. 20 April 2011

Top Ten Persuasive Strategies Used on the Web - Cathy SooHoo, 5/17/01

Welcome to, new Master students! Dag Langmyhr head of studies

Coral Reef Fish Survey Simulation

CONCEPT MAPS AS A DEVICE FOR LEARNING DATABASE CONCEPTS

KLI: Infer KCs from repeated assessment events. Do you know what you know? Ken Koedinger HCI & Psychology CMU Director of LearnLab

Advanced Multiprocessor Programming

My Identity, Your Identity: Historical Landmarks/Famous Places

have to be modeled) or isolated words. Output of the system is a grapheme-tophoneme conversion system which takes as its input the spelling of words,

Control Tutorials for MATLAB and Simulink

Unit: Human Impact Differentiated (Tiered) Task How Does Human Activity Impact Soil Erosion?

faculty of science and engineering Appendices for the Bachelor s degree programme(s) in Astronomy

SIE: Speech Enabled Interface for E-Learning

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

University of Toronto Physics Practicals. University of Toronto Physics Practicals. University of Toronto Physics Practicals

Intermediate Computable General Equilibrium (CGE) Modelling: Online Single Country Course

CS Course Missive

2 di 7 29/06/

Fundraising 101 Introduction to Autism Speaks. An Orientation for New Hires

Abdul Rahman Chik a*, Tg. Ainul Farha Tg. Abdul Rahman b

Using NVivo to Organize Literature Reviews J.J. Roth April 20, Goals of Literature Reviews

Case study Norway case 1

Bluetooth mlearning Applications for the Classroom of the Future

The Ohio State University. Colleges of the Arts and Sciences. Bachelor of Science Degree Requirements. The Aim of the Arts and Sciences

Shockwheat. Statistics 1, Activity 1

Business Computer Applications CGS 1100 Course Syllabus. Course Title: Course / Prefix Number CGS Business Computer Applications

SYRACUSE UNIVERSITY. and BELLEVUE COLLEGE

University of Hawaii at Hilo Art Department Fall Semester 2003 ART 494 Chinese and Japanese Painting

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Transcription:

FONDAMENTI DI INFORMATICA INTRODUZIONE AL CORSO E ALL INFORMATICA Prof. Emiliano Casalicchio

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 2 Info INGEGNERIA ENERGETICA, EDILIZIA E MECCANICA Canale A L Room: Aula 4

3 The teacher Emiliano Casalicchio emiliano.casalicchio@uniroma2.it Consulting hours When: monday 16:00-18:00 Where: room D1-17 (1 st floor), Ingegneria dell Informazione building

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 4 Teachers office: Room 17, Building D Ing. Informazione

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 5 Authoritative sources Official web site Information and teaching material http://didattica.uniroma2.it/informazioni/index/insegnamento/154493- Fondamenti-Di-Informatica The friends The forums The Others

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 6 Textbook and teaching material Textbook Matlab: A Practical Introduction to Programming and Problem Solving, 3 rd ed. The tools Stormy Attaway (author), Elsevier Science Ed. Matlab - http://www.mathworks.com Octave - http://www.gnu.org/software/octave/ More material Slides presented and suggested readings Slides don t replace the textbook. Slides are complementary material. Both (slides and textbook) are essential to succeed!!!!

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 7 Why Matlab/Octave It is a framework (a set of tools and a programming language) that allows to manipulate data (e.g. numbers and strings) statistical analysis formulation and solving of mathematical problems data plots simulation Matlab offers a high level programming language, that makes programming easier than other PL (e.g. Java, C, Fortran) It will allow you to turn theory in practice and to develop your computer skill

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 8 OCTAVE Octave con GUI (versione 3.8.1 e seguenti): 1. Sotto Linux, la versione 3.8 si trova sia su Fedora 21 che su Ubuntu 14.10. 2. Per windows si puo' installar http://mxeoctave.osuv.de/

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 9 Grading policy for the course The Computer Skills exam is composed by Written exam Practical exam in the lab to evaluate the acquired programming skills

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 10 About you and your background Do you own a computer (PC/laptop/ipad or similar)? How do you use your PC/laptop? For which purpose? what applications you mainly use? Do you know about or have you ever used Microsoft Excel (or other spreadsheet) Microsoft Access (or database management systems) programming languages Do you know what an algorithm is? Do you know how a computer works? Computer architecture Operating system

09/26/14 Computer Skills - Lesson 1 - E. Casalicchio 11 Why?! Why should you develop a computer skill? to learn the art of solving problems with a computer (it will turn always useful in your life) to learn and practice with a set of tools useful to solve problems related with your specialization This is not MY vision, but the vision of The Obama (US Gov.) vision: Don t Just Play on Your Phone, Program It An US government initiative: Computer Science Education Week, an annual campaign highlighting the importance of learning computer science (Obama) https://www.youtube.com/watch?v=ye6ifcrqg3s (Famous Leaders) https://www.youtube.com/watch?v=nkiu9yen5nc (Astronauts) https://www.youtube.com/watch?v=we2s3647awe Princeton University COS 126 http://www.washingtonpost.com/blogs/the-switch/wp/2013/12/11/presidentobama-talks-about-teaching-everyone-to-code-this-professor-does-it/

Teaching material will be mainly in English 12 There are anywhere from 350 to 500 million native English speakers, and up to 1 billion more who use it as a second or additional language to some extent. That s 20% of the world s 6.9 billion people. There are close to 7,000 languages spoken around the world today, but according to Ethnologue, 39% of the Earth s people speak one of eight brandname languages: Chinese, Spanish, English, Arabic, Hindi, Bengali, Portuguese, and Russian (Japanese is number 9). Of these, only English can claim global dominance n Spanish is the secondmost-spoken language by number of native speakers after Mandarin. It also has 60 million speakers as a second language,and 20 million students as a foreign language. BUT COMPUTER SCIENTISTS LIKE ENGLISH!!!!

Definitions Several definitions 1. the science of computers aka: Computer Science (CS) CS is the discipline dealing with representation, storing, retrieval and processing of information by automated means Computer science is no more about computers than astronomy is about telescopes. E. Dijkstra (Dutch computer Scientist. Turing Award in 1972. 1930-2002) 2. the science of information or 3. the science of information representation and (automatic) processing aka: Informatics 13

Definitions the science of information representation and (automatic) processing what is information? why are we interested in its representation and (automatic) processing? n actually, we are interested in solving problems more precisely, in systematic ways for solving problems Computer Science is concerned with this 14

A problem to be solved what do we need to solve this problem abstractly? a representation of the involved entities a procedure to be followed (based on the adopted representation)? n representation a way of expressing the relevant information for the problem at hand n procedure a step-by-step process to be followed to get the solution a recipe 15

Representation + Process n the science of information representation and (automatic) processing now it should be a bit clearer what we are talking about it remains to discuss more explicitly the meaning of automatic later 16

the box-and-door problem again box representation face A: heigth(a), width(a) e.g.: height(a) = 220 cm, width(a) = 70 cm face B: heigth(b), width(b) e.g.: height(b) = 220 cm, width(b) = 110 cm face C: heigth(c), width(c) e.g.: height(c) = 70 cm, width(c) = 110 cm A B? n door representation heigth(door), width(door) e.g.: height(door) = 210 cm, width(door) = 80 cm 17

the box-and-door problem again procedure ( recipe ) check: height(a)<heigth(door)) AND width(a)<width(door) if true, OK ; else, check face B n OK? check: height(b)<heigth(door)) AND width(b)<width(door) if true, OK ; else, check face C check: height(c)<heigth(door)) AND width(c)<width(door) if true, OK ; else FAILURE hint: try with the numbers given in the previous slide A B? n a new procedure ( new recipe ) check: height(a)<heigth(door)) AND width(a)<width(door) if true, OK ; else, rotate face A check: width(a)<heigth(door)) AND heigth(a)<width(door) if true, OK ; else, check face B 18

general procedure check: height(a)<heigth(door)) AND width(a)<width(door) if true, OK ; else, rotate face A check: width(a)<heigth(door)) AND heigth(a)<width(door) if true, OK ; else, check face B A B? n does this procedure work only for this box and this door? n we are interested in general procedures parametric procedure 19

automatic processing n n box representation face A: heigth(a), width(a) face B: heigth(b), width(b) face C: heigth(c), width(c) door representation heigth(door), width(door) + check: height(a)<heigth(door)) AND width(a)<width(door) if true, OK ; else, rotate face A check: width(a)<heigth(door)) AND heigth(a)<width(door) if true, OK ; else, check face B representation procedure n the science of information representation and (automatic) processing n what do we mean by automatic? 20

A formalism to write recipes X : a named container START END X expr put a value in a container recipe processing begins recipe processing ends input / output true condition false a recipe step selection of alternative paths a collateral recipe 21

an example of recipe Start read m and n x m y n n try this recipe with different pairs of nonnegative integer numbers are you able to get the final answer? n what does it mean? is it necessary to know that, to process this recipe? true x 0 AND y 0 false write: trivial answer or impossible to calculate r remainder of x/y End false r = 0 true write: the answer is y x y End y r 22

23 Summary Course info Definition of computer science Problem solving the receipt way