ITC Quiz 1

Description

ITC Quiz Summer
Ahmad Bilal0467
Quiz by Ahmad Bilal0467, updated more than 1 year ago
Ahmad Bilal0467
Created by Ahmad Bilal0467 almost 9 years ago
318
0

Resource summary

Question 1

Question
What is this >> (operator) is called as
Answer
  • Insertion operator
  • Extraction operator
  • Right shift operator
  • Left shift operator

Question 2

Question
What is the only function all C++ programs must contain?
Answer
  • start()
  • system()
  • main()
  • program()

Question 3

Question
What punctuation ends most lines of C++ code?
Answer
  • ;
  • :
  • ||
  • &&

Question 4

Question
Evaluate !(1 && !(0 || 1))
Answer
  • True
  • False

Question 5

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

Question 6

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

Question 7

Question
Which statement would be used to declare a 10-element integer array c?
Answer
  • array c = int[ 10 ];
  • c = int[ 10 ]
  • int array c[ 10 ]
  • int c[ 10 ]

Question 8

Question
cout << a << b << c << 'c';
Answer
  • bcbc
  • ccbc
  • abcc

Question 9

Question
Evaluate (true && true) || false
Answer
  • true
  • False

Question 10

Question
Evaluate (false && true) || true
Answer
  • True
  • False

Question 11

Question
What operator should be used to obtain following answer 74_______2=0
Answer
  • Addition
  • Logical Or
  • Modulus
  • Compliment
Show full summary Hide full summary

Similar

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