Discount Get CIS 170C ALL WEEKS Solution ONLY $94.98 $131.92
CIS 170C C++ Week 1 - Lab 1 - You need to write a program that ca... [$9.99]
CIS 170C C++ Week 2 - Lab 2 - Write a program that inputs the amo... [$9.99]
CIS 170C C++ Week 3 - Lab 3 - Diver Scoring - You will code, buil... [$15.99]
CIS 170C C++ Week 4 - Lab 4 - Phone Dialing Program - You will co... [$19.99]
CIS 170C C++ Week 5 - Lab 5A - Video Game Player - Determine the ... [$15.99]
CIS 170C C++ Week 5 - Lab 5B - Pig Latin Program - Write a progra... [$19.99]
CIS 170C C++ Week 6 - Lab 6 - ATM Program - Write a windows conso... [$19.99]
CIS 170C C++ Week 7 - Lab 7 - Sequential Files - Create a C++ con... [$19.99]
CIS 170C C++ - Final Exam [$24.99]
Get Selected Weeks Solution with ONLY NOT Add Selected Tutorials To Cart
CIS 170C CIS/170C CIS170C C++ Final Exam
    CIS 170C CIS/170C CIS170C C++ Final Exam

CIS 170C CIS/170C CIS170C C++ Final Exam

$24.99

CIS 170C C++ Final EXAM
Part I-------------------------------------------------------------
Set 1--------------------------------------------------------

1. (TCO 1) What does IDE stand for? (Points : 4) 
A.    Integrated Developer Engine 
B.    Interpretive Development Engine
C.    Integrated Development Environment
D.    None of these are correct.
2. (TCO 2) What does the symbol << represent in C++ programming? (Points : 4) 
A.    bout
B.    bin
C.    cin
D.    cout
3. (TCO 2) Which of the following statements is a C++ syntax rule? (Points : 4) 
A.    C++ is not case sensitive.
B.    Blocks of code are defined by curly braces.
C.    Statements must end with a semicolon.
D.    All of the above
4. (TCO 2) To assign a value 1 to variable x, you write _____. (Points : 4) 
A.    x++;
B.    1 = x;
C.    x = 1;
D.    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) 
A.    0.75  
B.    1.55
C.    0
D.    1.25
6. (TCO 4) Which of the following is not included in pseudocode program? (Points : 4) 
A.    Program control structures
B.    Input/output
C.    Declarations
D.    Program algorithms
7. (TCO 4) The symbol "==" is used as part of a _____. (Points : 4) 
A.    comparison operator
B.    decision operator
C.    repetition operator
D.    sequence operator
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) 
A.    colon
B.    semicolon
C.    curly bracket
D.    parenthesis
9. (TCO 5) Looping statements follow the _____ structure. (Points : 4) 
A.    sequence
B.    control
C.    selection
D.    repetition
10. (TCO 5) Which repetition structure is designed to have the code execute at least one time? (Points : 4) 
A.    For loop  
B.    Do in a while loop
C.    While loop
D.    Do while loop
11. (TCO 5) The while loop is what type of loop? (Points : 4) 
A.    Posttest loop
B.    Pretest loop
C.    Infinite loop
D.    None of the above
12. (TCO 5) A loop that is inside another loop is called an _____. (Points : 4) 
A.    outer loop
B.    inner loop
C.    infinite loop
D.    None of the above
13. (TCO 6) Which two key sequences are used to start debugging and stop debugging? (Points : 4) 
A.    Shift-F5 for start debugging and F5 for stop debugging
B.    F5 for start debugging and Shift-F5 for stop debugging
C.    F10 for start debugging and F11 for stop debugging
D.    F11 for start debugging and F10 for stop debugging
 
14. (TCO 7) Defining more than one function with the same function name but different 
parameters is called _____. (Points : 4) 
A.    function underloading  
B.    function overloading
C.    function mimicking
D.    function substitution
15. (TCO 8) A value included in a function call that is passed to a function is called a(n) _____. (Points : 4)  
A.    parameter
B.    argument  
C.    initializer
D.    reference

