sheet 4.docx

dadsds

sheet 4.docx
Ministry of Higher Education Course: File organization- INF 221
Higher Technological Institute
Computer Science Department
Second Year
Sheet 4: Secondary Storage Devices
Theoretical
1. What are the reasons of data compression?
 Less storage.
 Transmitting faster, decreasing access time.
 Processing faster sequentially.
2. Describe in details the Huffman code and state an example?
 Base on probability of occurrence
 Determine probability of each value occurring
 Build binary tree with search path for each value
 More frequently occurring values are given shorter search paths in tree.
Example: the string “abde”
1 0100000 0001
3. What is meaning of Lempel--Ziv Codes?
Lempel-Ziv coding is a free-parse method; that is, the words of the source alphabet are
defined dynamically, as the encoding is performed. Lempel-Ziv coding is the basis for the
UNIX utility compress.
4. Describe in details lossy compression techniques?
 Some information can be sacrificed
 Less common in data files
 Shrinking raster image
 400-by-400 pixels to 100-by-100 pixels
 1 pixel for every 16 pixels
 Speech compression
 Voice coding (the lost information is of no little or no value)
Problems
5. Represent 22 23 24 24 24 24 24 24 24 25 26 26 26 26 26 26 25 24 with run length
encoding algorithm.
6. Encode the file containing the following characters, drawing the corresponding digital
tree “aaabbcbcdddeab” based on Lempel--Ziv Codes
7. Encode the file containing the following characters, drawing the corresponding digital
tree “aaababbbaaabaaaaaaabaabb” based on Lempel--Ziv Codes
8. Encode the file containing the following characters, drawing the corresponding digital
tree “I AM SAM. SAM I AM” based on Lempel--Ziv Codes
Research
9. Choose one problem and make it by any IDE for C/C++.
with all my best wishes
| P a g e 1
sheet 4.docx

Recomendados

Comparision Of Various Lossless Image Compression Techniques por
Comparision Of Various Lossless Image Compression TechniquesComparision Of Various Lossless Image Compression Techniques
Comparision Of Various Lossless Image Compression TechniquesIJERA Editor
245 vistas4 diapositivas
Data compression por
Data  compressionData  compression
Data compressionAshutosh Kawadkar
483 vistas18 diapositivas
A research paper_on_lossless_data_compre por
A research paper_on_lossless_data_compreA research paper_on_lossless_data_compre
A research paper_on_lossless_data_compreLuisa Francisco
82 vistas5 diapositivas
Data compression por
Data compressionData compression
Data compressionAbhishek Grover
3.4K vistas24 diapositivas
Ijrdtvlis11 140006 por
Ijrdtvlis11 140006Ijrdtvlis11 140006
Ijrdtvlis11 140006Ijrdt Journal
165 vistas5 diapositivas
Lossless image compression.(1) por
Lossless image compression.(1)Lossless image compression.(1)
Lossless image compression.(1)MohnishSatidasani
47 vistas14 diapositivas

Más contenido relacionado

Similar a sheet 4.docx

Data representation por
Data representationData representation
Data representationTravis Leong Ping
466 vistas50 diapositivas
Data representation por
Data representationData representation
Data representationTravis Leong Ping
625 vistas50 diapositivas
Using Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, Microsoft por
Using Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, MicrosoftUsing Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, Microsoft
Using Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, MicrosoftGuhan Suriyanarayanan
79 vistas46 diapositivas
Convolutional Neural Networks at scale in Spark MLlib por
Convolutional Neural Networks at scale in Spark MLlibConvolutional Neural Networks at scale in Spark MLlib
Convolutional Neural Networks at scale in Spark MLlibDataWorks Summit
3.4K vistas23 diapositivas
Hiding text in audio using lsb based steganography por
Hiding text in audio using lsb based steganographyHiding text in audio using lsb based steganography
Hiding text in audio using lsb based steganographyAlexander Decker
1.4K vistas8 diapositivas
Dictionary Based Compression por
Dictionary Based CompressionDictionary Based Compression
Dictionary Based Compressionanithabalaprabhu
24.9K vistas40 diapositivas

