MYTUTOR SUBJECT ANSWERS

930 views

What is the difference between a data structure and a data type?

A data structure is a way of describing a certain way to organize peices of data so that operations and alogrithms can be more easily applied.  For example tree type datastructures often allow for efficient searching algorithms.

A data type describes peices of data that all share a common property. For example an integer data type describes every integer that the computer can handle. Often when refering to data types in practice you will be referencing primitive data types which are the most basic data types of a programming language for example int, string or array.  However in some languages like C you can define your own data types for example a data type of `person` could contain a string labled `name` and an integer called `age` which could be used to store the information for any person with an age and a name.

Tom B. GCSE Computing tutor, GCSE Maths tutor, Mentoring HTML & CSS t...

9 months ago

Answered by Tom, a GCSE Computing tutor with MyTutor


Still stuck? Get one-to-one help from a personally interviewed subject specialist

16 SUBJECT SPECIALISTS

£22 /hr

Matthew M.

Degree: MSci Computer Science (Masters) - Lancaster University

Subjects offered:Computing, Maths+ 3 more

Computing
Maths
Economics
Business Studies
-Personal Statements-

“About Matt: I'm Matt and I am a computer science student at Lancaster University. I have often been described as being friendly and hardworking by my friends, family and work colleagues. Prior to University I worked in the industry as...”

£30 /hr

Michelangelo M.

Degree: MMath Mathematics with Placement (Masters) - Bath University

Subjects offered:Computing, Maths+ 4 more

Computing
Maths
Italian
Further Mathematics
.STEP.
.MAT.

“Mathematics student at the University of Bath, willing to help you love this subject and improve your grades.”

£18 /hr

Scott P.

Degree: Computer Science (Bachelors) - Warwick University

Subjects offered:Computing, Maths

Computing
Maths

“Exams are horrible. I'm looking to work with some tutees with a good work ethic to make them that bit less horrible.”

MyTutor guarantee

About the author

Tom B.

Currently unavailable: for new students

Degree: Electronic Engineering (Masters) - York University

Subjects offered:Computing, Maths

Computing
Maths

“Hi I'm an Electronic Engineering student at the University of York.  I love using my technical skills in order to work on creative new projects.  My specialty is software programming, which I have enjoyed at an academic and proffesion...”

You may also like...

Posts by Tom

Explain what a pseudo class selector is

Find the sum of all multiples of 2 less than 10000

Solve 4x + 6 = 3

What is the difference between a data structure and a data type?

Other GCSE Computing questions

How would you check if a number is palindrome using a looping algorithm in any programming language ?

Convert 01010001 from binary to decimal

What are 'pointers'?

What is stepwise refinement in top down programming?

View GCSE Computing tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss

mtw:mercury1:status:ok