Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Please do it by python
Turtle Graphics is a Python feature like a drawing board, which lets us command a turtle to draw all
over it! We can use functions like forward(...) and right(...) which can move the turtle around.
Commonly used turtle methods are found in the posted pdf file "turtle-Turtle graphics - Python
3.7.1rc1 documentation
To make use of the turtle methods and functionalities, we need to import turtle. "turtle" comes packed
with the standard Python package and need not be installed externally. The roadmap for executing a
turtle program follows 3 steps:
1. Import the turtle module
2. Create a turtle to control.
3. Draw around using the turtle methods.
Problem:
Based on your transcript grades; you are required to do the following:
1- A prompting message asks you how many grades you are going to enter.
2- Enter your real grades for all terms that you have done as an integer numbers, and then you
need to store the input grades in a list.
3- Find your GPA with 2 decimal points
4- You are required to show your grades' scale as the below graph and print the GPA (with 2
decimal points) with comments. Hence, if your GPA is greater than 70 then you will get
comments "YOUR GPA is V.GOOD"; if your GPA between 50-69 then the message will be
"YOUR GPA is LOW"; otherwise (less than 50) the message will be "You have first
warning"
Based on what you have learned in this course and using the appropriate commands, you are asked
to Design the algorithm and implement a python program that draws the below diagram using the turtle.
My GPA=79 11 Your GPA is V GOOD
78
99
87
97
de 76 08
You should consider the following points in your solution:
1- The x-axis has a length of 180 units, while the y-axis is 150 units.
2- When you are plotting the values, make sure to multiply the value of the number of grade by 20
in order to make an acceptable distance between the dots. The value of the grades should
remain the same.
3- The dots should be in red.
4- Over each dot, you need to write the grade.
Transcribed Image Text:Turtle Graphics is a Python feature like a drawing board, which lets us command a turtle to draw all over it! We can use functions like forward(...) and right(...) which can move the turtle around. Commonly used turtle methods are found in the posted pdf file "turtle-Turtle graphics - Python 3.7.1rc1 documentation To make use of the turtle methods and functionalities, we need to import turtle. "turtle" comes packed with the standard Python package and need not be installed externally. The roadmap for executing a turtle program follows 3 steps: 1. Import the turtle module 2. Create a turtle to control. 3. Draw around using the turtle methods. Problem: Based on your transcript grades; you are required to do the following: 1- A prompting message asks you how many grades you are going to enter. 2- Enter your real grades for all terms that you have done as an integer numbers, and then you need to store the input grades in a list. 3- Find your GPA with 2 decimal points 4- You are required to show your grades' scale as the below graph and print the GPA (with 2 decimal points) with comments. Hence, if your GPA is greater than 70 then you will get comments "YOUR GPA is V.GOOD"; if your GPA between 50-69 then the message will be "YOUR GPA is LOW"; otherwise (less than 50) the message will be "You have first warning" Based on what you have learned in this course and using the appropriate commands, you are asked to Design the algorithm and implement a python program that draws the below diagram using the turtle. My GPA=79 11 Your GPA is V GOOD 78 99 87 97 de 76 08 You should consider the following points in your solution: 1- The x-axis has a length of 180 units, while the y-axis is 150 units. 2- When you are plotting the values, make sure to multiply the value of the number of grade by 20 in order to make an acceptable distance between the dots. The value of the grades should remain the same. 3- The dots should be in red. 4- Over each dot, you need to write the grade.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education