100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Essay

Unit 6 P4 Outline the benefits of having a variety of data types available to the programmer

Rating
5.0
(3)
Sold
1
Pages
1
Uploaded on
11-02-2019
Written in
2015/2016

P4 - Outline the benefits of having a variety of data types available to the programmer

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
February 11, 2019
Number of pages
1
Written in
2015/2016
Type
Essay
Professor(s)
Unknown
Grade
Unknown

Subjects

Content preview

Benefits of different data types

String:

This data type is very useful for programmers because it can hold countless numbers
and leters without having to use the data type char In programmingd to use strings
you have to use quotaton marks to emphasise that it’s a quote and not a command
For example print “my name is”

Char:

Another data type that is useful to programmers is Char You would use this data
type when you want to hold a single character but you don’t need string Like with
string you have to use quotaton marks around the character that is being stored For
example print "8"

Boolean:

This data type can be used in both coding and algorithm It’s part of a larger group of
algebra that is used for creatng a true or false statement This data type holds a true
or false/ yes or no etc valued it is mainly used for if statements because an if
statement can only end up with a true or false value If statements can be used in
many different programs such as surveys etc with two possible answers because if
one answer is selected some partcular code for that answer will be run

Integer:

This is a data types that you will need to use while programming It’s also useful
when you want to handle numbers in various ways In codingd the meaning of integer
is the same of what it is in math’s It’s a whole number Having this data type
programming is useful to programmers when writng a program because the
program will most like have numbers in the code

Float:

It’s similar to an integer however foatng point is different because it has decimal
between the numbers and also integers don’t have any decimal it’s a whole number
A Float data type is a number that has a decimal in them For example 3 14
$4.81
Get access to the full document:
Purchased by 1 students

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Reviews from verified buyers

Showing all 3 reviews
5 year ago

3 year ago

6 year ago

5.0

3 reviews

5
3
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
connorj2 Pearson
Follow You need to be logged in order to follow users or courses
Sold
75
Member since
8 year
Number of followers
61
Documents
39
Last sold
3 year ago

3.5

31 reviews

5
9
4
9
3
7
2
2
1
4

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

Frequently asked questions