SlideShare a Scribd company logo
1 of 14
S.AZHAGARAMMAL MSc(IT)
Nadar Saraswathi College of Arts and Science,
Theni.
At a recent trinug user group meeting, Richard Hale
Shaw was going off on a tirade about how Visual Basic 6
was "the ultimate anti-pattern".
VB6 had some serious issues, many of which .NET
resolves.
parameter array, which allows a procedure to accept an
array of values for a parameter.
 You do not have to know the number of elements in the
parameter array when you define the procedure.
The array size is determined individually by each call to
the procedure.
A procedure can define only one parameter array, and it
must be the last parameter in the procedure definition.
The parameter array must be passed by value. It is good
programming practice to explicitly include the ByVal
keyword in the procedure definition.
The parameter array is automatically optional. Its default
value is an empty one-dimensional array of the parameter
array's element type.
Data types are used within type systems, which offer
various ways of defining, implementing and using them.
Different type systems ensure varying degrees of type
safety.
Almost all programming languages explicitly include the
notion of data type, though different languages may use
different terminology.
Integers
booleans
characters
floating-point numbers
alphanumeric strings
They usually have predefined limits on both their
maximum values and their precision.

Fixed point data types are convenient for representing
monetary values.
They are often implemented internally as integers,
leading to predefined limits.
The Boolean type represents the values true and false.
Although only two values are possible, they are rarely
implemented as a single binary digit for efficiency
reasons.
 Many programming languages do not have an explicit
Boolean type, instead interpreting as false and other values
as true.
Boolean data refers to the logical structure of how the
language is interpreted to the machine language. In this
case a Boolean 0 refers to the logic False.
sequences of characters from a character set such as ASCII.
Since most character sets include the digits, it is possible to
have a numeric string, such as “1234”.
The original 7-bit wide ASCII was found to be limited, and
superseded by 8 and 16-bit sets, which can encode a wide
variety of non-Latin alphabets and other symbols.
 Strings may be either stretch-to-fit or of fixed size, even in
the same programming language.
Alphanumeric strings, a sequence of characters. They
are typically used to represent words and text.
Character and string types can store sequences of
characters from a character set such as ASCII.
Since most character sets include the digits, it is possible
to have a numeric string, such as "1234".
A type is a set of possible values which a variable can
possess. Such definitions make it possible to speak about
(disjoint) unions or Cartesian products of types.
The definition in terms of a representation was often
done in imperative languages such as ALGOL and Pascal,
while the definition in terms of a value space and
behaviour was used in higher-level languages such as
Simula and CLU.
The enumerated type has distinct values, which can be
compared and assigned, but which do not necessarily have
any particular concrete representation in the computer's
memory; compilers and interpreters can represent them
arbitrarily.
The four suits in a deck of playing cards may be four
enumerators named CLUB, DIAMOND, HEART,
SPADE, belonging to an enumerated type named suit.
The main non-composite, derived type is the pointer, a
data type whose value refers directly to (or "points to")
another value stored elsewhere in the computer memory
using its address.
Pointers are often stored in a format similar to an
integer; however, attempting to dereference or "look up" a
pointer whose value was never a valid memory address
would cause a program to crash.
Types can be based on, or derived from, the basic types
explained above. In some languages, such as C, functions
have a type derived from the type of their return value.
The main non-composite, derived type is the pointer, a
data type whose value refers directly to another value
stored elsewhere in the computer memory using its
address. It is a primitive kind of reference.

More Related Content

What's hot

Computer data type and Terminologies
Computer data type and Terminologies Computer data type and Terminologies
Computer data type and Terminologies
glyvive
 
Concept of c data types
Concept of c data typesConcept of c data types
Concept of c data types
Manisha Keim
 
Data types in C language
Data types in C languageData types in C language
Data types in C language
kashyap399
 

What's hot (20)

Fundamental of C Programming (Data Types)
Fundamental of C Programming (Data Types)Fundamental of C Programming (Data Types)
Fundamental of C Programming (Data Types)
 
Parser
ParserParser
Parser
 
Literals,variables,datatype in C#
Literals,variables,datatype in C#Literals,variables,datatype in C#
Literals,variables,datatype in C#
 
C++ data types
C++ data typesC++ data types
C++ data types
 
Data types
Data typesData types
Data types
 
ITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in javaITFT-Constants, variables and data types in java
ITFT-Constants, variables and data types in java
 
Computer data type and Terminologies
Computer data type and Terminologies Computer data type and Terminologies
Computer data type and Terminologies
 
