New User Special Price Expires in

Let's log you in.

Sign in with Facebook


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


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

Intro to Computing

by: Alayna Veum

Intro to Computing CS 1301

Alayna Veum

GPA 3.81


Almost Ready


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

Purchase these notes here, or revisit this page.

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

Preview These Notes for FREE

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

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Study Guide
50 ?




Popular in Course

Popular in ComputerScienence

This 0 page Study Guide was uploaded by Alayna Veum on Monday November 2, 2015. The Study Guide belongs to CS 1301 at Georgia Institute of Technology - Main Campus taught by Staff in Fall. Since its upload, it has received 112 views. For similar materials see /class/234129/cs-1301-georgia-institute-of-technology-main-campus in ComputerScienence at Georgia Institute of Technology - Main Campus.

Similar to CS 1301 at

Popular in ComputerScienence


Reviews for Intro to Computing


Report this Material


What is Karma?


Karma is the currency of StudySoup.

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

Date Created: 11/02/15
CS 1301 Study Questions These are sample test problems Most actual test problems Will be just a bit easier To learn the most solve these problems using only a pencil or pen and a piece of blank paper Once you think you have them solved move to a computer and see if you were right If not learn from your mistakes Write Code 8 points Write a function showPic Which prompts the user to pick a picture using the pickAFileO file chooser and then displays it If the user picks a file that does not end in jpg or jpeg the showPic function should keep prompting the user to pick a file until they pick a valid jpeg image Remember in myro the pickAFileO function returns a filename as a string the loadPicture lename function loads a picture and the show p function displays a picture from myro import def showPic fileName pickAFileO print fileName 4 if fileName 5 l 39jpeg39 and fileName 4 l 39jpg39 print quotNot a J PEG image try againquot showPic else p loadPicturefileName showp Write Code 15 points Write a function isPalindrome aString that takes a string as a parameter and returns a boolean value The function should return True if the string parameter is a palindrome ie When read backwards it is the same like quotracecarquot or AManAPlanACAnalPAnaMA and False otherWise def isPalindrome aString Reverse the string the easy way reVString aString l You could also reverse the string the hard way reVString quotquot for i in range0lenaString reVString aStringi reVString return reVString aString Write Code 10 points Write your own version of the getPixels picture function It will return a list containing all of the pixels in a picture You may NOT use the built in getPixels function but you can use the getWidthpicture getHeightpicture and getPixelpicture xy functions def getPixelspicture pixelList for X in range0 getWidthpicture for y in range0getHeightpicture pix getPixelpicturexy pixelListappendpix returnpixelList Namespaces 8 points Review the following code aVariable 8 myVariable 15 def functionliq global aVariable myVariable 20 print 1 aVariable aVariable iq return q myVariable Answer functionl aVari able myVari able 5a After the function call at the end of the code what is the value of Answer 2 7 aVariable 723 5b What is printed to the screen when this code runs 16 5c Which variable or variables are quotovershadowedquot when execution is inside of functionl imyVariable


Buy Material

Are you sure you want to buy this material for

50 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

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

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."

Jennifer McGill UCSF Med School

"Selling my MCAT study guides and notes has been a great source of side revenue while I'm in school. Some months I'm making over $500! Plus, it makes me happy knowing that I'm helping future med students with their MCAT."

Steve Martinelli UC Los Angeles

"There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund 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


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:

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

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.