Question: In the lab, we will be storing logs that include temperature and the time of day. We will also be implementing a function called fetchLogs

In the lab, we will be storing logs that include temperature and the time of
day. We will also be implementing a function called fetchLogs which will return a list
of 4-byte logs from the database. We will be implementing a function to find the largest
temperature from this list of returned logs. In the log, the temperature will be the bytes
2 to 3, which we will refer to as temp.
Below is the beginning of some pseudo code to fetch the logs from the database.
Continue the pseudocode to find the largest temperature in the list.
logs= fetchLogs ()
largestTemp =0
for ( log in logs):
# find the largest temperature
 In the lab, we will be storing logs that include temperature

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!