Similar a sheet 4.docx(18)

Using Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, Microsoft por Guhan Suriyanarayanan
Using Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, MicrosoftUsing Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, Microsoft
Using Deep Learning at Scale - Guhan Suriyanarayanan and Adi Oltean, Microsoft
Convolutional Neural Networks at scale in Spark MLlib por DataWorks Summit
Convolutional Neural Networks at scale in Spark MLlibConvolutional Neural Networks at scale in Spark MLlib
Convolutional Neural Networks at scale in Spark MLlib
DataWorks Summit3.4K vistas
Hiding text in audio using lsb based steganography por Alexander Decker
Hiding text in audio using lsb based steganographyHiding text in audio using lsb based steganography
Hiding text in audio using lsb based steganography
Alexander Decker1.4K vistas
Data representation por ChingTing
Data representationData representation
Data representation
ChingTing901 vistas
Information Theory and Coding Question Bank por miraclebabu
Information Theory and Coding Question BankInformation Theory and Coding Question Bank
Information Theory and Coding Question Bank
miraclebabu3.1K vistas
Next-generation sequencing data format and visualization with ngs.plot 2015 por Li Shen
Next-generation sequencing data format and visualization with ngs.plot 2015Next-generation sequencing data format and visualization with ngs.plot 2015
Next-generation sequencing data format and visualization with ngs.plot 2015
Li Shen3.7K vistas
Homomorphic encryption and Private Machine Learning Classification por Mohammed Ashour
Homomorphic encryption and Private Machine Learning ClassificationHomomorphic encryption and Private Machine Learning Classification
Homomorphic encryption and Private Machine Learning Classification
Mohammed Ashour126 vistas
Devoxx traitement automatique du langage sur du texte en 2019 por Alexis Agahi
Devoxx   traitement automatique du langage sur du texte en 2019 Devoxx   traitement automatique du langage sur du texte en 2019
Devoxx traitement automatique du langage sur du texte en 2019
Alexis Agahi203 vistas
ppt por butest
pptppt
ppt
butest1.3K vistas

Más de MohamedAyman183185

Kareem Atif Mohamed 1851711195.pptx por
Kareem Atif Mohamed 1851711195.pptxKareem Atif Mohamed 1851711195.pptx
Kareem Atif Mohamed 1851711195.pptxMohamedAyman183185
9 vistas13 diapositivas
sheet 3 answers.docx por
sheet 3 answers.docxsheet 3 answers.docx
sheet 3 answers.docxMohamedAyman183185
5 vistas5 diapositivas
sheet 3-4.pdf por
sheet 3-4.pdfsheet 3-4.pdf
sheet 3-4.pdfMohamedAyman183185
4 vistas1 diapositiva
sheet 1.docx por
sheet 1.docxsheet 1.docx
sheet 1.docxMohamedAyman183185
3 vistas4 diapositivas
file organization sheet 2 .pdf por
file organization sheet 2 .pdffile organization sheet 2 .pdf
file organization sheet 2 .pdfMohamedAyman183185
12 vistas1 diapositiva
Task mo7drt File Organization.docx por
Task mo7drt File Organization.docxTask mo7drt File Organization.docx
Task mo7drt File Organization.docxMohamedAyman183185
6 vistas1 diapositiva

Último

