Let me know when you will be available.
I am available.Before we start, let me know which type of questions are these?
All I know is that there are 30 multiple choice questions and 7 essay questions. I won't know the actual questions until I start the exam and I don't want to start until I know you are available.
Hmm..that's a bit steep considering I will know some of the answers myself from the prior weeks exam. So you won't be answering all 37 questions.
I won't pay more than 50, but I won't know the exact number of questions I'll give you, we can always make up for it in the bonus.
13. (TCO 6) Debugging is like being a(n) _____. (Points : 4) accountant attorney police officer detective
2. (TCO 2) What does the symbol << represent in C++ programming? (Points : 4)
bout bin cin cout
3. (TCO 2) Which of the following statements about C++ syntax is true? (Points : 4)
Every executable statement must end with a comma. A block is enclosed inside parentheses. C++ is not case sensitive. C++ is case sensitive.
5. (TCO 3) What is the value of x after the following statement? float x; x = 3.0 / 4.0 + (3 + 1)/ 5 ; (Points : 4)
0.75 1.55 0 1.25
8. (TCO 4) One-way if statements execute an action if the condition is _____. (Points : 4)
sent to the console true false within a nested loop
repetition structure control structure selection structure sequence structure
1. (TCO 7) Arguments and parameters must match in _____. (Points : 4) data type numbers of parameters the order of parameters All of the above
int myVariable; char myVariable; 8 All of the above
5. (TCO 9) The items displayed in a menu are often preceded by _____. (Points : 4)
a number a letter other characters Any of the above
Logic-error Index1-error Off-by-one-error N-1
14. (TCO 13) Sometimes, a project will need to save data inputted by the user so it can be used again. This data stored will later be accessed from a _____. (Points : 4)
program file project file data file user file
2. (TCO 9) Explain which is more appropriate for writing a menu program: a switch case or if-else statements. Provide a snippet of code to support your position. (Points : 15)
(TCO 11) Explain how a linear search is conducted to find a particular data value in an array. Provide a C++ program segment to illustrate your answer. (Points : 15)
4. (TCO 7) Explain the difference between a function prototype and a function definition. Use a C++ program segment to illustrate your answer. (Points : 15)
5 (TCO 4) Explain when a switch statement may be more appropriate than an if/else statement and provide a code example. (Points : 15)
6 TCO 5) Using a loop, write a program that reads in exactly 10 integers and outputs the sum