Draw a flowchart that shows how a simple serverless function works when a user uploads a photo to a website. Include these steps: user uploads photo, event triggers the serverless function, function processes the photo, and the processed photo is saved to storage.
0
0
Serverless computing basics in Intro to Computing - Draw & Build Visually
Draw This - beginner
10 minutes
Hint 1
Hint 2
Hint 3
Hint 4
Grading Criteria
Start and End oval symbols present
User upload step clearly shown
Event trigger step included
Serverless function processing step present
Processed photo saving step included
Flow direction is clear and logical
Solution
_________ ___________ ______________ ________________ ____________
| | | | | | | | | |
| Start | -----> | User | -----> | Event | -----> | Serverless | -----> | Save |
|_________| | uploads | | triggers | | function | | processed |
| photo | | function | | processes | | photo |
|___________| |______________| |______________| |____________|
|
v
_________
| |
| End |
|_________|This flowchart starts with the Start symbol, representing the beginning of the process.
Next, the User uploads photo step shows the user action that triggers the process.
The Event triggers function step represents the serverless platform detecting the upload and starting the function automatically.
The Serverless function processes step shows the function doing its work, like resizing or optimizing the photo.
Then, the Save processed photo step saves the result to storage.
Finally, the End symbol marks the completion of the process.
This flowchart helps visualize how serverless computing runs code only when needed, without managing servers.
Variations - 2 Challenges
[intermediate] Draw a flowchart for a serverless function that sends a welcome email when a new user registers on a website. Include user registration, event trigger, function execution, and email sending.
[advanced] Draw a detailed flowchart for a serverless function that processes an online order: user places order, event triggers function, function checks inventory, processes payment, updates order status, and sends confirmation email.