Ahmad Bilal0467
Quiz by , created more than 1 year ago

ITC Quiz Summer

294
0
0
Ahmad Bilal0467
Created by Ahmad Bilal0467 over 8 years ago
Close

ITC Quiz 1

Question 1 of 11

1

What is this >> (operator) is called as

Select one of the following:

  • Insertion operator

  • Extraction operator

  • Right shift operator

  • Left shift operator

Explanation

Question 2 of 11

1

What is the only function all C++ programs must contain?

Select one of the following:

  • start()

  • system()

  • main()

  • program()

Explanation

Question 3 of 11

1

What punctuation ends most lines of C++ code?

Select one of the following:

  • ;

  • :

  • ||

  • &&

Explanation

Question 4 of 11

1

Evaluate !(1 && !(0 || 1))

Select one of the following:

  • True

  • False

Explanation

Question 5 of 11

1

If you have scored has the 80 marks , and have achieved A Grade what will the following code display?
if ( grade >= 60 )
cout << "Passed";

Select one of the following:

  • Passed

  • A garde

  • 4 Gpa

Explanation

Question 6 of 11

1

Computer XY
int x = 21;
double y = 6;
double z = 14;
y = x / z;
x = 5.5 * y;

Select one of the following:

  • 8.1

  • 8.35

  • 8.5

  • 8

Explanation

Question 7 of 11

1

Which statement would be used to declare a 10-element integer array c?

Select one of the following:

  • array c = int[ 10 ];

  • c = int[ 10 ]

  • int array c[ 10 ]

  • int c[ 10 ]

Explanation

Question 8 of 11

1

cout << a << b << c << 'c';

Select one of the following:

  • bcbc

  • ccbc

  • abcc

Explanation

Question 9 of 11

1

Evaluate
(true && true) || false

Select one of the following:

  • true

  • False

Explanation

Question 10 of 11

1

Evaluate
(false && true) || true

Select one of the following:

  • True

  • False

Explanation

Question 11 of 11

1

What operator should be used to obtain following answer
74_______2=0

Select one of the following:

  • Addition

  • Logical Or

  • Modulus

  • Compliment

Explanation