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
what is the difference between direct tax and indirect tax
Which one of the following Bills must be passed by each House of the Indian Parliament separately,by special majority ?
2 Answers UPHJS Uttar Pradesh Higher Judicial Service,
Are babies born with a moral code or is it learned?
How to calculate the BasicSalary as per labour laws
Please refer me the provisions of section 37 of Partnership act,1932
WHAT ARE THE NAME OF PEOPLE ASSOCIATED WITH NARMADA DAM?
During college days i loved a person & got registered marriage ,but stayed together and nobody comes to know about that and knowing some bad personalities i divorced him throug court, i got the divorce also within 1 year.So is it possible for me to marry another person without informing this matter,as nobody knows about my marriage..please help me.
how many Type of excise audit please give me details
please tell me what is the procedure of admission in LLB from any indian university.
Hi to all, i worked in TCS ( Bpo ) for 6 months & i left TCS because of my health issues and one main reason was my senior was not good, i always found myself tortured, no doubt that envoirnment of TCS is really very good, and obviously there are lots of benefits for their employees, even i spoke to my process head, my process manager, even with the process HR , i discussed on the problem i am facing and requested them to move me into other process but there is one policy is till the time i will not complete 18 months in the same process they are unable to move me into other process, and i left TCS within 6 months , i informed my seniors , HR that i am not well wont be able to continue and i need some rest, and it was BPO , i was really very disturbed putting headphones whole day , it was quite frustrating , after 1 month i had started receiving letters from tcs that i am absent from my duties and i haven't informed anyone, then i again spoke to my HR and my senior that i am no well and also shared medical certificate , but that time my HR was on 15-20 days leave, and he couldn't check my mail. after some time i have started receiving reminders that i have to report within 24 hours else they will take strict action against me, i was really very depressed because one side i was not able to continue in same process and i was getting mails on mails that i have to report and i need to continue, i was not willing to TCS, my HR was on leave, i was not aware whether he is in office or not, when i received final letter then the very same day i contacted my collegue and he told me that HR is on leave, then i forwarded the same mail with my medical to Head office ( Mumbai ), where from i was getting mails, and i got contact no of 1 HR then she said today you are responding because today u got final letter , and before that there was no information about you. then i got absconded, & i received too much letters that i am absconded and i have to pay 20k, now i am willing to join TCS , not in same process , and i am also working as a HR ,in a small firm, now pls help me and suggest me that can i join TCS again if i will clear that outstanding or is there any chance to join tcs,
how much do police get paid a year
Which article contains fundamental duties ?
Law AllOther (806)