SlideShare a Scribd company logo
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

More Related Content

Similar to sheet 1.docx

20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptxSuman Garai
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionAKR Education
 
Key Features Of The Pseudo Code
Key Features Of The Pseudo CodeKey Features Of The Pseudo Code
Key Features Of The Pseudo CodeAngilina Jones
 
D turner techreport
D turner techreportD turner techreport
D turner techreportdavid114811
 
Class 12th IP project on buisness management
Class 12th IP project on buisness managementClass 12th IP project on buisness management
Class 12th IP project on buisness managementsankhlasheetal3
 
The Concept Of Abstract Data Types
The Concept Of Abstract Data TypesThe Concept Of Abstract Data Types
The Concept Of Abstract Data TypesKaty Allen
 
Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdfSahidkhatiwada
 
Doppl development iteration #10
Doppl development   iteration #10Doppl development   iteration #10
Doppl development iteration #10Diego Perini
 
Top Deep Learning Frameworks.pdf
Top Deep Learning Frameworks.pdfTop Deep Learning Frameworks.pdf
Top Deep Learning Frameworks.pdfAppdeveloper10
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageRamaBoya2
 
Programming in python in detail concept .pptx
Programming in python in detail concept .pptxProgramming in python in detail concept .pptx
Programming in python in detail concept .pptxKavitha713564
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil EngineeringRushikesh Kolhe
 
C-and-Cpp-Brochure-English. .
C-and-Cpp-Brochure-English.               .C-and-Cpp-Brochure-English.               .
C-and-Cpp-Brochure-English. .spotguys705
 

Similar to sheet 1.docx (20)

miniproject.pptx
miniproject.pptxminiproject.pptx
miniproject.pptx
 
20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx20210417-cppRelevancy-DataStructures.pptx
20210417-cppRelevancy-DataStructures.pptx
 
C 1
C 1C 1
C 1
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
 
Introduction to c
Introduction to cIntroduction to c
Introduction to c
 
What is C.docx
What is C.docxWhat is C.docx
What is C.docx
 
Key Features Of The Pseudo Code
Key Features Of The Pseudo CodeKey Features Of The Pseudo Code
Key Features Of The Pseudo Code
 
C tutorial
C tutorialC tutorial
C tutorial
 
D turner techreport
D turner techreportD turner techreport
D turner techreport
 
Class 12th IP project on buisness management
Class 12th IP project on buisness managementClass 12th IP project on buisness management
Class 12th IP project on buisness management
 
The Concept Of Abstract Data Types
The Concept Of Abstract Data TypesThe Concept Of Abstract Data Types
The Concept Of Abstract Data Types
 
Introduction to C Programming (1).pdf
Introduction to C Programming (1).pdfIntroduction to C Programming (1).pdf
Introduction to C Programming (1).pdf
 
Doppl development iteration #10
Doppl development   iteration #10Doppl development   iteration #10
Doppl development iteration #10
 
Top Deep Learning Frameworks.pdf
Top Deep Learning Frameworks.pdfTop Deep Learning Frameworks.pdf
Top Deep Learning Frameworks.pdf
 
C++0x
C++0xC++0x
C++0x
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 
Programming in python in detail concept .pptx
Programming in python in detail concept .pptxProgramming in python in detail concept .pptx
Programming in python in detail concept .pptx
 
C++
C++C++
C++
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
 
C-and-Cpp-Brochure-English. .
C-and-Cpp-Brochure-English.               .C-and-Cpp-Brochure-English.               .
C-and-Cpp-Brochure-English. .
 

More from MohamedAyman183185

More from MohamedAyman183185 (12)

Kareem Atif Mohamed 1851711195.pptx
Kareem Atif Mohamed 1851711195.pptxKareem Atif Mohamed 1851711195.pptx
Kareem Atif Mohamed 1851711195.pptx
 
sheet 3 answers.docx
sheet 3 answers.docxsheet 3 answers.docx
sheet 3 answers.docx
 
sheet 3-4.pdf
sheet 3-4.pdfsheet 3-4.pdf
sheet 3-4.pdf
 
file organization sheet 2 .pdf
file organization sheet 2 .pdffile organization sheet 2 .pdf
file organization sheet 2 .pdf
 
Task mo7drt File Organization.docx
Task mo7drt File Organization.docxTask mo7drt File Organization.docx
Task mo7drt File Organization.docx
 
