AbuNayemKhandakar_CPR101_Week6_Activity
docx
keyboard_arrow_up
School
Seneca College *
*We aren’t endorsed by this school
Course
CPR101NBB
Subject
Mechanical Engineering
Date
Dec 6, 2023
Type
docx
Pages
6
Uploaded by nayem077
CPR101 Activity for Systems Architecture and Design
P a g e
|
1
Rubric: Mark Allocation and Instructions.
Part 1
3 Marks
Provide a complete answer to the questions being asked for.
If written description is asked for, marks are allocated for proper
sentences with correct syntax, spelling, punctuation in English.
Part 2
3 Marks
Provide a complete answer to the questions being asked for. If
screen shots are asked for, make sure you describe what your
screen shot is about.
If written description is asked for, marks are allocated for proper
sentences with correct syntax, spelling, punctuation in English.
Part 3
4 Marks
Provide a complete answer to the questions being asked for. If
screen shots are asked for, make sure you describe what your
screen shot is about.
If written description is asked for, marks are allocated for proper
sentences with correct syntax, spelling, punctuation in English.
Part 4
10 Marks
Provide a complete answer to the questions being asked for. If
screen shots are asked for, make sure you describe what your
screen shot is about.
If written description is asked for, marks are allocated for proper
sentences with correct syntax, spelling, punctuation in English.
Total
20 Marks
The answers must be handed in by the due data specified in the
announcement section of Blackboard.
Submittal is done by
saving your work in this Word Document and then emailing it to
the instructor before the due date.
Any paper submitted after the due date will be docked 40%.
The
reason is that the answers are published/discussed after that
date and it penalizes students who wait until the answers are
published, do a cut and paste and then submit the paper as their
own work.
Papers submitted after the beginning of the next class
will get a zero for the same reason as above.
CPR101 Activity for Systems Architecture and Design
P a g e
|
2
Part 1:
Navigate to YouTube and watch these two videos about APIs
https://www.youtube.com/watch?v=s7wmiS2mSXY
https://www.youtube.com/watch?v=OVvTv9Hy91Q
1
An API is like… __________ ? (1 Mark) –
Engine under the hood
2
What is sent from the API to a system? (1 Mark)
- Request
3
What is sent from the system back through the API? (1 Mark)
- Response
Part 2:
Try out IBM’s demonstration API for language translation
.
https://www.ibm.com/demos/live/watson-language-translator/self-service/home
First elect the “Detect Language” (Start off with English). Then select the language you want
your text to be translated into on the right panel box.
Enter a phrase to translate from English to French, or
another language pair
(see IBM’s list of
language codes).
1 Provide a screen shot of a sample result here:
(3 Marks)
CPR101 Activity for Systems Architecture and Design
P a g e
|
3
Part 3:
Use an API – Application Program Interface
See
https://developers.google.com/maps/documentation/timezone/intro
for an API
to look up
the timezone information for any GPS coordinate (latitude and longitude). Using this API
requires an "API key". Here it is
AIzaSyBZQBnlke9vzjcTo0PL1HmggIlhNBh4chU
The top of the documentation may look somewhat daunting. Push through. The examples
further down will make it clear. Steps to create the URL to access the API:
Scroll down until you see:
We’ll work with JSON for now.
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
CPR101 Activity for Systems Architecture and Design
P a g e
|
4
Click the copy icon. It makes it much easier get the whole URL rather than selecting and
copying the long string of text. (It's why the icon is there.)
Open Notepad, paste the URL string there to see it all and to strip out any formatting.
e.g. https://maps.googleapis.com/maps/api/timezone/json?
location
=__._______,-
__._______&
timestamp
=__________&key=
YOUR_API_KEY
Change YOUR_API_KEY to AIzaSyBZQBnlke9vzjcTo0PL1HmggIlhNBh4chU
Copy the URL and paste into a browser tab (Ctr
l+A, Ctrl+C, Alt-Tab to browser, Ctrl-T, Ctrl+V,
)
Example result from the above 3 steps:
https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-
119.6822510×tamp=1331161200&key=
AIzaSyBZQBnlke9vzjcTo0PL1HmggIlhNBh4c
hU
1 Provide a screen shot of a sample result here with description:
(4 Marks)
The above query performs a time zone request for Nevada, USA. The timestamp is set to
March 8th, 2012.
Part 4:
Once you have the sample API working, modify the URL request to return the timezone and
UTC offset information for Toronto. (UTC = Universal Time Coordinated)
You will need Toronto’s location, i.e. its latitude and longitude. This
link
might help.
https://www.google.ca/search?sourceid=chrome-
psyapi2&ion=1&espv=2&ie=UTF-8&q=how%20to%20get%20latitude%20and
%20longitude%20on%20google%20map&oq=how%20to%20get
%20lat&aqs=chrome.1.69i57j0l5.8600j0j7
CPR101 Activity for Systems Architecture and Design
P a g e
|
5
You will need a current timestamp. This link might help.
https://www.unixtimestamp.com/
1 What is your timezone API request for Toronto right now?
Provide the full
URL you just
came up with:
(2 Marks)
Eastern Daylight Time
https://
maps.googleapis.com/maps/api/timezone/json?location=43.65456631333016%2C-
79.37188843762026×tamp=1697405048&key=AIzaSyBZQBnlke9vzjcTo0PL1HmggIlhNBh4chU
2
What was the JSON Response
AND
what does JSON mean
AND
What do the "offset" values
mean?
Provide a screen shot here with a description of the answers to this question.
(3
Marks)
Jason Response:
The JSON "timeZone" property uses the underlying Java time zone IDs in place of the
(GMT+11:00) style values
dstOffset
The offset for daylight-savings time in seconds. This will be zero if the time zone is not in
Daylight Savings Time during the specified timestamp.
rawOffset
The offset from UTC (in seconds) for the given location. This does not take into effect
daylight savings.
3
What was the XML Response
AND
what does XML mean?
This requires a second API
request with a slightly different parameter.
Try the above steps again, but instead of JSON, use
the XML tab. Provide a screen shot of your result with a description (3 Marks)
CPR101 Activity for Systems Architecture and Design
P a g e
|
6
This shows XML style time zone response with all required info.
4
Convert the UTC timestamp to Toronto's local date/time using the information provided by
the API.
Unix
systems define a timestamp as the number of seconds since Jan 01 1970 UTC. To
convert the UTC timestamp to a local timestamp, add the offset values returned by the API.
Then convert the local timestamp to the human date/time. (the timestamp given earlier and a
calculator will help).
Provide your answer here with a description. (2 Mark)
UTC: 1697372871
Your time zone
:
Sunday, October 15, 2023 8:27:51 AM
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 Documents
Related Questions
Do not give answer in image and hand writing
arrow_forward
The first photo is the question, where the 2nd shows some problem solving strategies
arrow_forward
Please make the charts for the questions. Please refer to Successful Project Management (7th Edition). Attached is the example
Thank you.
arrow_forward
Please give me the answers for this i been looking at this for a hour and my head hurts
arrow_forward
I need answers to questions 1, 2, and 3 pertaining to the print provided.
Note: A tutor keeps putting 1 question into 3 parts and wasted so many of my questions. Never had a issue before until now, please allow a different tutor to answer because I was told I am allowed 3 of these questions.
arrow_forward
I need answers to problems 7, 8, and 9.
NOTE: Please stop wasting my time and yours by rejecting my question because it DOES NOT REQUIRE YOU TO DRAW anything at all. They are simple questions pertaining to the print provided. READ THE INSTRUCTIONS of the assignment before you just reject it for a FALSE reason or leave it for someone to answer that actually wants to do their job. Thanks.
arrow_forward
Home
Insert
Draw
Design
Layout
References
Maili
OLYTECH
Calibri (Bo...
11
v A A
Aa v
m Air. Ma
Paste
в I
U v ab x,
x | A
Name:
ID No.:
rm Air. M
Date:
CRN:
Course Code: JACV 506E
Aircraft Mechanical Mainte
Practice.
ces ( CRI
Page
Originated By
Mark awarded -
Instructor/Assessor:
Assignment: Interpret engineering drawings and diagrams
bus
se Mat
hing Pl
Questions: -
1. Write 2 differences between isometric and oblique projections?
ssment
2. Write 5 details found on the drawing title block?
Feedba
3. Write 4 types of sectional views?
4. Name 3 methods how drawings are stored in?
5. Name 3 types of fits?
arrow_forward
I need parts 8, 9, and 10 answered. Number 1 is an example of how it should be answered.
NOTE: Read the instructions, no where does it say any drawing is required. It is really frustrating when I wait all this time for an answer to a question and some tutor does even read the instructions and just declines it...its ridicilous.
arrow_forward
Don't use chatgpt will upvote
arrow_forward
I need answers for problems 13, 14, and 15 pertaining to the print provided.
NOTE: If you refuse to answers all 3 parts and insist on wasting my question by breaking down 1 simple question into 3 parts, then just leave it for someone else to answer. Thank you.
arrow_forward
LESSON: AUTODESK AUTOCAD
Choose from the choices:
arrow_forward
please help solve A-F. thank you
You are an engineer working on a project and your prototype has failed prematurely. You question whether or not a key component of the prototype was manufactured with the correct material. There are two way to check for the material properties. The first way is to have a material certification done to confirm the exact material composition. This will take some time. The second method to confirm the material properties is to make an ASTM test sample and test for the material properties. This tensile test was completed on a test sample with an initial diameter of .501” and an initial length of 2”. The Load-Deflection data for this tensile test is below. Use this data to answer the first set of questions on the Final Exam in eLearning. A. Determine the Ultimate Tensile Strength B. Determine the 0.2% Offset Yield Strength C. Determine the value of the Proportional Limit D. Determine the Modulus of Elasticity E. Determine the Strain at Yield F. Calculate %…
arrow_forward
You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:
arrow_forward
Please show work in a handwritten format.
Don't use chatgpt.
Mechanics of materials/design.
arrow_forward
reful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View.
Your Full Name
Enable Editing
ID:
Sec:
Q1: Which one is stronger; undeformed copper or
copper that has been plastically deformed?
Q2: Which one is stronger; unannealed copper or
copper annealed (heated) at 750° C?
Q3: Why?
101.
O
Focus
arrow_forward
LESSON: AUTODESK AUTOCAD
Choose from the choices:
arrow_forward
Astronomy Question:
Read the questions slowly and answer with precise and long details about each of the questions. Answer correctly and follow my guidelines for a long and wonderful review after results. Your target/main observable galaxy is the whirlpool galaxy. Target: Whirlpool Galaxy Object Type: Galaxy Distance: 37 million light-years Constellation: Canes Venatici. DO NOT COPY AND PASTE OTHER WORK OR THINGS FROM THE INTERNET, use your own words.Provide refernces if used
In 500 words, please explain the relevance of this object to the physics course material in university andits importance to astronomy. (Some question you may seek to answer are: What beyond the objectitself is learned by studying this class of objects? What sorts of telescopes and observations would beneeded for more detailed, broader reaching studies of this source and objects of its nature?)
arrow_forward
Please do one through 3
arrow_forward
Help!!! Answer all parts correctly!! Please
arrow_forward
Help me solve this ENGINEERING GRAPHICS question
Use 0.25 cartesian paper or 0.25 Isometric paper please.
arrow_forward
I think understand the concept but I'm stuck on how allowance and tolerance are did. I wasn't sure if I was supposed to write separate numbers for allowance then the two for tolerance. Or am I supposed to use the number I get from allowance to calculate tolerance. I've read pages but feels like my brain is like not connecting the dots or I misread something.
arrow_forward
arrow_forward
Oh no! Our expert couldn't answer your question.
Don't worry! We won't leave you hanging. Plus, we're giving you back one question for the inconvenience.
Here's what the expert had to say:
Hi and thanks for your question! Unfortunately we cannot answer this particular question due to its complexity. We've credited a question back to your account. Apologies for the inconvenience.
Ask Your Question Again
5 of 10 questions left
until 8/10/20
Question
Asked Jul 13, 2020
1 views
An air conditioning unit uses Freon (R-22) to adapt an office room at temperature 25 oC in the summer, if the temperature of the evaporator is 16 oC and of the condenser is 48 oC. The reciprocating compressor is single acting, number of cylinders are 2, the volumetric efficiency is 0.9, number of revolutions are 900 r.p.m. and L\D= 1.25. If the compressor consumes a power of 3 kW and its mechanical efficiency is 0.9. Find the following:
(A) Flow rate of the refrigerant per…
arrow_forward
I need problems 4, 5, and 6 answered.
arrow_forward
I will rate you with “LIKE/UPVOTE," if it is COMPLETE STEP-BY-STEP SOLUTION.
If it is INCOMPLETE SOLUTION and there are SHORTCUTS OF SOLUTION, I will rate you with “DISLIKE/DOWNVOTE.”
THANK YOU FOR YOUR HELP.
PS: If you have answered this already, DON'T ANSWER IT AGAIN; give chance to OTHER EXPERTS to answer it. I want to verify if all of you will arrive in the same final answer; thats why I ask it multiple times. If you answer it again, i'll DISLIKE all your entries/answers.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Related Questions
- Do not give answer in image and hand writingarrow_forwardThe first photo is the question, where the 2nd shows some problem solving strategiesarrow_forwardPlease make the charts for the questions. Please refer to Successful Project Management (7th Edition). Attached is the example Thank you.arrow_forward
- Please give me the answers for this i been looking at this for a hour and my head hurtsarrow_forwardI need answers to questions 1, 2, and 3 pertaining to the print provided. Note: A tutor keeps putting 1 question into 3 parts and wasted so many of my questions. Never had a issue before until now, please allow a different tutor to answer because I was told I am allowed 3 of these questions.arrow_forwardI need answers to problems 7, 8, and 9. NOTE: Please stop wasting my time and yours by rejecting my question because it DOES NOT REQUIRE YOU TO DRAW anything at all. They are simple questions pertaining to the print provided. READ THE INSTRUCTIONS of the assignment before you just reject it for a FALSE reason or leave it for someone to answer that actually wants to do their job. Thanks.arrow_forward
- Home Insert Draw Design Layout References Maili OLYTECH Calibri (Bo... 11 v A A Aa v m Air. Ma Paste в I U v ab x, x | A Name: ID No.: rm Air. M Date: CRN: Course Code: JACV 506E Aircraft Mechanical Mainte Practice. ces ( CRI Page Originated By Mark awarded - Instructor/Assessor: Assignment: Interpret engineering drawings and diagrams bus se Mat hing Pl Questions: - 1. Write 2 differences between isometric and oblique projections? ssment 2. Write 5 details found on the drawing title block? Feedba 3. Write 4 types of sectional views? 4. Name 3 methods how drawings are stored in? 5. Name 3 types of fits?arrow_forwardI need parts 8, 9, and 10 answered. Number 1 is an example of how it should be answered. NOTE: Read the instructions, no where does it say any drawing is required. It is really frustrating when I wait all this time for an answer to a question and some tutor does even read the instructions and just declines it...its ridicilous.arrow_forwardDon't use chatgpt will upvotearrow_forward
- I need answers for problems 13, 14, and 15 pertaining to the print provided. NOTE: If you refuse to answers all 3 parts and insist on wasting my question by breaking down 1 simple question into 3 parts, then just leave it for someone else to answer. Thank you.arrow_forwardLESSON: AUTODESK AUTOCAD Choose from the choices:arrow_forwardplease help solve A-F. thank you You are an engineer working on a project and your prototype has failed prematurely. You question whether or not a key component of the prototype was manufactured with the correct material. There are two way to check for the material properties. The first way is to have a material certification done to confirm the exact material composition. This will take some time. The second method to confirm the material properties is to make an ASTM test sample and test for the material properties. This tensile test was completed on a test sample with an initial diameter of .501” and an initial length of 2”. The Load-Deflection data for this tensile test is below. Use this data to answer the first set of questions on the Final Exam in eLearning. A. Determine the Ultimate Tensile Strength B. Determine the 0.2% Offset Yield Strength C. Determine the value of the Proportional Limit D. Determine the Modulus of Elasticity E. Determine the Strain at Yield F. Calculate %…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY

Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY