Data type, Basic Computer Science

Assignment Help:

Data Type:

 Data Type: Anything that is processed by a computer is called data. There are different types of data that can be given to the computer for processing. A  data type is a classification identifying the typeof data.  It determines the   

  • Possible values for that type,   
  • Operations that can be performed on values of that type,   
  • The way values of that type can be stored in memory,  

In each programming language there are some primitive data types. For example in the C programming language they are:  Please note that these sizes can be compiler or machine dependent in the case of this language.  For other languages such as Java, the sizes are defined by the language itself.   

  • int, both signed and unsigned integers,  2 bytes in size.    
  • float, floating point numbers, up to 4 bytes in size.    
  • double, floating point number with double precision. These are organized in  8 bytes (64 bits)    
  • char, character type  size of 1 byte (8 bits)  It is used to form the strings i.e sequence of characters.  

 


Related Discussions:- Data type

Computer storage, Computer Storage: Computer systems include two types...

Computer Storage: Computer systems include two types of digital information storage: internal storage, within the CPU, and the backing (back up) storage on external devices su

Algorithm, solve three given number in ascending order through algorithm

solve three given number in ascending order through algorithm

Operating system, Ask question describes deadlock avoidance#Minimum 100 wor...

Ask question describes deadlock avoidance#Minimum 100 words accepted#

Star topology, Ask conceptual question answer about star topology#Minimum 1...

Ask conceptual question answer about star topology#Minimum 100 words accepted#

Explain the important features of creational patterns, Question 1 Explain ...

Question 1 Explain the role of object oriented designers in developing a software system Question 2 What are the four essential elements of design patterns? Explain Question 3

Software Exploration, I need to review 2 different softwares one is windows...

I need to review 2 different softwares one is windows based and the other is Linux Based. Please Ask for further details

Basic syntax of python language, The Python language has a lot of similarit...

The Python language has a lot of similarities to Perl, C and Java. Though, there are some specific differences between the languages. First Python Program: relative Mode Programmin

Explain the operations of alu, Question 1 Explain the operations of ALU ...

Question 1 Explain the operations of ALU Question 2 Write down the Booth's Multiplication Algorithm with an example Question 3 Explain the characteristics of memor

Compact diskette (cd), Compact Diskette (CD) CD-ROM ...

Compact Diskette (CD) CD-ROM CD-ROM stands for Compact Disk-Read Only Memory. This disk comes with data already stored in it. It can store around 640 MB of

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd