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 10758How we can explain a bug which may arrive at the time of testing? Explain that bug in details?
ABC,
2710One boy has to climb steps. He can climb 1 or 2 steps at a time. Write a function that will returns number of way a boy can climb the steps. Int WaytoSteps(int n) (eg:- suppose number of steps is n=4 ,the function will return 5 (one-one-one-one ,one-one-two, one-two-one-,two-one-one, two-two)
3594How we can explain a bug which may arrive at the time of testing? Explain that bug in details?
1 5910In a kingdom far far away, the King decided that the time has come to find a husband for his princess daughter. The King wanted to find a worthy lad for his princess, so he promised to give his daughter away to the first young (or old) man who would solve the puzzle that has stumped the best of his court mathematicians for years. The puzzle is very simple: in a palace, there are 25 rooms arranged in a square--5 rows of rooms with 5 rooms in each row. In every room there is a light switch which not only switches on/off the light in that room, but also switches the lights in the adjacent rooms--the room to the right, to the left, the room above and the room below. Initially, all of the lights are turned off. The goal is to turn the lights on in every room of the palace.
22 33522plz explain QTP real time work( Means where you store scripts and how u access scripts next day? where those activities we are maintaining, If By usig VSS how the process in going on , plz explain briefly?
2 20288HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
2215u r running a report .it is taking a long time for execution .what steps will u do to reduce the execution time?
Bristle Cone, Cap Gemini, HP, Satyam, Wipro,
4 13278Indian standard time is measured based on the longitude at (1) 82 1/20 E (2) 82 1/20 W (3) 82 1/20 S (4) 82 1/20 N
2 10668
What is the SimpleTimeZone class?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
How to set the time zone for MySQL to particular country time?
I am fresher and i have completed my software testing course and i don't have real time experience,can anybody help me regarding financial domain projects,main testcases in that domain.
What is a time reference characteristic?
What is RCW (Run time Callable Wrappers)?
I am surekha new commer for this site? I have some doubt's pls clarify it..... I finished my B.tech and S/w Testing Course Now iam searching for a job in Testing, I did not have any experience in real time projects. Any body can send me the sample Testcases,Srs,Matrix for Banking,ERP Projects etc.Here is my email id surekhai@yahoo.com
what is the Property used to add a menus at runtime?
What is the important aspect of a real-time system?
There is very little time to test due to the development team delay how will you handle this situation?
How u r managing the time constraints in completing the project?
How will you load dynamic assembly? How will create assemblies at run time?
Would you be able to do time-recording?
Describe a time where a creative approach to meeting an objective didn?t work and what you did next?
Describe a time your company did not deliver on its product or service and how you responded?