SlideShare a Scribd company logo
1 of 31
Defining The Problem & Planning Software Solutions ,[object Object]
Syllabus ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why are they needed? 3 2 1
Hi I am going to tell you about why computers require data types and data structures.
INPUT Firstly, when we use a computer that is classified as INPUT.
This raw rata is converted into binary – machine code via the electronic signals on the computers keyboard.
As you know this information needs to be processed so information can be generated and OUTPUTTED.
However, this data must be stored in similar categories for processing.
A B C 1 55 7 8 90 22/3/80 $22.00 All the data is filtered into categories for storage and subsequent processing. Integer Character String Date
So therefore we need data types to organise data for processing.
Examples of Data DATA
How is data stored? ,[object Object],[object Object],[object Object]
How is data stored? 1001 1002 1003 1004 1005 Computer -  Store 10 in 1001 Programmer –  Num1 = 10 10 Num1
How is data stored? 1001 1002 1003 1004 1005 Computer -  Store 12 in 1002 Programmer –  Num2 = 12 10 12 Num2
How is data stored? 1001 1002 1003 1004 1005 Computer –  ADD 1001 to 1002 and STORE in 1003 Programmer –  Total = Num1 + Num2  10 12 22 Total
Number Representation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Binary Number System ,[object Object],[object Object],[object Object],[object Object]
Binary Number System Number 1 0 1 1 1 Binary Place 2  4 2  3 2  2 2  1 2  0 Binary Place Value 16 8 4 2 1 Binary Calculation 1 x 2  4 0 x 2  3 1 x 2  2 1 x 2  1 1 x 2  0 Binary Value 16 0 4 2 1 Binary Total = 16 + 4 + 2 + 1 = 23
Octal Number System ,[object Object],[object Object]
Octal Number System Number 3 4 5 2 1 Octal Place 8  4 8  3 8  2 8  1 8  0 Octal Place Value 4 096 512 64 8 1 Octal Calculation 3 x 8  4 4 x 8  3 5 x 8  2 2 x 8  1 1 x 8  0 Octal Value 12 288 2 048 320 16 1 Octal Total = 12 288 + 2 048 + 320 + 16 + 1 = 14 673
Hexadecimal Number System ,[object Object],[object Object]
Hexadecimal Number System Number 1 2 4 A C Hex Place 16  4 16  3 16  2 16  1 16  0 Hex Place Value 65 536 4 096 256 16 1 Hex Calculation 1 x 16  4 2 x 16  3 4 x 16  2 10 x 16  1 12 x 16  0 Hex Value 65 536 8 192 1 024 160 12 Hex Total = 65 536 + 8 192 + 1 024 + 160 + 12 = 74 924
Activity 1 ,[object Object],[object Object]
Activity 2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activity 3 Decimal Binary Octal Hexadecimal 45 10 1010111 2 75 8 3FC 16
Data Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activity 4 DATA TYPE DESCRIPTION EXAMPLES Integer 5 0 -4 87 Floating Point 2.764 -67665.3 2.3 x 10 8 String Cat Daggy2 Eggplant Boolean True  False Yes No Date 16/1/2006 4 th  June 2001 Currency $5.84 -$58.97 $1005.46
Variables and Constants ,[object Object],[object Object],[object Object],[object Object],[object Object]
Naming Variables ,[object Object],[object Object],[object Object],[object Object]
Activity 5 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Homework ,[object Object],[object Object]

More Related Content

What's hot

Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbersMOHAN MOHAN
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes VandanaPagar1
 
Floating point representation
Floating point representationFloating point representation
Floating point representationmissstevenson01
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesDr. Anita Goel
 
binary number system
 binary number system binary number system
binary number systemvishal gupta
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentationSnehalataAgasti
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationRitu Ranjan Shrivastwa
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital ElectronicsJanki Shah
 
Introduction number systems and conversion
 Introduction number systems and conversion Introduction number systems and conversion
Introduction number systems and conversionkanyuma jitjumnong
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversionsSusantha Herath
 
Digital Electronics and Computer Language
Digital Electronics and Computer Language Digital Electronics and Computer Language
Digital Electronics and Computer Language Manthan Chavda
 

What's hot (20)

Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Number system
Number systemNumber system
Number system
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Binaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemesBinaty Arithmetic and Binary coding schemes
Binaty Arithmetic and Binary coding schemes
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Data representation
Data representationData representation
Data representation
 
binary number system
 binary number system binary number system
binary number system
 
