SlideShare a Scribd company logo
AD6-Hussain Ali 202342200 AD6-Mousa 202342200
Application Development - 3 TTC Collage 2014/12/01
Content
• Idea of Variable
• Data Type
• Integer & Long
• Double & Float
• String & Char
Idea of Variable
• Allow us to save data into RAM
Data Type
Number TEXTDecimal
String CharDouble FloatInteger Long
Integer & Long
• Allow us to sign value that is number like 88
with its name into RAM.
Name Width Digit
long 64 15
int 32 9
Example
int a = 12345588;
int b = 2233477;
long c = (long) a * (long) b ;
System.out .println(c);
Double & Float
• Allow us to sign value that is decmal number
like 50.11 with its name into RAM.
Name Width in Bits Digit
double 64 308
float 32 38
Example
float f1 = 4.4f;
double d1 = 5.234d;
System.out.println( d1 + f1 );
String & Char
• Allow us to sign value that is character like ‘S’
or “ahmad” with its name into RAM.
Name Width in Bits characters
String 64 2147483647
Char 8 1
Example
String Ahamd = “Ahamd Ali Mohamad” ;
char x = Ahamd.charAt(0) ;
System.out.println(Ahamd + “ = ” + x);
Special escape sequences
Notation Character represented
n Newline (0x0a)
r Carriage return (0x0d)
f Formfeed (0x0c)
b Backspace (0x08)
s Space (0x20)
t tab
" Double quote
' Single quote
 backslash
ddd Octal character (ddd)
uxxxx Hexadecimal UNICODE
character (xxxx)
Priamry data type

More Related Content

PPTX
C++ day2
Gamindu Udayanga
 
PPTX
C++ training day01
Gamindu Udayanga
 
PPTX
Lect9
Jamsher bhanbhro
 
PPT
Lecture1
satendrakumar499728
 
PPTX
Lecture 08 uninformed search techniques
Hema Kashyap
 
PPT
Proposal for adding Named Dimensions to HDF5 Arrays
The HDF-EOS Tools and Information Center
 
PPTX
String in c programming
Devan Thakur
 
PPTX
Web-based framework for online sketch-based image retrieval
Lukas Tencer
 
C++ training day01
Gamindu Udayanga
 
Lecture 08 uninformed search techniques
Hema Kashyap
 
Proposal for adding Named Dimensions to HDF5 Arrays
The HDF-EOS Tools and Information Center
 
String in c programming
Devan Thakur
 
Web-based framework for online sketch-based image retrieval
Lukas Tencer
 

What's hot (20)

PDF
Cache conscious index mechanism for main-memory databases
Red Over
 
PPTX
3 - Finding similar items
Viet-Trung TRAN
 
PPTX
Algorithm and complexity
HABIB FIGA GUYE
 
PPTX
Cs1123 9 strings
TAlha MAlik
 
PPT
Solving problems by searching Informed (heuristics) Search
matele41
 
PDF
Datomic rtree-pres
jsofra
 
PDF
Introduction to Hadoop : A bird eye's view | Abhishek Mukherjee
FinTechopedia
 
PDF
Finding similar items in high dimensional spaces locality sensitive hashing
Dmitriy Selivanov
 
PPTX
Tugas basis data 2012110028
UIGM
 
PPTX
Lecture 17 Iterative Deepening a star algorithm
Hema Kashyap
 
PPTX
Lecture 10 Uninformed Search Techniques conti..
Hema Kashyap
 
PDF
Rdio's Alex Gaynor at Heroku's Waza 2013: Why Python, Ruby and Javascript are...
Heroku
 
PPT
Strings
Nilesh Dalvi
 
DOC
Huffman coding01
Nv Thejaswini
 
PPTX
Uninformed Search technique
Kapil Dahal
 
PPTX
Gremlin Queries with DataStax Enterprise Graph
Stephen Mallette
 
PDF
[AAAI-16] Tiebreaking Strategies for A* Search: How to Explore the Final Fron...
Asai Masataro
 
PPT
Uniformed tree searching
Ayaelshiwi
 
PPTX
Ch03 Mining Massive Data Sets stanford
Sakthivel C R
 
PPTX
Inductive Triple Graphs: A purely functional approach to represent RDF
Jose Emilio Labra Gayo
 