Investor Presentation por
Investor Presentation Investor Presentation
Investor Presentation TeckResourcesLtd
181 vistas28 diapositivas
Corporate Presentation Probe Gold Dec 2023.pdf por
Corporate Presentation Probe Gold Dec 2023.pdfCorporate Presentation Probe Gold Dec 2023.pdf
Corporate Presentation Probe Gold Dec 2023.pdfProbe Gold
22 vistas17 diapositivas
Qi House Holdings Limited: Bubble por
Qi House Holdings Limited: BubbleQi House Holdings Limited: Bubble
Qi House Holdings Limited: BubbleShion Kib
6 vistas1 diapositiva
HamasInvestorDeck.pdf por
HamasInvestorDeck.pdfHamasInvestorDeck.pdf
HamasInvestorDeck.pdfSefiKedmi
686 vistas14 diapositivas
Collective Mining - November 2023 por
Collective Mining - November 2023Collective Mining - November 2023
Collective Mining - November 2023CollectiveMining1
127 vistas29 diapositivas
2311_presentation materials_en_slideshare.pdf por
2311_presentation materials_en_slideshare.pdf2311_presentation materials_en_slideshare.pdf
2311_presentation materials_en_slideshare.pdfsansanir
17 vistas56 diapositivas

Último(9)

Corporate Presentation Probe Gold Dec 2023.pdf por Probe Gold
Corporate Presentation Probe Gold Dec 2023.pdfCorporate Presentation Probe Gold Dec 2023.pdf
Corporate Presentation Probe Gold Dec 2023.pdf
Probe Gold22 vistas
Qi House Holdings Limited: Bubble por Shion Kib
Qi House Holdings Limited: BubbleQi House Holdings Limited: Bubble
Qi House Holdings Limited: Bubble
Shion Kib6 vistas
HamasInvestorDeck.pdf por SefiKedmi
HamasInvestorDeck.pdfHamasInvestorDeck.pdf
HamasInvestorDeck.pdf
SefiKedmi686 vistas
2311_presentation materials_en_slideshare.pdf por sansanir
2311_presentation materials_en_slideshare.pdf2311_presentation materials_en_slideshare.pdf
2311_presentation materials_en_slideshare.pdf
sansanir17 vistas
Nicola Mining Inc. Corporate Presentation November 2023 por nicola_mining
Nicola Mining Inc. Corporate Presentation November 2023Nicola Mining Inc. Corporate Presentation November 2023
Nicola Mining Inc. Corporate Presentation November 2023
nicola_mining39 vistas

sheet 4.docx

  • 2. Ministry of Higher Education Course: File organization- INF 221 Higher Technological Institute Computer Science Department Second Year Sheet 4: Secondary Storage Devices Theoretical 1. What are the reasons of data compression?  Less storage.  Transmitting faster, decreasing access time.  Processing faster sequentially. 2. Describe in details the Huffman code and state an example?  Base on probability of occurrence  Determine probability of each value occurring  Build binary tree with search path for each value  More frequently occurring values are given shorter search paths in tree. Example: the string “abde” 1 0100000 0001 3. What is meaning of Lempel--Ziv Codes? Lempel-Ziv coding is a free-parse method; that is, the words of the source alphabet are defined dynamically, as the encoding is performed. Lempel-Ziv coding is the basis for the UNIX utility compress. 4. Describe in details lossy compression techniques?  Some information can be sacrificed  Less common in data files  Shrinking raster image  400-by-400 pixels to 100-by-100 pixels  1 pixel for every 16 pixels  Speech compression  Voice coding (the lost information is of no little or no value) Problems 5. Represent 22 23 24 24 24 24 24 24 24 25 26 26 26 26 26 26 25 24 with run length encoding algorithm. 6. Encode the file containing the following characters, drawing the corresponding digital tree “aaabbcbcdddeab” based on Lempel--Ziv Codes 7. Encode the file containing the following characters, drawing the corresponding digital tree “aaababbbaaabaaaaaaabaabb” based on Lempel--Ziv Codes 8. Encode the file containing the following characters, drawing the corresponding digital tree “I AM SAM. SAM I AM” based on Lempel--Ziv Codes
  • 3. Research 9. Choose one problem and make it by any IDE for C/C++. with all my best wishes | P a g e 1