ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 


 

Company >> CTS >> CTS Questions
 
 CTS placement papers  CTS Placement Papers (22)  TCS technical test questions  TCS Technical Test Questions (27)  Cadence aptitude test questions  Cadence Aptitute Test Questions (67)  ADITI interview questions  ADITI Interview Questions (354)
 
Back to Questions Page
Question   What are Binay tress and B trees? Diff between them? Rank Answer Posted By  
 Interview Question Submitted By :: Priyas
I also faced this Question!!   © ALL Interview .com
Answer
both binary tree and b tree are same
 
0 Sagar Kumar
 
 
Question   Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B"; Rank Answer Posted By  
 Interview Question Submitted By :: Priyas
I also faced this Question!!   © ALL Interview .com
Answer
void swap(char *s, char *p)
{
  if(0 == s || 0 == p)
    return;
  *s += *p;
  *p = *s - *p;
  *s = *s - *p;
}

int main()
{
  /* Use chars and not strings!! */
  char ac = 'A';
  char bc = 'B';
  char *a = ∾
  char *b = &bc;
  swap(a,b);
}
 
0 Lior
 
 
Question   What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same Rank Answer Posted By  
 Interview Question Submitted By :: Priyas
I also faced this Question!!   © ALL Interview .com
Answer
A pure virtual function makes a class abstract.0 is used in 
its representation to distinguish it from a normal virtual 
function. More at

http://www.cppquestions.com/viewtopic.php?f=26&t=14
 
0 Vikas
 
 
 
Answer
A virtual function with a null body is said to be pure 
virtual function.
The pure virtual function can be defined later in its 
derived class.......
 
0 Viji
 
 
Answer
I believe pure virtual function is a member function with a 
declaration as NULL;
virtual void fun()=0;
Now why zero,since the internal implementation of virtual 
function is collection of function pointer ...we intialize 
this value of function pointers as NULL.
 
0 Helloworld
 
 
Question   What is a mutex and a critical section.Whats difference between them?How do each of them work? Rank Answer Posted By  
 Interview Question Submitted By :: Priyas
I also faced this Question!!   © ALL Interview .com
Answer
Both of them are synchronization objects.
Critical sections are used for intraprocess synchronization 
while mutexes are required for interprocess 
synchronization. The latter is much heavier in terms of 
resources consumed.

Vikas
http://www.cppquestions.com
 
0 Vikas
 
 
Question   What's the difference between Load and Stress testing ? Rank Answer Posted By  
 Interview Question Submitted By :: Phanich
I also faced this Question!!   © ALL Interview .com
Answer
Load testing
Testing the application with maximum number of users and 
input.
Stress testing
Testing the application with more than the maximum number 
of users and input.
 
0 Asan Mohamed
 
 
Answer
Load testing is the process of creating demand on a system
or application to measuring its response.

Stress testing is process used to determine the stability of
a given system or application.Like testing beyond normal
operational capacity, often to a breaking point, in order to
observe the results.
 
0 Kavita
[Tcs]
 
 
Answer
Load Testing:
Testing with maximun no. of users and systems

Stress Testing:
the application with more than the maximum number 
of users and input.
 
0 Vijay Anand
[Tcs]
 
 
Answer
One of the most common, but unfortunate misuse of 
terminology is treating "load testing" and "stress testing" 
as synonymous. The consequence of this ignorant semantic 
abuse is usually that the system is neither properly "load 
tested" nor subjected to a meaningful stress test.

1. Stress testing is subjecting a system to an unreasonable 
load while denying it the resources (e.g., RAM, disc, mips, 
interrupts, etc.) needed to process that load. The idea is 
to stress a system to the breaking point in order to find 
bugs that will make that break potentially harmful. The 
system is not expected to process the overload without 
adequate resources, but to behave (e.g., fail) in a decent 
manner (e.g., not corrupting or losing data). Bugs and 
failure modes discovered under stress testing may or may 
not be repaired depending on the application, the failure 
mode, consequences, etc. The load (incoming transaction 
stream) in stress testing is often deliberately distorted 
so as to force the system into resource depletion.

2. Load testing is subjecting a system to a statistically 
representative (usually) load. The two main reasons for 
using such loads is in support of software reliability 
testing and in performance testing. The term "load testing" 
by itself is too vague and imprecise to warrant use. For 
example, do you mean representative 
load," "overload," "high load," etc. In performance 
testing, load is varied from a minimum (zero) to the 
maximum level the system can sustain without running out of 
resources or having, transactions suffer (application-
specific) excessive delay.

