Zusammenfassung der Ressource
Frage 1
Frage
What is this >> (operator) is called as
Antworten
-
Insertion operator
-
Extraction operator
-
Right shift operator
-
Left shift operator
Frage 2
Frage
What is the only function all C++ programs must contain?
Antworten
-
start()
-
system()
-
main()
-
program()
Frage 3
Frage
What punctuation ends most lines of C++ code?
Frage 4
Frage
Evaluate !(1 && !(0 || 1))
Frage 5
Frage
If you have scored has the 80 marks , and have achieved A Grade what will the following code display?
if ( grade >= 60 )
cout << "Passed";
Frage 6
Frage
Computer XY
int x = 21;
double y = 6;
double z = 14;
y = x / z;
x = 5.5 * y;
Frage 7
Frage
Which statement would be used to declare a 10-element integer array c?
Antworten
-
array c = int[ 10 ];
-
c = int[ 10 ]
-
int array c[ 10 ]
-
int c[ 10 ]
Frage 8
Frage
cout << a << b << c << 'c';
Frage 9
Frage
Evaluate
(true && true) || false
Frage 10
Frage
Evaluate
(false && true) || true
Frage 11
Frage
What operator should be used to obtain following answer
74_______2=0
Antworten
-
Addition
-
Logical Or
-
Modulus
-
Compliment