1 Lab Session-12 CSIT221 Fall 2002 Lab Exercise Based on binary search tree (Demo Required)

Slides:



Advertisements
Similar presentations
The Oil Pollution Act of 1990 (OPA)
Advertisements

Oil Pollution Act of 1990 (OPA) By: Casey Marshall Period 4 -On March 24, 1989, shortly after midnight, the oil tanker Exxon Valdez struck Bligh Reef in.
BY:DOROTHY PERELMAN 7A. Way beneath the floor of the ocean there is methane which is a type of gas. The BP oil spill occurred when a bubble of methane.
Oil Pollution act Was a response to the Exxon Valdez Incident
The Problem of Oil Spills Post Lab: How do we clean up real oil spills? AIS: ES
Title Page. State of Alaska Site of Exxon Valdex oil spill State of Alaska Location of the Exxon Valdex oil spill in the state of Alaska.
Oil Spills American Institute of Chemical Engineers.
LOVE CANAL DISASTER Hooker Chemical and Plastic Company disposed tons of toxic waste. As a consequence the residents, after several years of coloured.
Massive oil spill spreads in Gulf of Mexico Los Angeles Times photographers Carolyn Cole and Rick Loomis document the disaster.
Marine Oily Handling Devices and Pollution Prevention Chapter 8 Lesson 1 Case 2 Marine Oil Pollution Cases Analysis.
1 Lab Session-12 CSIT221 Spring 2003 FINAL Lab Exercise Exercise is based on binary search tree (Demo Required)
Oil Spills in Coastal Areas: Prevention and Control Arturo A. Keller Bren School of Environmental Science and Management University of California, Santa.
1 Session-16 CSIT 121 Spring 2006 Demo for switch-case due now Demo for switch-case due now String comparison String comparison Slide 23; sample case.
1 Lab Session-5 CSIT221 Spring 2003 Default and Parameterized Constructors Destructors Programming Exercise for building a template based class (demo required)
1 Lab Session-3 CSIT 121 Fall 2004 Section-3 should finish Lab-1 Exercise first Division rules Operator precedence rules Lab Exercise.
Earth Science 4.4 Protecting Resources
Question: What will happen if you pour oil into water? Why?
Oil Spills. Background Information Each year, millions of gallons of oil are released into the environment, either accidentally or intentionally. Each.
Oil spill disaster Vocabulary: Slick problems Grammar: Active voice & Passive voice Function: Expressing feelings and ideas I think…/ In my opinion,…
ENVIRONMENTAL DISASTERS
Canada’s World Trade. You might be surprised to know that Canada is locked in a continual struggle with other global powers. It isn’t a military battle.
32.4 Environmental Activism How did the United States balance preserving the environment and continued industrial growth? What are the some of the current.
5.3.1Analyze the risk associated with offshore oil production The offshore oil industry accounts for 29% of reported oil releases/spills. P Oil.
1 Lab Session-III CSIT-120 Fall 2000 Revising Previous session Data input and output While loop Exercise Limits and Bounds Session III-B (starts on slide.
U.S. Coast Guard Unclassified
Do Now: Movie: Plastic Bottles and the Ocean Copy the questions into your notebook. While watching the movie answer the following: 1)How many animals are.
Environment and Energy Standard#7 Students will describe the nature of various environmental problems.
DO NOW 1.Take out your 5 facts so I can check them and then share them with your table. 2.Binder clean out. What to keep: Last night’s HW Any assignments.
The British Isles and Nordic Nations England.  British Isles - islands clustered off north- west coast of Europe - largest island is Great Britain 
Environmental disasters. › The Chernobyl accident in 1986 was the result of a flawed reactor design that was operated with inadequately trained personnel.
United States Environmental Issues. Review of Environmental Issues Causes and Effects.
What have we done? – methyl isocyanate gas Release from Union Carbide, India people died that night, another died later - thousands.
BY CHRISTOPHER. FACTFILE  Main port: Sullom Voe (Shetland) (oil terminal).  Oil vessels: Oil rig  Supply vehicles: Bristow helicopters and oil supply.
Water Pollution Unfortunately, pollutants enter the Earth ’ s systems of rivers, lakes, and oceans every day. Sometimes this is due to careless acts by.
Warm Up Sept. 10th 1.What ideas from the Renaissance & Reformation might make someone want to set out on a voyage? 2.Name any explorers you have already.
Introduction Marine pollution by ships The extent of compensation by the polluter The consequences when not fully compensated Four areas of discussion.
Spill reports: 249 Amount spilled: 1900 gals Spills by Product.
History of Marine Science By Emily Silliker. Henry Bryant Bigelow Henry Bigelow was an ocean researcher whose investigations in the early parts of the.
Oil spill By: Dominique and Tristan Info about the oil spill A lot of that oil is washing ashore now in Gulf Coast states such as Louisiana. There are.
R ead T he B oard !  Please bring your field journal in the box on Lab Table #3  Please get out your Venn Diagram for a stamp. Compare your diagram with.
Exxon Valdez Oil Spill Dillon Mackenzie.
Non-renewable Energy Sources ______% of the energy we use in the U.S. is non- renewable compared to a world average of ______%
Earth’s Changing Environment Lecture 9 Fossil Fuel Extraction: Environmental Impacts.
Water Chapter 5 Part III. I. Cleaning Up Water Pollution 1. The 1972 Clean Water Act was passed to “restore and maintain the chemical, physical, and biological.
OIL POLLUTION ACT DRAFT YEAR: 1990 TSUKIKO JERGER.
Background: A Barge owned by Samsung collided with the M/V HEBEI SPIRIT on December 8, 2007, 10 km (6.2 miles) off the coast of South Korea, west of Taean.
Energy-related Environmental Disasters
The French Come to Texas
Oil Pollution Act (OPA) Signed into law August 1990 This act amends the Clean Water Act (1972) This act is National Law Matt Vedrani.
Environmental Tragedy.  Prince William Sound was known as Alaska’s “Emerald Jewel” because of its crystal clear waters.  The Sound was home to more.
Oil Pollution Act of 1990 Draft year: 1990 by the 101 st United States Congress. Amendment years: None; this legislation is national. By, Maddie McMahon.
The Oil Pollution Act of 1990 Year Drafted: 1989 Year Amended: 1990 National Act Lawrence Jiang Period 1.
Ch 11-3 Water Pollution. What is it? Anything that degrades water quality Anything that negatively affect organisms What causes it? Almost every way we.
EXXON VALDEZ OIL SPILL. When and What Happened? March 24, 1989 the oil tanker Exxon Valdez struck a reef in Prince William Sound, Alaska creating a hole.
Accountability for health hazards By: Damilola Babatunde.
OPRC Level 3 Causes, Fate and Effects of Spilled Oil.
International Coastal Oceans: The Mediterranean Sea.
Sector San Diego Area Committee and Incident Management Division Update RRT9 June 27, 2012.
The exxon valdes environmental disaster
Ship Disaster Investigation
Ship Disaster Investigation
Deepening Disaster TRACKING THE GULF OIL SPILL.
Human Impact & Sustainability
Oil Spills.
OIL POLLUTION ACT.
The Oil Pollution Act of 1990 (OPA)
Name: The Oil Pollution Act of 1990, Draft Year: 1990 by the 101st Congress, Amendment Year: Never Amended, National The act has increased EPA’s control.
The Oil Pollution Act of 1990 (OPA)
Human Environment Interaction
Oil Spills.
Presentation transcript:

