SIZ Education || What is Data Type and Its types || 27/12/2021

in hive-181430 •  3 years ago 

Asslam-0-Alaikum ! All Members, My Friends, Admin and moderators of Steem Infinity Zone how are you all I hope that by the grace of Allah Almighty you will all be well and live your life happily. Today I am here to tell you about some data types thats are use in computer. I hope my post will educate you .

20211227_102130.jpg

💠 WHAT IS DATA TYPE

A computer unlike humans does not recognize the difference between "6789" and "abcd", Because computer has no mind like us. In computer programming a data type is a categorization that decide what a variable or object can carry. Virtually all computer programming languages, including C, C++, JavaScript, and Visual Basic, rely heavily on data types. To secure the proper outcome and an error-free software, programmers must reference and use data types correctly while creating desktop and web-based computer programmes.

RGgukq5E6HBM2jscGd4Sszpv94XxHH2uqxMY9z21vaqHt4sBzPs77pScRoPrApzn5F5oev54QbyTCt4YntxDSSmwb6Mnv7sHKcWuvagPFRYaidXZ3YBMv63BifW1Hne.png

💠 TYPES OF DATA TYPE

  • Integer value (int):-
    Int is the extremely used numeric data kind for numbers that don't have a fractional component (-807, 0, 507).

  • Floating (float):-
    It's also a numeric data type for storing numbers with fractional components, such as monetary values (808.07, 0.8, 505.00). Please keep in mind that number is a data type that encompasses both int and float types.

  • Characters (char):-
    A single letter, numeral, punctuation mark, symbol, or blank space is stored in it.

  • String (str or text):-
    String of characters is the most ordinary data type for keep text. A string can accommodate digits and symbols, but it will always be regarded as text. A phone number can be recorded as a string (+1-999-666-2222) or as an integer (9996662222).

  • Boolean Data type (bool):-
    It represents the true and false values. When operating with the boolean data kind, remeber 1 thing in mind that a boolean value can alternatively be represented as 0 (false) or 1 (true) (for true).

  • Enumerated Data Type (enum):-
    It has a small number of predetermined special values (sometimes called elements or enumerators) that can be compared and added to an enumerated data type variable. An enumerated type's values can be textual or numerical. The boolean data type is, in fact, a pre-defined enumeration of the true and false values.

  • Array:-
    An array often known as a list, is a data type that contains a sequence of elements, usually all of the same type, in a predefined order. The structure of data held by an array is referred to as an array data structure since an array stores numerous items or values. An integer index (0, 1, 2,...) can be used to access each element of an array, and the total number of items in an array represents the array's length.

  • Date:-
    It's self-explanatory. It saves dates in the YYYY-MM-DD format (ISO 8601 syntax).

  • Time:-
    Time saves a time in the format hh:mm:ss. It can be used to store the time elapsed or the time interval between two occurrences, which could be more than 24 hours, in addition to the time of day. For example, the period since an event occurred could be 48 hours or more (48:00:59).

20210911_082344.png

Other Details:-

TopicDATA TYPE AND ITS TYPES
COMMUNITYSTEEM INFINITY ZONE
Location(OKARA) PAKISTAN
AURTHOR@malikusman1 ME
AURTHOR PICTURE20210605_221808.jpg

💠 MY ACHIEVEMENT 1

https://steemit.com/hive-172186/@malikusman1/achievement-1-by-introduction-malikusman1

THANKS FOR YOUR SUPPORT DEAR SIZ TEAM
Cc.-
@cryptokraze
@siz-official
@vvarishayy
@arie.steem
@suboohi

ALLAH HAFIZ 🥰

20210911_082406.png

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

image.png

Wow nice Post thanks for sharing with us.