×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

or

by: Carly Ott

27

0

1

# Practice Questions from Chapter 5 3489

Carly Ott
UW
GPA 3.89
Algorithmic Problem Solving

These notes were just uploaded, and will be ready to view shortly.

Either way, we'll remind you when they're ready :)

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

helps explain the answers to the questions, plus some side notes from chapter 5.
COURSE
Algorithmic Problem Solving
PROF.
TYPE
Class Notes
PAGES
1
WORDS
KARMA
25 ?

## Popular in Computer Science and Engineering

This 1 page Class Notes was uploaded by Carly Ott on Saturday February 28, 2015. The Class Notes belongs to 3489 at Washington State University taught by Adam Carter in Spring2015. Since its upload, it has received 27 views. For similar materials see Algorithmic Problem Solving in Computer Science and Engineering at Washington State University.

×

## Reviews for Practice Questions from Chapter 5

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 02/28/15
Clicker Questions Chapter 5 1 How many times will we call print 0 Outer loop i will loop 10 times inner loop j 5 times J controls the printing of quothelloquot 0 Multiply outer loop by inner loop i xj 0 Answer 50 2 What is the value of mystr 0 FOR loop will run 7 times amount of characters in variable 0 Function quotordquot changes characters into numbers i Function quotchrquot does the opposite 0 Answer ABCDEFG i Because character does not actually change mystr we didn t tell it to do so ii Character is a copy of our original variable 3 What output is produced by the following code 0 Answer 3 2 1 0 4 What output is produced by the following code 0 Function quotsep prevents spaces between the characters being printed i You can put other things in besides a space whatever you put in will separate the stuff 1 By default there is a space between the variables 0 For i in range13 is actuallyjust 1 and 2 9 same forj 0 Answer 11122122 i Make table like Adam does to help you 5 What is outputted by the following code 0 Values of i will be 012 9 same forj 0 Must be 9 numbers long because 3 x 3 9 0 Answer none of the above i Supposed to be OOOO12O24 6 What is outputted by the following code 0 Answer rshpe 0 Skip 2 every time and start at the end 7 Are these loops equal 0 Answer yes

×

×

### BOOM! Enjoy Your Free Notes!

×

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Bentley McCaw University of Florida

#### "I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Janice Dongeun University of Washington

#### "I used the money I made selling my notes & study guides to pay for spring break in Olympia, Washington...which was Sweet!"

Jim McGreen Ohio University

#### "Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Parker Thompson 500 Startups

#### "It's a great way for students to improve their educational experience and it seemed like a product that everybody wants, so all the people participating are winning."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com