Lab 5: Test a file-type claim · lab v0.1.1 · quiz revision 1 · 7 written-response questions · 100 points https://knowledge.wandt.us/labs/file-types/ Instructors may import this lab’s supplied quiz CSV into their own course. Link learners to the original lab page for the guide and practice files. The CSV imports questions and point values into a Brightspace quiz. Create the quiz first; attachment controls and course settings are configured after import. Quiz file: file-types-quiz-r1.csv Plan the session • Allow about 60–90 minutes for the lab, plus installation and course submission time. This is a planning estimate. • Suggested preparation: Hashing and file integrity, Read bytes, offsets and signatures. • Mac: HexLume, HashLume. Windows: HxD, HashMyFiles. Check installation, export access and student licensing before class. • Use the synthetic packet on the lab page. Reference results are public; assess the learner’s own documented observations. If substituting your own dataset, revise the prompts and expected evidence before importing. What students should be able to do • Distinguish a filename, a format signature and evidence about a complete file structure. • Read big-endian chunk lengths and calculate bounded offsets in a small binary file. • Separate stored checksum observations from computed references and identify their scope. • Explain a supported file comparison without inferring an unobserved cause or app result. Teach this lab 1. Opening question: Present extension, signature, parser result and checksum as four different witnesses. Ask which question each witness is competent to answer. 2. During practice: Have students mark a declared chunk length and its actual available range before interpreting a parser warning. Ask them to show the exact byte range behind a checksum claim. 3. If students get stuck: When students disagree, check whether they counted the length field or checksum bytes in the payload and whether they used the same byte order. Label a supplied CRC reference separately from an independent calculation. 4. Debrief: Can a file be recognizable to a parser yet incomplete? Ask for one observation about structure and one limit on the conclusion. What the quiz collects · 100 points 1. Upload your evidence files (10 points). Attach evidence.zip. It contains only the before/ and after/ folders, each with the four evidence files. Include these files in each folder: sample-a.png, sample-b.dat, sample-c.png, sample-d.png. Inspection only. Do not repair, rewrite, rename or re-encode the four evidence files. Save observations separately. Reopen the ZIP before submitting. Keep exports, screenshots and notes outside it. 2. Upload your hash exports (10 points). Attach before-hashes.csv and after-hashes.csv together in this item. These are the two original exports from your hash app. Retain the original columns, filenames, byte sizes and complete SHA-256 values. Compare each file’s before and after results to its own bytes. 3. Upload S01 — Chunk length and byte order (5 points). Attach S01.png or S01.jpg. Use additional images only when needed to show all required details. sample-a.png with a chunk length field selected, its hexadecimal offset and bytes visible, and the unsigned 32-bit big-endian interpretation shown. 4. Upload S02 — Truncation boundary (5 points). Attach S02.png or S02.jpg. Use additional images only when needed to show all required details. sample-c.png at the end of the file with the last available bytes, offsets and file size visible. Preserve any parser warning as a separate image if relevant. 5. Upload S03 — First differing byte (5 points). Attach S03.png or S03.jpg. Use additional images only when needed to show all required details. The same offset in sample-a.png and sample-d.png with both filenames, selected offsets and raw bytes visible. Use a comparison view or two separate images. 6. Upload your observation record (25 points). Attach completed-observation-worksheet.csv. Use the blank worksheet in the lab practice ZIP; keep each completed CSV as a separate attachment. These worksheets are your observation record; no extra observations.txt is needed. Complete a copy of observation-worksheet.csv as completed-observation-worksheet.csv. Record lengths, types, data boundaries, stored CRC bytes and available/truncated ranges. Identify the first differing byte in the same-length nonidentical pair. Separate a stored CRC value from an independently computed result. 7. Enter your findings and work details (40 points). Type your explanation and work details directly into Brightspace. This item needs no file attachment. Explain what the extension, signature, chunk layout and hash each establish. State whether you independently calculated a CRC or used the supplied computed reference. If you calculated one, name the tool, byte range and result; otherwise cite the reference without claiming to have run a calculation. Explain the limits of a successful parser or checksum check. Record the lab ID/version, dataset ID and assigned packet, your operating system and app versions, the operations you actually performed, and the screenshot or file supporting each conclusion. Disclose sources, collaboration and AI assistance according to the assigned course rules. State unavailable fields and failed operations honestly. A supplied reference result is not an operation you performed. Set up in Brightspace Quizzes 1. Open Quizzes in your course. Create a New Quiz, keep it hidden, and name it “Lab 5: Test a file-type claim”. Put this lab link in the description: https://knowledge.wandt.us/labs/file-types/ 2. Inside the new quiz choose Add Existing → Upload a File. Select file-types-quiz-r1.csv, review the question preview, choose Import All, and save. Import once into an empty quiz to avoid duplicates. 3. Reopen questions 1–6. In each Written Response question enable the option allowing learners to insert images and add attachments, then save. The last question, Q7, calls for typed findings. Keep the question order fixed and shuffling off. 4. Confirm 7 Written Response questions, the item weights above and 100 points total. These questions require manual evaluation. Set dates, timing, permitted attempts, accommodations, gradebook connection and feedback release for your course. State your sources, collaboration and AI disclosure rules before students begin. 5. Preview while hidden. Open the lab link, try an evidence ZIP on Q1, both CSVs together on Q2, a screenshot, and typed findings on the last item. In a permitted test attempt verify the files can be reopened in evaluation. Only then make the quiz visible. Do not reimport over a quiz with student attempts. Evaluate two possible responses • Student: “I read the stored checksum in the hex viewer. The second value came from the supplied reference; I did not calculate it in the viewer.” Instructor: A student can identify stored CRC bytes in HexLume or HxD and cite the supplied calculation. That is a valid route; an independent calculation is not required. Check the stated source, byte range and comparison. • Student: “The viewer displayed a PNG signature, so I marked the remaining chunks valid.” Instructor: An extension or preview alone cannot establish a complete file. Look for the declared boundary versus the last available byte. Blank rows after truncation are appropriate when the reason is given. Give useful feedback • Open the submitted files, including any explanation placed in an attachment. Distinguish a missing deliverable from one submitted in the wrong place. If a file cannot be inspected, follow up before assigning a zero. • When a Mac evidence ZIP includes ._ entries, inspect the named evidence in before/ and after/ and compare its bytes with the hash exports. Confirmed archive metadata alone is not a missing file, an evidence change or grounds for a deduction. Check an unexplained extra file separately. • Give credit for equivalent Mac and Windows evidence. For a deduction, identify the specific criterion, point loss and evidence. Avoid charging the same mistake twice; credit a sound explanation of a limitation even when a practical step is incomplete. Brightspace documentation https://community.d2l.com/brightspace/kb/articles/5012-create-and-configure-a-quiz https://community.d2l.com/brightspace/kb/articles/3410-creating-question-library-questions Copyright © 2026 Adam Scott Wandt. All rights reserved. This notice applies to all copyrightable original Wandt Knowledge material, including site code, text, course materials, lab guides, original graphics and screenshots, downloads, and synthetic practice materials. Faculty are welcome to assign these materials in their classes by linking students to the original live pages at https://knowledge.wandt.us/. Please use links in your syllabus, course website, or learning management system so students access the current materials directly from Wandt Knowledge. These materials are updated regularly to reflect new developments, improve instructions, and correct errors. Linking students to the original live pages helps ensure they use the current version rather than an outdated copy. Instructors may import designated LMS files into their own courses, change their own assessment questions, and specify submission through their LMS or by email. Always credit Professor Adam Scott Wandt and Wandt Knowledge and link to the original assignment. Keep the public assignment intact. For other redistribution, request permission at https://wandt.us/contact unless applicable law permits the use. See https://knowledge.wandt.us/terms/. These materials are not released under an open-source or Creative Commons license. Public access and download availability do not place them in the public domain. Other uses require separate permission from Adam Scott Wandt, except as permitted by applicable law. Third-party materials, software, trademarks, and interface elements remain subject to their respective owners' rights and terms.