sneha


{ City } hyderabad
< Country > india
* Profession * qa trainee
User No # 1208
Total Questions Posted # 0
Total Answers Posted # 58

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 6103
Users Marked my Answers as Wrong # 971
Answers / { sneha }

Question { Mascot, 9732 }

What is meant by QUEUE?


Answer

A queue(data structure) is a collection of items in which
only the earliest added item may be accessed.

Also known as "first-in, first-out" or FIFO

Is This Answer Correct ?    15 Yes 2 No

Question { Mascot, 13887 }

What is meant by STACK?


Answer

A stack is a collection of items in which only the most
recently added item may be removed. The latest added item
is at the top. Basic operations are push and pop. Often top
and isEmpty are available, too. Also known as "last-in,
first-out" or LIFO.

Is This Answer Correct ?    43 Yes 1 No


Question { Mascot, 5963 }

Binary tree?


Answer

Binary tree is a tree with at most two children for each
node.Also known as dyadic tree.
most formal defination is that
A binary tree either

.is empty (no nodes), or
.has a root node, a left binary tree, and a right binary
tree
These r the various types where we use the actual binary
tree
complete binary tree, full binary tree, binary search tree,
binary heap, balanced binary tree, threaded tree, Fibonacci
tree, extended binary tree

Is This Answer Correct ?    6 Yes 1 No

Question { Mascot, 17134 }

what is FAT?.


Answer

The FAT File system is used by DOS and is supported by all
the other operating systems. It is simple, reliable, and
uses little storage

Is This Answer Correct ?    43 Yes 6 No

Question { Ericsson, 36504 }

Difference between Class and Struct.


Answer

The only difference between a struct and a class is in the
default access. By default, all the members of a struct are
public whereas in a class, al the members are private. The
same is true for the default inheritance type: a struct
entails public inheritance by default whereas a class
entails private inheritance.

Is This Answer Correct ?    98 Yes 23 No

Question { Motorola, 51595 }

What is deadlock? How do you avoid it?


Answer

A set of processes is deadlocked if each process in the set
is waiting for an event that only another process in the
set can cause (including itself).
To avoid these r the stratagies to be followed


Attacking Mutex condition
Attacking preemption
Attacking hold and wait condition
Attacking circular wait

Is This Answer Correct ?    66 Yes 12 No

Question { TCS, 47780 }

What is a semaphore?


Answer

Semaphores r software, blocking, OS assistance solution to
the mutual exclusion problem .It is
basically a non-negative integer variable that saves the
number of wakeup signals sent so they are not lost if the
process is not sleeping

another interpretation is that the semaphore value
represents the number of resources available

Is This Answer Correct ?    101 Yes 34 No

Question { Motorola, 11407 }

What is the difference between widget & gadget in Windows?


Answer

A user interface object built upon the Xt Intrinsics (the X
Toolkit). Similar to a widget, a gadget lacks certain data
structures (such as a window) contained in a widget. The gadget
maintains this data on the client side, rather than on the
server, as does a widget. Although seldom used with today's
server performance levels, gadgets remain supported by BX.

Is This Answer Correct ?    9 Yes 12 No

Question { Motorola, 18051 }

Tell about strtok & strstr functions


Answer


include

char *strstr (char * s1 , const char * s2 );

In the above case
The strstr function locates the first occurrence in the
string pointed to by s1 of the sequence of characters
(excluding the terminating null character) in the string
pointed to by s2.

The strstr function returns a pointer to the located
string, or a null pointer if the string is not found. If s2
points to a string with zero length, the function returns
s1.
The strtok function
See the below case
#include

char *strtok (char * s1 , const char * s2 );


A sequence of calls to the strtok function breaks the
string pointed to by s1 into a sequence of tokens, each of
which is delimited by a character from the string pointed
to by s2. The first call in the sequence has s1 as its
first argument, and is followed by calls with a null
pointer as their first argument. The separator string
pointed to by s2 may be different from call to call.


The strtok function returns a pointer to the first
character of a token, or a null pointer if there is no token

Is This Answer Correct ?    12 Yes 0 No

Question { Patni, 19953 }

a student is ranked 13th from right and 8th from left.how
many are there?


Answer

twenty members

Is This Answer Correct ?    53 Yes 3 No

Question { Patni, 10355 }

man walks east & from turns to right & from to left &then
45degrees to right.in which direction he went


Answer



man ---------|
|
|
|________
45(/
/
/ walking 2wards south east &reaches
south.

Is This Answer Correct ?    7 Yes 0 No

Question { JVS, 5677 }

what is mutation testing ? when we are using this type of
testing?


Answer

mutations r introduced into a program to test the adequacy
of the test data.A mutation is a SMALL CHANGE made to the
program.The effects of that data should be made up in some
tests.If it doesnot ,the test set is probably inadeqate.
and this type of testing is called mutation
testing...also called as bebugging

The person who is changing the code by adding mutations
should see how the code works.

Is This Answer Correct ?    2 Yes 0 No

Question { JVS, 25856 }

what is exact difference between UI Testing and usability
testing?


Answer

In general testing team's test execution process starts
with usability testing.During this the testing team
concentrate on userfriendliness of application build.This
usability testing is classified tnto two sub tests.
1.user interface (ui)testing
2.manual support testing.
ui testing is used to validate every screen in terms of
ease of use(understandability of screen),look and feel
(attractiveness o0f screen) and speed in interface(less
no.of events to complete a task ie.,short navigation)

Is This Answer Correct ?    10 Yes 8 No

Prev    1   2   3    [4]