CDA 76654

subject Type Homework Help
subject Pages 6
subject Words 458
subject Authors D. S. Malik

Unlock document.

This document is partially blurred.
Unlock all pages and 1 million more documents.
Get Access
page-pf1
To specify a function as a formal parameter to another function, we specify the function
type, followed by the function name as a pointer, followed by the parameter types of the
function.
To implement hashing, we use four arrays.
The first form of the function transform has three parameters.
Because an array is not a random access data structure, we cannot use a binary search to
effectively find and retrieve an item from an array list.
page-pf2
An array created during the execution of a program is called a dynamic array.
All insertions and searches in the random probing method use a different sequence of
random numbers.
Composition is a "has-a" relationship.
page-pf3
When inserting into a B-tree, if the key is already in the tree, you should output an error
message.
The order of the nodes in a linked list is determined by the data value stored in each
node.
A recursive solution is always a better alternative to an iterative solution.
In a selection sort, the first step we locate the smallest item in the entire list, the second
step we locate the smallest item in the list starting from the second element in the list,
and so on.
page-pf4
OOD has three basic principles: encapsulation, inheritance and polymorphism.
A program that is well developed is more expensive to maintain.
The stack container class provides the operation size to return the actual number of
elements in the stack.
page-pf5
Functions such as push and pop that are required to implement a stack are not
inherently available to C++ programmers.
At any given time, a server is either free or busy.
Traversing a graph is different than traversing a binary tree.
The algorithms to implement the operations search, insert, and remove are the same for
sorted and unsorted lists.
page-pf6
An iterator works like a pointer.
Operations such as search, insert, and delete require a linked list to be sorted.

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.