Cache conscious index mechanism for main-memory databases
Red Over
 
3 - Finding similar items
Viet-Trung TRAN
 
Algorithm and complexity
HABIB FIGA GUYE
 
Cs1123 9 strings
TAlha MAlik
 
Solving problems by searching Informed (heuristics) Search
matele41
 
Datomic rtree-pres
jsofra
 
Introduction to Hadoop : A bird eye's view | Abhishek Mukherjee
FinTechopedia
 
Finding similar items in high dimensional spaces locality sensitive hashing
Dmitriy Selivanov
 
Tugas basis data 2012110028
UIGM
 
Lecture 17 Iterative Deepening a star algorithm
Hema Kashyap
 
Lecture 10 Uninformed Search Techniques conti..
Hema Kashyap
 
Rdio's Alex Gaynor at Heroku's Waza 2013: Why Python, Ruby and Javascript are...
Heroku
 
Strings
Nilesh Dalvi
 
Huffman coding01
Nv Thejaswini
 
Uninformed Search technique
Kapil Dahal
 
Gremlin Queries with DataStax Enterprise Graph
Stephen Mallette
 
[AAAI-16] Tiebreaking Strategies for A* Search: How to Explore the Final Fron...
Asai Masataro
 
Uniformed tree searching
Ayaelshiwi
 
Ch03 Mining Massive Data Sets stanford
Sakthivel C R
 
Inductive Triple Graphs: A purely functional approach to represent RDF
Jose Emilio Labra Gayo
 
Ad

Viewers also liked (16)

DOC
研究论文
Drew Kunard
 
PPTX
Wilderness slidecast group 3
Ian Dandridge
 
PDF
What have you learned from your target audience feedback?
Jake Wilde
 
PPTX
Panama Canal
Jeremiah Agboiyi
 
PDF
Pocket Book แนะนำตัวเอง
Bank Akkarapon
 
PPT
Thomas Salzano aka Thomas N Salzano - Best Destinations in Europe
Thomas Salzano aka Thomas N Salzano
 
PDF
Question 2
Jake Wilde
 
PDF
Bulletin municipal 2016 de Bazoges en Pareds
Commune de Bazoges en Pareds
 
PDF
KomalPatel_ AtlatnaDunia
Komal Patel At Trikocreation
 
PDF
Catalog ống luồn dây điện CATVANLOI 2015
tramcvl
 
PDF
05 1 mobile_computing
Dipashri Mokashi
 
PDF
2015 global recruiting trends
Andreas Persson
 
PDF
Get Paid: An Employees Guide to Wages, Overtime and Severance in Pennsylvania
Curley & Rothman, LLC
 
DOCX
Marketing account manager perfomance appraisal 2
tonychoper3104
 
PDF
Denison Squash Newsletter (Spring 2015)
Andrew Krayacich
 
PDF
Hartland_Web
Adelya Issa
 
研究论文
Drew Kunard
 
Wilderness slidecast group 3
Ian Dandridge
 
What have you learned from your target audience feedback?
Jake Wilde
 
Panama Canal
Jeremiah Agboiyi
 
Pocket Book แนะนำตัวเอง
Bank Akkarapon
 
Thomas Salzano aka Thomas N Salzano - Best Destinations in Europe
Thomas Salzano aka Thomas N Salzano
 
Question 2
Jake Wilde
 
Bulletin municipal 2016 de Bazoges en Pareds
Commune de Bazoges en Pareds
 
KomalPatel_ AtlatnaDunia
Komal Patel At Trikocreation
 
Catalog ống luồn dây điện CATVANLOI 2015
tramcvl
 
05 1 mobile_computing
Dipashri Mokashi
 
2015 global recruiting trends
Andreas Persson
 
Get Paid: An Employees Guide to Wages, Overtime and Severance in Pennsylvania
Curley & Rothman, LLC
 
Marketing account manager perfomance appraisal 2
tonychoper3104
 
Denison Squash Newsletter (Spring 2015)
Andrew Krayacich
 
Hartland_Web
Adelya Issa
 
Ad

Similar to Priamry data type (20)

PPTX
Data types
nehajhala4
 
PPT
JAVA PROGRAMMING : Data types
Kongu Engineering College, Perundurai, Erode
 
PDF
CIS 1403 Lab 2- Data Types and Variables
Hamad Odhabi
 
