ABSTRACTION. Important points from Eckels Reading: All programming languages provide abstraction. The Object Oriented Programming approach to abstraction.

Slides:



Advertisements
Similar presentations
Can you guess who I am I live in a bowl. I can swim.
Advertisements

By: Jack Prelutsky Mrs. Ellis Wilder Waite Elementary
Mr. Animal World. Welcome! Mr. Afghanistan My name is Sheep. I like eating grass. Because my wool is very warm, people use my wool to make sweaters.
PARTS OF THE BODY.
ToGether foR a bEtter EnvironmeNt Comenius project Α΄ Dimotiko Sxolio Pera Choriou – Nisou CYPRUS.
 the tiger has brown and black stripes and white down in he's stomach.  He has a short ear.  He runs fast.  he has yellow eyes.  He's fur is soft.
Cheetah Samuel Snopek 4.A..
Read the descriptions and find the right monsters ! CM1 B
By, Isabella D.  Pandas are black and white fur coated.  Pandas have big heads and rounded ears.  They can weigh up to 300 pounds.  They have short.
Arctic Animals Polar Bears Characteristics of Polar Bears A group of polar bears is called a "Celebration of Polar Bears". Polar bears can grow to 10.
CAT  Cats are very nice pets.  You can give them cat food and water, because only little cats can drink milk.  Cats like climbing trees and catching.
Lions King of the Beasts By: FD.
American Curl Cats By Ember Leveck. Animal Defenses They can cough out hair balls. They have sharp claws. Sometimes they flip their ears back.
Giraffes Longest necked animal By: NH.
Its very long. Its color is green and black. Meal swallowed whole. Crawling on the ground. He lives in jungle. Eating monkeys and other animals. It is.
All About Dogs By: Adan Molly Wendell Abbey
The AFRICAN wild dog BY JACKO AND TAINE ddw.
I live in the house. I have four legs. I have a soft fur. I have a long tongue. Pets Who am I ? Category : Check your answerHint1.
Sadegh Aliakbary Sharif University of Technology Fall 2011.
Created by Mrs. Veneziale’s Class Next Page What am I? Clue #1 I am Pink. Clue #2 I have a curly tail. Clue #3 I like mud. Clue #4 I am fat. Clue #3.
The fantail goldfish mouse cat parrot dog rabbit.
Focus Skill: Compare & Contrast
Sadegh Aliakbary. Copyright ©2014 JAVACUP.IRJAVACUP.IR All rights reserved. Redistribution of JAVACUP contents is not prohibited if JAVACUP.
What am I? I am green. I can jump very far. I have four legs.
Created by Mrs. Fisher’s Class Next Page What am I? Iam pretty large. I have a tail. I have four legs. I am pretty furry. Click here to find the answer.
By: Lucy Yip 3HJ. Introduction I want to know more about giant pandas because giant pandas are cute and they are the icon of China. I like to know why.
Created by Mrs. Fannin’s Class Next Page What am I? Clue #1 I eat bones. Clue #2 I like to dig. Clue #3 I dig for bones. Clue #4 I jump in the mud. Click.
Created by Mrs. Mahoney’s Class Next Page What am I? I lay eggs, I sleep in a nest. I have 2 legs. I say cluck, cluck. Click here to find the answer.
LEVEL 1 Lesson 3 Topic: Dolphins and Dogs Length:15 Minutes.
Adapted from: Play by the Rules. Follow the directions carefully. The animal has a body shaped like a big triangle. Its head is shaped like a bumpy circle.
Havanese Dog. Table of Contents 1 Food 2 Babies 3 Habitat 4 Description 5 Interesting Facts 6 Ending Comment 7 Credits.
Dogs. ?Where does your animal live MY DOG LIVES WITH ME AT HOME IN HOUSE WE HAVE A YARD THAT HAS a kennel and my dog loves to be there.
Alligator DARYN WHITE.
Animals This is an oral report on animals.. The lion This is a lion. It is a mammal. It is covered by hair. It has got two eyes, two ears and sharp teeth.
Mad Scientist Experiment Subtitle. Today’s Task – Make Your Animal! 1.Pick the animal that you want to use for the main part of the body. 2.Click on the.
SIAMESE CAT BY ED GANNON. DID YOU KNOW THAT A SIAMESE CAT IS VERY SKINNY AND LONG? THEY ALSO HAVE LONG SLEEK BODIES.
Black Bears By Marissa. Table of contents 1 Babies 2 Food 3 Habitat 4 Enemies 5 Description 6 Communication 7 Interesting facts 8 Would this animal make.
OOP (Object Oriented Programming) Lecture 1. Why a new paradigm is needed? Complexity Five attributes of complex systems –Frequently, complexity takes.
We Swim Small ones Big Friends 4 legs Mixed Bag.
Created by Mrs. Veneziale’s Class Next Page What am I? Clue #1 I quack. Clue #2 I go in the pond. Clue #3 I have big feet. Clue #4 I have a beak. Click.
GUESS THE THING IS IT A PLANT OR AN ANIMAL. GUESS WHAT O Used at Christmas O Hold lights O Put presents under this.
Created by Mrs. Stehli’s Class Next Page What am I? Clue #1 I lick you. Clue #2 I love you. Clue #3 I bark. Clue #4 I chase cats. Click here to find.
Загадки о животных (Animals). My name is Jack. I'm very big. My name is Jack. I'm very big. I am white. I have four legs. I am white. I have four legs.
The cow The cow is a big and heavy farm animal.
My Life as a Beagle By Claire Inturrisi. Physical Appearance I maybe small but don’t let my size fool you. My build is hardy, and I am a very active companion.
Tea Great Horned Owl. Description Coloring: Size: Physical Characteristics: Source #___23______ A Great Horned Owl has brown, white, and black ear tufts.
The Fastest of the Fast By: HT. Do you like cheetahs? If you do you should check out this awesome power point.
The Long Neck Animal! By Dillan A.. * The scientific name for a Giraffe is a Giraff Cameloperdails * Live up to 25 years * There are many types of giraffes,
Welcome to Jeopardy! Jeopardy is a quiz game where contestants are provided an answer and they must say the question. To play, simply choose a category.
Our Pets Are Missing!!! Help! My pet turtle is missing. My turtle looks smooth like a rock. He is tiny, has a green shell, and his face is red. He is.
By Justin. It lives in the mountains. It`s black and white. It`s got two big eyes and one small nose. What`s this animal? It`s panda. Let`s guess.
Leopards spotted cats Power Point by Erin.
By: Cody Turney, Kyleigh Leavell, Whittney Bell,and Elizabeth Duvall.
Wolf Furry Friend By: AM. Getting to Know Wolf Lupus means wolf  They have strong teeth  They are like dogs  They are in the canine family.
The African Wild Dog By: Ella Thompson. Oh there you are I am here to tell you a little bit about my life. Lets get on with the Power point! Here we go!
Інтерактивний кросворд ”Animals” 3-4 клас. Hi, boys and girls! I’m Buratino. I go to school now. I know much about animals. And you? Let’s check.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
Gitulyar M.V. I live in the woods. I'm very big and furry. I have a big nose, a little tail and four legs. I like to eat fish and berries. I am a...
Tundra. Polar Bear Eats seals and sometimes walruses Sleep in dens One of the largest land animals Males can weigh pounds and can be 8-10 feet.
22 ANIMAL RIDDLES (WHAT AM I?) M I ? A
Amazing Labrador Retrievers
Gray Wolf By Emily Aysseh.
Advanced Programming Behnam Hatami Fall 2017.
Have and Has Unit 3 Keeping pets.
Animals.
Abstraction and Hierarchy
Have and Has Unit 3 Keeping pets.
The World Of A Rabbit By: Kyla Frederick.
What am I? Animals.
Presentation transcript:

ABSTRACTION

Important points from Eckels Reading: All programming languages provide abstraction. The Object Oriented Programming approach to abstraction provides tools for the programmer to represent elements in the problem space. The representation is general enough that the programmer is not constrained to any particular type of problem. The idea is that the program is allowed to adapt itself to the lingo of the problem by adding new types of object. All objects, while being unique, are also part of a class of objects that have characteristics and behaviors in common.

I WANT AN ANIMAL

I WANT A PET

I WANT ? Cute, Short Hair, Four Legs, Medium Size, Medium Weight, Yellow Eyes, Long Ears, Wet Nose, Long Tail, Whiskers, Brown Bark Loud, Walk Fast, Run Fast, Play with Sticks,Fetch the newspaper, Wag Tail, Eat Food, Drink Water, Sleep

Magic Box Cute, Short Hair, Four Legs, Medium Size, Medium Weight, Yellow Eyes, Long Ears, Wet Nose, Long Tail, Whiskers, Brown Bark Loud, Walk Fast, Run Fast,Play with Sticks,Fetch the newspaper, Wag Tail, Eat Food, Drink Water, Sleep

I Want A Fido! Cute, Short Hair, Four Legs, Medium Size, Medium Weight, Yellow Eyes, Long Ears, Wet Nose, Long Tail, Whiskers, Brown Bark Loud, Walk Fast, Run Fast,Play with Sticks,Fetch the newspaper, Wag Tail, Eat Food, Drink Water, Sleep

Fido Magic Box FIDO

Everybody Wants One

I would be here all day Cute, Short Hair, Four Legs, Medium Size, Medium Weight, Yellow Eyes, Long Ears, Wet Nose, Long Tail, Whiskers, Black Bark Loud, Walk Fast, Run Fast,Play with Sticks,Fetch the newspaper, Wag Tail, Eat Food, Drink Water, Sleep BOB

What do they have in common? Cute, Short Hair, Four Legs, Medium Size, Medium Weigh t, Yellow Eyes, Long Ears, Wet Nose, Long Tail, Whiskers, Brown Bark Loud, Walk Fast, Run Fast, Play with Sticks, Fetch the newspaper, Wag Tail, Eat Food, Drink Water, Sleep Description: Hair, Legs, Size, Weight Eye Color, Ears, Tail,Whiskers, Fur Color Do: Bark, Walk, Run, Play, Fetch, Eat, Drink, Sleep

Use this instead Description: Hair, Legs, Int Size, Int Weight Eye Color, Ears, Tail,Whiskers, Fur Color Do: Bark(), Walk(), Run(), Play(), Fetch(), Eat(), Drink(), Sleep() DOG

Magic Box is really magic DOG

ABSTRACTION Abstractions allow programmers to focus on the immediate problem they face without having to deal with unnecessary complexity. (StudyPlace Wiki - Abstraction)

Abstraction DOG

ABSTRACTION The basic paradigm for tackling any large problem is clear - we must “divide and rule.” How we choose to divide the problem is of overriding importance.” (Liskov, p.2)

References Eckels, B. (2006). Thinking In Java, 4th ed. Upper Saddle River, New Jersey: Prentice Hall.Thinking In Java, 4th ed Liskov, B. (unknown). Program Development in Java.New York, New York; Addison Wesley. Bates, B. (2005). Head First Java 2nd Ed. New York, New York; O’Reilly Study Place Wikipedia