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: 9264
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
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

Resolved Question:

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.
Submitted: 1 year ago.
Category: Homework
Expert:  Josie-Mod replied 1 year ago.
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.
Expert:  LogicPro replied 1 year ago.
Hi,
Welcome back
Can we start after 24 hours please
Customer: replied 1 year ago.

Let me know when you will be available.

Expert:  LogicPro replied 1 year ago.

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

Customer: replied 1 year 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.

Expert:  LogicPro replied 1 year ago.
ok. I will do it for 70 as these are a lot.
Customer: replied 1 year 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.

Expert:  LogicPro replied 1 year ago.
What's your offer for how many questions? I usually don't ask to increase price.
Customer: replied 1 year 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.

Expert:  LogicPro replied 1 year ago.
ok. Done for 50 for you. Let me know the questions
Customer: replied 1 year 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


 

Expert:  LogicPro replied 1 year ago.
Please wait
Expert:  LogicPro replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
LogicPro, Engineer
Category: Homework
Satisfied Customers: 9264
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
LogicPro and 15 other Homework Specialists are ready to help you

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience