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 8979

Post New Qatar University Interview Questions




Un-Answered Questions

What made you decide to be a dental assistant?

1191


What are the mrp procedures available in mm-cbp (consumption based planning)?

730


Can't one material be assigned to more than one operation in a routing, why?

593


How to create a table index in mysql?

516


Explain the architecture models of SQL Server?

1894






If all is successful, what should main return a) 0 b) 1 c) void

554


How to create test case scenario?

1743


What are the current happenings that are taking place in the banking industry?

708


Classify the urban co-operative banks?

634


Why do we use KMnO4 in the test of control of obsorbance ? and why do we take specific quantity i.e 57-63mg?

2311


What is the starting point of code execution in jquery?

429


What it means by test harness?

573


Who built microsoft excel?

290


What is a namenode?

220


How do you use compareto?

541