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

Networking and telecommunications, NETWORKING AND TELECOMMUNICATIONS: ...

NETWORKING AND TELECOMMUNICATIONS: Computers can now communicate with each other and with a range of peripheral devices, over distances with increasing speed and reliability.

We will compare the performance of a vector processor, In this problem we w...

In this problem we will compare the performance of a vector processor with a system that contains a scalar processor and a GPU-based coprocessor. In the hybrid system, the host pr

Briefly explain html and xml, Question 1 Briefly explain principles of eff...

Question 1 Briefly explain principles of effective navigation Question 2 Explain the terms URI and URL. Why should you use Relative URI? Question 3 What are the di

Ttl, What are advantages of totem pole over passive pull up circuit ?

What are advantages of totem pole over passive pull up circuit ?

Microprocessor, how does microprocessor interpret with the burglar alarmn

how does microprocessor interpret with the burglar alarmn

Internet, Explain how the internet works

Explain how the internet works

Characteristics of artificial intelligence, Characteristics of Artificial I...

Characteristics of Artificial Intelligence: Artificial Intelligence is not an easy science to describe, as it has fuzzy borders with simulation mathematics, computer science t

Deadlocks, What is methods For handling Deadlocks?

What is methods For handling Deadlocks?

Operating system, Operating system:  An operating system is system sof...

Operating system:  An operating system is system software which may be viewed as an organized collection of software consisting of procedures for operating  a computer and pro

Internal storage, Internal Storage: Internal storage is also known as ...

Internal Storage: Internal storage is also known as main, primary, or (for historical reasons) core storage, or, memory. It is used to hold those instructions and data require

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