10
Q:

main()

{

float me = 1.1;

double you = 1.1;

if(me==you)

printf("yes");

else

printf("No");

}

A) Yes B) No
C) Both D) Compilation error

Answer:   B) No



Explanation:

For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.

Q:

What are the common problems with software automation?

Answer

The biggest concern is the cost incurred for test automation. Also, often s/w test automation requires skilled personnel and authentic test automation tools. Purchasing license of such tools is a costly affair.


Also the time required for test automation is more. Automation often requires recording the sequence of operations you need to perform in order to execute a particular test case and comparing the final o/p with the expected o/p. Functions/macros need also be written sometimes for some test cases. All this could be a time consuming job. 

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

3 3747
Q:

The SQL statements that take care of security and authorization are

A) DDL B) DML
C) DCL D) None
 
Answer & Explanation Answer: C) DCL

Explanation:

Data Control Language takes caare of security and authorization

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

0 2539
Q:

Of the following tree structure, which is, efficient considering space and time complexities?

A) Incomplete Binary Tree B) Complete Binary Tree
C) Full Binary Tree D) None
 
Answer & Explanation Answer: B) Complete Binary Tree

Explanation:

Full binary tree loses its nature when operations of insertions and deletions are done. For incomplete binary trees, extra storage is required and overhead of NULL node checking takes place. So complete binary tree is the better one since the property of complete binary tree is maintained even after operations like additions and deletions are done on it.

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

6 7407
Q:

What is the type of the algorithm used in solving the 8 Queens problem ?

A) Dynamic Programming B) BackTracking
C) Branch and Bound D) None
 
Answer & Explanation Answer: B) BackTracking

Explanation:

BackTracking is used for solving N-Queens problem

Report Error

View Answer Report Error Discuss

Filed Under: Software Testing

1 5679