SYCS-135� Introductory Programming with C++

Quiz 1 - 9/2/99

 

Name:� ������������������������������������������������������

 

1.� Name the six major components of a digital computer displayed below:

 

 

 

 

 

 

 

 

 

 

 

 


2.� Define the following terms.

 

Algorithm�������������������� __________________________________________________

����������������������������������� __________________________________________________

 

Source Program���������� __________________________________________________

����������������������������������� __________________________________________________

 

3.     Write down the output of the following program.

 

#include <iostream.h>

int main ()

{

cout<<�This is the first quiz�<< endl << endl << endl;

cout<<�How many lines will I print?�;

return 0;

}

 

OUTPUT:������ ���������������������������������������������������������������������������������������������������������

������������������ ���������������������������������������������������������������������������������������������������������

������������������ ���������������������������������������������������������������������������������������������������������

������������������ ���������������������������������������������������������������������������������������������������������

������������������ ���������������������������������������������������������������������������������������������������������