sheet 4.docx
sheet 4.docxsheet 4.docx
sheet 4.docx
 
sheet 5.docx
sheet 5.docxsheet 5.docx
sheet 5.docx
 
file organization sheet 2 .docx
file organization sheet 2 .docxfile organization sheet 2 .docx
file organization sheet 2 .docx
 
Mohamed Ayman Task3 RAID.docx
Mohamed Ayman Task3 RAID.docxMohamed Ayman Task3 RAID.docx
Mohamed Ayman Task3 RAID.docx
 
Mohamed Ayman EL-Sayed ID 42020424 G4.pdf
Mohamed Ayman EL-Sayed   ID 42020424   G4.pdfMohamed Ayman EL-Sayed   ID 42020424   G4.pdf
Mohamed Ayman EL-Sayed ID 42020424 G4.pdf
 
Medical Diagnosis Expert System Report.docx
Medical Diagnosis Expert System Report.docxMedical Diagnosis Expert System Report.docx
Medical Diagnosis Expert System Report.docx
 
Report of Introduction and methods Explination.docx
Report of Introduction and methods Explination.docxReport of Introduction and methods Explination.docx
Report of Introduction and methods Explination.docx
 

Recently uploaded

7 Basic Steps of Trust Administration.pdf
7 Basic Steps of Trust Administration.pdf7 Basic Steps of Trust Administration.pdf
7 Basic Steps of Trust Administration.pdfGoodman Estate Law
 
Types of Cybercrime and Its Impact on Society
Types of Cybercrime and Its Impact on SocietyTypes of Cybercrime and Its Impact on Society
Types of Cybercrime and Its Impact on Societynanjeebarifa
 
Everything You Should Know About Child Custody and Parenting While Living in ...
Everything You Should Know About Child Custody and Parenting While Living in ...Everything You Should Know About Child Custody and Parenting While Living in ...
Everything You Should Know About Child Custody and Parenting While Living in ...AvinashMittal5
 
PRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptx
PRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptxPRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptx
PRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptxOmGod1
 
RIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptx
RIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptxRIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptx
RIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptxOmGod1
 
Chambers Global Practice Guide - Corporate M&A 2024 - Canadian M&A
Chambers Global Practice Guide - Corporate M&A 2024 - Canadian M&AChambers Global Practice Guide - Corporate M&A 2024 - Canadian M&A
Chambers Global Practice Guide - Corporate M&A 2024 - Canadian M&ASkyLaw Professional Corporation
 
VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...
VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...
VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...Dr. Oliver Massmann
 
ALL EYES ON RAFAH BUT WHY Explain more.pdf
ALL EYES ON RAFAH BUT WHY Explain more.pdfALL EYES ON RAFAH BUT WHY Explain more.pdf
ALL EYES ON RAFAH BUT WHY Explain more.pdf46adnanshahzad
 
Agrarian Reform Policies in the Philippines: a quiz
Agrarian Reform Policies in the Philippines: a quizAgrarian Reform Policies in the Philippines: a quiz
Agrarian Reform Policies in the Philippines: a quizgaelcabigunda
 
Solidarity and Taxation: the Ubuntu approach in South Africa
Solidarity and Taxation: the Ubuntu approach in South AfricaSolidarity and Taxation: the Ubuntu approach in South Africa
Solidarity and Taxation: the Ubuntu approach in South AfricaUniversity of Ferrara
 
Application of Doctrine of Renvoi by foreign courts under conflict of laws
Application of Doctrine of Renvoi by foreign courts under conflict of lawsApplication of Doctrine of Renvoi by foreign courts under conflict of laws
Application of Doctrine of Renvoi by foreign courts under conflict of lawsanvithaav
 
indian evidence act.pdf.......very helpful for law student
indian evidence act.pdf.......very helpful for law studentindian evidence act.pdf.......very helpful for law student
indian evidence act.pdf.......very helpful for law studentAaruKhanduri
 
DNA Testing in Civil and Criminal Matters.pptx
DNA Testing in Civil and Criminal Matters.pptxDNA Testing in Civil and Criminal Matters.pptx
DNA Testing in Civil and Criminal Matters.pptxpatrons legal
 
Notes-on-Prescription-Obligations-and-Contracts.doc
Notes-on-Prescription-Obligations-and-Contracts.docNotes-on-Prescription-Obligations-and-Contracts.doc
Notes-on-Prescription-Obligations-and-Contracts.docBRELGOSIMAT
 