Floating point presentation
Floating point presentationFloating point presentation
Floating point presentation
 
Number system
Number system  Number system
Number system
 
Quick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representationQuick tutorial on IEEE 754 FLOATING POINT representation
Quick tutorial on IEEE 754 FLOATING POINT representation
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Introduction number systems and conversion
 Introduction number systems and conversion Introduction number systems and conversion
Introduction number systems and conversion
 
Number systems and conversions
Number systems and conversionsNumber systems and conversions
Number systems and conversions
 
Digital Electronics and Computer Language
Digital Electronics and Computer Language Digital Electronics and Computer Language
Digital Electronics and Computer Language
 

Similar to Data types

Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...ArtemKovera
 
As Level Computer Science Book -1
As Level Computer Science  Book -1As Level Computer Science  Book -1
As Level Computer Science Book -1DIGDARSHAN KUNWAR
 
Int 2 data representation 2010
Int 2 data representation 2010Int 2 data representation 2010
Int 2 data representation 2010iarthur
 
chapter one && two.pdf
chapter one && two.pdfchapter one && two.pdf
chapter one && two.pdfmiftah88
 
1.1.1 binary systems By Zak
1.1.1 binary systems By Zak1.1.1 binary systems By Zak
1.1.1 binary systems By ZakTabsheer Hasan
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16John Todora
 
Presentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptxPresentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptxMinahilUmar1
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1Deepak John
 
COmputer Number system.pptx
COmputer Number system.pptxCOmputer Number system.pptx
COmputer Number system.pptxTanveerAbbas92
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawabAmmar_n
 

Similar to Data types (20)

