Theory 1. Summer Term 2010

Relevanta dokument
Adding active and blended learning to an introductory mechanics course

This exam consists of four problems. The maximum sum of points is 20. The marks 3, 4 and 5 require a minimum

Module 1: Functions, Limits, Continuity

1. Compute the following matrix: (2 p) 2. Compute the determinant of the following matrix: (2 p)

Module 6: Integrals and applications

Kursplan. NA3009 Ekonomi och ledarskap. 7,5 högskolepoäng, Avancerad nivå 1. Economics of Leadership

Beijer Electronics AB 2000, MA00336A,

8 < x 1 + x 2 x 3 = 1, x 1 +2x 2 + x 4 = 0, x 1 +2x 3 + x 4 = 2. x 1 2x 12 1A är inverterbar, och bestäm i så fall dess invers.

1. Varje bevissteg ska motiveras formellt (informella bevis ger 0 poang)


Styrteknik: Binära tal, talsystem och koder D3:1

Isolda Purchase - EDI

Workplan Food. Spring term 2016 Year 7. Name:

Viktig information för transmittrar med option /A1 Gold-Plated Diaphragm

Support Manual HoistLocatel Electronic Locks

Rastercell. Digital Rastrering. AM & FM Raster. Rastercell. AM & FM Raster. Sasan Gooran (VT 2007) Rastrering. Rastercell. Konventionellt, AM

3rd September 2014 Sonali Raut, CA, CISA DGM-Internal Audit, Voltas Ltd.

F ξ (x) = f(y, x)dydx = 1. We say that a random variable ξ has a distribution F (x), if. F (x) =

Preschool Kindergarten

Om oss DET PERFEKTA KOMPLEMENTET THE PERFECT COMPLETION 04 EN BINZ ÄR PRECIS SÅ BRA SOM DU FÖRVÄNTAR DIG A BINZ IS JUST AS GOOD AS YOU THINK 05

SAMMANFATTNING AV SUMMARY OF

Resultat av den utökade första planeringsövningen inför RRC september 2005

Writing with context. Att skriva med sammanhang

Kurskod: TAMS28 MATEMATISK STATISTIK Provkod: TEN1 05 June 2017, 14:00-18:00. English Version

FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR

2.1 Installation of driver using Internet Installation of driver from disk... 3

Chapter 2: Random Variables

denna del en poäng. 1. (Dugga 1.1) och v = (a) Beräkna u (2u 2u v) om u = . (1p) och som är parallell

EXTERNAL ASSESSMENT SAMPLE TASKS SWEDISH BREAKTHROUGH LSPSWEB/0Y09

Methods to increase work-related activities within the curricula. S Nyberg and Pr U Edlund KTH SoTL 2017

CHANGE WITH THE BRAIN IN MIND. Frukostseminarium 11 oktober 2018

Isometries of the plane

EVALUATION OF ADVANCED BIOSTATISTICS COURSE, part I

Michael Q. Jones & Matt B. Pedersen University of Nevada Las Vegas

Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00. English Version

Materialplanering och styrning på grundnivå. 7,5 högskolepoäng

The reception Unit Adjunkten - for newly arrived pupils

Högskolan i Skövde (SK, JS) Svensk version Tentamen i matematik

LUNDS TEKNISKA HÖGSKOLA Institutionen för Elektro- och Informationsteknik

SWESIAQ Swedish Chapter of International Society of Indoor Air Quality and Climate

12.6 Heat equation, Wave equation

CVUSD Online Education. Summer School 2010

Kvalitetsarbete I Landstinget i Kalmar län. 24 oktober 2007 Eva Arvidsson

Stad + Data = Makt. Kart/GIS-dag SamGIS Skåne 6 december 2017

Consumer attitudes regarding durability and labelling

Mönster. Ulf Cederling Växjö University Slide 1

Bridging the gap - state-of-the-art testing research, Explanea, and why you should care

Vässa kraven och förbättra samarbetet med hjälp av Behaviour Driven Development Anna Fallqvist Eriksson

FYTA11-ma2, ht14. Respondents: 12 Answer Count: 8 Answer Frequency: 66,67 %

Questionnaire for visa applicants Appendix A

Provlektion Just Stuff B Textbook Just Stuff B Workbook

Urban Runoff in Denser Environments. Tom Richman, ASLA, AICP

Information technology Open Document Format for Office Applications (OpenDocument) v1.0 (ISO/IEC 26300:2006, IDT) SWEDISH STANDARDS INSTITUTE

