100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CMU Unit 2 Questions With Complete Solutions

Rating
-
Sold
-
Pages
2
Grade
A+
Uploaded on
06-03-2024
Written in
2023/2024

Rules for function names - ️️Names must start with letters, but then can include letters or numbers. Can not use reserved words Can not have spaces Given the function shown, which would be a legal call for the code? def drawBigCircle(centerX, centerY, color): Circle(centerX, centerY, 200, 5, fill=color) - ️️drawBigCircle(200, 200, 'red') def drawPrettyStar(numberOfPoints, radius, color): Star(200, 200, radius, numberOfPoints, fill=color) What are the parameters of the function drawPrettyStar? - ️️numberofPoints, radius, color def drawShapes(centerX, centerY, radius, points, color): Star(centerX, centerY, radius, points, fill=color) Star(centerX, centerY, 40, 10, fill=color) drawShapes(300, 200, 'purple', 'blue') drawShapes(100, 200, 'red', 'black') How many shapes are drawn according to the code above? - ️️4

Show more Read less
Institution
CMU
Course
CMU








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CMU
Course
CMU

Document information

Uploaded on
March 6, 2024
Number of pages
2
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
jackline98 Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
260
Member since
2 year
Number of followers
152
Documents
9862
Last sold
1 day ago

Here you will find different past papers with correct and updated solutions .Please do not forget to leave a review after purchasing any document .Goodluck and success in advance.

3.3

60 reviews

5
20
4
11
3
9
2
5
1
15

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions