Assignment3 (1)
.docx
keyboard_arrow_up
School
DePaul University *
*We aren’t endorsed by this school
Course
241
Subject
Computer Science
Date
Jun 11, 2024
Type
docx
Pages
4
Uploaded by CorporalComputerPelican11
Assignment 3 | Cartographic Principals
[Add your name here]
Objective:
In this assignment, you will implement the following:
Use vector data model to create maps
Experiment multiple map projections to select the most suitable map projection
Work with classification and number of classes to group data into different classes
Create technically correct maps (use classifications, number of classes, map projections, correct map types, colors, symbols and visual elements) with visual hierarchy
Analyze and describe the algorithm (methodology)
Formal writing using essays and cite sources
Technical writing (answering technical questions)
Potential benefits of using maps for analyzing patterns and use it for decision making
S
ubmit a single word document with the map and the answers to all the questions. Q1: Classification and Map Projection
[42 Points]
Data to use for this question:
WorldGDP_2020.shp
Data Source:
IMF (International Monitory Fund) GDP Data 2020.
For this assignment, you will need to explain the steps you took from beginning until the end to create
the map. Make sure to keep screen captures of each step and write down what steps you took. This process is similar to what you see in the lab activity videos. The goal is for you to be able to explain the process to someone so that they can replicate your work using the steps you provided.
Q1.1: Create a Map [8 Pts]
1.
[1 pts]
Using the WorldGDP_2020.shp, create a map to show the GDP (imfGDP) by countries. 2.
[2 pts]
Change classification to manual breaks, set the number of classes to 6. Change the classification upper limits manually to something more meaningful. 3.
[1 pt]
Add the grid lines. 4.
[2 pts]
Identify a suitable map projection by experimenting different map projections for the variable you are mapping. Make a note of all the projections you have tried. Finalize on the map projection you feel is best for this variable. Change the map projection accordingly. Make a note of the map project you used.
5.
[2 pts]
Complete the map by adding all the map elements. Relabel the variable names and shapefile names to something meaningful. Source is specified above. Q1.2 : Technical Questions:
1.
[3 pt]
Which map projections did you try? Which map projection did you finally use? 2.
[1 pt]
What feature is it this map projection preserving? (Hint: See link in the lab activity instructions)
3.
[1 pt]
Why did you select this map projection?
______________________________________________________________________________
© Nandhini Gulasingam 1
4.
[12 pts]
Explain the methodology - Explain step-by-step on how you created this map from downloading and extracting the shapefiles to completing your final map (For example, the first step is to unzip the compressed shapefiles and save it into a folder, and add the shapefiles to ArcGIS application)
. Include screen captures while explain the steps. When you include the screen capture, cut-out only the part you are taking about so that your file size stayes small without crashing your computer.
For each step, include a line indicating the purpose of the step
(For example, extracting the shapefile was to uncompress the spatial data so that the GIS application can read and display the file). Q1.3: Non-Technical Writing
What can you interpret from the map? Use the following questions to formulate your answer. The answer should be in an essay/paragraph format (See sample document provided on D2L)
. Cite at least 2 sources. Use the correct citation method. Please note that just listing the references will result in zero points. The reference should be included in the narrative to explain the relevance of the citation. See D2L for citation instructions. Write a 1-page essay (single spaced, 11 or 12 point font). Answer to each of the following questions will be a separate paragraph. To earn the full score, it has to be in an essay format with multiple paragraphs answering each question in a separate paragraph. 1.
[1 pt]
What is the purpose of the map?
2.
[2 pts]
Define and explain the term GDP. Use a reputable source to find the definition. 3.
[2 pts]
In your opinion what is considered a high GDP and what is considered a low GDP value? Explain.
4.
[3 pts]
Which countries have high GDP and what are the reasons for this? Explain why? 5.
[3 pts]
Which countries have low GDP and what are the reasons for that? Explain? 6.
[2 pts]
Do you see any outliers or anomalies? Also, are you surprised by any of the country’s GDP values? Explain. 7.
[4 pts]
Explain which 2 industries can benefit from this map and how? i.e. Explain in detail as to how they can use it. Rubric:
Meet expectation
In progress of reaching the benchmark
Needs improvement
1. Comply with guidelines
100% of the points
: the report/map are written/made clearly and complies with the guidelines.
80% of the points:
the report/map are not written/made clearly while following the guidelines over 80%
OR the report/map are written/made clearly following the guidelines only 60-90%.
50% or less of the points:
the report/map follows the guidelines less than 50% regardless
of clarity.
2. Use computational thinking (CT)
* concepts and skills
100% of the points
: clear demonstration that you correctly used CRS as CT concepts and skills.
70% of the points:
vague demonstration that you used CRS
correctly as CT concepts and skills.
25% of the points:
you incorrectly used CRS as CT concepts and skills
______________________________________________________________________________
© Nandhini Gulasingam 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
MipMaps I
Suppose that a pixel projects to an area of 10x28 texels in a texture map. From what
mipmap level does the texture unit look up the texture value for this pixel, if the
texture unit is using "nearest" lookup for mipmaps?
Enter a single integer that is the mipmap level.
A/
arrow_forward
Display Images Design a GUI Application
Java program GUI
arrow_forward
Secret Code. A list of numbers can be changed into an image if we know what size matrix to use. What is this list of numbers saying? Rules: (a) use a 4 x 25 matrix. (b) Enter entries in order filing one row at a time (c) entering values from left to right. 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1 0,1,1,1, 1, 1, 0, 1, 1,0, 1,1,0,1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0,1,0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1 What is the secret code?
I was able input the numbers into the format listed but I can't figure out the code
arrow_forward
Discussion Board 3: Clutter (Initial post due 1/27)
This discussion focuses on clutter, specifically in data visualizations. Consider the types of clutter discussed in chapter 3. Locate a data visualization online that is cluttered. Make sure to select a different example than others that are posted.
Address the following points in about 200 words:
Describe the data visualization and how it is cluttered
Outline changes you would make to declutter the visualization based on the chapter reading.
Provide a link to the data visualization you discussed.
arrow_forward
#this is a python programtopic: operation overloading, Encapsulation
please find the attached image
arrow_forward
Create your own magic square( 3x3 ) The requirements are below:
MATH 413: Every cell in the magic square must include combining like terms (polynomial algebra). At least 3 of them use the distributive property of multiplication over addition.
arrow_forward
SUNSHINE AIRLINE COMPANY
The ER Diagram for the SUNSHINE AIRLINE COMPANY is based on the following:
- For each airplane type, we keep track of a unique airplane type ID (AirplaneTypelD), number of engines
(NoOfEngines), and number of seats (NoOfSeats).
- For each airport, we keep track of a unique airport ID (AirportID), and the length of the main runway
(LengthOfRunway).
- Each airplane type is able to land at one airport at least, but may be able to land at many airports. Each
airport accommodates landing of at least one airplane type, but may accommodate landing of more airplane
types.
SUNSHINE AIRLINE COMANY (ERD)
XXX
YYY
zzz
PPP
AAA
Relationship
BBB
Symbol1
Symbol2
In the ER Diagram for the SUNSHINE AIRLINE COMPANY, which word should replace gg?
O LengthOfRunway
O NoOfEngines
O AirplaneTypelD
O AirportID
O NoOfSeats
arrow_forward
solve withhh java:-
Write the code for the following UML diagram.
Input(): Ask user to provide values for color and fuel. Default values for speed is “0” and state is “stopped”
addFuel(): Ask user to provide value for fuel to add. Add that value in fuel (attribute) and return value of total fuel.
moving(): Ask user to provide the speed of vehicle and fuel Set the value of speed and reduce the fuel (attribute) according to fuel consumption. And also set the state to “Moving”.
stop(): This method will display that “Vehicle is stopped” and sets the value of speed to “0” and state to “Stopped”
display(): This method will display the attributes value to output like:
“Vehicle is stopped. It has red color. It’s speed is 0.0 and fuel is 2.5 Liter”
arrow_forward
Java program (GUI) The pictures in the program do not have to be like them, three pictures are enough! with output program
arrow_forward
Identify and describe the concept illustrated in the diagram below.
Polygon
•drawo: void
Circle
Triangle
Rectangle
-drawo: void
•drawo: void
-drawo: void
arrow_forward
An 8-puzzle game consists of 8 sliding tiles, numbered by digits from 1 to 8 and arranged in a 3x3 array of nine cells. A configuration in the puzzle refers to some specific arrangement of the tiles in the array, where each digit is arranged into a different cell. One of the cell is empty (represented by a "*") and any adjacent tile can be moved into the empty cell. An example below
c | 1 | 2 | 3 b | 4 | * | 5 a | 6 | 7 | 8------------------ Y/X a b c
We use a 3-tuple (number, X, Y) to represent the position of a digit, where number is the actual digit, and (X,Y) is the coordinate value of the digit in the current configuration (e.g., in the configuration above, we have (5,c,b), meaning the digit 5 is at the position of (c,b)).Hence the configuration in the example can be represented as:[(1,a,c), (2,b,c), (3,c,c), (4,a,b), (5,c,b), (6,a,a), (7,b,a), (8,c,a)].Any move of an adjacent tile into the empty cell moves the current configuration into the one adjacent to it.…
arrow_forward
Develop an interactive GUI-Tkinter CG Calculator. The calculator will include all standard mathematical operations such as addition, subtraction, multiplication, division as well as vector (2D vector operation such as Addition, Multiplication, Subtraction) and matric operations (2x2 matrix such as Addition, Multiplication, Subtraction).
arrow_forward
Kindly refer to the images for the instructions (Python language)Code Template:
class Vector3D: def __init__(self, x, y, z): # TODO: Create a routine that saves the vector # <x, y, z> into this Vector3D object. pass def __add__(self, other): # TODO: Create a routine that adds this vector with Vector3D other # and returns the result as a Vector3D object return None
def __neg__(self): # TODO: Create a routine that returns the negative (opposite) of # this vector as a Vector3D object
return None
def __sub__(self, other): # TODO: Create a routine that subtracts this vector with Vector3D other # and returns the result as a Vector3D object return None
def __mul__(self, other): # TODO: Create a routine that multiplies this vector with other # depending on its data type, and returns the result as a #…
arrow_forward
Using C# (Sharp) with Visual studio:
Make a class of Book with 5 properties - ISBN, author, title, publisher, copyright date
In the main method, create 5 instances of the Book class with different data for each
Create a LIST and add each of the 5 objects to the LIST
Use a foreach loop to display the ISBN, author, title, publisher, and copyright date in the LIST
Create a DICTIONARY and add each of the 5 objects (key should be ISBN)
Display author, title, publisher, copyright date for each book
Create a SEARCH feature: ask the user to type in an ISBN. If the entry matches an item in your dictionary, display the author, title, publisher, and copyright date. If there are no matches, display "ISBN not found". Hint: use ContainsKey
Create a REMOVE feature: ask the user to type in an ISBN to remove a book from the list. If the entry matches an item in your dictionary, remove the item and re-display your list. If there are no matches, display "ISBN not found".
arrow_forward
Question 9
Draw a perspective drawing of the following shape, using the vanishing point provided.
arrow_forward
GP03-IN CLASS
(1 OF 2)
Example:
Top
Top
32
11
11
Coded Plan
Front
Right
Coded Plan
Frant
Right
Top
Top
Top
甲
31
Coded Plan
Front
Right
Çoded Plan
Front
Right
Coded Plan
Front
Right
CREATE ORTHOGRAPHIC PROJECTIONS OF THE FRONT, TOP, AND RIGHT SIDE VIEWS OF EACH OBJECT FROM ITS CODED PLAN
The Obeo State Uuversity Dwg Title
First Yer Engneering
Scale
Dwy No
Dte
Ina
Units
Drawn By
Hour
Seat
GP03 – Basic Orthographic
p. 5
arrow_forward
Steps:
1- Construct two 5 x 5 matrices A and B matrices.
2- Elements of the A matrix will be requested from the user as 0-10.
3- The elements of matrix B will be formed from randomly occurring numbers between 0-10.
4- A and B matrices will be printed on the screen and the operation menu in step 5 will be displayed.
5- Operations: 1-Addition 2-Multiplication
6- C Result matrix will be created by performing operations on A and B matrices according to the selected operation.
and will be displayed on the screen.
7- The user will be asked for a row and column number that they want to encrypt.
8- The row and column of the C result matrix to be encrypted are encrypted with the "*" character and encrypted.
matrix will be displayed on the screen.
9- The program is repeated according to the user's choice by asking the user whether he wants to continue.
It will ask for matrix A or output by displaying a “Goodbye” message.
arrow_forward
please help me step by step solve all option and please add the output screen please thank you again
arrow_forward
MUST BE WRITTEN IN C PROGRAMMING LANGUAGE
CANNOT EDIT TEMPLATE IMAGE IN ANY WAY:
Write a program to find and display the largest value in an integer array that is divisible by 3.
For example, if the array is:
1 15 2 16 3 17 4 18 5 19
The largest number divisible by 3 is 18
On the other hand, if the array does not contain any values that are divisible by 3, the program writesNo value in the array is divisible by 3As you may see in the examples, the input consists of, firstly the size of the array, followed by the array elements. The answer is preloaded with the code to read in the array. Do not change this code. The Moodle checker expects *exactly* the output as shown.
For example:
Input
Result
6 1 2 3 4 5 6
The largest value divisible by 3 is 6
6 1 -2 4 5 -7 8
No value in the array is divisible by 3
arrow_forward
Assignment 5B: Maze Game! 2D Arrays can be used to store and represent information
about video game levels or boards. In this exercise, you will use this knowledge to
create an interactive game where players attempt to move through a maze. You will
start by creating a pre-defined 2D array with the following values:
:-, X","X"}
"X","W"}
"X","_"}
"}
'X","X"}
{"_"
" "y" " "
You will then set the player (represented by "O") at index 0, 0 of the array, the top-left
corner of the maze. You will use a loop to repeatedly prompt the user to enter a
direction ("Left", “Right", “Up", or “Down"). Based on these directions, you will try to
move the player.
If the location is valid (represented by “_"), you will move the player there
If the location is out of bounds (e.g. index 0, -1) or the command is invalid, you
will inform the player and prompt them to enter another direction
If the location is a wall (represented by “X"), you will tell the user they hit a wall
and the game is over.
If the…
arrow_forward
Transcribed Image Text
flipObject(object) Given an object, you will return a new object where the values are now the keys and the keys are now the value. If a value has a type of array, for each element, you will have the element as the key and the value will be the original key. If a value has an object, you will flip those keys and values as well, but keep the key as the same.
arrow_forward
#this is a python programtopic: operation overloading, Encapsulation
Please find the attached image
arrow_forward
Please do not give solution in image format thanku
A Bunker array is an array that contains the value 1 if and only if it contains a prime number. The
array {7, 6, 10, 1} is a Bunker array because it contains a prime number (7) and also contains a 1.
The array {7, 6, 10} is not a Bunker array because it contains a prime number (7) but does not
contain a 1. The array {6, 10, 1} is not a Bunker array because it contains a 1 but does not contain a
prime number.
It is okay if a Bunker array contains more than one value 1 and more than one prime, so the array {3,
7, 1, 8, 1} is a Bunker array (3 and 7 are the primes).
Write a function named isBunker that returns 1 if its array argument is a Bunker array and returns 0
otherwise.
You may assume the existence of a function named isPrime that returns 1 if its argument is a prime
11
and returns 0 otherwise. You do not have to write isPrime, you can just call it.
If you are programming in Java or C#, the function signature is
int isBunker(int [ ]…
arrow_forward
TASK
QUESTION#1
Design a class template that shows matrix addition and subtraction.
Question#2
Design a template class and derived from non template class and calculate the area of cube.
arrow_forward
A MATLAB project is required to solve an engineering
problem, for example, to solve a differential equation.
has to have the following tasks:
GUI
Function
plotting
An array
Search
Sort
List of items
with the note
Note 1: The list of items can be used as a matrix, file,
or excel to display the data.
Note 2: Make sure your code has matlab suc
essentials as a requirement,
like loop statement and others
guide interface
It must contain a plot to plot the function
With a box that allows selection of variables and a
box for displaying the output.
arrow_forward
Skin Cancer This is a skin cancer feature dataset to predict it diseased or not. Students have to apply all algorithms that were studied through the course and make comparison between them .??? what is code??
project machine learning
arrow_forward
7143CEM Programming for Data Science - Portfolio (draft version)
Task 2. Design, build and test (ILO2)
Unicorn vs Pegasus is a simple dice game for one player. The aim is to collect all the body parts of
either a Unicorn or a Pegasus (both mythical horse-like creatures). Rolling an unbiased eight-sided
dice, a 1 gives a body, 2 gives a tail, 3 gives a leg, 4 gives a head, 5 gives an eye, 6 gives a mouth, 7
gives a wing, and 8 gives a horn. A player must collect a body before any other body parts can be
added. A player must collect a head before any eyes, mouth or horn can be added.
Before you write any code, it is worth playing this game a few times using a pencil, paper and an
eight-sided dice (or use https://rolladie.net/roll-a-d8-die). Choose whether you are going to build a
Unicorn or Pegasus before you begin.
(1) Implement this game as one Python function. The function should have one parameter
which is used to select whether a Unicorn or a Pegasus is built. Follow the steps and…
arrow_forward
Alias is also known as a data type.
True
False
We can use Hierarchy to combine two values of a dimension into a single category.
True
False
...........
Which of the following can include multiple version of the same worksheet? *
0/2
Dashboard and stories
Stories but not dashboards
Dashboards but not stories
Neither dashboards nor stories
.........
A color gradient is used for which of the following *
0/2
Discrete measure
Continuous measure
Both continuous and discrete
N/A
arrow_forward
Using GNU Octave, create a row vector that has following elements: 3, 4*2.55, 68/16, 45, nthroot (100,3), cos(25) and 0.05
arrow_forward
Assume we have the following application that models soccer teams, the games they play, and the players in each team. In the design, we want to capture the following: • We have a set of teams, each team has an ID (unique identifier), name, main stadium, and to which city this team belongs. • Each team has many players, and each player belongs to one team. Each player has a number (unique identifier), name, DoB, start year, and shirt number that he uses. • Teams play matches, in each match there is a host team and a guest team. The match takes place in the stadium of the host team. • For each match we need to keep track of the following: • The date on which the game is played • The final result of the match • The players participated in the match. For each player, how many goals he scored, whether or not he took yellow card, and whether or not he took red card. • During the match, one player may substitute another player. We want to capture this substitution and the time at which it…
arrow_forward
Assume we have the following application that models soccer teams, the games they
play, and the
players in each team. In the design, we want to capture the following:
• We have a set of teams, each team has an ID (unique identifier), name, main
stadium, and to
which city this team belongs.
• Each team has many players, and each player belongs to one team. Each
player has a number
(unique identifier), name, DoB, start year, and shirt number that he uses.
• Teams play matches, in each match there is a host team and a guest team. The
match takes place
in the stadium of the host team.
• For each match we need to keep track of the following:
• The date on which the game is played
• The final result of the match
• The players participated in the match. For each player, how many goals
he scored, whether or not he took yellow card, and whether or not he
took red card (Represent this as Match-Player Entity Type)
• During the match, one player may substitute another player. We want
to capture…
arrow_forward
It is not a condition that the same pictures are in the picture, that is, three pictures
Programming in java
arrow_forward
Please submit a flowchart of your program for your project below.
Need a class which will contain:
Student Name
Student Id
Student Grades (an array of 3 grades)
A constructor that clears the student data (use -1 for unset grades)
Get functions for items a, b, and c, average, and letter grade
Set functions for items a, n, and c
Note that the get and set functions for Student grades need an argument for the grade index.
Need another class which will contain:
An Array of Students (1 above)
A count of number of students in use
You need to create a menu interface that allows you to:
Add new students
Enter test grades
Display all the students with their names, ids, test grades, average, and letter grade
Exit the program
Add comments and use proper indentation.
Nice Features:
I would like that system to accept a student with no grades, then later add one or more grades, and when all grades are entered, calculate the final average or grade.
I would like the system to display the…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
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)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- MipMaps I Suppose that a pixel projects to an area of 10x28 texels in a texture map. From what mipmap level does the texture unit look up the texture value for this pixel, if the texture unit is using "nearest" lookup for mipmaps? Enter a single integer that is the mipmap level. A/arrow_forwardDisplay Images Design a GUI Application Java program GUIarrow_forwardSecret Code. A list of numbers can be changed into an image if we know what size matrix to use. What is this list of numbers saying? Rules: (a) use a 4 x 25 matrix. (b) Enter entries in order filing one row at a time (c) entering values from left to right. 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1 0,1,1,1, 1, 1, 0, 1, 1,0, 1,1,0,1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0,1,0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1 What is the secret code? I was able input the numbers into the format listed but I can't figure out the codearrow_forward
- Discussion Board 3: Clutter (Initial post due 1/27) This discussion focuses on clutter, specifically in data visualizations. Consider the types of clutter discussed in chapter 3. Locate a data visualization online that is cluttered. Make sure to select a different example than others that are posted. Address the following points in about 200 words: Describe the data visualization and how it is cluttered Outline changes you would make to declutter the visualization based on the chapter reading. Provide a link to the data visualization you discussed.arrow_forward#this is a python programtopic: operation overloading, Encapsulation please find the attached imagearrow_forwardCreate your own magic square( 3x3 ) The requirements are below: MATH 413: Every cell in the magic square must include combining like terms (polynomial algebra). At least 3 of them use the distributive property of multiplication over addition.arrow_forward
- SUNSHINE AIRLINE COMPANY The ER Diagram for the SUNSHINE AIRLINE COMPANY is based on the following: - For each airplane type, we keep track of a unique airplane type ID (AirplaneTypelD), number of engines (NoOfEngines), and number of seats (NoOfSeats). - For each airport, we keep track of a unique airport ID (AirportID), and the length of the main runway (LengthOfRunway). - Each airplane type is able to land at one airport at least, but may be able to land at many airports. Each airport accommodates landing of at least one airplane type, but may accommodate landing of more airplane types. SUNSHINE AIRLINE COMANY (ERD) XXX YYY zzz PPP AAA Relationship BBB Symbol1 Symbol2 In the ER Diagram for the SUNSHINE AIRLINE COMPANY, which word should replace gg? O LengthOfRunway O NoOfEngines O AirplaneTypelD O AirportID O NoOfSeatsarrow_forwardsolve withhh java:- Write the code for the following UML diagram. Input(): Ask user to provide values for color and fuel. Default values for speed is “0” and state is “stopped” addFuel(): Ask user to provide value for fuel to add. Add that value in fuel (attribute) and return value of total fuel. moving(): Ask user to provide the speed of vehicle and fuel Set the value of speed and reduce the fuel (attribute) according to fuel consumption. And also set the state to “Moving”. stop(): This method will display that “Vehicle is stopped” and sets the value of speed to “0” and state to “Stopped” display(): This method will display the attributes value to output like: “Vehicle is stopped. It has red color. It’s speed is 0.0 and fuel is 2.5 Liter”arrow_forwardJava program (GUI) The pictures in the program do not have to be like them, three pictures are enough! with output programarrow_forward
- Identify and describe the concept illustrated in the diagram below. Polygon •drawo: void Circle Triangle Rectangle -drawo: void •drawo: void -drawo: voidarrow_forwardAn 8-puzzle game consists of 8 sliding tiles, numbered by digits from 1 to 8 and arranged in a 3x3 array of nine cells. A configuration in the puzzle refers to some specific arrangement of the tiles in the array, where each digit is arranged into a different cell. One of the cell is empty (represented by a "*") and any adjacent tile can be moved into the empty cell. An example below c | 1 | 2 | 3 b | 4 | * | 5 a | 6 | 7 | 8------------------ Y/X a b c We use a 3-tuple (number, X, Y) to represent the position of a digit, where number is the actual digit, and (X,Y) is the coordinate value of the digit in the current configuration (e.g., in the configuration above, we have (5,c,b), meaning the digit 5 is at the position of (c,b)).Hence the configuration in the example can be represented as:[(1,a,c), (2,b,c), (3,c,c), (4,a,b), (5,c,b), (6,a,a), (7,b,a), (8,c,a)].Any move of an adjacent tile into the empty cell moves the current configuration into the one adjacent to it.…arrow_forwardDevelop an interactive GUI-Tkinter CG Calculator. The calculator will include all standard mathematical operations such as addition, subtraction, multiplication, division as well as vector (2D vector operation such as Addition, Multiplication, Subtraction) and matric operations (2x2 matrix such as Addition, Multiplication, Subtraction).arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
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)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education