Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Fundamental Data Types − Integer (Part 1)

Rating
-
Sold
-
Pages
1
Uploaded on
02-03-2023
Written in
2022/2023

Today we are going to talk about a fundamental Data Type called integer. We have various data types to study. And today we begin our session with integer Data Type. If you want to know the size of integer programmatically , then you can by using '' sizeof '' operator. In reality, we have numbers ranging from 0 to 9. And if you want to represent such a large number , we have to multiply each digit with their respective place values. In this case, also each digit must also have some place values associated with them. In order to get the desired result , we add them up to get 568 as our result. But this is not something that machine could understand. It has its own number system called Binary number system. By multiplying each digit with their respective place values and finally add them up to get the answer 15. Range of all the data is from 0 to 15 only. But there 's one more formula available to calculate the maximum value. And that is , 2 raise to the power n minus 1

Show more Read less
Institution
Course

Content preview

Fundamental Data Types − Integer (Part 1)


Today we are going to talk about a fundamental Data Type called integer. We have
various data types to study. And today we begin our session with integer Data Type.
If you want to know the size of integer programmatically , then you can by using ''
sizeof '' operator. In reality, we have numbers ranging from 0 to 9. And if you
want to represent such a large number , we have to multiply each digit with their
respective place values. In this case, also each digit must also have some place
values associated with them. In order to get the desired result , we add them up to
get 568 as our result. But this is not something that machine could understand. It
has its own number system called Binary number system. By multiplying each digit
with their respective place values and finally add them up to get the answer 15.
Range of all the data is from 0 to 15 only. But there 's one more formula available
to calculate the maximum value. And that is , 2 raise to the power n minus 1.

Written for

Institution
Course

Document information

Uploaded on
March 2, 2023
Number of pages
1
Written in
2022/2023
Type
SUMMARY

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
siddarths

Also available in package deal

Get to know the seller

Seller avatar
siddarths jain
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions