Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
3OBPABM in C++ 1992 Advanced Placement Exam AB
 

Summary: 3OBPABM in C++
1992 Advanced Placement Exam AB
Owen Astrachan
PROBLEM 1:
As is, doesn't change
PROBLEM 2:
As is, doesn't change
PROBLEM 3:
As is, doesn't change
PROBLEM 4:
Assume that A is an array of n positive integers and that the following assertion is true.
A 0 A k for all k such that 0 k n
Which of the following is a valid conclusion?
A. The array is sorted in ascending order.
B. The array is sorted in descending order.
C. All values in the array are identical.
D. A 0 holds the smallest value in the array.
E. A 0 holds the largest value in the array
only di erence is starting with index 0 instead of index 1
PROBLEM 5:

  

Source: Astrachan, Owen - Department of Computer Science, Duke University

 

Collections: Computer Technologies and Information Sciences