Not returning dynamically allocated memory when it is no longer needed can cause a system to run out of memory prematurely. This is called a(n) __________.

a) outage
b) memory hole
c) memory access violation
d) memory leak


d) memory leak

Computer Science & Information Technology

You might also like to view...

A program that calls function exit must include which standard header file?

What will be an ideal response?

Computer Science & Information Technology

We wish to modify a class, but we cannot do so while keeping it backward compatible. A reasonable approach is to:

A. rename the class B. form a new class, like the existing class but modified the way we want, and keep the existing class C. use a Peterson Language Modifier, go to the Build menu, select Interface, then select the modifications that prevented the class from being backwards compatible, and finally, click on the modify interface button, being careful not to drag the modifications D. make a class template, using DataType for the function name

Computer Science & Information Technology

The SELECT statement

SELECT A
FROM T
WHERE P
accesses a table, T, with attributes A, B, C and K, where K is the primary key, and P is a predicate. The values of all attributes are randomly chosen over the integer domain. Since the table is updated frequently, there is a limitation of at most one clustered and one unclustered index. In each of the following parts choose the indexes (type, search key, clustered or unclustered) to optimize the SELECT statement and maintain the primary key constraint when the value of P is as specied. In each case give the query plan you expect the DBMS to choose for the SELECT and the reason you think that plan is best. Do not use index covering. (a) P is (B = 10) (b) P is (B > 10) (c) P is (B > 10 AND C = 5) (d) P is (B > 10) and the WHERE clause is followed by the clause ORDER BY A

Computer Science & Information Technology

All editions of Windows 7 include backup and restore capabilities, including the ability to create a complete system image backup

Indicate whether the statement is true or false

Computer Science & Information Technology