QUESTION 5 Select the two standard (built-in) identifiers. Note: main is NOT a s
ID: 3876838 • Letter: Q
Question
QUESTION 5
Select the two standard (built-in) identifiers. Note: main is NOT a standard identifier
cin, cat-2
case, $book
string, abs
cout, 1value
QUESTION 6
Describe the value(s) stored in string objects.
A collection of integers
A collection of sowing threads
A collection of 0 to many characters
doubles
QUESTION 7
Inserting endl in a cout statement generates a tab on the computer screen.
True
False
QUESTION 8
Which operation(s) could be used to alter(s) the state of a double object:
cout <<
cin >>
=
+
cin >> and =
QUESTION 9
Select the operations that may be applied to numeric objects (double).
+
-
cout>>
cin>>
QUESTION 10
A string object is assigned a sequence of characters enclosed in double quotes --"this is a string".
True
False
cin, cat-2
case, $book
string, abs
cout, 1value
Explanation / Answer
10)True
9) All
8)+ and cin and =
7)False
It inserts a new-line character and flushes the stream.
6) A,C,D we can store any data type in a string a compiler will accept. But we can not retrieve it as a number or double again it will be a string and each number would be a character type.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.