Learn how binary numbers, bits, and bytes relate to primitive types and how numbers, booleans, and characters are stored in memory in different programming languages.
- If we need to store more than one character,…then we would have to store our data…in something called a string,…which is a data type composed of a sequence of characters.…Think of those happy birthday banners…that are strung together with a string.…That's what we're talking about here.…Each letter flag is a character…and the string literally ties them together…and groups them in a specific order.…Now strings are stored a little bit differently…than everything we've worked with so far,…so we'll come back to them.…So how exactly does an int, or a double,…or a boolean, or character relate…to ones and zeros in bits and bytes?…Well, each of these data types are a certain size,…or in other words, they each contain a specific number…of ones and zeros.…
We call a single one or zero a bit.…In fact, a boolean is represented with a single bit,…a single one or zero.…This is because a boolean is either a true or false value.…In this case, zero stands for false and one stands for true.…This is the only piece of information we need,…
- Data types: Booleans, numbers, strings, and more
- Multidimensional arrays
- Jagged arrays
- Search and sort arrays
- Linked lists
- Stacks and queues
- Hash functions and hash tables
- Trees and graphs
Skill Level Intermediate
Understand data structures1m 25s
1. Introduction to Data Structures
4. Stacks and Queues
5. Hash-Based Data Structures
6. Trees and Graphs
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.