Set 2--------------------------------------------------
1. (TCO 7) When is a return statement required inside a function? (Points : 4) 
A.    Every function must include at least one return statement.
B.    When you use a switch statement
C.    When a return data type (other than void) is included in the function prototype
D.    Inside an if-else statement
2. (TCO 8) Which function prototype indicates that the parameter is passed by reference? (Points : 4)  
A.    int myFunction( double &)
B.    int myFunction(double)
C.    int myFunction(double *)
D.    int myFunction(&)
3. (TCO 8) The parameter of the following function is a(n) _____.char myFunction (int &x); (Points : 4) 
A.    action parameter
B.    illegal parameter
C.    value parameter  
D.    reference parameter
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) 
A.    Single-level menu  
B.    Multiple-level menu
C.    Step-level menu  
D.    Sublevel menu
5. (TCO 9) What is the method used to make sure that valid selections are processed? (Points : 4) 
A.    Input validation loop
B.    Including the default clause in the case structure
C.    Use of an else clause
D.    All of the above
6. (TCO 9) What type of programming is centered on the procedures or actions that take place in a program? (Points : 4)   
A.    Object-oriented
B.    Interactive
C.    Procedural
D.    Menu-driven
7. (TCO 10) An error that results from a poorly planned solution would be called a _____.
(Points : 4)
A.    syntax error  
B.    logical error
C.    typing error
D.    debugging error
8. (TCO 11) N-1 is the _____ (Points : 4) 
A.    first position of an array
B.    position of row
C.    position of column
D.    last position of an array
9. (TCO 11) Programmers often mistakenly reference the first element in an array with index 1. What is this called? (Points : 4) 
A.    Logic-error  
B.    Index1-error  
C.    Off-by-one-error  
D.    N-1
10. (TCO 11) Given: myArray[3][4], what is the index for the first element (located in the first row and first column)? (Points : 4) 
A.    [1][1]  
B.    [0][1]
C.    [1][0]
D.    [0][0]
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] + 4; (Points : 4) 
A.    55 with 14
B.    66 with 14
C.    66 with 24
D.    55 with 24
12. (TCO 12) In the variable initialization: char course[20] = Welcome to CIS170C, the character at course[6] will be _____. (Points : 4) 
A.    \0
B.    the letter m
C.    the letter e
D.    a space
13. (TCO 13) Files from which data is read are known as _____. (Points : 4) 
A.    output files  
B.    input files
C.    active files
D.    sequential files
14. (TCO 13) In terms of storage and retrieval of data, sequential access files are similar to_____.  (Points : 4) 
A.    floppy disks
B.    books
C.    hard disks
D.    cassette tapes
15. (TCO 13) When reading data from a sequential file, the data will be read _____. (Points : 4) 
A.    in alphabetical order
B.    sorted from smallest to largest
C.    in key field order 
D.    in the order in which it was written
Part II---------------------------------------------------------------------
1. (TCO 13) Provide a C++ code segment that reads data from a text file using a while loop. Use 
comments to explain what key lines of code are doing.
(Points : 20) 

2. (TCO 9) Create a code segment that defines a class definition for a student. Include at least 
two properties and two methods. Also explain the reason why there is a public and private 
section associated with class definitions.
(Points : 15) 

3. (TCO 11) Explain how a linear search is conducted to find a particular data value i
n an array. Provide a C++ program segment to illustrate your answer.
(Points : 15) 

4. (TCO 7) Explain the difference between an argument and a parameter. Use a C++ program 
segment to illustrate your answer.
(Points : 15) 

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

6. (TCO 4) Mention at least four mistakes that are easy to make when you are first learning to use selection statements.
(Points : 15)
7. (TCO 3) Explain the essential aspects of a C++ program (include directives, using statements, and the main function) that outputs a line of text to the console. Create an actual example of this C++ program and make sure it does not contain errors.
 

My solution contain Answers for all questions in CIS170C Final Exam.

If you have more question or need help, please contact me via email support@extutorials.com. I will help you any time.

Thank you !

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B