CIS 210 fall 2010 Exam review
1. 2. 3. 4.
Know when to use a function that returns a value and a void function. Know the difference between a call by value and call by reference. Know how to pass an array to a function including the declaration,
#include <iostream> using namespace std; void pass(int test_par); void pass_reference(int &test_par); int main() cfw_ int test; test = 1; cout < "inside main \n"; cout < " test "< test < " test address " < &test <endl; pass(test); cout <"back in main \n";
Instructions for starting visual studio 1 Open visual studio and this screen will appear.
2. Keystrokes: File, New, Project: Where enter name appears at the bottom of the screen choose a file name consistent with syllabus instructions. I chose "demo.fall.
#include <iostream> #include <cmath> using namespace std; double expx(double x_par, double delta_par); /calculates the exponental function of x_par /using the tayler series to an accuracy of delta_par int main() cfw_ double x, delta, answ; char ans; cout
Downloading and extracting Visual-Studio
1. Go to the CIS web site http:/cis.usouthal.edu/index.php Click on the MSDNAA link on the left side of the page below Resources. Click MSDNAA Login if you have an account. If you don't have an account click on sig
Documentation standards for C+ assignments The file name for your assignments MUST be of the following form: lastname_Assignment_#_modifier_mmddyyyy where yyyy.mm.dd is the due date and modifier is the class and section number. For example" Feinstein_assi
#include <iostream> using namespace std; int main() cfw_ cout < "*\n"; cout cout cout cout cout cout cout cout cout < < < < < < < < < " " " " " " " " " C C C C C C C C C C C C C C S S S S S S C S S S S S S S S S S S S S S !\n"; !\n"; !\n"; !\n"; !\n"; !\n
CIS 210 Introduction to C+ Fall 2010 Instructor: David Feinstein Telephone: 460:6693 emergency only 599:3815 e-mail: firstname.lastname@example.org (When using e-main MAKE SURE the subject line is your class "CIS 210") website: http:/cis.usouthal.edu/faculty/fei
CIS 210 information and requirements for assignments 3/5/2010 All assignments must be sent as an e-mail attachment to Matt Rudnig with a copy to me, David Feinstein Matt Rudnig's e-mail for submitting assignments: o email@example.com All assignm
CIS 210 C+ Programming Assignment 2 Due date Sept. 17, 2010 by 5 PM (1700)
Read Chapter 2 in Savitch In all future programs you must follow the style conventions found in Section 2.5. You must also attach a flow diagram. NOTE: The changes in submission st
CIS 210 Fall 2010 Assignment 7
Due: November 29, 2010
Write a program that has a main program and four functions. The functions are: 1. Reads a set of integer numbers from a file called sort into an array of integers. Use a technique discussed in class to
CIS 210 Fall 2010 Assignment 5
Due: November 1, 2010
Write a system of functions along with a main program that accomplishes the same tasks as assignment 4. Add the following functions 1. Void function to read in the data 2. Void function to convert degre
CIS 210 Fall 2010 Assignment 4
Due: October 18, 2010
Write a system of functions along with a main program that accomplishes the same tasks as assignment 3. The individual functions should do the following tasks: 1. 2. 3. 4. 5. Read in the data convert de
CIS 210 Fall 2010 Assignment 3 Due:
new date: October 11, 2010
The sine of a number measured in radians is given by the expansion: sin(x) = x x3/3! + x5/5! x7/7! + - - and the cosine is given by the expansion: cos(x) = 1 x2/2! + x4/4! + x6/6! -
Write a pr
CIS 210 Fall 2010
Announcement There will be an extra exam on October 18 (102) or October 19 (101). I will average the score of this exam with your first exam. If you received a `C' or less I suggest you take this exam.
Write a C+ program that outputs your name and birth date. It should close by out putting the statement "That's all folks". Be sure to following all mandatory conventions. Submit the program listing and a screen shot of the execution.
Calculation of the sine function using the expansion. #include <iostream> #include <cmath> using namespace std; int main() cfw_ double sine1, sine2, power, term, fact, x, delta; int k, sign; delta = 0.0000001; sign = -1; cout < " enter the angle "; cin >
Additional standards for all assignments after assignment 1 All assignments must have three components: 1. the source code 2. listing of the output 3. flowchart All three (3) items must be pasted into a word document (or any other text processor I can rea