W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...Computer data representation (integers, floating-point numbers, text, images,...
Computer data representation (integers, floating-point numbers, text, images,...
 
As Level Computer Science Book -1
As Level Computer Science  Book -1As Level Computer Science  Book -1
As Level Computer Science Book -1
 
Cit 1101 lec 02
Cit 1101 lec 02Cit 1101 lec 02
Cit 1101 lec 02
 
DLD Chapter-1.pdf
DLD Chapter-1.pdfDLD Chapter-1.pdf
DLD Chapter-1.pdf
 
Int 2 data representation 2010
Int 2 data representation 2010Int 2 data representation 2010
Int 2 data representation 2010
 
chapter one && two.pdf
chapter one && two.pdfchapter one && two.pdf
chapter one && two.pdf
 
Introduction to Computing
Introduction to ComputingIntroduction to Computing
Introduction to Computing
 
Number system
Number system Number system
Number system
 
1.1.1 binary systems By Zak
1.1.1 binary systems By Zak1.1.1 binary systems By Zak
1.1.1 binary systems By Zak
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
 
Presentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptxPresentation of ICT.ppt.pptx
Presentation of ICT.ppt.pptx
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
 
COmputer Number system.pptx
COmputer Number system.pptxCOmputer Number system.pptx
COmputer Number system.pptx
 
Binary Number System and Codes
Binary Number System and CodesBinary Number System and Codes
Binary Number System and Codes
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Data representation
Data representationData representation
Data representation
 

More from gavhays

End user development
End user developmentEnd user development
End user developmentgavhays
 
N301 Designing Circuits
N301 Designing CircuitsN301 Designing Circuits
N301 Designing Circuitsgavhays
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flopsgavhays
 
Programming Hardware Devices
Programming Hardware DevicesProgramming Hardware Devices
Programming Hardware Devicesgavhays
 
Electronic Circuits
Electronic  CircuitsElectronic  Circuits
Electronic Circuitsgavhays
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebragavhays
 
Sdd Maintenance Of Software Solutions
Sdd Maintenance Of Software SolutionsSdd Maintenance Of Software Solutions
Sdd Maintenance Of Software Solutionsgavhays
 
Sdd Documentation
Sdd DocumentationSdd Documentation
Sdd Documentationgavhays
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutionsgavhays
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Processgavhays
 
S D D Program Development Tools
S D D  Program  Development  ToolsS D D  Program  Development  Tools
S D D Program Development Toolsgavhays
 
SDD Translation
SDD  TranslationSDD  Translation
SDD Translationgavhays
 
The Role Of The Cpu
The Role Of The CpuThe Role Of The Cpu
The Role Of The Cpugavhays
 
Sdd Syntax Descriptions
Sdd Syntax DescriptionsSdd Syntax Descriptions
Sdd Syntax Descriptionsgavhays
 
Interface Design
Interface DesignInterface Design
Interface Designgavhays
 

More from gavhays (17)

End user development
End user developmentEnd user development
End user development
 
N301 Designing Circuits
N301 Designing CircuitsN301 Designing Circuits
N301 Designing Circuits
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
 
Programming Hardware Devices
Programming Hardware DevicesProgramming Hardware Devices
Programming Hardware Devices
 
Plp
PlpPlp
Plp
 
Electronic Circuits
Electronic  CircuitsElectronic  Circuits
Electronic Circuits
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Sdd Maintenance Of Software Solutions
Sdd Maintenance Of Software SolutionsSdd Maintenance Of Software Solutions
Sdd Maintenance Of Software Solutions
 
Sdd Documentation
Sdd DocumentationSdd Documentation
Sdd Documentation
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Process
 
S D D Program Development Tools
S D D  Program  Development  ToolsS D D  Program  Development  Tools
S D D Program Development Tools
 
SDD Translation
SDD  TranslationSDD  Translation
SDD Translation
 
The Role Of The Cpu
The Role Of The CpuThe Role Of The Cpu
The Role Of The Cpu
 
Sdd Syntax Descriptions
Sdd Syntax DescriptionsSdd Syntax Descriptions
Sdd Syntax Descriptions
 
Interface Design
Interface DesignInterface Design
Interface Design
 

Recently uploaded

Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 

Recently uploaded (20)

YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 

Data types

  • 1.
  • 2.
  • 3. Why are they needed? 3 2 1
  • 4. Hi I am going to tell you about why computers require data types and data structures.
  • 5. INPUT Firstly, when we use a computer that is classified as INPUT.
  • 6. This raw rata is converted into binary – machine code via the electronic signals on the computers keyboard.
  • 7. As you know this information needs to be processed so information can be generated and OUTPUTTED.
  • 8. However, this data must be stored in similar categories for processing.
  • 9. A B C 1 55 7 8 90 22/3/80 $22.00 All the data is filtered into categories for storage and subsequent processing. Integer Character String Date
  • 10. So therefore we need data types to organise data for processing.
  • 12.
  • 13. How is data stored? 1001 1002 1003 1004 1005 Computer - Store 10 in 1001 Programmer – Num1 = 10 10 Num1
  • 14. How is data stored? 1001 1002 1003 1004 1005 Computer - Store 12 in 1002 Programmer – Num2 = 12 10 12 Num2
  • 15. How is data stored? 1001 1002 1003 1004 1005 Computer – ADD 1001 to 1002 and STORE in 1003 Programmer – Total = Num1 + Num2 10 12 22 Total
  • 16.
  • 17.
  • 18. Binary Number System Number 1 0 1 1 1 Binary Place 2 4 2 3 2 2 2 1 2 0 Binary Place Value 16 8 4 2 1 Binary Calculation 1 x 2 4 0 x 2 3 1 x 2 2 1 x 2 1 1 x 2 0 Binary Value 16 0 4 2 1 Binary Total = 16 + 4 + 2 + 1 = 23
  • 19.
  • 20. Octal Number System Number 3 4 5 2 1 Octal Place 8 4 8 3 8 2 8 1 8 0 Octal Place Value 4 096 512 64 8 1 Octal Calculation 3 x 8 4 4 x 8 3 5 x 8 2 2 x 8 1 1 x 8 0 Octal Value 12 288 2 048 320 16 1 Octal Total = 12 288 + 2 048 + 320 + 16 + 1 = 14 673
  • 21.
  • 22. Hexadecimal Number System Number 1 2 4 A C Hex Place 16 4 16 3 16 2 16 1 16 0 Hex Place Value 65 536 4 096 256 16 1 Hex Calculation 1 x 16 4 2 x 16 3 4 x 16 2 10 x 16 1 12 x 16 0 Hex Value 65 536 8 192 1 024 160 12 Hex Total = 65 536 + 8 192 + 1 024 + 160 + 12 = 74 924
  • 23.
  • 24.
  • 25. Activity 3 Decimal Binary Octal Hexadecimal 45 10 1010111 2 75 8 3FC 16
  • 26.
  • 27. Activity 4 DATA TYPE DESCRIPTION EXAMPLES Integer 5 0 -4 87 Floating Point 2.764 -67665.3 2.3 x 10 8 String Cat Daggy2 Eggplant Boolean True False Yes No Date 16/1/2006 4 th June 2001 Currency $5.84 -$58.97 $1005.46
  • 28.
  • 29.
  • 30.
  • 31.