INB221 Lecture Notes - Lecture 2: Joe Bloggs, Memory Address, Type System

127 views8 pages

Document Summary

Lecture 2 inb371 data structures and algorithms. Lecture overview enumeration types data and memory pointers arrays pointers and arrays records dynamic allocation. By nesting different types together, you can build "algorithmical complexity", you can also build complexity with data types. You can create complex data types with primitive data types such as integers, characters, floats, booleans, etc. The internal machine address of a value in the computers memory. in c#, pointers exist but you can"t "play" with them. In c++, you can access the lowest levels of memory, and are able to manipulate memory as required. Ordered collection of data values of the same type. Components of a record identified by a field name, and can be different types. Enumeration types are a type with a set of values which we create. We can define the domain of values for an enumeration type.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents