Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. (TCO 2) What does the symbol << represent in C++ programming? (Points : 3) bo

ID: 3643581 • Letter: 1

Question

1. (TCO 2) What does the symbol << represent in C++ programming? (Points : 3)
bout
bin
cin
cout


2. (TCO 2) The endl can be found in which of the following namespaces? (Points : 3)
std
string
math
comment


3. (TCO 2) C++ program source-code files have what file extension? (Points : 3)
.cpp
.h
.txt
.doc


4. (TCO2) C++ paragraph comments are represented by which characters? (Points : 3)
::
/* */
>>
//


5. (TCO 2) Which of the following statement is a C++ syntax rule? (Points : 3)
C++ is 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."
All of the above


6. (TCO 1) Which of the following statement about IDE is true? (Points : 3)
IDE only allows programmers to edit their code.
IDE provides editing, compiling, and debugging in one software package.
Visual Studio.Net is not an IDE.
IDE stands for integrated development engine.


7. (TCO 2) The following program displays: _____.

#include
using namespace std;

int main()
{
cout <<

Explanation / Answer

1. (TCO 2) What does the symbol << represent in C++ programming? (Points : 3)


cout


2. (TCO 2) The endl can be found in which of the following namespaces? (Points : 3)
std



3. (TCO 2) C++ program source-code files have what file extension? (Points : 3)
.cpp



4. (TCO2) C++ paragraph comments are represented by which characters? (Points : 3)

/* */



5. (TCO 2) Which of the following statement is a C++ syntax rule? (Points : 3)

All of the above


6. (TCO 1) Which of the following statement about IDE is true? (Points : 3)

IDE provides editing, compiling, and debugging in one software package.



7. (TCO 2) The following program displays: _____.

#include
using namespace std;

int main()
{
cout << “We like”CIS170””;
return 0;
} (Points : 3)




8. (TCO 2) The ASCII of "a" is 97. What is the ASCII for "c"? (Points : 3)

99


9. (TCO 3) What is the value of x after the following statement?

float x;
x = 2 / 5 + (3 + 1)/ 5.0 ; (Points : 3)

0.8


10. (TCO 2) The number of bytes of memory used by a variable depends on its _____. (Points : 3)

data type