Search Header Logo
Internet of Things ( Lecture 4)

Internet of Things ( Lecture 4)

Assessment

Presentation

Computers

University

Hard

Created by

Jonathan Tai

Used 2+ times

FREE Resource

2 Slides • 4 Questions

1

Internet of Things ( Lecture 4)

 Challenges of IoT

Slide image

2

Multiple Select

Select the challenges of IOT

1

Connectivity:

2

Continuity

3

Compliance

4

Coexistence

5

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")

1

to let the Rasp Pi rest

2

to save power

3

to generate delay

4

Fill in the Blanks

Type answer...

5

Multiple Select

WHY USE TOKENS?

1

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.

2

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.

3

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

Slide image

Show answer

Auto Play

Slide 1 / 6

SLIDE