

Internet of Things ( Lecture 4)
Presentation
•
Computers
•
University
•
Hard
Jonathan Tai
Used 2+ times
FREE Resource
2 Slides • 4 Questions
1
Internet of Things ( Lecture 4)
Challenges of IoT

2
Multiple Select
Select the challenges of IOT
Connectivity:
Continuity
Compliance
Coexistence
Cybersecurity
3
Multiple Choice
Why need time.sleep() in the following program?
import time from grovepi import *
led = 4 pinMode(led,"OUTPUT")
time.sleep(1)
while
True: try: digitalWrite(led,1)
time.sleep(0.5)
digitalWrite(led,0)
time.sleep(0.5)
except KeyboardInterrupt:
digitalWrite(led,0)
break
except IOError: print("IOError")
to let the Rasp Pi rest
to save power
to generate delay
4
Fill in the Blanks
Why use try and exception case in the following program?
import time from grovepi import *
import math
buzzer_pin = 6
button = 8
pinMode(buzzer_pin, "OUTPUT")
pinMode(button, "INPUT")
#analogWrite(buzzer_pin,0)
digitalWrite(buzzer_pin, 0)
i = 0
while True:
try:
button_status = digitalRead(button)
if button_status:
analogWrite(buzzer_pin,i)
#digitalWrite(buzzer_pin, 1)
else:
analogWrite(buzzer_pin,0)
if i < 250:
i += 10
else:
i = 0
#digitalWrite(buzzer_pin, 0)
except KeyboardInterrupt:
digitalWrite(buzzer_pin, 0)
break
except IOError:
print("IOError")
Type answer...
5
Multiple Select
WHY USE TOKENS?
Tokens are stateless. The token is self-contained and contains all the information it needs for authentication. This is great for scalability as it frees your server from having to store session state.
Tokens can be generated from anywhere. Token generation is decoupled from token verification allowing you the option to handle the signing of tokens on a separate server or even through a different company such us Auth0.
Fine-grained access control. Within the token payload you can easily specify user roles and permissions as well as resources that the user can access.
6
Call API
To call your API from a regular web application, the application must pass the retrieved Access Token as a Bearer token in the Authorization header of your HTTP request.
Internet of Things ( Lecture 4)
Challenges of IoT

Show answer
Auto Play
Slide 1 / 6
SLIDE
Similar Resources on Wayground
6 questions
Lección 1
Presentation
•
University
4 questions
SQL INSERT INTO Statement
Presentation
•
University
7 questions
Online communication
Presentation
•
University
5 questions
Tecnología educativa en la actualidad
Presentation
•
University
3 questions
comparative and superlatives
Presentation
•
University
6 questions
Retroalimentación de la Clase 6 - MEEV
Presentation
•
University
6 questions
Required_BHS Staff_District Resources_Website
Presentation
•
University
6 questions
Describing a picture
Presentation
•
University
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
10 questions
Spanish Greetings and Goodbyes!
Presentation
•
6th Grade - University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
39 questions
Unit 7 Key Terms
Quiz
•
11th Grade - University
25 questions
SER and Subject Pronouns
Quiz
•
8th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
19 questions
Key Concepts in Buddhism
Quiz
•
University
0 questions
Cell Domain Basic Review (Biology)
Quiz
•
University