Computing systems, networks and requirements
הוצג
8:35
יסודות מחשוב
אתה לוחץ על אפליקציית תמונות. תוך שנייה הקוד שלה מועתק מאחסון למערכת הזיכרון, מעבד מפעיל מיליונות הוראות, כרטיס הגרפי מצייר את...
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| system/ˈsɪstəm/ | The object or collection of objects chosen for analysis, separated conceptually from its surroundings. |
| requirement/rɪˈkwaɪəmənt/ | a condition or capability that a system must satisfy |
| non-functional requirement/nɒn ˈfʌŋkʃənl rɪˈkwaɪəmənt/ | A constraint or quality requirement, such as response time, availability or security. |
| functional requirement/ˈfʌŋkʃənl rɪˈkwaɪəmənt/ | A statement of a behaviour or service the system must provide. |
| authentication/ɔːˌθentɪˈkeɪʃn/ | זיהוי |
| authorization/ˌɔːθəraɪˈzeɪʃn/ | הסמכה |
מה יכול להסביר תצפית זו?
- מערכת הזמנות לבתי ספר יכולה לחשב נכון ועדיין לכשל אם משתמשים מאבדים גישה או אם נתונים נחשפים. ההצלחה כוללת גם את ההקשר של המערכת.
Why did HealthCare.gov fail on launch day?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Only six people enrolled on the first day.
בניית המודל
- מערכת מחשב משלבת חומרה, תוכנה, נתונים ואנשים.
- רשת מאפשרת תקשורת באמצעות פרוטוקולים.
- הדרישות צריכות להבדיל בין פונקציה לבין מגבלות כמו זמינות, אבטחה ונגישות.
- אישור זהות: בדיקת הזהות המוצהרת.
- רשות גישה: קביעת פעולות מותרות.
Which are parts of a computer system?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
A failure in any one fails the whole.
בחר עדים שיכולים לבדוק אותו
- הפרדו בין אישור זהות לבין רשות גישה.
- אישור זהות בודק זהות; רשות גישה קובעת פעולות מותרות.
- דגם איומים מקשר נכס בעל ערך, התקפה אפשרית ובקרה מתאימה.
במעבדה: השתמשו במאגר נתונים של בית ספר מדומה כדי להגדיר משתמשים ורשאות. ציירו זרימת נתונים, השווו בין תקפוד לאימות, והגדירו בדיקות עבור תנאי כניסה נורמליים, גבוליים ובלתי חוקיים. אל תשתמשו באישורי כניסה אמיתיים או בפרטי תלמידים בתרגילים.
Verified identity, separate permission
Separate the identity check from the permission check in a fictional booking policy. Encryption does not change either decision.
Which is a non-functional requirement?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
It states how well, not what.
עבודה על בסיס גודלים ידועים
- ידוע: קובץ מכיל 12 מגה-בתים, כאשר דוגמה זו מגדירה מגה-בת אחד כמיליון בתים.
- ביטים = בייטים×8 = 12×1,000,000×8 = 96,000,000 ביטים.
- בקצב של 8,000,000 ביטים לשנייה, הזמן האידיאלי = גודל/קצב = 12 שניות, ללא חישוב עומס עומד.
תורכם: קובץ בגודל 40 מיליון ביטים מעביר בקצב של 5 מיליון ביטים לשנייה. מצאו את הזמן האידיאלי.
Match each check to its name.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
Identity, then permission.
הכרטיס הזה תוקן, לכן הוא מוצג באנגלית עד שהתרגום שלו יעודכן.
Worked example: will the upload meet the requirement?
Requirement: a teacher's 12 MB video must upload in under 15 s on an 8 Mbit/s link. (Here 1 MB = 10⁶ bytes.)
- Bits: 12 × 10⁶ bytes × 8 = 9.6 × 10⁷ bits.
- Ideal time: 9.6 × 10⁷ ÷ 8 × 10⁶ bit/s = 12 s.
- Judgement: 12 s is the ideal; protocol overhead and other users reduce throughput, so if overhead increases the time by 25%, the time is 15 s — the requirement is not met. Test under realistic load.
A 40 MB file (1 MB = 10⁶ bytes) is sent at 16 Mbit/s. What is the ideal transfer time in seconds?
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
40 × 10⁶ × 8 = 3.2 × 10⁸ bits; ÷ 1.6 × 10⁷ = 20 s.
הכרטיס הזה חדש, לכן הוא מוצג באנגלית עד שהתרגום שלו יהיה מוכן.
Threats and controls
- A threat model links an asset (marks), a threat (a student guessing a password) and a control (lockout after failed attempts, two-factor login).
- Validation checks data is reasonable; verification checks it was entered correctly.
Which control best answers "a student guesses a teacher's password"?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Match the control to the threat.
הכרטיס הזה חדש, לכן הוא מוצג באנגלית עד שהתרגום שלו יהיה מוכן.
Encryption is not authorization. Encrypting data stops outsiders reading it, but it does not decide which logged-in user may change it. Each control answers a different threat.
Encryption decides which logged-in users may change data.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
That is authorization.
הכרטיס הזה חדש, לכן הוא מוצג באנגלית עד שהתרגום שלו יהיה מוכן.
A system is hardware, software, data, people and networks. Specify functional and non-functional requirements, separate authentication from authorization, and test calculations such as transfer time against realistic conditions.
For a school library booking system, write two functional and two non-functional requirements, and one authorization rule.
What, how well, who may.
מה השתבש? רק צוות האתר רואה זאת.