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, Computer Software Engineer
Category: Programming
Satisfied Customers: 9373
Experience:  Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
Type Your Programming Question Here...
LogicPro is online now
A new question is answered every 9 seconds

I need help with 30 multiple choice and 7 short answer qu

Customer Question

I need help with 30 multiple choice and 7 short answer questions. I need this withing 2 hours please.















1. (TCO 1) Microsoft Visual C++ is an example of a(n) _____. (Points : 4)

       C++ programming language
       debugger
       compiler
       IDE

 















2. (TCO 2) Which characters make up the stream extraction operator? (Points : 4)

       >>
       ::
       :)
       //

 















3. (TCO 2) Which of the following statements is not a C++ syntax rule? (Points : 4)

       C++ is not case sensitive.
       Blocks of code are defined by curly braces.
       Statements must end with a semicolon.
       Every C++ program must have a function named "main."

 















4. (TCO 2) To assign a value 1 to variable x, you write _____. (Points : 4)

       x++;
       1 = x;
       x = 1;
       x == 1;

 















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

 















6. (TCO 4) _____ is often used in the design of a program to describe the program processing. (Points : 4)

       Pseudocode
       Algorithm
       Program control
       Data flow

 















7. (TCO 4) What is the decision symbol in a flow chart? (Points : 4)

       Square
       Rectangle
       Circle
       Diamond

 















8. (TCO 4) Programmers often write the if statement on two lines to visually separate the decision-making condition from its resulting action; however, only one _____ follows the entire statement. (Points : 4)

       colon
       semicolon
       curly bracket
       parenthesis

 















9. (TCO 5) In a count-controlled loop, the counter performs which of the following actions? (Points : 4)

       Counter initialization
       Counter testing
       Counter adjustment
       All of the above

 















10. (TCO 5) When should a programmer select a do while loop for his or her program? (Points : 4)

       When the programmer knows the exact number of times the loop will be executed
       When the programmer knows the loop must be executed at least once
       When he or she is not sure how many times the loop will be executed
       There is no reason to select a for loop. Any loop can be used at any time.

 















11. (TCO 5) The while loop has two important parts: an expression that is tested for a true or false value, and _____. (Points : 4)

       a statement or block that is repeated as long as the expression is true
       a statement or block that is repeated only if the expression is false
       one line of code that is repeated once if the expression is true
       a statement or block that is repeated once if the expression is true

 















12. (TCO 5) A loop that is inside another loop is called _____. (Points : 4)

       an infinite loop
       a pretest loop
       a posttest loop
       a nested loop

 















13. (TCO 6) Debugging is like being a(n) _____. (Points : 4)

       accountant
       attorney
       police officer
       detective

 















14. (TCO 7) Code written in a specific format to perform a single task or calculation is called a _____. (Points : 4)

       function
       loop
       decision statement
       task

 















15. (TCO 8) A value that is part of a function header is called a(n) _____. (Points : 4)

       argument
       parameter
       initializer
       reference

 






