S 1 11, S 2 9 and S 1 + 2S 2 32 E S 1 11, S 2 9 and 33 S 1 + 2S 2 41 D S 1 11, S 2 9 and 42 S 1 + 2S 2 51 C 52 S 1 + 2S 2 60 B 61 S 1 + 2S 2 A

Stort Nordiskt Vänortsmöte maj Rundabordssamtal Hållbar stadsutveckling, attraktiva städer 20 maj 2016

Application for exemption - Ansökan om dispens

Health café. Self help groups. Learning café. Focus on support to people with chronic diseases and their families

Övning 3 - Tillämpad datalogi 2012

Pre-Test 1: M0030M - Linear Algebra.

balans Serie 7 - The best working position is to be balanced - in the centre of your own gravity! balans 7,45

Fortbildningsavdelningen för skolans internationalisering. Dossier 3. European Language Portfolio 16+ Europeisk språkportfolio 16+ English version

Statistical Quality Control Statistisk kvalitetsstyrning. 7,5 högskolepoäng. Ladok code: 41T05A, Name: Personal number:

Chapter 1 : Who do you think you are?

Datasäkerhet och integritet

Kundfokus Kunden och kundens behov är centrala i alla våra projekt

Styrteknik : Funktioner och funktionsblock

CUSTOMER READERSHIP HARRODS MAGAZINE CUSTOMER OVERVIEW. 63% of Harrods Magazine readers are mostly interested in reading about beauty

Eternal Employment Financial Feasibility Study

WindPRO version feb SHADOW - Main Result. Calculation: inkl Halmstad SWT 2.3. Assumptions for shadow calculations. Shadow receptor-input

FYTA11-ma1, ht13. Respondents: 11 Answer Count: 9 Answer Frequency: 81,82 %

Algoritmer och Komplexitet ht 08. Övning 6. NP-problem

Understanding Innovation as an Approach to Increasing Customer Value in the Context of the Public Sector

Webbregistrering pa kurs och termin

Kurskod: TAMS11 Provkod: TENB 28 August 2014, 08:00-12:00. English Version

The Finite Element Method, FHL064

Kursplan. FR1050 Franska: Skriftlig språkfärdighet I. 7,5 högskolepoäng, Grundnivå 1. French Written Proficiency I

Introduction to the Semantic Web. Eva Blomqvist

Make a speech. How to make the perfect speech. söndag 6 oktober 13

Module 4 Applications of differentiation

Blueprint Den här planeringen skapades med Blueprints gratisversion - vänligen uppgradera nu. Engelska, La06 - Kursöversikt, 2015/2016.

and u = och x + y z 2w = 3 (a) Finn alla lösningar till ekvationssystemet

Kursplan. EN1088 Engelsk språkdidaktik. 7,5 högskolepoäng, Grundnivå 1. English Language Learning and Teaching

2(x + 1) x f(x) = 3. Find the area of the surface generated by rotating the curve. y = x 3, 0 x 1,

Authentication Context QC Statement. Stefan Santesson, 3xA Security AB

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

Second handbook of research on mathematics teaching and learning (NCTM)

MO8004 VT What advice would you like to give to future course participants?

Technique and expression 3: weave. 3.5 hp. Ladokcode: AX1 TE1 The exam is given to: Exchange Textile Design and Textile design 2.

Solutions to exam in SF1811 Optimization, June 3, 2014

Fortsatt Luftvärdighet

Kristina Säfsten. Kristina Säfsten JTH

Webbreg öppen: 26/ /

Uttagning för D21E och H21E

What Is Hyper-Threading and How Does It Improve Performance

Goals for third cycle studies according to the Higher Education Ordinance of Sweden (Sw. "Högskoleförordningen")

Ett hållbart boende A sustainable living. Mikael Hassel. Handledare/ Supervisor. Examiner. Katarina Lundeberg/Fredric Benesch

Collaborative Product Development:

The Municipality of Ystad

Discovering!!!!! Swedish ÅÄÖ. EPISODE 6 Norrlänningar and numbers Misi.se

Kurskod: TAMS11 Provkod: TENB 07 April 2015, 14:00-18:00. English Version

Transkript:

Theory 1 Summer Term 2010 Robert Elsässer

1 Introduction Summer Term 2010 Robert Elsässer

Prerequisite of Theory I Programming language, such as C++ Basic knowledge on data structures and algorithms, mathematics Sufficient knowledge on English for reading research papers 20.04.2010 Theory 1 - Introduction 3

Course Goal Get an in-depth knowledge on the data structures and graph algorithms, as well as database systems Improve the problem solving ability by doing the exercises Practicing skills in conducting research work: - Reading papers efficiently - Writing reviews and surveys 20.04.2010 Theory 1 - Introduction 4

