Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more.
Course Hero has millions of course specific materials providing students with the best way to expand
their education.
Below is a small sample set of documents:
Duke - CPS - 100
Data CompressionCompression is a highprofile application .zip, .mp3, .jpg, .gif, .gz, . What property of MP3 was a significant factor in what made Napster work?Why do we care? Secondary storage capacity doubles every year Disk space fi
Duke - CPS - 100
Intro to SortingSorting "Ideal" Computer Science Topic Theory and Practice meet Efficient Sorting Saves MoneyFirst look at some simple (quick and dirty?) algorithms Selection Sort1. 2. 3.Find smallest; swap with element [0] Consider r
Duke - CPS - 100
Sorting: From Theory to PracticeWhy do we study sorting?Because we have to Because sorting is beautiful Example of algorithm analysis in a simple, useful settingThere are n sorting algorithms, how many should we study?O(n), O(log n), . Why d
Duke - CPS - 100
Sorting: From Theory to PracticeSorting out sortsWhy do we study sorting? Simple, O(n2) sorts - for sorting n elements Because we have to Because sorting is beautiful Example of algorithm analysis in a simple, useful settingSelection
Duke - CPS - 100
Other N log N SortsBinary Tree SortBasic Recipe o Insert into binary search tree (BST) o Do Inorder Traversal Complexity o Create: O(N log N) o Traversal O(N) Not usually used for sorting unless you need BST for other reasonsCompSci 100E
Duke - CPS - 100
From bits to bytes to intsAt some level everything is stored as either a zero or a one A bit is a binary digit a byte is a binary term (8 bits) We should be grateful we can deal with Strings rather than sequences of 0's and 1's. We should b
Duke - CPS - 100
On the Limits of ComputingReasons for Failure1.2. 3.Runs too long o Real time requirements o Predicting yesterday's weather Non-computable ! Don't know the algorithm Time SpaceComplexity, NTractable and IntractableCompSci 100E36.1
Duke - CPS - 100
On the Limits of ComputingOn the Limits of ComputingReasons for Failure1.Intractable Algorithms 2. 3.Runs too long o Real time requirements o Predicting yesterday's weather Non-computable ! Don't know the algorithm Time SpaceComputer
Duke - CPS - 100
Intro to GraphsDefinitions and Vocabulary A graph consists of a set of vertices (or nodes) and a set of edges (or arcs) where each edge connects a pair of vertices. If the pair of vertices defining an edge is ordered, then it is a dire
Duke - CPS - 100
Graph AlgorithmsTopological SortProduce a valid ordering of all nodes, given pair-wise constraints Solution usually not unique When is solution impossible?Topological Sort Example: Getting an AB in CPSExpress prerequisite structure This exam
Duke - CPS - 100
Graph AlgorithmsTopological SortTopological Sort Topological Sort Algorithm1. 2. 3. Produce a valid ordering of all nodes, given pair-wise constraints Solution usually not unique When is solution impossible? Express prerequisite structur
Duke - CPS - 100
Memory ModelFor this course: Assume Uniform Access Time Memory Hierarchy (in order of decreasing speed) All elements in an array accessible with same time cost Reality is somewhat different Registers On (cpu) chip cache memory Off
Berkeley - EE - 232
EE 232 11/6/2007Midterm Examination-2 EE 232 Lightwave DevicesFall 2007 Prof. Ming Wu If you need additional conditions to solve a problem, please write down your assumptions. Please put a square box around your final answers for each proble
Duke - CPS - 100
Seating chart Front of the roomGroup 1 Group 9Group 2 Group 10Group 3 Group 11Group 4 Group 12Group 5 Group 13Group 6 Group 14Group 7 Group 15Group 8 Group 16 Back of the room Group 1
Duke - CPS - 100
Seating chart Front of the roomGroup 1 Group 9Group 2 Group 10Group 3 Group 11Group 4 Group 12Group 5 Group 13Group 6 Group 14Group 7 Group 15Group 8 Group 16 Back of the room Group 1
Texas Tech - GERM - 3313
German 3313 Northern Myths and Legends Welcome to German 3313 Northern Myths and Legends No Prerequisites! Syllabus is online at:http:/www.languages.ttu.edu/courses/germ3313/ Instructor: Dr. Charles A. Grair FL 265 Charles.Grair@ttu.edu Office
Texas Tech - GERM - 3313
Njla The Saga of Burnt Njal Njala was composed around 1280, dealing with events from 930 1020 AD. It is the longest, the most sophisticated, and perhaps the finest example of saga art considered by some to be the national epic of Iceland. Over
Texas Tech - GERM - 3313
Njla 95-97. Flosi, a powerful chieftain, is introduced. He has a brother called Starkad, niece harsh-natured Hildigunn, sons Thorgeir, Stein, Kolbein, Egil. Flosi's father-in-law is Godi Hall of Sida. Hoskuld is now grown; Njal suggests that he m
Texas Tech - GERM - 3313
Review of Lecture 1What is a myth? A myth is a traditional story of ostensibly historical past events and gods or godlike beings that is used to relate the world view of a people or to explain a practice, a belief or a natural phenomenon. There ar
Texas Tech - GERM - 3313
The Kalevala "The Kalevala, or old Karelian poemsabout ancient times of the Finnish people" First published by Elias Lnnrot (18021884) on 28 February 1835. 28 February later became Kalevala Day in Finnland the National Cultural Holiday. The Ka
Texas Tech - GERM - 3313
The Vinland Sagas Two short Icelandic Sagas discuss the settlement of Greenland and the first voyages to the New World: Saga of the Greenlanders (Grnlendinga saga) Eirik the Red's Saga (Eirks saga raua) Both sagas refer to events from 970-1030,
Texas Tech - GERM - 3313
"Sayings of the High One"Havamal A collection of sayings rather than a single poem. Attributed to Odin, the wisest of the Norse gods, but many of the sayings represent folk wisdom rather than divine lore. Written in ljodahattr, the customary ver
Texas Tech - GERM - 3313
Scandinavians in AmericaEmigration by Norwegians to North America began in 1825; over five million Scandinavians arrived in this country before the first world war. This picture shows emigrants in Oslo leaving for America.The Historical Society F
Texas Tech - GERM - 3313
Secrets of the Runes According to Havamal, Odin learned the secrets of the runes while he hung on a tree:"I know that I hung on a windy tree nine long nights Wounded with a spear, dedicated to Odin, Myself to myself (.) No bread did they give me no
Texas Tech - GERM - 3313
Vafthrudnismal and Grimnismal Vafthrudnir's and Grimnir's Sayings Both poems begin with a contest or argument between Odin and his wife, Frigg. In each poem, Odin sets off in disguise to test an adversary, the Giant Vafthrudnir or the King Geirro
Texas Tech - GERM - 3313
Celt ic M yt h and L egend The Celts are a linguistic group in the IndoEuropean language family. Today, only small populations in Scotland, Wales, Ireland, Isle of Man, and Brittany still speak Celtic languages (Gaelic et al.). Historically, Celti
Texas Tech - GERM - 3313
The Mighty ThorThe ChallengeMarvel Comic Groups, 1973The Mighty ThorLoki incites Hymir to challenge Thor, whose honor compels him to accept.The Mighty ThorThor survives the first challenge, to bring back a fish from the depths.The Mighty
Texas Tech - GERM - 3313
Der Nibelunge Nt The Nibelungenlied is one of the few great heroic epics in world literature. It was likely composed around 1200 in southern Germany, between Passau and Vienna. It was composed from the same oral literature as the Volsunga saga, bu
Texas Tech - GERM - 3313
Der Nibelunge Nt The second half of the Nibelungenlied was probably based on a separate work and only later combined with the Siegfried material to form a single epic. Many of the characters are introduced a second time after Chapter 19: Kriemhild,
Texas Tech - GERM - 3313
Der Ring des Nibelungen Richard Wagner (1813 1883). Wanted to be a dramatist, heard Beethoven and changed his mind: music-drama! First marriage, Minna, infidelity and debt. 1848 Revolution, exile in Zrich, new operatic style with Tannhuser, Lohe
Texas Tech - GERM - 3313
The Legend of Faust Early Modern Period in Germany (13501600) also gave rise to legends. Early Modern Legends are folk heroes, not warriors or chieftains. Different society. Like earlier legends, folk heroes also exist on the margins of recorded h