(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 prototype indicates that the parameter is passed by reference? (Points : 4)

       int myFunction( double &)
       int myFunction(double)
       int myFunction(double *)
       int myFunction(&)
















3. (TCO 8) The process of passing a variable's value to a function is called _____. (Points : 4)

       passing by reference
       passing by value
       localization
       globalization
















4. (TCO 9) What type of menu first displays the main menu and then, based on the user's selection, displays a submenu? (Points : 4)

       Single-level menu
       Multiple-level menu
       Step-level menu
       Sublevel menu
















5. (TCO 9) What is not part of the menu valued selections process? (Points : 4)

       Input validation loop
       Including the default clause in the case structure
       State
       Use of an else clause
















6. (TCO 9) A(n) _____ represents an entity in the real world that can be distinctly identified. (Points : 4)

       class
       function
       object
       method
















7. (TCO 10) Bug errors are _____ errors. (Points : 4)

       logic
       syntax
       binary
       asp.net
















8. (TCO 11) What is the value of the subscript for the first element of an array? (Points : 4)

       Undefined
       1
       0
       Determined by the declaration of the array
















9. (TCO 11) Which of the following techniques can be used to process the elements of a single-dimensional array? (Points : 4)

       Selection structure
       Looping structure
       Sequence structure
       None of the above
















10. (TCO 11) A three-row, four-column array has a total of how many elements? (Points : 4)

       Seven
       12
       16
       One
















11. (TCO 12) Given the following array:

int profit [5] = {10, 20, 31, 55, 66}; 

The following statement would replace which value?
profit [4] = profit[1] + 3; (Points : 4)

       55 with 13
       66 with 13
       66 with 23
       55 with 23
















12. (TCO 12) In the variable initialization: char course [20] = Devry University, the character at course [2] will be _____. (Points : 4)

       D
       e
       v
       r
       a space
















13. (TCO 13) Files to which data is written are known as _____. (Points : 4)

       output files
       input files
       active files
       sequential files
















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
















15. (TCO 13) When reading data from a sequential file, the data will be read _____. (Points : 4)

       in alphabetical order
       sorted from smallest to largest
       in key field order
       in the order in which it was written




1. (TCO 13) Create a writeData method snippet of code using NAME and State as variables. Collect the information and write it to file.(Points : 20)


 


(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)


 


3. (TCO 11) Create a C++ program that declares, initializes, and outputs the values contained in a two-dimensional array. (Points : 15)


 


4. (TCO 7) In your own words, define a function and code an example of creating a function and calling it. (Points : 15)


 


(TCO 5) Write a program that adds and displays the total of all even integers from 1 to 10. (Points : 15)


 


6. (TCO 4) Explain when a switch statement may be more appropriate than an if/else statement and provide a code example. (Points : 15)


 


7. (TCO 3) Explain the naming rules for creating variables and then provide three examples using the data types int, double, and char and assign values to them. (Points : 15)


Submitted: 1 year ago.
Category: Programming
Expert:  LogicPro replied 1 year ago.
I will provide the answer ASAP
Expert:  LogicPro replied 1 year ago.
Hi,
My name is XXXXX XXXXX I will provide you answer ASAP.
Customer: replied 1 year ago.

so i have never used this before.. will i get an email when you are done?

Customer: replied 1 year ago.

just checking... are you there?

Expert:  LogicPro replied 1 year ago.
Yes.you will get email.
Please wait
Customer: replied 1 year ago.

thank you!

Customer: replied 1 year ago.

how is it going?

Expert:  LogicPro replied 1 year ago.
Download answer from here http://www.wikisend.com/download/463128/C++30MCQ.docx

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help. Thank you for using JustAnswer!
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 9373
Experience: Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
LogicPro and other Programming Specialists are ready to help you
Customer: replied 1 year ago.

awesome! i compared my answers to yours and I only got a few wrong. thanks for the help.

Expert:  LogicPro replied 1 year ago.
Welcome

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:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • 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
 
 
 

Meet The Experts:

 
 
 
  • ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
< Last | Next >
  • http://ww2.justanswer.com/uploads/SP/spatlanta2010/2011-6-23_12450_photo.64x64.gif ATLPROG's Avatar

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Computer Software Engineer

    Satisfied Customers:

    5603
    Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
  • http://ww2.justanswer.com/uploads/unvadim/2010-11-15_210218_avatar.jpg unvadim's Avatar

    unvadim

    Computer Software Engineer

    Satisfied Customers:

    1158
    Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.
  • http://ww2.justanswer.com/uploads/lifesaver333/2010-10-17_191349_ls.jpeg lifesaver's Avatar

    lifesaver

    Computer Software Engineer

    Satisfied Customers:

    950
    Several years of intensive programming and application development experience in various platforms.
  • http://ww2.justanswer.com/uploads/EH/ehabtutor/2012-8-2_202016_1.64x64.jpg ehabtutor's Avatar

    ehabtutor

    Computer Software Engineer

    Satisfied Customers:

    864
    Bachelor of computer science, 5+ years experience in software development, software company owner
  • http://ww2.justanswer.com/uploads/RA/rajivsharma086/2012-6-6_17128_displaypic.64x64.jpg Raj's Avatar

    Raj

    Computer Engg.

    Satisfied Customers:

    860
    BE CS, 4+ Experience in Programming and Database (ERP)
  • http://ww2.justanswer.com/uploads/eljonis/2010-01-06_130406_eljon2.jpg Eljon's Avatar

    Eljon

    Consultant

    Satisfied Customers:

    590
    11 yrs of programming (PHP, WordPress, XSL, SQL, JavaScript)
 
 
 

Related Programming Questions