August 1, 2002
CS201 (Intro. to Computing)
Sample Questions for the FINAL Exam
● Those questions do not imply any favorite subject or question type for the questions in the actual exam
● Please also review recitation questions, samples covered in the class, homeworks and the questions in the book as well
● Especially review the sample questions distributed for the midterm exams since the final exam might be comprehensive
QUESTIONS
1) Write a function that takes an integer parameter and returns true if that parameter is divisible by 7.
In the program, input some integers and display the total number of numbers that are divisible by 7 by using the above-declared function. End of input entry is signaled by having CTRL-Z (end of file) or having a non-integer value as input.
2)
a) What is the output of the following program?
#include
using namespace std;
int thefunction (int a)
{
static int b = 0;
b++;
a=a+b;
return a;
}
int main()
{
int b=0;
int i;
for (i=1; i ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- science enhanced s s biology
- programming on the ti 92 plus calculator as a teaching
- programming microsoft windows with visual basic
- t1 onc office of the national coordinator for health
- niagara div 23 09 guide specification honeywell
- c intermediate and advanced features
- computer science pacific university
- rfid children s game
- css 343 exam name
- august 1 2002
Related searches
- 2002 ford 5.4 engine diagram
- 2002 ford 5 4 engine diagram
- 2002 ford f150 engine diagram
- 2002 ford 5 4 engine specs
- 2002 5 4 ford engine problems
- 2002 f150 5 4 engine
- 2002 f150 4 2 engine diagram
- historical events 2002 to 2015
- 2002 ford f150 5 4 engine
- 2002 events in america
- auto loan for 2002 vehicle
- 2002 ford ranger 5 0 swap