Exams are coming!
Get ready with premium notes and study guides!

Textbook Notes for Agrawal

UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter 7: Chapter 7 Stacks

OC12419312 Page
3 Mar 2017
0
Stack = an ordered collection of entries that can be accessed at only one end. Top = the end from which items can be removed. Last-in/first-out (lifo)
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 6: Include Directive

OC12419312 Page
20 Feb 2017
2
Template = an approach to writing code that is meant to be reused in a variety of settings, and is applicable to individual functions/classes. Iterator
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 8: Array Data Structure, Linked List, Member Variable

OC12419312 Page
3 Mar 2017
0
Rear = the end of the queue where entries can be inserted. Front = the end of the queue where entries can be removed. First entry = the entry at the fr
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 11: Weak Ordering, Binary Search Tree, Priority Queue

OC12419311 Page
18 Mar 2017
0
Heap = similar to a binary search tree. A binary tree where a less-than operator forms a strict weak ordering that can be used to compare the nodes" en
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 1: Information Hiding, Code Reuse, Function Prototype

OC12419312 Page
19 Jan 2017
1
Object-oriented programming (oop) = a technique that encourages important strategies of information hiding and component reuse. Design = formulated ste
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 5: Null Pointer, Linked List, Default Constructor

OC12419318 Page
30 Jan 2017
1
Linked lists are used to implement a list of items arranged in some kind of order. 5. 1 a fundamental node class for linked lists. Linked list = sequen
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 4: Dynamic Array, Member Variable, The Automatic

OC12419317 Page
29 Jan 2017
16
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 2: Standard Template Library, Local Variable, Binary Function

OC12419314 Page
23 Jan 2017
2
Chapter 2: abstract data types and c++ classes. Oop = an approach to programming in which data occurs in tidy packages called objects. Member functions
View Document
UCSBCMPSC 24AgrawalWinter

CMPSC 24 Chapter Notes - Chapter 3: Default Constructor, Member Variable, Local Variable

OC12419316 Page
29 Jan 2017
1
Container class = a class in which each object contains a collection of items. Typedef statements = used to provide the ability to easily change the ty
View Document

Textbook Notes (280,000)
US (110,000)
UCSB (700)
CMPSC (60)
Agrawal (9)