Book review - Amartya Sen's Idea of Justice
Book review - Amartya Sen's Idea of JusticeBook review - Amartya Sen's Idea of Justice
Book review - Amartya Sen's Idea of Justiceanvithaav
 
Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)
Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)
Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)Mike Keyes
 

Recently uploaded (18)

7 Basic Steps of Trust Administration.pdf
7 Basic Steps of Trust Administration.pdf7 Basic Steps of Trust Administration.pdf
7 Basic Steps of Trust Administration.pdf
 
Types of Cybercrime and Its Impact on Society
Types of Cybercrime and Its Impact on SocietyTypes of Cybercrime and Its Impact on Society
Types of Cybercrime and Its Impact on Society
 
Everything You Should Know About Child Custody and Parenting While Living in ...
Everything You Should Know About Child Custody and Parenting While Living in ...Everything You Should Know About Child Custody and Parenting While Living in ...
Everything You Should Know About Child Custody and Parenting While Living in ...
 
PRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptx
PRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptxPRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptx
PRECEDENT AS A SOURCE OF LAW (SAIF JAVED).pptx
 
RIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptx
RIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptxRIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptx
RIGHTS OF VICTIM EDITED PRESENTATION(SAIF JAVED).pptx
 
Chambers Global Practice Guide - Corporate M&A 2024 - Canadian M&A
Chambers Global Practice Guide - Corporate M&A 2024 - Canadian M&AChambers Global Practice Guide - Corporate M&A 2024 - Canadian M&A
Chambers Global Practice Guide - Corporate M&A 2024 - Canadian M&A
 
Charge and its essentials rules Under the CRPC, 1898
Charge and its essentials rules Under the CRPC, 1898Charge and its essentials rules Under the CRPC, 1898
Charge and its essentials rules Under the CRPC, 1898
 
VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...
VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...
VIETNAM - DIRECT POWER PURCHASE AGREEMENTS (DPPA) - Latest development - What...
 
ALL EYES ON RAFAH BUT WHY Explain more.pdf
ALL EYES ON RAFAH BUT WHY Explain more.pdfALL EYES ON RAFAH BUT WHY Explain more.pdf
ALL EYES ON RAFAH BUT WHY Explain more.pdf
 
Agrarian Reform Policies in the Philippines: a quiz
Agrarian Reform Policies in the Philippines: a quizAgrarian Reform Policies in the Philippines: a quiz
Agrarian Reform Policies in the Philippines: a quiz
 
Solidarity and Taxation: the Ubuntu approach in South Africa
Solidarity and Taxation: the Ubuntu approach in South AfricaSolidarity and Taxation: the Ubuntu approach in South Africa
Solidarity and Taxation: the Ubuntu approach in South Africa
 
Justice Advocates Legal Defence Firm
Justice Advocates Legal Defence FirmJustice Advocates Legal Defence Firm
Justice Advocates Legal Defence Firm
 
Application of Doctrine of Renvoi by foreign courts under conflict of laws
Application of Doctrine of Renvoi by foreign courts under conflict of lawsApplication of Doctrine of Renvoi by foreign courts under conflict of laws
Application of Doctrine of Renvoi by foreign courts under conflict of laws
 
indian evidence act.pdf.......very helpful for law student
indian evidence act.pdf.......very helpful for law studentindian evidence act.pdf.......very helpful for law student
indian evidence act.pdf.......very helpful for law student
 
DNA Testing in Civil and Criminal Matters.pptx
DNA Testing in Civil and Criminal Matters.pptxDNA Testing in Civil and Criminal Matters.pptx
DNA Testing in Civil and Criminal Matters.pptx
 
Notes-on-Prescription-Obligations-and-Contracts.doc
Notes-on-Prescription-Obligations-and-Contracts.docNotes-on-Prescription-Obligations-and-Contracts.doc
Notes-on-Prescription-Obligations-and-Contracts.doc
 
Book review - Amartya Sen's Idea of Justice
Book review - Amartya Sen's Idea of JusticeBook review - Amartya Sen's Idea of Justice
Book review - Amartya Sen's Idea of Justice
 
Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)
Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)
Casa Tradicion v. Casa Azul Spirits (S.D. Tex. 2024)
 

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.