Introduction to Programming
X52.9239 – 003
Final Exam
The final exam for the class includes a final project and a set of questions. Your complete solution should be turned in at the beginning of the next session, so the exam can be graded in class.
I. Final Project:
(a) Write a function named
(b) Write a function that takes four
int arguments, and returns an int value. This single function should find the minimum or maximum based on the following specification.Call the function with arguments from
(c) Specify the C development environment you used for the various projects in this class, and comment on the issues you found the most "user hostile".
II. Questions:
All questions are equally weighted.
#include <stdio.h>
main( )
{
static float ar[10] = {5.0, 3.0, 13.0, 19.75, 3.5, 2.59,
17.5, 18.0, 5.5, 0.0};
}
Please answer True of False.
________ a virtual memory manager
________ the execution of integer arithmetic calculations
________ a file manager
________ the allocation of peripheral devices
int a = 10;
int b = 11;
if (b <= 10 || a >= 10)
…
A payroll database _____
The Windows 95 operating system _____
Expert system using artificial intelligence _____
Choices of programming languages: 1st generation, 2nd generation, 3rd generation, 4th generation, 5th generation.
Your name __________
A fractional number __________
A single alphabetic symbol __________
The number of electoral votes a candidate received __________
An unsorted array
A sorted linked list
A sorted binary tree
An unsorted double-linked list
Coding or implementation _____
Design _____
Installation _____
Maintenance _____
Specification or analysis _____
Test and debug _____