ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos


AP Computer Science Videos 110 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?

See All

AP Computer Science 1.2 GridWorld Case Study and APIs 493 Views


Share It!


Description:

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

Language:
English Language

Transcript

00:00

Sorry And here's your shmoop du jour This one's got

00:05

legs and a stinger and creepy little mouth parts just

00:10

like us If you have a north facing bug in

00:13

turn is called for the bug four times What is

00:16

the direction of the actor and hear your potential answers

00:20

Are these that look Not like wicked witches All right

00:24

Well this one's pretty simple it's Just a test of

00:26

your grid World knowledge and it's One of those things

00:29

that you either know or you know with the bug

00:32

classes a subclass of act a bit like rock flour

00:36

and a few others Right So bug has a few

00:39

things Those classes don't However it has the ability to

00:42

change direction and move about the grid The turn method

00:46

changes the direction the bug is facing by forty five

00:50

degrees to the right without changing its position on the

00:53

grid Here's our bus found him in the back instead

00:57

of adultery What We've been calling him stinging ever since

01:02

the so what happens when we call Turn four times

01:07

Okay Well let's be careful Grab him from the back

01:10

Watching these benefits on that one do you Three and

01:15

four What's A bad was his thing Destiny is now

01:18

facing south which makes our answer c And if you

01:21

didn't know that concept off the top of your head

01:23

don't worry it's in that bigelow a pcs quick reference 00:01:27.988 --> [endTime] guide that you'll get to use during the exam

Related Videos

Computer Science: Setting Up Your Environment
19 Views

Just as you move your furniture into a new house before spending the night, you’ve got to spend a little time setting up your environment when yo...

Computer Science: Doubles and Ints
17 Views

Doubles and ints. At first glance, it may look like this video will be about baseball and football statistics. But they're actually computer scienc...

ACT Science 2.1 Research Summary Passage
608 Views

ACT Science: Research Summary Passage Drill 2, Problem 1. Why do you think that the filter paper will not remove the salt from the water?

AP Biology 1.1 Biological System Interactions
1180 Views

AP Biology: Biological System Interactions Drill 1, Problem 1. Complete the sentence about a saturated fatty acid.

AP Biology 1.1 Essential Life Process Information
606 Views

AP Biology: Essential Life Process Information Drill 1, Problem 1. If one parent is heterozygous for the sickle cell trait while the other par...