Course load 7-8 exercises - exercises posted one week ahead - exercise classes take place on each 2nd Tuesday (two hours) - hand in your solution before the exercise class starts! 5-6 Reading assignments (get bonus, by submitting high h quality reviews on the assigned papers) - reviews sent per email Final exam 20.04.2010 Theory 1 - Introduction 5

Topics Tree, balanced tree Hashing, Dynamic tables, Randomization Text search Relational algebra, relational calculus Relational DB design theory Transaction theory... http://lak.informatik.uni-freiburg.de/lak_teaching/ss_10/theory1.php 20.04.2010 Theory 1 - Introduction 6

Algorithm An algorithm is a sequence of computational steps that transform the input into the output, e.g. sorting the behavior an algorithm for a given application depends on - the number of items - the structure of the items, - possible restrictions on the item values, and the kind of storage device to be used: main memory, disks, or tapes. we assume the algorithms are correct. 20.04.2010 Theory 1 - Introduction 7

Applications of algorithms The Human Genome Project has the goals of identifying all the 100,000000 genes in human DNA, determining the sequences of the 3 billion chemical base pairs that make up human DNA, storing this information in databases, and developing tools for data analysis. The Internet enables people all around the world to quickly access and retrieve large amounts of information. In order to do so, clever algorithms are employed to manage and manipulate this large volume of data. Electronic commerce enables goods and services to be negotiated t and exchanged electronically. Public-key cryptography and digital signatures core technologies used and are based on numerical algorithms and number theory. 20.04.2010 Theory 1 - Introduction 8

Hard problems There are some problems, for which no efficient solution is known. Why are NP-complete problems interesting? - although no efficient algorithm for an NP-complete problem has ever er been found, it is unknown whether or not efficient algorithms exist for NP-complete problems. - the set of NP-complete problems has the remarkable property that if an efficient algorithm exists for any one of them, then efficient algorithms exist for all of them. - if a problem is proven NP-complete, one can instead spend your time developing an efficient algorithm that gives a good, but not the best possible, solution. 20.04.2010 Theory 1 - Introduction 9

Analysis of algorithms Approaches: - theoretical analysis - empirical analysis Issues: - correctness - time efficiency - space efficiency - optimality 20.04.2010 Theory 1 - Introduction 10

Best Case, average case, worst case For some algorithms, efficiency depends on form of input: Worst case: C worst (n) maximum over inputs of size n Best case: C best (n) minimum over inputs of size n Average case: C avg (n) average over inputs of size n - Number of times the basic operation will be executed on typical input - NOT the average of worst and best case - Expected number of basic operations considered as a random variable under some assumption about the probability distribution of all possible inputs. So, avg = expected under uniform distribution. 20.04.2010 Theory 1 - Introduction 11

Example: Sequential search Worst case Best case Average case 20.04.2010 Theory 1 - Introduction 12

Type of formular for basic operations s count Exact formula e.g., C(n) = n(n-1)/2 Formula indicating order of growth with specific multiplicative constant e.g., C(n) 0.5 n 2 Formula indicating order of growth with unknown multiplicative constant e.g., C(n) cn 2 20.04.2010 Theory 1 - Introduction 13

Order of growth Most important: Order of growth within a constant multiple as n Example: - How much faster will algorithm run on computer that is twice as fast? - How much longer does it take to solve problem of double input size? 20.04.2010 Theory 1 - Introduction 14

Values of some important function as n 20.04.2010 Theory 1 - Introduction 15

Asymptotic order of growth A way of comparing functions that ignores constant factors and small input sizes (because?) O(g(n)): class of functions f(n) that grow no faster than g(n) ) Θ(g(n)): class of functions f(n) ( ) that grow at same rate as g(n) Ω(g(n)): class of functions f(n) that grow at least as fast as g(n) 20.04.2010 Theory 1 - Introduction 16

Useful summation and formula rules l i n 1 = 1+1+ +1 1 1 = n - l + 1 In particular, l i n 1 = n - 1 + 1 = n (n) 1 i n i = 1+2+ +n = n(n+1)/2 n 2 /2 (n 2 ) =1 +n 1 i n i 2 2 +2 2 + +n 2 = n(n+1)(2n+1)/6 n 3 /3 (n 3 ) a i = 1 + a + + a n = (a n+1 0 i n -1)/(a )( -1) for any a 1 In particular, 0 i n 2 i = 2 0 + 2 1 + + 2 n = 2 n+1-1 (2 n ) (a i ± b i ) = a i ± b i ca i = c a i l i u a i = l i m a i + m+1 i u a i 20.04.2010 Theory 1 - Introduction 17