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, Computer Software Engineer
Category: Programming
Satisfied Customers: 12350
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

This answer was rated:

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


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)

       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)



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

       Program control
       Data flow


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



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)

       curly bracket


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)

       police officer


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

       decision statement


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



(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

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
       Use of an else clause

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


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


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

       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)


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)

       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)

I will provide the answer ASAP
My name is XXXXX XXXXX I will provide you answer ASAP.
Customer: replied 3 years ago.

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

Customer: replied 3 years ago.

just checking... are you there? will get email.
Please wait
Customer: replied 3 years ago.

thank you!

Customer: replied 3 years ago.

how is it going?

Download answer from here

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:
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 and 4 other Programming Specialists are ready to help you
Customer: replied 3 years ago.

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


Related Programming Questions