Forwarded from IS AM 2022 (M.almamari)
4_5828109181441281434 (1).pdf
33.6 MB
Forwarded from IS AM 2022 (Eman Mahdi)
ملخص_برمجة_للطالبة_إيمان_مهدي_خميس.pdf
11.5 MB
Forwarded from IS AM 2022 (M.almamari)
Forwarded from IS AM 2022 (M.almamari)
1) The scope-resolution operator uses ___ character:
Anonymous Quiz
68%
A. ::
15%
B. *
9%
C. :
8%
D. %
Forwarded from IS AM 2022 (M.almamari)
Which punctuator is used to block scope of C++ statements?
Anonymous Quiz
74%
A. { }
8%
B. [ ]
12%
C. ( )
6%
D. /
Forwarded from IS AM 2022 (M.almamari)
With ----------- a copy of the argument’s value is made and passed to the called.
Anonymous Quiz
74%
A. pass-by-value
26%
B. pass-by-reference
Forwarded from IS AM 2022 (M.almamari)
If many functions have the same name, which of the following information, if present, will be
used by the compiler to invoke the correct function to be used?
used by the compiler to invoke the correct function to be used?
Anonymous Quiz
15%
A. The operator::
26%
B. The return value of the function
39%
C. Function signature
20%
D. None of the above
Forwarded from IS AM 2022 (M.almamari)
The return types of the functions are not specified in the mangled names.
Anonymous Quiz
48%
True
52%
False
Forwarded from IS AM 2022 (M.almamari)
Choose the correct statements regarding inline functions.
Anonymous Quiz
14%
A. It speeds up execution
25%
It reduces function call overhead
11%
It increases the code size
50%
All of the above
Forwarded from IS AM 2022 (M.almamari)
The member of struct is accessed using
Anonymous Quiz
13%
A. A object name
38%
B. The dot operator
14%
C. A member name
35%
D. B &C
Forwarded from IS AM 2022 (M.almamari)
which are fixed-size collections consisting of data items of the same type.
Anonymous Quiz
59%
A. Arrays
11%
B. Vectors
9%
C. Structs
20%
D. A & B
Forwarded from IS AM 2022 (M.almamari)
C++ provides a header file, which is used for file I/ called
Anonymous Quiz
41%
fstream
34%
ifstream
9%
ofstream
17%
1&2
Forwarded from IS AM 2022 (M.almamari)
C++ creates dynamic variables using
Anonymous Quiz
6%
delete operators
45%
Pointers
20%
new operators
29%
1&3
Forwarded from IS AM 2022 (M.almamari)
Choose the correct statement to initializing two-dimensional arrays in declarations.
Anonymous Quiz
23%
A. array<int<columns, rows>> n;
20%
B. array<int< rows, columns>> n;
34%
C. array<int<rows>columns> n;
23%
D. array<array<int, columns>, rows> n;
Forwarded from IS AM 2022 (M.almamari)
Which header file must be included to use the function steprecision?
Anonymous Quiz
19%
A. iostream
25%
B. fstream
16%
C. cmath
41%
D. iomanip
Forwarded from IS AM 2022 (M.almamari)
Consider the following declaration:
const size_t arraysize{4}; array<int,
arraysize> a{10,20,30,40}; In this declaration, identify the:
const size_t arraysize{4}; array<int,
arraysize> a{10,20,30,40}; In this declaration, identify the:
Anonymous Quiz
8%
A. The array name.
19%
B. The array size.
14%
C. The data type of each array component.
59%
D. All of the above
Forwarded from IS AM 2022 (M.almamari)
Forwarded from IS AM 2022 (M.almamari)
Forwarded from IS AM 2022 (M.almamari)
To add the output at the end of an existing file, you can use the option:
Anonymous Quiz
57%
A. ios::app
4%
B. ios::in
34%
C. ios::out
5%
D. ios::ate