CS504 Finalterm Current Paper 2013 File 10 Shared by Komal

No Comments

main element which must be part of any test case? (3)
classify the following UML diagram types as ststic or dynamic diagram:
1.class diagram
2.sequence diagram
3.interaction diagram
4.use case...
5.deployment..
6.collaboration..
(3)
while developing a program, which stat can creat side effact? (3)
quantative benifits of unit testing? (3)

draw a use case diagram for the seenirio below:
in order to genrate an invoice a clrek must login. if a clerk is a first time user one must have register himself. there should be an option for a user to register oneself within the login page. any user can use the system to view product online. (5)

the code given below contain a bug. identify the class and also axplain the reson for the bug:
char s1 [] = "this is a sentence';
char*s2;
s2 = (char*)malloc ( strlen (s1)+1);
strcpy (s2,s1);
cout"s2:"/p>

Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment