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. Which of the following is correct?
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. What is correct implementation of the Emperor constructor method?
AP Computer Science 3.1 Program Development 212 Views
Share It!
Description:
AP Computer Science 3.1 Program Development. This project utilizes which of the following programming approaches?
Transcript
- 00:00
Thank you We sneak Then here's your smart du jour
- 00:06
brought to you by the dunce Or that was a
- 00:08
noisy sleeper Toronto's norris a dinosaur classes written along with
- 00:14
an extensive hierarchy of sub classes to model all species
- 00:18
of dinosaur super classes written such that personal information Edgy
Full Transcript
- 00:23
name age and favorite taylor swift song is stored in
- 00:26
private data members which can only be accessed by a
- 00:29
dinosaur method A complex environmental modeling program is then written
- 00:33
in order to re enact a great scene from jurassic
- 00:36
park The outer loop is written first and then inner
- 00:39
loops and procedures are filled in to simulate more fundamental
- 00:43
processes This project utilizes which of the following programming approaches
- 00:49
All right And here lancers calm down Dating catholic and
- 00:55
one two three All right all right Let's Go three
- 00:58
to the choices Object oriented development means that we use
- 01:01
objects in our program Well are dinosaurs objects Yep Choice
- 01:07
one works Remember that java is an object oriented programming
- 01:11
language because it supports the use of objects Though any
- 01:14
programming done in java will be a use of object
- 01:17
oriented developed choice Two talks about a funny thing called
- 01:21
top down development recall That when we make a programme
- 01:25
from top down we write all the general code first
- 01:29
and then moved to a more specific pieces Think about
- 01:32
it this way when you build a skyscraper first you
- 01:35
build the frame Then he put in the walls and
- 01:37
then you install all the small furnishings like windows and
- 01:40
lights and that's How you build a skyscraper Our code
- 01:43
successful uses top down development by riding the outer general
- 01:46
of first and then feeling in the inter loose and
- 01:48
procedures way know that our answer has tohave choice one
- 01:51
into innit However there is no choice that has only
- 01:53
one and two So our answer thus must be e
- 01:57
but let's take a look at our last choice Teo
- 01:59
make sure choice three mentioned something about data encapsulation Well
- 02:03
this is just a scary word The ap test writers
- 02:06
used to scare you Another word for it is data
- 02:09
hiding Now that we know this deciphering the meaning becomes
- 02:12
much easier Data hiding is just the process of hiding
- 02:15
personal information using private data members It's nice one T
- 02:18
rex wants to hide the fact that his favorite t
- 02:20
swift song is a love story Or that mr smoke
- 02:24
jams out tio twenty two when he thinks no one
- 02:26
is watching Don't worry No one else will find that
- 02:29
out Because our program successfully implements data encapsulation your answer
- 02:33
must be eaten Program successfully implement all three of these
- 02:36
functions Next time we'll see what happens when t rex 00:02:39.55 --> [endTime] is taylor swift Fandom gets a little too big
Related Videos
AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?
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. Which of the following is correct implementation of the Country class?
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. What kind of algorithm is the following?