sheet 1.docx

asd

Mohamed Ayman EL-Sayed
42020424
G:6
Ministry of Higher Education Course: File organization- INF 221
Higher Technological Institute
Computer Science Department
Second Year
Sheet 1: Introduction to file organization Theoretical
1. What is the difference between data structures and file structures?
Data structure: used or deal with main memory.
File structures: used or deal with secondary storage.
2. Draw the block diagram for computer architecture?
3. Describe the memory hierarchy?
It’s a data at which must be maintained across program executions, this required storage devices that retain information when the
computer is restarted. Which is the primary storage usually volatile and the secondary storage are nonvolatile.
4. Compare between the main memory and secondary storage?
 Main memory: faster than, smaller than, more expensive and volatile storage except (ROM which is non volatile)
the secondary storage.
 Secondary storage: slower than, larger than, cheaper than and more staple than the main memory.
5. What are the features of good file structure design?
 It will be faster access to great capacity.
 Reduce number of disk access.
 Collecting data into buffers, blocks or buckets.
 Manage growth by splitting these collections.
6. Describe in details the history of file structure design?
First it was sequential access which is search by sequence process.
,Then it become direct access which is access to position in array.
,Then it become index which is allows direct access to a large primary file.
,Then it become a binary search tree which had a very wrong way which was the unbalanced tree, so they made the B+ tree.
,Then they made the hashing table which search by hashing value.
And Then they made the Dynamic hashing which is more qualified for us if the file changes continually.
Research
7. Make research report to survey for C/C++.
C: is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972. It is a very popular
language, despite being old. C is strongly associated with UNIX, as it was developed to write the UNIX operating system.
Why Learn C:
 It is one of the most popular programming language in the world
 If you know C, you will have no problem learning other popular programming languages such as Java, Python, C++, C#, etc,
as the syntax is similar
 C is very fast, compared to other programming languages, like Java and Python
 C is very versatile; it can be used in both applications and technologies
C++: is an object-oriented programming language which gives a clear structure to programs and allows code to be reused, lowering
development costs. C++ is portable and can be used to develop applications that can be adapted to multiple platforms. C++ is fun
and easy to learn.
Why use C++:
 C++ is one of the world's most popular programming languages.
 C++ can be found in today's operating systems, Graphical User Interfaces, and embedded systems.
 C++ is an object-oriented programming language which gives a clear structure to programs and allows code to be reused,
lowering development costs.
 C++ is portable and can be used to develop applications that can be adapted to multiple platforms.
 C++ is fun and easy to learn!
 As C++ is close to C, C# and Java, it makes it easy for programmers to switch to C++ or vice versa.
Difference between C, C++
C++ was developed as an extension of C, and both languages have almost the same syntax.
The main difference between C and C++ is that C++ support classes and objects, while C does not.
EFERANCE:
ttps://www.w3schools.com/c/c_intro.php
with all my best wishes
| P a g e 1
sheet 1.docx

Recomendados

Summer training PPT Manasv Singharia.pptx por
Summer training PPT Manasv Singharia.pptxSummer training PPT Manasv Singharia.pptx
Summer training PPT Manasv Singharia.pptxshokeenk14
6 vistas12 diapositivas
Computer Science Is The Study Of Principals And How The... por
Computer Science Is The Study Of Principals And How The...Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Laura Martin
2 vistas81 diapositivas
Unit 1 introduction to c++.pptx por
Unit 1 introduction to c++.pptxUnit 1 introduction to c++.pptx
Unit 1 introduction to c++.pptxshashiden1
20 vistas42 diapositivas
Nt1330 Unit 3 Types Of Dngs por
Nt1330 Unit 3 Types Of DngsNt1330 Unit 3 Types Of Dngs
Nt1330 Unit 3 Types Of DngsLaura Martin
2 vistas82 diapositivas
A Case Study Of A Reusable Component Collection por
A Case Study Of A Reusable Component CollectionA Case Study Of A Reusable Component Collection
A Case Study Of A Reusable Component CollectionJennifer Strong
5 vistas6 diapositivas
Why C is Called Structured Programming Language por
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming LanguageSinbad Konick
12.4K vistas11 diapositivas

Más contenido relacionado

Similar a sheet 1.docx

Writing Programs On A Block Programming Environment por
Writing Programs On A Block Programming EnvironmentWriting Programs On A Block Programming Environment
Writing Programs On A Block Programming EnvironmentMaria Padilla
2 vistas44 diapositivas
C 1 por
C 1C 1
C 1guest8be6bb5
336 vistas32 diapositivas
Unit 1 of c++ part 1 basic introduction por
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionAKR Education
104 vistas14 diapositivas
Introduction to c por
Introduction to cIntroduction to c
Introduction to cpoojaanuragchouhan
174 vistas6 diapositivas
What is C.docx por
What is C.docxWhat is C.docx
What is C.docxChristopherHerring9
3 vistas2 diapositivas
Key Features Of The Pseudo Code por
Key Features Of The Pseudo CodeKey Features Of The Pseudo Code
Key Features Of The Pseudo CodeAngilina Jones
2 vistas81 diapositivas