Concept of c data types
Concept of c data typesConcept of c data types
Concept of c data types
 
Data types in C language
Data types in C languageData types in C language
Data types in C language
 
role of lexical anaysis
role of lexical anaysisrole of lexical anaysis
role of lexical anaysis
 
Smali语法
Smali语法Smali语法
Smali语法
 
Frequently asked tcs technical interview questions and answers
Frequently asked tcs technical interview questions and answersFrequently asked tcs technical interview questions and answers
Frequently asked tcs technical interview questions and answers
 
data types in C programming
data types in C programmingdata types in C programming
data types in C programming
 
C# lecture 2: Literals , Variables and Data Types in C#
C# lecture 2: Literals , Variables and Data Types in C#C# lecture 2: Literals , Variables and Data Types in C#
C# lecture 2: Literals , Variables and Data Types in C#
 
Data types in C
Data types in CData types in C
Data types in C
 
Beginners Guide on PHP Programming
Beginners Guide on PHP ProgrammingBeginners Guide on PHP Programming
Beginners Guide on PHP Programming
 
Programming construction tools
Programming construction toolsProgramming construction tools
Programming construction tools
 
3rd june
3rd june3rd june
3rd june
 
Data types
Data typesData types
Data types
 
+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes+2 Computer Science - Volume II Notes
+2 Computer Science - Volume II Notes
 

Similar to Hema wt (1)

Data Type is a basic classification which identifies.docx
Data Type is a basic classification which identifies.docxData Type is a basic classification which identifies.docx
Data Type is a basic classification which identifies.docx
theodorelove43763
 
6 data types
6 data types6 data types
6 data types
jigeno
 
Introduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologiesIntroduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologies
TabassumMaktum
 
ADA programming language
ADA programming languageADA programming language
ADA programming language
Aisha Kalsoom
 

Similar to Hema wt (1) (20)

Data types
Data typesData types
Data types
 
Algebraic Data Types for Data Oriented Programming - From Haskell and Scala t...
Algebraic Data Types forData Oriented Programming - From Haskell and Scala t...Algebraic Data Types forData Oriented Programming - From Haskell and Scala t...
Algebraic Data Types for Data Oriented Programming - From Haskell and Scala t...
 
Stringing Things Along
Stringing Things AlongStringing Things Along
Stringing Things Along
 
Data Type is a basic classification which identifies.docx
Data Type is a basic classification which identifies.docxData Type is a basic classification which identifies.docx
Data Type is a basic classification which identifies.docx
 
6 data types
6 data types6 data types
6 data types
 
java handout.doc
java handout.docjava handout.doc
java handout.doc
 
The Bund language
The Bund languageThe Bund language
The Bund language
 
Perl Reference.ppt
Perl Reference.pptPerl Reference.ppt
Perl Reference.ppt
 
Literals, primitive datatypes, variables, expressions, identifiers
Literals, primitive datatypes, variables, expressions, identifiersLiterals, primitive datatypes, variables, expressions, identifiers
Literals, primitive datatypes, variables, expressions, identifiers
 
C#
C#C#
C#
 
Constants Variables Datatypes by Mrs. Sowmya Jyothi
Constants Variables Datatypes by Mrs. Sowmya JyothiConstants Variables Datatypes by Mrs. Sowmya Jyothi
Constants Variables Datatypes by Mrs. Sowmya Jyothi
 
Core C# Programming Constructs, Part 1
Core C# Programming Constructs, Part 1Core C# Programming Constructs, Part 1
Core C# Programming Constructs, Part 1
 
Introduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologiesIntroduction to Java Object Oiented Concepts and Basic terminologies
Introduction to Java Object Oiented Concepts and Basic terminologies
 
ADA programming language
ADA programming languageADA programming language
ADA programming language
 
220 runtime environments
220 runtime environments220 runtime environments
220 runtime environments
 
Data types ,variables,array
Data types ,variables,arrayData types ,variables,array
Data types ,variables,array
 
Concept Of C++ Data Types
Concept Of C++ Data TypesConcept Of C++ Data Types
Concept Of C++ Data Types
 
7-Java Language Basics Part1
7-Java Language Basics Part17-Java Language Basics Part1
7-Java Language Basics Part1
 
Introduction to programming using c
Introduction to programming using cIntroduction to programming using c
Introduction to programming using c
 
CProgrammingTutorial
CProgrammingTutorialCProgrammingTutorial
CProgrammingTutorial
 

More from SangeethaSasi1 (20)

