Computer Science > EXAM > TM112 - Introduction To Computing 2- TMA03 (Marked)/TMA03 TM112 (All)
TM112 - Introduction To Computing 2- TMA03 (Marked) TMA03 TM112 TMA03 TM112 Question 1 Within a HDD are sectors that can store 512 bytes of data which are grouped together into a cluster, a file... ’s size could take up a few clusters although not using all the sectors capacity leaving slack space, continuing to store file’s as such till it’s non-contiguous causing the PC to slow down but a defragging utility will more chucks of files together optimizing speeds. Partitions are created for the OS’s FAT or NTFS as an index of clusters in use, unallocated or when a file has been deleted but doesn’t waste time removing the files but make’s the cluster vacant to be over written and can prove useful for file recovery after an accidentally deleting. For security before you throw away a HDD the data must be cleared through either overwriting the disk with zeros and ones, degaussing data magnetisation on HDD’s using a magnetic field or physical destruction. (words 150) Question 2 a)i) >> show definition >>>Prompt for user input >>>If the glossary contains this word, print the definition of the entry >>>Otherwise, print the entry was not found in glossary ii) def look_up_definition(): """ Ask's user for a word to define and returns the definition if there is one. """ entry = input('Please enter your word: ') if entry in glossary: print('The definition of ', entry, 'is ', glossary[entry]) else: print(entry, 'not found in glossary') [Show More]
Last updated: 8 months ago
Preview 1 out of 10 pages
Connected school, study & course
About the document
Uploaded On
Sep 04, 2021
Number of pages
10
Written in
This document has been written for:
Uploaded
Sep 04, 2021
Downloads
1
Views
127
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·