ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos


AP Computer Science A Videos 108 videos

AP Computer Science 1.2 Program Development
293 Views

AP Computer Science 1.2 Program Development. Which of the following is correct?

AP Computer Science 2.3 Classes and Objects
191 Views

AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?

AP Computer Science 2.3 Program Development
195 Views

AP Computer Science 2.3 Program Development. What is correct implementation of the Emperor constructor method?

See All

AP Computer Science 2.1 Program Development 190 Views


Share It!


Description:

AP Computer Science 2.1 Program Development. The approach used in this project is an example of which of the following?

Language:
English Language

Transcript

00:00

Thank you We sneak and here's your shmoop fuse you're

00:05

brought to you by penguins who feel discriminated against during

00:09

casual fridays All right you've been assigned to a project

00:12

in which you'll be writing a collection of classes in

00:15

java in order to model the various species of penguins

00:18

in the world today super class is penguin with a

00:22

hierarchy of sub classes organized by genus and species Your

00:28

class hierarchy will be used to model penguins in zoos

00:31

and wildlife preserves all over the world Super class england

00:35

is declared as the following but the approach used in

00:39

this project is an example of which of the following

00:43

pop down please roman numeral thing All right let's go

00:49

let's mix it up and start from the bottom Our

00:52

dad encapsulation is the process of hiding data through private

00:55

variables so that others cannot access it In this case

01:00

the penguins name is declared his private because you know

01:03

penguins really private This is a good example of data

01:06

encapsulation Yup Second option talks about odd decorated development which

01:12

is the use of different objects that work together to

01:14

make the program run well in this case the penguin

01:17

Suit class and it's sub classes could be used to

01:19

model a real world population of penguins This program adequately

01:23

uses object oriented development Finally we get to our last

01:27

option Well really our first we've talked about top down

01:30

development This is the approach to writing programs where all

01:33

the general stuff is made first and then the more

01:35

specific stuff is building so useful approach It doesn't really

01:39

apply to this program That leaves us with two and

01:42

three is our answer which corresponds choice b till next 00:01:46.668 --> [endTime] time Remember the penguin is mightier than the sword

Related Videos

AP Computer Science 1.2 GridWorld Case Study and APIs
493 Views

AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?

AP Computer Science 1.4 Standard Algorithms
200 Views

AP Computer Science 1.4 Standard Algorithms. How many times will mystery be called for mystery(n) for n > 1?

AP Computer Science 2.3 Classes and Objects
191 Views

AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?

AP Computer Science 3.4 Inheritance, Abstraction, and Polymorphism
204 Views

AP Computer Science 3.4 Inheritance, Abstraction, and Polymorphism. Which of the following will satisfy the conditional if statement for boo, str,...

AP Computer Science 4.2 Standard Algorithms
191 Views

AP Computer Science 4.2 Standard Algorithms. What kind of algorithm is the following?