1.What is stub in software testing ?
A dummy sub program
A test case,which fails regularly
A defect log report
A defect ,which is not closed
2. What does 100% code coverage mean while testing
software ?
Basic flow of software is tested
All critical test cases are tested
Each line of code is executed at least once while testing .
No while and If loops are tested
3. What does GPF in Windows95 stands for ?
Great Performance Format
General Performance Error
General Protection Fault
Group Performance Frequency
4. Which of the following best fits for testing boundary
values ?
Age test box accepts age between 10-20 (both inclusive)
Name text box can have any value
Date text box should have data in dd/mm/yyyy format
Employee Grade text box can have one of the following
values L1,M1,E1
5. string somestring;
Which of the following choices will convert a standard C++
string object “somestring” to a C string
somestring.c_str()
&somestring[1]
Copy.somestring()
Std::cstring(something)
6. Which of the following best suites load scenario ?
100 users chatting in a chat application
Testing for compulsory fields in a employee details form
Checking for date format in date of birth field
7. What is the function of the modulus operator in most
languages ?
Sets a system environmental value to either base 10 ,base 8
or base 16
Returns the remainder after dividing one number by another
Returns the first argument raised to the second argument
power
Prints out the actual code written to standard output
rather than executing the code
8. class professor{}
class teacher: public virtual professor{};
class researcher: public virtual professor {}
class myprofessor :public teacher,public researcher {};
Referring to the sample code above ,if an object of
class “myprofessor” were created ,how many instances of
professor will it contain?
0
1
2
3
9. What function will read a specified number of elements
from a file ?
fread()
readfile()
fileread()
gets()
10. What is the largest value an integer can hold in a
Standard C compiler ?
32767
65536
2147483647
INT_MAX
11. With every use of memory allocation function should be
used to release allocated memory which is no longer needed ?
dropmem()
dealloc()
release()
free()
12. Modern RDBMS’s perfom the following the following
functionc except ______________.
Force column values in one table to match any of the values
in a column of another table
Automatically replicate data on another server
Automatically create new indexes based on query history
Prevent unauthorized users from accessing data at the firls
level
13. Which is not the characteristics of a view ?
Consumes Disk space for data
Multiple tables
Multiple rows
Updateable
14. RDBMS triggers are typically bound to a
_____________and one or more _____________
Table,SQL statement types
SQL statement type,user
Column,rows
User, tables
15. What relationship is resolved by an “intersecting”
or “associative” entity ?
Recursive
Mandatory one to one
Many to Many
One to One
16. Select a,b,c,d from vtable where b>2 and c<4 Assuming
you will execute the above query often ,changing only the
values in the where clause ,what could you do to improve
efficiency ?
Create a database stored procedure with parameters to
execute this statement
Create an index on columns a&b
Create a temporary table that contains the data and use
triggers to maintain it
Create a trigger that executes this statement and execute
the trigger
17. Make a copy of file “upper” in the directory two levels
up .
jump –2 upper
cp upper ../..
cp upper –2/
None of the above
18. Change the current directory to /usr/local/bin
mv /usr/local/bin
cd /usr/local/bin
setdir /usr/local/bin
my/usr/local/bin
19. How do you change the access permission (add group
read/write) to all the files in the current directory
containing the word “ cali ” in their names ?
chmod g+rw * cali *
setperm r+w * cali *
chmod 0660 * cali *
Both A and C
No Answer is Posted For this Question
Be the First to Post Answer
how many different types of guaranteed exist under indian law?
What is Dividend Balancing?
hi i have a problem plz help me. my husband went to USA 4 years back, now he is rejecting now a days he is not calling me, my parents r in deep depression,am not getting what action i have to take, now i want to teach a lesion to him, when he is going to USA he take fake bank statements and fake experience letters, i have all the documents with me, as a indian wife i support in all the directions when he is going to USA, still now am waiting for him plz give me some phone numbers and email id's to give complaint
The smallest number which is divided by 9, 12 and 16, each time 5 remains. The number is
If your neighbour fixed your collapsing roof while you were away on holiday, should you pay him for this?
Runbeer penal code applies for.
Suppose, an organisation has purchased goods for Rs.50000 (including CST-Rs.1000). But I have paid Rs. 48000 only after deducting Rs.2000 towards Late Delivery, as agreed before. Now, my question is 'am i right to issue 'C' Form for Rs.48000 (i.e.50000-2000) ? Please guide me.
Fill in the blank Partnership act----------
Company incorporated on 23-09-2010, So what is the amount required to pay under Professional Tax for the company for the year 2010-11, When yearly payment is Rs 2500 p.a
WHO IS THE MOST BEUTIFUL MAN IN THIS WORLD
In the Companies Act, 1956 there is no ward as ‘Wholly Owned Subsidiary’ (WOS), WOS means a company of which entire equity share capital is held by other Company. For example A company holds entire equity shares of B Company in this case B Company is WOS of A Company. Question: Now the Question is X company has paid up equity share capital of Rs.50000 (5000 shares each of Rs.10).Out of which Y company holds 4990 shares in its own name and remaining 10 shares Y Company holds in its name in 10 different folios (one share in each folio) along with 10 different individuals in the style first name is of Y limited and second (joint name) of individuals like A,B , C…… to J.In such case will X limited be deemed to be a WOS of Y Company ? If yes then how? After this question one more question will come up related to this question
WHICH INCOME TO SHOWN UNDER THE HUF HEAD FOR INCOME TAX PURPOSE AND HOW TO CREATE HUF