100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Unit 6 P4 Outline the benefits of having a variety of data types available to the programmer £3.49   Add to cart

Essay

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

3 reviews
 1430 views  1 purchase

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

Preview 1 out of 1  pages

  • February 11, 2019
  • 1
  • 2015/2016
  • Essay
  • Unknown
  • Unknown
All documents for this subject (17)

3  reviews

review-writer-avatar

By: twahedakash • 4 year ago

review-writer-avatar

By: million • 2 year ago

review-writer-avatar

By: westbrown • 5 year ago

avatar-seller
connorj2
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller connorj2. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £3.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67474 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£3.49  1x  sold
  • (3)
  Add to cart