Similar a sheet 1.docx(20)

Writing Programs On A Block Programming Environment por Maria Padilla
Writing Programs On A Block Programming EnvironmentWriting Programs On A Block Programming Environment
Writing Programs On A Block Programming Environment
Maria Padilla2 vistas
Unit 1 of c++ part 1 basic introduction por AKR Education
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
AKR Education104 vistas
D turner techreport por david114811
D turner techreportD turner techreport
D turner techreport
david114811221 vistas
The Concept Of Abstract Data Types por Katy Allen
The Concept Of Abstract Data TypesThe Concept Of Abstract Data Types
The Concept Of Abstract Data Types
Katy Allen2 vistas
Introduction to C Programming (1).pdf por Sahidkhatiwada
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdf
Sahidkhatiwada54 vistas
Computer Languages And Programming Frameworks por Gracie Segura
Computer Languages And Programming FrameworksComputer Languages And Programming Frameworks
Computer Languages And Programming Frameworks
Gracie Segura2 vistas
Doppl development iteration #10 por Diego Perini
Doppl development   iteration #10Doppl development   iteration #10
Doppl development iteration #10
Diego Perini320 vistas
Introduction to C Programming Language por RamaBoya2
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
RamaBoya268 vistas
Differences Between The COBOL Programming Language Vs. PHP... por Susan White
Differences Between The COBOL Programming Language Vs. PHP...Differences Between The COBOL Programming Language Vs. PHP...
Differences Between The COBOL Programming Language Vs. PHP...
Susan White4 vistas
Unit 4 Assignment 1 Comparative Study Of Programming... por Carmen Sanborn
Unit 4 Assignment 1 Comparative Study Of Programming...Unit 4 Assignment 1 Comparative Study Of Programming...
Unit 4 Assignment 1 Comparative Study Of Programming...
Carmen Sanborn4 vistas
International Journal of Engineering Research and Development (IJERD) por IJERD Editor
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
IJERD Editor378 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
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
sheet 4.docx por
sheet 4.docxsheet 4.docx
sheet 4.docxMohamedAyman183185
5 vistas4 diapositivas

Último

Navigating Divorce Law in Ontario: A Practical Guide por
Navigating Divorce Law in Ontario: A Practical GuideNavigating Divorce Law in Ontario: A Practical Guide
Navigating Divorce Law in Ontario: A Practical GuideBTL Law P.C.
5 vistas16 diapositivas
Deron Freeman_ A Legal Journey Marked by Excellence and Dedication.docx por
Deron Freeman_ A Legal Journey Marked by Excellence and Dedication.docxDeron Freeman_ A Legal Journey Marked by Excellence and Dedication.docx
Deron Freeman_ A Legal Journey Marked by Excellence and Dedication.docxDeronFreeman
14 vistas3 diapositivas
5 Common H-1B Cap 2025 Filing Mistakes: How To Overcome Them? por
5 Common H-1B Cap 2025 Filing Mistakes: How To Overcome Them?5 Common H-1B Cap 2025 Filing Mistakes: How To Overcome Them?
5 Common H-1B Cap 2025 Filing Mistakes: How To Overcome Them?VisaPro Immigration Services LLC
15 vistas22 diapositivas
Trademark-Case Study.pdf por
Trademark-Case Study.pdfTrademark-Case Study.pdf
Trademark-Case Study.pdfHetviJoshi4
6 vistas15 diapositivas
How To Protect Property and Other Assets During Divorce.pdf por
How To Protect Property and Other Assets During Divorce.pdfHow To Protect Property and Other Assets During Divorce.pdf
How To Protect Property and Other Assets During Divorce.pdfIsabella Barry
6 vistas12 diapositivas
How is the Inheritance Divided in Italy? por
How is the Inheritance Divided in Italy?How is the Inheritance Divided in Italy?
How is the Inheritance Divided in Italy?BridgeWest.eu
5 vistas10 diapositivas

Último(12)

