Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Qatar University Interview Questions
Questions Answers Views Company eMail

What is the time complexity T(n) of the following program? a) int n, d, i, j; cin >> n; for (d=1; d<=n; d++) for (i=1; i<=d; i++) for (j=1; j<=n; j += n/10) cout << d << " " << i << " " << j << endl; b) void main() { int n, s, t; cin >> n; for (s = 1; s <= n/4; s++) {t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } } c) void main() { int n, r, s, t; cin >> n; for (r = 2; r <= n; r = r * 2) for (s = 1; s <= n/4; s++) { t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } }

3 9327

Post New Qatar University Interview Questions




Un-Answered Questions

What is Garbage Collection in Java

694


Which operating system is supported by HANA system?

66


table actions available in oracle connector?

1202


Do you know the difference between shares and debentures?

748


What is the list interface in java programming?

668






Is it possible to create the following trigger: before or after update trigger for each row?

822


Mention what are the essential components of embedded system?

635


What are the functional areas?

701


What is ole in excel?

598


What is orm in mysql?

560


Splitting of production order & product version

1425


What is an operator in php?

654


What is cookie in java?

549


in plate load test what is the thickness of plate 20mm 5mm 50mm none

1826


how to calculate slip ring induction motor stator and rotor currents??

1891