The STL list class method that removes the object at a specified position is ____.

A. name.erase(begin, end)
B. name.erase(pos)
C. name.clear()
D. name.pop_back()


Answer: B

Computer Science & Information Technology

You might also like to view...

The ________ architecture is designed to provide a simple, easy-to-implement, low-overhead tool to support a range of network services that are differentiated on the basis of performance.

A) DiffServ B) ISA C) SLA D) WFQ

Computer Science & Information Technology

The command [Alt-l] converts the word following the cursor to:

a: upper case b: lower case c: capitalized d: bold e: none of the above

Computer Science & Information Technology

Joysticks and steering wheels are examples of ________ controllers

Fill in the blank(s) with correct word

Computer Science & Information Technology

Consider the following schema, where the keys are underlined:



The SSN attribute in Project is the Id of the employee working on the project and PID is the
Id of the project. There can be several employees per project, but the functional dependency
PID ! Name,Budget holds (so the relation is not normalized). Consider the query.


SELECT P.Budget, P.Name, E.Name
FROM Employee E, Project P
WHERE E.SSN = P.SSN AND
P.Budget > 99 AND
E.Name = 'John'
ORDER BY P.Budget


Assume the following statistical information:
 10,000 tuples in Employee relation
 20,000 tuples in Project relation
 40 tuples/page in each relation
 10-page bu er
 1,000 di erent values for E.Name
 The domain of Budget consists of integers in the range of 1 to 100
 Indices:
? Employee relation:
On Name: Unclustered, hash
? Project relation:
On SSN: Unclustered, hash
On Budget: Clustered, 2-level B+ tree
Question: Find the best execution plan, draw it, and estimate its cost.

Computer Science & Information Technology