Navigating Divorce Law in Ontario: A Practical Guide por BTL Law P.C.
Navigating Divorce Law in Ontario: A Practical GuideNavigating Divorce Law in Ontario: A Practical Guide
Navigating Divorce Law in Ontario: A Practical Guide
BTL Law P.C.5 vistas
Deron Freeman_ A Legal Journey Marked by Excellence and Dedication.docx por DeronFreeman
Deron Freeman_ A Legal Journey Marked by Excellence and Dedication.docxDeron Freeman_ A Legal Journey Marked by Excellence and Dedication.docx
Deron Freeman_ A Legal Journey Marked by Excellence and Dedication.docx
DeronFreeman14 vistas
Trademark-Case Study.pdf por HetviJoshi4
Trademark-Case Study.pdfTrademark-Case Study.pdf
Trademark-Case Study.pdf
HetviJoshi46 vistas
How To Protect Property and Other Assets During Divorce.pdf por Isabella Barry
How To Protect Property and Other Assets During Divorce.pdfHow To Protect Property and Other Assets During Divorce.pdf
How To Protect Property and Other Assets During Divorce.pdf
Isabella Barry6 vistas
How is the Inheritance Divided in Italy? por BridgeWest.eu
How is the Inheritance Divided in Italy?How is the Inheritance Divided in Italy?
How is the Inheritance Divided in Italy?
BridgeWest.eu5 vistas
Hiding From ACLN The Motley Fool.pdf por jamesmaredmond
Hiding From ACLN The Motley Fool.pdfHiding From ACLN The Motley Fool.pdf
Hiding From ACLN The Motley Fool.pdf
jamesmaredmond8 vistas
Estate Planning Attorneys Houston - houston-probate-law.com por Kreig Law
Estate Planning Attorneys Houston - houston-probate-law.comEstate Planning Attorneys Houston - houston-probate-law.com
Estate Planning Attorneys Houston - houston-probate-law.com
Kreig Law37 vistas
Response to theft and fraud by the Office of the Comptroller of the Currency por RealLifeMurderMyster
Response to theft and fraud by the Office of the Comptroller of the CurrencyResponse to theft and fraud by the Office of the Comptroller of the Currency
Response to theft and fraud by the Office of the Comptroller of the Currency
Right to Equality - Lecture PPT por Prarthana
Right to Equality - Lecture PPTRight to Equality - Lecture PPT
Right to Equality - Lecture PPT
Prarthana 16 vistas

sheet 1.docx

  • 1. Mohamed Ayman EL-Sayed 42020424 G:6 Ministry of Higher Education Course: File organization- INF 221 Higher Technological Institute Computer Science Department Second Year Sheet 1: Introduction to file organization Theoretical 1. What is the difference between data structures and file structures? Data structure: used or deal with main memory. File structures: used or deal with secondary storage. 2. Draw the block diagram for computer architecture? 3. Describe the memory hierarchy? It’s a data at which must be maintained across program executions, this required storage devices that retain information when the computer is restarted. Which is the primary storage usually volatile and the secondary storage are nonvolatile.
  • 2. 4. Compare between the main memory and secondary storage?  Main memory: faster than, smaller than, more expensive and volatile storage except (ROM which is non volatile) the secondary storage.  Secondary storage: slower than, larger than, cheaper than and more staple than the main memory. 5. What are the features of good file structure design?  It will be faster access to great capacity.  Reduce number of disk access.  Collecting data into buffers, blocks or buckets.  Manage growth by splitting these collections. 6. Describe in details the history of file structure design? First it was sequential access which is search by sequence process. ,Then it become direct access which is access to position in array. ,Then it become index which is allows direct access to a large primary file. ,Then it become a binary search tree which had a very wrong way which was the unbalanced tree, so they made the B+ tree. ,Then they made the hashing table which search by hashing value. And Then they made the Dynamic hashing which is more qualified for us if the file changes continually. Research 7. Make research report to survey for C/C++. C: is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972. It is a very popular language, despite being old. C is strongly associated with UNIX, as it was developed to write the UNIX operating system. Why Learn C:  It is one of the most popular programming language in the world  If you know C, you will have no problem learning other popular programming languages such as Java, Python, C++, C#, etc, as the syntax is similar  C is very fast, compared to other programming languages, like Java and Python  C is very versatile; it can be used in both applications and technologies C++: is an object-oriented programming language which gives a clear structure to programs and allows code to be reused, lowering development costs. C++ is portable and can be used to develop applications that can be adapted to multiple platforms. C++ is fun and easy to learn. Why use C++:  C++ is one of the world's most popular programming languages.  C++ can be found in today's operating systems, Graphical User Interfaces, and embedded systems.  C++ is an object-oriented programming language which gives a clear structure to programs and allows code to be reused, lowering development costs.  C++ is portable and can be used to develop applications that can be adapted to multiple platforms.  C++ is fun and easy to learn!  As C++ is close to C, C# and Java, it makes it easy for programmers to switch to C++ or vice versa. Difference between C, C++ C++ was developed as an extension of C, and both languages have almost the same syntax. The main difference between C and C++ is that C++ support classes and objects, while C does not.