Every ............. in a string has a relative position in the string.
Anonymous Quiz
22%
word
15%
string
62%
character
👍1
true or false (√ or ×)
Q) The length of a string is the number of characters in it.
Q) The length of a string is the number of characters in it.
Anonymous Quiz
82%
True (√)
18%
False (×)
👍1
Q) the contents of a named constant cannot be changed During ...........
Anonymous Quiz
19%
Editing program
55%
program execution
26%
program compilation
👍1
true or false (√ or ×)
Q) A named constant is declared by using the reserved word const.
Q) A named constant is declared by using the reserved word const.
Anonymous Quiz
82%
True (√)
18%
False (×)
👍1
Q) A named constant is initialized when it is............ .
Anonymous Quiz
30%
execution
13%
runtime
57%
declared
👍1
true or false (√ or ×)
Q) All variables must be declared before they can be used.
Q) All variables must be declared before they can be used.
Anonymous Quiz
89%
True (√)
11%
False (×)
👍1
true or false (√ or ×)
Q) C++ does not automatically initialize variables.
Q) C++ does not automatically initialize variables.
Anonymous Quiz
62%
True (√)
38%
False (×)
👍1
true or false (√ or ×)
Q) Every variable has a name, a value, a data type, and a size.
Q) Every variable has a name, a value, a data type, and a size.
Anonymous Quiz
93%
True (√)
8%
False (×)
👍1
true or false (√ or ×)
Q) When a new value is assigned to a variable, the old value is saved in another variable .
Q) When a new value is assigned to a variable, the old value is saved in another variable .
Anonymous Quiz
42%
True (√)
58%
False (×)
👍1
true or false (√ or ×)
Q) Only an assignment statement or an input (read) statement can change the value of a variable.
Q) Only an assignment statement or an input (read) statement can change the value of a variable.
Anonymous Quiz
73%
True (√)
27%
False (×)
👍1
true or false (√ or ×)
Q) The manipulator endl positions the insertion point at the beginning of the next line on an output device.
Q) The manipulator endl positions the insertion point at the beginning of the next line on an output device.
Anonymous Quiz
79%
True (√)
21%
False (×)
👍1
true or false (√ or ×)
Q) Outputting or accessing the value of a variable in an expression destroys and modifys the contents of the variable.
Q) Outputting or accessing the value of a variable in an expression destroys and modifys the contents of the variable.
Anonymous Quiz
76%
True (√)
24%
False (×)
👍1
Q) The character \ is called.........
Anonymous Quiz
31%
the division character.
44%
the escape character.
25%
comment character.
👍1
Q) The sequence \n is called ........... escape sequence.
Anonymous Quiz
9%
the alert
89%
the newline
2%
the tap
👍1
true or false (√ or ×)
Q) All preprocessor commands start with the symbol #.
Q) All preprocessor commands start with the symbol #.
Anonymous Quiz
82%
True (√)
18%
False (×)
👍1
true or false (√ or ×)
Q) The semicolon in C++ is called the statement terminator.
Q) The semicolon in C++ is called the statement terminator.
Anonymous Quiz
82%
True (√)
18%
False (×)
❤1👍1
👍1
true or false (√ or ×)
Q) A file containing a C++ program usually ends with the extension .cpp.
Q) A file containing a C++ program usually ends with the extension .cpp.
Anonymous Quiz
79%
True (√)
21%
False (×)
👍1
true or false (√ or ×)
Q) To use cin and cout, the program must include the header file iostream and either include the statement using namespace std; or refer to these identifiers as std::cin and std::cout.
Q) To use cin and cout, the program must include the header file iostream and either include the statement using namespace std; or refer to these identifiers as std::cin and std::cout.
Anonymous Quiz
90%
True (√)
10%
False (×)
👍1
true or false (√ or ×)
Q) A C++ system has three components: environment, language, and the standard libraries.
Q) A C++ system has three components: environment, language, and the standard libraries.
Anonymous Quiz
84%
True (√)
16%
False (×)
👍1
إختبار مفاهيم أساسيات برمجة بإستخدام سي بلس 4️⃣.
إعداد :
Eng. Hazem F. Al-Huthaifi
علم البيانات :
@Computer_DS_1
قناة خاصة بأسئلة الاختبارات:
@Computer_DS_2
🖊 45 سؤالًا · ⏱ 45 ث · 🔀 الأسئلة
رابط بدء الاختبار :
External sharing link:
t.me/QuizBot?start=lDqrp9Fr
إعداد :
Eng. Hazem F. Al-Huthaifi
علم البيانات :
@Computer_DS_1
قناة خاصة بأسئلة الاختبارات:
@Computer_DS_2
🖊 45 سؤالًا · ⏱ 45 ث · 🔀 الأسئلة
رابط بدء الاختبار :
External sharing link:
t.me/QuizBot?start=lDqrp9Fr
Quiz Directory
إختبار مفاهيم أساسيات برمجة بإستخدام سي بلس 4️⃣.
إعداد : Eng. Hazem F. Al-Huthaifi علم البيانات : @Computer_DS_1 @Computer_DS_2 / 45 questions
👍1👎1