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 4.4 Program Development 198 Views
Share It!
Description:
AP Computer Science 4.4 Program Development. Which of the following diagrams represents the most procedurally abstracted implementation of the program?
Transcript
- 00:00
Thank you We sneak And here's your shmoop du jour
- 00:05
brought to you by product placement in the terminator movies
- 00:09
Remember those hasta la vista All right consider the following
- 00:15
program which generates ten random test scores between zero and
- 00:19
one hundred then finds and prince the average score right
Full Transcript
- 00:23
this the program right here there Got it Okay which
- 00:28
of the following diagrams represents the most effective procedurally abstracted
- 00:33
implementation of the program And here your potential answer We
- 00:37
get extra money for you Are you feeling get average
- 00:44
enough Okay here we go Well we know that we
- 00:48
should break apart program into smaller methods that have a
- 00:50
single function Just like terminator has one function and one
- 00:53
function on lee These methods should only do one thing
- 00:58
The program has three basic functions Okay generate the scores
- 01:03
get the sums of the scores and princey average of
- 01:06
the score So those are the three functions we should
- 01:09
break it into in order to follow a procedural decomposition
- 01:13
All right we know this because those functions are primitive
- 01:16
functions that can't be broken down into simpler pieces You
- 01:20
know that it's cool seems like a gotta be our 00:01:24.696 --> [endTime] best chance sir Target locked could be
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?