PPTX
Computer Programming Java Data Types.pptx
MarianneIsid
 
PPTX
Datatypes & variables in java
VigneshManikandan11
 
PPTX
Data types vbnet
nicky_walters
 
PPTX
Data types vbnet
nicky_walters
 
PDF
ITFT-Constants, variables and data types in java
Atul Sehdev
 
PPTX
Data types
Syed Umair
 
PPTX
Data types vbnet
nicky_walters
 
PPTX
JAVA LESSON-01.pptx
StephenOczon1
 
PPTX
DATA TYPES in Python done by Sanajai of MCA
JPrince9
 
PPTX
Lecture 2 introduction to Programming languages C.pptx
muhammadumairsoftwar
 
PPTX
Computer programming 2 Lesson 5
MLG College of Learning, Inc
 
PPTX
02. Data Types and variables
Intro C# Book
 
PPTX
Data types in java | What is Datatypes in Java | Learning with RD | Created b...
rahuldaredia21
 
PDF
MzTEK Programming - Part 2
Becky Stewart
 
PDF
3 jf h-linearequations
AboutHydrology Slides
 
PPTX
Java Foundations: Data Types and Type Conversion
Svetlin Nakov
 
PPTX
5. variables & data types
M H Buddhika Ariyaratne
 
Data types
nehajhala4
 
JAVA PROGRAMMING : Data types
Kongu Engineering College, Perundurai, Erode
 
CIS 1403 Lab 2- Data Types and Variables
Hamad Odhabi
 
Computer Programming Java Data Types.pptx
MarianneIsid
 
Datatypes & variables in java
VigneshManikandan11
 
Data types vbnet
nicky_walters
 
Data types vbnet
nicky_walters
 
ITFT-Constants, variables and data types in java
Atul Sehdev
 
Data types
Syed Umair
 
Data types vbnet
nicky_walters
 
JAVA LESSON-01.pptx
StephenOczon1
 
DATA TYPES in Python done by Sanajai of MCA
JPrince9
 
Lecture 2 introduction to Programming languages C.pptx
muhammadumairsoftwar
 
Computer programming 2 Lesson 5
MLG College of Learning, Inc
 
02. Data Types and variables
Intro C# Book
 
Data types in java | What is Datatypes in Java | Learning with RD | Created b...
rahuldaredia21
 
MzTEK Programming - Part 2
Becky Stewart
 
3 jf h-linearequations
AboutHydrology Slides
 
Java Foundations: Data Types and Type Conversion
Svetlin Nakov
 
5. variables & data types
M H Buddhika Ariyaratne
 

Recently uploaded (20)

PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Doc9.....................................
SofiaCollazos
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 

Priamry data type

  • 1. AD6-Hussain Ali 202342200 AD6-Mousa 202342200 Application Development - 3 TTC Collage 2014/12/01
  • 2. Content • Idea of Variable • Data Type • Integer & Long • Double & Float • String & Char
  • 3. Idea of Variable • Allow us to save data into RAM
  • 4. Data Type Number TEXTDecimal String CharDouble FloatInteger Long
  • 5. Integer & Long • Allow us to sign value that is number like 88 with its name into RAM. Name Width Digit long 64 15 int 32 9
  • 6. Example int a = 12345588; int b = 2233477; long c = (long) a * (long) b ; System.out .println(c);
  • 7. Double & Float • Allow us to sign value that is decmal number like 50.11 with its name into RAM. Name Width in Bits Digit double 64 308 float 32 38
  • 8. Example float f1 = 4.4f; double d1 = 5.234d; System.out.println( d1 + f1 );
  • 9. String & Char • Allow us to sign value that is character like ‘S’ or “ahmad” with its name into RAM. Name Width in Bits characters String 64 2147483647 Char 8 1
  • 10. Example String Ahamd = “Ahamd Ali Mohamad” ; char x = Ahamd.charAt(0) ; System.out.println(Ahamd + “ = ” + x);
  • 11. Special escape sequences Notation Character represented n Newline (0x0a) r Carriage return (0x0d) f Formfeed (0x0c) b Backspace (0x08) s Space (0x20) t tab " Double quote ' Single quote backslash ddd Octal character (ddd) uxxxx Hexadecimal UNICODE character (xxxx)