AP Computer Science 1.2 GridWorld Case Study and APIs
Recommendation
Want a study guide too?
AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?
AP | AP Computer Science |
Computer Science | AP Computer Science |
Language | English Language |
Test Prep | AP Computer Science |
Transcript
Are these that look Not like wicked witches All right
Well this one's pretty simple it's Just a test of
your grid World knowledge and it's One of those things
that you either know or you know with the bug
classes a subclass of act a bit like rock flour
and a few others Right So bug has a few
things Those classes don't However it has the ability to
change direction and move about the grid The turn method
changes the direction the bug is facing by forty five
degrees to the right without changing its position on the
grid Here's our bus found him in the back instead
of adultery What We've been calling him stinging ever since
the so what happens when we call Turn four times
Okay Well let's be careful Grab him from the back
Watching these benefits on that one do you Three and
four What's A bad was his thing Destiny is now
facing south which makes our answer c And if you
didn't know that concept off the top of your head
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