Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Forgot Password?

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign In

Quizaza

Quizaza

Quizaza Navigation

  • Home
  • DMCA
  • Honor Code
  • About us
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • About Us
  • Contact Us

Share & grow the world's knowledge!

We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.

  • Recent Questions
  • Most Answered
  • Bump Question
  • Answers
  • Most Visited
  • Most Voted
  • No Answers
  1. Asked: January 27, 2024In: Technology

    1.16.5 Double Tennis Balls CodeHS Answers

    Quizaza team
    Quizaza team Enlightened
    Added an answer on January 27, 2024 at 4:18 am

    //Have 5 functions 1 start function start(){ move(); putTwoBalls(); moveBack(); } function putTwoBalls(){ while(ballsPresent()){ takeBall(); putTwoMoreBallsNextAve(); } moveBallsNextDoorBack(); } function putTwoMoreBallsNextAve(){ move(); putBall(); putBall(); moveBack(); } function moveBallsNextDooRead more

    //Have 5 functions 1 start
    function start(){
    move();
    putTwoBalls();
    moveBack();
    }
    function putTwoBalls(){
    while(ballsPresent()){
    takeBall();
    putTwoMoreBallsNextAve();
    }
    moveBallsNextDoorBack();
    }
    function putTwoMoreBallsNextAve(){
    move();
    putBall();
    putBall();
    moveBack();
    }
    function moveBallsNextDoorBack(){
    move();
    while(ballsPresent()){
    moveOneBallBack();
    }
    moveBack();
    }
    function moveOneBallBack(){
    takeBall();
    moveBack();
    putBall();
    move();
    }
    function moveBack(){
    turnAround();
    move();
    turnAround();
    }
    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. Asked: January 27, 2024In: Technology

    1.16.4 Super Cleanup Karel CodeHS Answers

    Quizaza team
    Quizaza team Enlightened
    Added an answer on January 27, 2024 at 4:17 am

    function start() { cleanRows(); } function cleanRows() { while(frontIsClear()) { if(ballsPresent()) { takeBall(); } move(); //Proceed } if(facingEast()) { turn1(); } if(facingWest()) { turn2(); } } function turn1() { turnLeft(); if(ballsPresent()) { takeBall(); } if(frontIsClear()) { move(); if(ballRead more

    function start()
    {
    cleanRows();
    }
    function cleanRows()
    {
    while(frontIsClear())
    {
    if(ballsPresent())
    {
    takeBall();
    }
    move(); //Proceed
    }
    if(facingEast()) { turn1(); } if(facingWest()) { turn2(); }
    }
    function turn1()
    {
    turnLeft();
    if(ballsPresent())
    {
    takeBall();
    }
    if(frontIsClear())
    {
    move();
    if(ballsPresent())
    {
    takeBall();
    }
    turnLeft();
    }
    cleanRows();
    }
    function turn2()
    {
    turnRight();
    if(ballsPresent())
    {
    takeBall();
    }
    if(frontIsClear())
    {
    move();
    if(ballsPresent())
    {
    takeBall();
    }
    turnLeft();
    turnLeft();
    turnLeft();
    }
    cleanRows();
    }
    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  3. Asked: January 27, 2024In: Technology

    1.16.3 Tower Builder CodeHS Answers

    Quizaza team
    Quizaza team Enlightened
    Added an answer on January 27, 2024 at 4:13 am

    function start() { buildTower(); buildTower2(); // Write your code here } function buildTower() { move(); turnLeft(); putBall(); move(); putBall(); move(); putBall(); turnLeft(); turnLeft(); move(); move(); turnLeft(); } function buildTower2() { move(); move(); turnLeft(); putBall(); move(); putBallRead more

    function start()
    {
    buildTower();
    buildTower2();
    // Write your code here
    }
    function buildTower()
    {
    move();
    turnLeft();
    putBall();
    move();
    putBall();
    move();
    putBall();
    turnLeft();
    turnLeft();
    move();
    move();
    turnLeft();
    }
    function buildTower2()
    {
    move();
    move();
    turnLeft();
    putBall();
    move();
    putBall();
    move();
    putBall();
    move();
    turnRight();
    }
    function turnRight()
    {
    turnLeft();
    turnLeft();
    turnLeft();
    }
    See less
      • -1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  4. Asked: January 27, 2024In: Technology

    1.16.2 Racing Karel CodeHS Answers

    Quizaza team
    Quizaza team Enlightened
    Added an answer on January 27, 2024 at 4:13 am

    function start() //Thanks, Captain Obvious { for(var i = 0; i < 8; i++) { runLap(); } } function run() //Running in a single line { while(frontIsClear()) { move(); } putBall(); turnLeft(); } function runLap() //Running a lap { run(); run(); run(); run(); }

    function start() //Thanks, Captain Obvious
    {
    for(var i = 0; i < 8; i++)
    {
    runLap();
    }
    }
    function run() //Running in a single line
    {
    while(frontIsClear())
    {
    move();
    }
    putBall();
    turnLeft();
    }
    function runLap() //Running a lap
    {
    run();
    run();
    run();
    run();
    }
    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  5. Asked: January 27, 2024In: Technology

    1.16.1 Fetch CodeHS Answers

    Quizaza team
    Quizaza team Enlightened
    Added an answer on January 27, 2024 at 4:12 am

    function start() { goUp(); goDown(); } function goUp() //Going up { move(); turnLeft(); move(); move(); move(); move(); turnRight(); move(); takeBall(); } function goDown() //Going down { turnLeft(); turnLeft(); move(); move(); turnLeft(); move(); move(); move(); move(); turnLeft(); putBall(); }

    function start()
    {
    goUp();
    goDown();
    }
    function goUp() //Going up
    {
    move();
    turnLeft();
    move();
    move();
    move();
    move();
    turnRight();
    move();
    takeBall();
    }
    function goDown() //Going down
    {
    turnLeft();
    turnLeft();
    move();
    move();
    turnLeft();
    move();
    move();
    move();
    move();
    turnLeft();
    putBall();
    }
    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  6. Asked: January 27, 2024In: Technology

    1.15.5 Staircase CodeHS Answers

    Quizaza team
    Quizaza team Enlightened
    Added an answer on January 27, 2024 at 4:11 am

    /* This program creates a staircase from the first spot all the way across the world for any sized world. * This program works, but its indentation is completely wrong. Run the program first, so you know what it does and don’t break it. */ function start(){ putBall(); while(frontIsClear()){ turnLeftRead more

    /* This program creates a staircase from the first spot all the
    way across the world for any sized world.
    *
    This program works, but its indentation is completely wrong.
    Run the program first, so you know what it does and don’t break it.
    */
    function start(){
    putBall();
    while(frontIsClear()){
    turnLeft();
    while (ballsPresent()) {
    move();
    }
    turnRight();
    move();
    createStep();
    }
    }
    function createStep() {
    turnRight();
    putBall();
    while (frontIsClear()) {
    move();
    putBall();
    }
    turnLeft();
    }
    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  7. Asked: January 27, 2024In: Technology

    1.15.4 Diagonal CodeHS Answers

    Quizaza team
    Quizaza team Enlightened
    Added an answer on January 27, 2024 at 4:09 am

    /* This program has karel lay a diagonal row of tennis balls. However, the indenting is all wrong. Can you properly indent this program? */ function start(){ while(frontIsClear()){ putBall(); move(); turnLeft(); move(); for(var i = 0; i < 3; i++){ turnLeft(); } } putBall(); }

    /* This program has karel lay a diagonal row of tennis balls.
    However, the indenting is all wrong. Can you properly
    indent this program? */
    function start(){
    while(frontIsClear()){
    putBall();
    move();
    turnLeft();
    move();
    for(var i = 0; i < 3; i++){
    turnLeft();
    }
    }
    putBall();
    }
    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
Load More Answers

Sidebar

Ask A Question

Stats

  • Questions 266
  • Answers 318
  • Best Answers 34
  • Users 151
  • Popular
  • Answers
  • Quizaza team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Quizaza team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Quizaza team

    What is a programmer’s life like?

    • 5 Answers
  • Quizaza team
    Quizaza team added an answer A) multiple settings Novels, being lengthy and complex forms of… February 12, 2024 at 6:54 am
  • Quizaza team
    Quizaza team added an answer The absolute value of −18.7 is 18.7. February 12, 2024 at 6:52 am
  • Quizaza team
    Quizaza team added an answer Exercise Program managers should use exercises to validate: Plans, policies… February 12, 2024 at 6:51 am

Top Members

Quizaza team

Quizaza team

  • 73 Questions
  • 608 Points
Enlightened
Quiz Master

Quiz Master

  • 0 Questions
  • 119 Points
Pundit
agrohimgna

agrohimgna

  • 0 Questions
  • 22 Points
Begginer

Trending Tags

analytics Civil Rights CodeHS company Cyber Awareness Challenge Cybersecurity english google ICS 100 interview javascript language life php programmer programs question salary Sere 100.2 ServSafe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users

Footer

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

© 2024 Quizaza. All Rights Reserved.

[wordpress_social_login]


OR


Forgot your password?
[wordpress_social_login]


OR


Note: Your password will be generated automatically and sent to your email address.

Forgot Your Password?

Enter your email address and we'll send you a link you can use to pick a new password.