3. A third use of the term is as a test whose objective is 
to determine the maximum sustainable load the system can 
handle. In this usage, "load testing" is merely testing at 
the highest transaction arrival rate in performance testing
 
0 Sailaja
[Tcs]
 
 
Question   Dear Friends In general how many days a JUDGMENT from Supreme Court (After completing hearings)can be expected...? Is there any specifications or it purely depends on Hon’ble Judges. Hope, a technical answer from any one of our friends with LAW knowledge. Rank Answer Posted By  
 Interview Question Submitted By :: Chm
I also faced this Question!!   © ALL Interview .com
Answer
I think, there is no person with LAW knowledge with internet
surfing hobby and being an aspirant of Group-1.  So till now
no answer.
 
0 Chm
 
 
Question   What is the difference between null pointer and void pointer Rank Answer Posted By  
 Interview Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Null pointers returns null value and void pointer returns no
value
 
0 Gokul Saravanan
 
 
Answer
NULL POINTER :
the pointer which dosent point to any memory location is 
called NULL POINTER.

VOID POINTER :
the pointer is a one which can only point to a particular 
memory location of it's own type.... but when the pointer 
is given void it can be mde to point any location of 
different type
 
0 Vignesh1988i
 
 
Question   Dear Friends I'm one among the Group1(mains) candidates, waiting for the results. Y'day(16th Oct-08) in ETV2 Pratidwani, the discussion on 'APPSC GROUP-1' suspected that the main exam may be cancelled and it was mentioned in the program, that Supreme court judgment may support the High court decision. Is it possible to cancel the exam at this stage? after making this much of efforts??? Rank Answer Posted By  
 Interview Question Submitted By :: Chm
I also faced this Question!!   © ALL Interview .com
Answer
I don't think so....
As supreme court itself given permission to conduct mains
exams.  And now again cancelling. It's a contradictory.

And as per APPSC statistics in each category(OC,BC-A B C
D,SC) there are sufficient candidates qualified(50%). Only
PH,Women,ST are lagging. But the candidates in all these
categories are sufficient enough to have a required mark for
the interview(1:2), so i hope the best, a positive result.


"Use The Shared Information......
 Share The Useful Information......."
 
0 ---babu.
 
 
Answer
If judgment comes against APPSC, then Govt., may took an
initiative to increase posts and allow more candidates for a
fresh MAINS exams, like 2004 Group1 issue.

Any how the judgment may come in this month itself.
 
0 Cheni
 
 
Answer
Yes, there is a possibility for the cancellation of Mains 
only. since the Supreme court verdict earlier was only 
reply to the petition to stop the exam due to alleged 
irregularities in the Mains selection not on the whole 
reservation issue.

 but this possibility is remote since by cancellation they 
will put 9800 selected mains candidates in disadvantage. as 
one of the member has suggested they may issue a increase 
in seats in the next notification. since the present case 
is voilation of fundamental rights, the judgement can go 
anyway.
 
0 Chaks
 
 
Question   What is the OPEN and CLOSE accesspath? Rank Answer Posted By  
 Interview Question Submitted By :: Sony
I also faced this Question!!   © ALL Interview .com
Answer
As far as i know ,there are two types of access paths  
Arrival Sequence and Keyed sequence access paths.

OPEN and CLOSE are two opcodes used in file handling.

Please correct me if i am wrong.
 
0 Swetha P Rao
 
 
Question   write bug name and discrition for following scenario: 1*1=1,2*2=5,3*3=9,4*4=17 using mscalculator ? Rank Answer Posted By  
 Interview Question Submitted By :: Sobha
I also faced this Question!!   © ALL Interview .com
Answer
Defect Title: Incorrect square value calculation for Even 
numbers

(Defect Name (or title) can be given any meaningful one. 
This must be as short as possible and it must describe the 
defect in a small and simple sentence)

Defect Description:
Defect: 1*1=1, 2*2=5,3*3=9,4*4=17
If we look at this scenario data:
 1*1=1 Correct
 2*2=5 Wrong 
 3*3=9 Correct
 4*4=17 Wrong 
An abstract nature of the bug is square of even number is 
giving correct result and Square of odd number is giving 
erogenous result. Further if we closely look in the results 
square of even number is exactly equal to: Square value of 
even number+1

Byee friends
Rajendra 
rajendra_penumalli@yahoo.com
 
0 Rajendra
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com