SUNY Polytechnic Institute Computer Science 240 Dr. R. Sarner Fal, 2017 Exam #1
ID: 3870259 • Letter: S
Question
SUNY Polytechnic Institute Computer Science 240 Dr. R. Sarner Fal, 2017 Exam #1 Tuesday Administration All answers are to be written in the exam book Return the printed exam with your exam book Part I. (10 points each, 50 points total) 1. What is meant by the extreme model of software development. 2. What is a dynamic array and write a line of C++ code to create a static array 3. What is meant by the heap and how is it used? 4. What is meant by a memory leak? 5. What is meant by an abstract data type? S240 cam #1Explanation / Answer
1)
Extreme Model is one of the software development Methodologies.
This is one of the prominent method among the agile development method.
It greatly differs from the traditional method since the it has more adaptobility
2)Dynamic array is the growable array which is resizable array which has a random access
This line creates an array all of which may contain NULL
int arr[10]={};
3)Heap is the specialized Tree based datastructure that satisfies heap property.
Heap Property:
The key value of parent node is always greater than child node.
In heap the operation tends to be faster than a binary tree.
4)
Abstract data type is the mathematical model of the data type
Here the data type is defined using its behaviour from the customers point of view.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.