L4 multiplexing & multiple access 16
L4 multiplexing & multiple access 16L4 multiplexing & multiple access 16
L4 multiplexing & multiple access 16
 
Image processing using matlab
Image processing using matlab Image processing using matlab
Image processing using matlab
 
Mc ppt
Mc pptMc ppt
Mc ppt
 
Mc ppt
Mc pptMc ppt
Mc ppt
 
Dip pppt
Dip ppptDip pppt
Dip pppt
 
Web techh
Web techhWeb techh
Web techh
 
Web tech
Web techWeb tech
Web tech
 
Vani wt
Vani wtVani wt
Vani wt
 
Vani dbms
Vani dbmsVani dbms
Vani dbms
 
Hema rdbms
Hema rdbmsHema rdbms
Hema rdbms
 
Web tech
Web techWeb tech
Web tech
 
Web tech
Web techWeb tech
Web tech
 
Dbms
DbmsDbms
Dbms
 
Vani
VaniVani
Vani
 
Hema se
Hema seHema se
Hema se
 
Software
SoftwareSoftware
Software
 
Operating system
Operating systemOperating system
Operating system
 
Dataminng
DataminngDataminng
Dataminng
 
System calls
System callsSystem calls
System calls
 
Java
JavaJava
Java
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Hema wt (1)

  • 1. S.AZHAGARAMMAL MSc(IT) Nadar Saraswathi College of Arts and Science, Theni.
  • 2. At a recent trinug user group meeting, Richard Hale Shaw was going off on a tirade about how Visual Basic 6 was "the ultimate anti-pattern". VB6 had some serious issues, many of which .NET resolves.
  • 3. parameter array, which allows a procedure to accept an array of values for a parameter.  You do not have to know the number of elements in the parameter array when you define the procedure. The array size is determined individually by each call to the procedure.
  • 4. A procedure can define only one parameter array, and it must be the last parameter in the procedure definition. The parameter array must be passed by value. It is good programming practice to explicitly include the ByVal keyword in the procedure definition. The parameter array is automatically optional. Its default value is an empty one-dimensional array of the parameter array's element type.
  • 5. Data types are used within type systems, which offer various ways of defining, implementing and using them. Different type systems ensure varying degrees of type safety. Almost all programming languages explicitly include the notion of data type, though different languages may use different terminology.
  • 7. They usually have predefined limits on both their maximum values and their precision.  Fixed point data types are convenient for representing monetary values. They are often implemented internally as integers, leading to predefined limits.
  • 8. The Boolean type represents the values true and false. Although only two values are possible, they are rarely implemented as a single binary digit for efficiency reasons.  Many programming languages do not have an explicit Boolean type, instead interpreting as false and other values as true. Boolean data refers to the logical structure of how the language is interpreted to the machine language. In this case a Boolean 0 refers to the logic False.
  • 9. sequences of characters from a character set such as ASCII. Since most character sets include the digits, it is possible to have a numeric string, such as “1234”. The original 7-bit wide ASCII was found to be limited, and superseded by 8 and 16-bit sets, which can encode a wide variety of non-Latin alphabets and other symbols.  Strings may be either stretch-to-fit or of fixed size, even in the same programming language.
  • 10. Alphanumeric strings, a sequence of characters. They are typically used to represent words and text. Character and string types can store sequences of characters from a character set such as ASCII. Since most character sets include the digits, it is possible to have a numeric string, such as "1234".
  • 11. A type is a set of possible values which a variable can possess. Such definitions make it possible to speak about (disjoint) unions or Cartesian products of types. The definition in terms of a representation was often done in imperative languages such as ALGOL and Pascal, while the definition in terms of a value space and behaviour was used in higher-level languages such as Simula and CLU.
  • 12. The enumerated type has distinct values, which can be compared and assigned, but which do not necessarily have any particular concrete representation in the computer's memory; compilers and interpreters can represent them arbitrarily. The four suits in a deck of playing cards may be four enumerators named CLUB, DIAMOND, HEART, SPADE, belonging to an enumerated type named suit.
  • 13. The main non-composite, derived type is the pointer, a data type whose value refers directly to (or "points to") another value stored elsewhere in the computer memory using its address. Pointers are often stored in a format similar to an integer; however, attempting to dereference or "look up" a pointer whose value was never a valid memory address would cause a program to crash.
  • 14. Types can be based on, or derived from, the basic types explained above. In some languages, such as C, functions have a type derived from the type of their return value. The main non-composite, derived type is the pointer, a data type whose value refers directly to another value stored elsewhere in the computer memory using its address. It is a primitive kind of reference.