Digital Builders University · Study Library
How software works: track test
10 questions · circle one answer for each · 8 or more right is a pass. Name: ____________________ Date: ____________
1. You want help with a bug, and your Network screenshot shows an Authorization header. What do you do?
- AShare it as is, since tokens only work on your own computer
- BShare it, because tokens expire within seconds anyway
- CPost the full header text so the helper can test it
- DCrop or blur the token before sharing
2. Your sign-up emails land in spam. A good first fix?
- ASend them from a free personal address, since people trust Gmail
- BAdd 'Not spam!' to the subject line so filters let them through
- CSend each one three times
- DSend from your own domain with SPF and DKIM set up
3. A forum post says to fix your problem with sudo rm -rf followed by a path. What do you do?
- ARun it, since the post has lots of upvotes and thank-you replies
- BRun it twice to be sure
- CRun it without sudo first, then with sudo if it doesn't work
- DDon't run it until you know exactly what it deletes
4. What is an SDK?
- AA kind of database
- BA web host
- CA password
- DA ready-made code library for using a service
5. What is a React component?
- AA function that returns what to show
- BA database table that stores a page's buttons and text
- CA CSS file that styles one part of the page
- DA plugin you download from the React app store
6. Which pattern matches a real full stop, as in 'example.com'?
- A/example.com/
- B/example*com/
- C/example\.com/
- D/example?com/
7. People keep signing up twice by double-clicking Join. The best fix in the form?
- ATell people in the page's footer to click only once
- BDisable the button and show 'Sending…' until the reply comes back
- CMake the Join button smaller so it's harder to click twice
- DRemove the button and send the form when they leave the last field
8. What database is Supabase built on?
- APostgres
- BExcel
- CMongoDB only
- DGoogle Sheets
9. Why must permission checks live in the back end or database, not only the front end?
- AAnyone can change or bypass code running in their own browser
- BThe front end is too slow to check permissions before the page appears
- CFront ends can't show buttons
- DIt looks nicer
10. An API needs a secret key. Where should the call happen?
- AIn the browser, with the key hidden in a minified JavaScript file
- BIn a public GitHub file
- COn your server, with the key in an environment variable
- DIn the page's HTML
Answer key: How software works
- 1. D A token can act as you until it expires. Remove it from anything you share; if it leaked, sign out to end the session. (Guide: Browser DevTools: see what your app is really doing)
- 2. D Domain authentication is the biggest deliverability win. (Guide: Email from your app: receipts, reminders and newsletters)
- 3. D That combination deletes files with administrator rights and no undo. (Guide: Terminal basics: the command line without fear)
- 4. D SDKs wrap an API in easy functions for your programming language. (Guide: Put AI inside your app: AI APIs)
- 5. A Components are functions that return JSX. Apps are trees of them, from a whole page down to a single button. (Guide: React basics: components, props and state)
- 6. C A bare . matches any character, so /example.com/ also matches 'exampleXcom'. \. matches only a full stop. (Guide: Regular expressions without fear: read, test and trust them)
- 7. B A disabled button can't be clicked again, and 'Sending…' shows something is happening. The server can also ignore duplicates. (Guide: Forms that work: labels, checks and safe sending)
- 8. A Supabase is built on Postgres, a widely trusted open-source SQL database. (Guide: Supabase and databases)
- 9. A Code in the browser is in the user's hands. Trust only checks that run on your side. (Guide: How apps work: front end, back end, database)
- 10. C Browser code is visible to everyone; secrets stay on the server. (Guide: APIs and JSON, hands on)
A practice self-check, not a Digital Builders certificate. Certificates come from completing a workshop.