1 Lab Session-12 CSIT221 Fall 2002 Lab Exercise Based on binary search tree (Demo Required)

2 Lab Exercise (Demo Due Dec 3 rd Sec 01 and Dec 5 th Sec 02) You will build a spell checker using BST’s. Build a BST for storing correctly spelled word. Change the info from int to string and include. You should use the member function definitions from previous lab. Type a text file containing at least 200 words and save it under notepad Open the text file that you created and read and store all the different words from this file to your BST

3 Lab Exercise Now introduce some spelling errors in the original file and save it with a different name Your spell checker must capture the misspelled words and display them on the screen Can you give the user a hint to possible correct spelling of the misspelled words?

4 Sample Text File LA CORUNA, Spain -- A crippled oil tanker threatening to spill thousands of tonnes of oil off Spain's north- west coast has completely sunk. The Prestige had already split in two and begun spilling its cargo into the Atlantic Ocean sparking fears of a disaster that could dwarf the infamous Exxon Valdez spill off Alaska in Lars Walder, a spokesman for the Dutch salvage company Smit Salvage told reporters: "I can confirm that the Prestige has sunk. The fore section sank at 1515 GMT on Tuesday." The rear section of the Prestige went down earlier in the day taking much of the 24,000 tonnes of oil in its tanks with it. The ship sank about 200 kilometres (130 miles) off the coastline in Atlantic waters 3,600 metres (11,880 feet) deep. Environmental group WWF have warned that if all the fuel oil leaked, it would be one of the largest oil leaks in the world -- about twice as big as the Exxon Valdez spill off Alaska in The Bahamian-flagged tanker, carrying 70,000 tonnes of heavy fuel oil, ran into trouble off the northwest coast of Spain during a violent storm last Wednesday when one of its tanks was punctured due to unknown causes and around 5,000 tonnes of oil flowed out. Spanish officials -- who have been trying to clean up oil that has already spilled from the tanker over the last six days -- scrambled to protect the coast of northwestern Spain where fishing is the primary industry. The clean-up effort, they speculated, might take as long as four years. Spain said it would push to bring forward the date to ban from European waters single-hulled tankers like the Prestige and insist on double-hulled vessels. Meanwhile EU Transport Commissioner Loyola de Palacio sent a letter to the 15 EU capitals on Tuesday urging that they move faster to enforce new inspection rules that could prevent such catastrophes.