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 3.4 Program Development 187 Views


Share It!


Description:

AP Computer Science 3.4 Program Development. Which of the following terms best describe the process of using methods to avoid writing repetitive code within a function?

Language:
English Language

Transcript

00:00

Thank you We sneak And here's your shmoop du jour

00:05

brought to you by data hiding it's Kind of like

00:08

wearing clothes You don't want anyone to see what's underneath

00:11

Okay Which of the following terms best described the process

00:14

of using methods to avoid writing repetitive code within a

00:18

function And this is an example of what kind of

00:20

development All right well each of the processes are top

00:25

down process so we can eliminate choices cnd let's go

00:29

through the differences between each step wise refinement is the

00:32

process of breaking long methods into smaller tasks doesn't quite

00:36

fit the questions description Procedural abstraction is the process of

00:40

bundling a common piece of code in a one method

00:42

so it could be used in many different places But

00:45

this fits our description nicely and let's come back to

00:47

this one Information Hiding is the process of making data

00:51

members and methods private way use information hiding so that

00:54

others cannot see our private data Not quite what we're

00:57

looking for It looks like procedural abstraction is the term

01:00

we're looking for well it's a useful tool so that

01:03

developers working together don't have to worry about fixing other

01:06

people's coats They just use the method and if it

01:09

breaks it's up to the guy who wrote it tio

01:11

deal with it Well next time we'll look at public

01:13

methods they're like the streakers you see a world cup

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?