COMP5047-Python代写
时间:2022-11-12
2022/11/10 23:47 Quiz: COMP5047 Final Exam Practice
https://canvas.sydney.edu.au/courses/44236/quizzes/208684/take 1/6
COMP5047 Final Exam Practice
Started: Nov 10 at 23:46
Quiz Instructions
You will be presented with 3 multiple choice questions followed by 1 essay
questions. For MCQs, only select correct answers. Please note that selecting
incorrect answers results in a negative point. However, the minimum number of
points per question is 0.
2 ptsQuestion 1
For the clock signal
The communication from controller to peripheral
Select the peripheral interface the controller is communicating with
The communication from peripheral to controller
CS pin in the Serial Peripheral Interface (SPI) is used to
2 ptsQuestion 2
It has impacted so many other research fields
It describes cool research
Why do we call Mark Weiser’s “The Computer for the 21st Century” a seminal
paper?
2022/11/10 23:47 Quiz: COMP5047 Final Exam Practice
https://canvas.sydney.edu.au/courses/44236/quizzes/208684/take 2/6
It defined the field “Ubiquitous/Pervasive Computing”
It accurately predicted how exactly the technology work today
2 ptsQuestion 3
Tb
Te
+V
Tc
The figure shows a circuit designed to drive a motor through a transistor using
PWM. Where should the PWM trigger connect to.
The rest of the exam consists of three (3) essay question.
Download and use the template word document COMP5047-Answer-
Template.docx (https://canvas.sydney.edu.au/courses/44236/files/27639154?
wrap=1)
2022/11/10 23:47 Quiz: COMP5047 Final Exam Practice
https://canvas.sydney.edu.au/courses/44236/quizzes/208684/take 3/6
(https://canvas.sydney.edu.au/courses/44236/files/27639154/download?
download_frd=1) to answer the questions.
Make sure you fill in your SID on the first page header. You can double
click XXXXXX and add the SID in the first page. All the other pages are
automatically updated.
The template has 3 pages for the three questions. Each question should start
with a new page (not sub questions).
You can use as many pages as necessary for each question.
You should insert any sketches, diagrams, or any other image needed to
answer your questions into the word document.
Do not copy the questions, but just the task number (Q1, Q2-1, Q2-2, etc.) to
your answer template file. The top level numbers are already there.
When copy source codes/JSON, we recommend to use a Text box (but not
compulsory).
Once you finished answering all the questions, save the word document as a
single PDF file and upload it to the Assignment: COMP5047 - Final Exam
(Practice) - Essay Question Upload
(https://canvas.sydney.edu.au/courses/44236/assignments/416744)
Your PDF file must be in text format so that it can be checked by
Turnitin (except for images), if not we cannot asses your exam. Please check
Week 01 slides for what does text format means.
This is open book, but it does not mean you can copy from online sources or
each other.
Q1 (8 pt)
Consider the interface available in a Virtual Reality Environment. Which
interaction style best describes this interface? Correctly identify 1 interaction style
and briefly explain why it describes it the best (max 50 words).
Please use the answer template file to write your answer.
Q2 (60 pts)
2022/11/10 23:47 Quiz: COMP5047 Final Exam Practice
https://canvas.sydney.edu.au/courses/44236/quizzes/208684/take 4/6
A simple pervasive system is needed to control the pointing direction of a solar
panel with the time of the day to optimise its performance.
The system components consist of 1) an Arduino-based microcontroller FireBeetle
ESP32 E Board connected to the internet via a local Wi-Fi network, 2) a PWM
controller to set the direction of the solar panel, 3) a node-red flow for control logic
and 4) an MQTT broker.
The direction of the sun is given to you by an external service through the
MQTT broker. They publish the direction as an integer value to a topic in the
MQTT broker.
Node-red flow should read the sun-direction value from the MQTT broker and
convert it to an appropriate angle value and publish it in a control message to
a topic in the MQTT broker.
The FireBeetle should subscribe to the above control message topic and
change the solar panel directions using the PWM signal.
The following design considerations and specifications need to apply to the
system:
The direction of the solar panel is controlled by PWM signals.
PWM uses channel 0, 5000Hz frequency with a resolution of 8bits.
0% duty cycle means 0 degrees and 100% duty cycle means 180 degrees.
The solar panel controller is connected to the FireBeetle using wires.
The local Wi-Fi network’s SSID is “solarWiFi” and the password is your
“soalarControl2022”.
The MQTT broker is operating at the IP “172.23.31.4” port 1883.
You can connect to the MQTT broker anonymously and no encryptions are
used.
The external service publishes the sun-direction values to the topic
“sundirection” which is a subtopic or sub-level of the topic “solar” (this is the
top-level topic).
The sun-direction sensor gives an integer range from 0 to 100.
This should be converted to an angle range (integer) before sending it to
the FireBeetle. Since these ranges change daily, it should be done in the
Node-Red flow.
For the current day, you can assume 0 means 60 degrees and 100 means
120 degrees.
The appropriate angles in degrees for the FireBeetle should be posted to the
topic “control” which is a subtopic or sub-level of the topic “solar” (this is the
top-level topic).
FireBeetle should subscribe to the above topic (“control”) and control the
angle of the solar panels using a PWM signal.
Your tasks are as follows:
2022/11/10 23:47 Quiz: COMP5047 Final Exam Practice
https://canvas.sydney.edu.au/courses/44236/quizzes/208684/take 5/6
Q2-1
Draw a block diagram of how the four (4) components of the system are
interconnected, clearly indicating how they are interconnected, clearly stating the
network or connection type used, and connected ports (e.g, Serial port, SPI,
Bluetooth, A0, A1, D0, D1,…). You can use power-point to draw this and paste it
to the answer template as an image. Each component can be represented using
any shape and connections using lines, but the components and connections
should be properly labeled. (10 pts)
Q2-2
Write an Arduino program for the above application and copy and paste the
contents of main.cpp to the answer template. You can assume the libraries WiFi.h
and MQTT.h are available to you. The ports, pins, and methods each component
connects are up to you, and you should configure them accordingly. Sensible
comments in the code are a must. (28 pts)
Q2-3
Create a node-red flow for the above application and copy and paste the flow in
formatted JSON format to the answer template. Sensible naming of nodes gets a
bonus point. (22 pts)
Please use the answer template file to write your answer.
Q3 (6 pt)
You have developed a mobile app that displays the step count of users using a
wearable sensor. Sensor data is automatically sent to a cloud server where an AI
system is used to track the number of steps. The app is meant to show step
counts, which are organized into the count per day, but allows views to support,
per month, week, or even hourly. For this app, you are tasked to do a think-aloud
test.
Write two (2) concrete tasks.
Please use the answer template file to write your answer.
2022/11/10 23:47 Quiz: COMP5047 Final Exam Practice
https://canvas.sydney.edu.au/courses/44236/quizzes/208684/take 6/6
Saved at 23:46
If you have finished answering all the questions, submit this quiz, save the word
document as a single PDF file and upload it to the Assignment: COMP5047 -
Final Exam (Practice) - Essay Question Upload
(https://canvas.sydney.edu.au/courses/44236/assignments/416744)
Submit Quiz
essay、essay代写