Karel Unit:1 Answers

Ace your homework & exams now with Quizwiz!

1.4.5: What is Programming

It's kinda like typing a command of what you want it to do in another language. 1. It makes our life easier. 2. It makes something we want to do faster. 3. It does something that humans what to, but can't do. So humans do this just so they can do it for us.

1.1.4: Your First Karel Program

move(); move(); move(); move(); takeBall();

1.1.3: Our First Karel Program

move(); move(); putBall(); putBall(); move(); move();

1.1.6: Dancing Karel

move(); move(); turnLeft(); turnLeft(); turnLeft(); turnLeft();

1.1.5: Short Stack

move(); putBall(); putBall(); move();

1.2.4: Make a Tower

move(); putBall(); turnLeft(); move(); putBall(); move(); putBall(); move(); turnLeft(); turnLeft(); turnLeft();

1.3.3: Tower and Turn Right

move(); turnLeft(); putBall(); move(); putBall(); move(); putBall(); move(); turnRight(); function turnRight(){ turnLeft(); turnLeft(); turnLeft(); }

Q: How many times should Karel turn left in order to turn right?

A: 3

Q: What is an avenue in a Karel world?

A: A column

Q: Which of the following statements is the most accurate, yet simple, definition of a computer?

A: A computer is something that performs calculations by following and executing specific instructions to solve a problem.

Q: What is a street in a Karel world?

A: A row

Q: Which of the following choices correctly orders the early types of computers from earliest to most recent?

A: Abacus, Analytical Engine, ENIAC, IBM Laptop

What do you think you will be able to do with computers 10 years from now that you cannot do now?

A: Aircondioner, 10 years from now maybe has a camera in it where no one can see so if a thief broke in and we don't know who then that is the solution. Laptops, maybe laptops somehow don't hurt your eyes anymore. Washing machine can later be a robot that wash your cloths in only 30 min and also no need shampoo. Also after that it dries it for you in 15 min, and also fold them and put it back in the closet for us. And when it's done it charge it self.

Q: What can be used to teach Karel to turn right?

A: Functions

Q: Which of the following statements is true? I. Computers have only been around since the 1940's II. One reason computers were first developed was to do mathematical computations faster III. Some modern computers include laptops, cell phones, and tablets IV. Computers are able to perform tasks by using logic

A: II, III, IV

Q: Why is it useful to teach Karel new commands like turnRight()?

A: It is useful, because we been wasting our time just writing "turnLeft();" when we can just write"turnRight();". It is just like we are saving a lot of time.

Q: If Karel is facing North and the code turnLeft(); turnLeft(); runs; which direction is Karel facing now?

A: South

Q: If Karel starts at Street 1 and Avenue 3 facing East, what street (row) and avenue (column) will Karel be on after this code runs? move(); move(); move(); turnLeft(); move();

A: Street 2 and Avenue 6

1. List three to five ways that computers are involved in your day to day life.

A: The airconditioner, one of the only way for me to sleep at night. Laptops, it help me study whenever I wanted to. Washing machine, without them my family and I have to spend a lot of time to wash the cloths.

Q: Which of these is a valid Karel command?

A: move();

1.1.2 Quiz: Karel Commands

Bla

1.2.2 More Basic Karel Quiz

Bla

1.3.2 Karel Can't Turn Right Quiz

Bla

1.3.6: Reflection: Teaching Karel New Command

Bla

1.4.2 Quiz: History of Computers

Bla

1.4.3: Computers' Role in Your Life

Bla

1.2.5: Pyramid of Karel

putBall(); move(); putBall(); move(); putBall(); turnLeft(); move(); putBall(); turnLeft(); move(); putBall(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft(); turnLeft(); turnLeft(); move(); putBall();

1.2.3: Tennis Ball Square

putBall(); move(); turnLeft(); putBall(); move(); turnLeft(); putBall(); move(); turnLeft(); putBall(); move(); turnLeft();

1.3.4: Slide Karel

putBall(); move(); turnRight(); move(); putBall(); move(); turnLeft(); move(); putBall(); function turnRight(){ turnLeft(); turnLeft(); turnLeft(); }

1.2.6: Go Through the Door

turnLeft(); move(); move(); turnLeft(); turnLeft(); turnLeft(); move(); move(); move(); move(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft();

1.3.5: Fireman Karel

turnRight(); move(); move(); move(); turnLeft(); function turnRight() { turnLeft(); turnLeft(); turnLeft(); }


Related study sets

Adobe Photoshop CC18 Practice Training Test

View Set

Exploring the Religions of Our World chapter 2

View Set

3.1 Why a Business Plan Is Important (Part C Question/Answer)

View Set

Atomic structure and periodic trends

View Set

Estructura 10.1 - ¿Cómo eran las cosas? - Fill in the blanks with the imperfect forms of the indicated verbs.

View Set

Accounting Smartbook Chapter 9 Study Guide Mc Graw Hill

View Set