How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12485
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

For LogicPro only. Are you available? Id like to begin my

This answer was rated:

For LogicPro only. Are you available? I'd like to begin my final exam. It is 37 questions and will have 3.5 hours to complete.
Hi, I'm Josie and I am a moderator for this topic. I sent your requested professional a message to follow up with you here, when he is back online.

If I can help further, please let me know. Thank you for your continued patience.
Hi,
Welcome back
Can we start after 24 hours please
Customer: replied 3 years ago.

Let me know when you will be available.

I am available.
Before we start, let me know which type of questions are these?

Customer: replied 3 years ago.

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.

ok. I will do it for 70 as these are a lot.
Customer: replied 3 years ago.

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.

What's your offer for how many questions? I usually don't ask to increase price.
Customer: replied 3 years ago.

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.

ok. Done for 50 for you. Let me know the questions
Customer: replied 3 years ago.

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








9. (TCO 5) A _____ repeats actions while some condition remains unchanged. (Points : 4)

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















2. (TCO 8) Which function indicates that the parameter is passed by reference? (Points : 4)

int myGoodness(double *)
int myStuff(double)
int mySomething( double &)
int myMy(&)








3. (TCO 8) What would be a valid argument for the following function?

char myFunction(int &x)
(Points : 4)

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















6. (TCO 9) What type of programming encapsulates data and functions together in an object? (Points : 4)

Object-oriented
Interactive
Procedural
Menu-driven















7. (TCO 10) An error that results from a poorly planned solution would be called a _____. (Points : 4)

syntax error
logical error
typing error
debugging error















8. (TCO 11) Which of the following is false? (Points : 4)

All elements of the array have the same data type.
All elements in an array have the same name.
All elements in an array have the same subscript.
The first element of the array has a subscript of zero.








9. (TCO 11) Programmers often mistakenly reference the first element in an array with index1. What is this called? (Points : 4)

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


 

Please wait
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12485
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
LogicPro and 5 other Homework Specialists are ready to help you