ITC Quiz 1

Beschreibung

ITC Quiz Summer
Ahmad Bilal0467
Quiz von Ahmad Bilal0467, aktualisiert more than 1 year ago
Ahmad Bilal0467
Erstellt von Ahmad Bilal0467 vor fast 9 Jahre
318
0

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?
Antworten
  • ;
  • :
  • ||
  • &&

Frage 4

Frage
Evaluate !(1 && !(0 || 1))
Antworten
  • True
  • False

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";
Antworten
  • Passed
  • A garde
  • 4 Gpa

Frage 6

Frage
Computer XY int x = 21; double y = 6; double z = 14; y = x / z; x = 5.5 * y;
Antworten
  • 8.1
  • 8.35
  • 8.5
  • 8

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';
Antworten
  • bcbc
  • ccbc
  • abcc

Frage 9

Frage
Evaluate (true && true) || false
Antworten
  • true
  • False

Frage 10

Frage
Evaluate (false && true) || true
Antworten
  • True
  • False

Frage 11

Frage
What operator should be used to obtain following answer 74_______2=0
Antworten
  • Addition
  • Logical Or
  • Modulus
  • Compliment
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Translations and transformations of functions
Christine Laurich
Data Types
Jacob Sedore
AQA Biology B1 Questions
Bella Statham
AQA Biology B2 Questions
Bella Statham
AQA Physics P1 Quiz
Bella Statham
GCSE AQA Biology 1 Quiz
Lilac Potato
AQA GCSE Product Design Questions
Bella Statham
Waves
kate.siena
General Knowledge Quiz
Andrea Leyden
Biology - B2 - AQA - GCSE - Exam Style Questions
Josh Anderson
Computer science quiz
Ryan Barton