+971 55 359 3828 vuassassins@gmail.com
Spread the love

CS504 – Software Engineering – I

In CS504 Software Engineering – I we have you covered with Digitized Past Papers From Fall of Mid Term and Final Term.

NOTE: Tab/Click on Preparation Tab to take the MCQ’s Tests.

cs504 all current solved papers                                          View     Download
CS504Allcurrent2011magasubjectivepartsolved                View     Download
CS504Allcurrentmagasubjectivepartsolved                        View     Download
CS504_FINALSOLVEDMCQSYMOAAZ                            View     Download
CS504_FINALSUBJECTIVESOLVEDMOAAZ                   View     Download

CS504– Practice Quiz 1

CS504– Practice Quiz 2

1 Comment


    Question No: 27 ( Marks: 2 )
    What is Software Testing?
    Answer:- (Page 192)
    To understand the concept of software testing correctly, we need to understand a few related concepts.
    Question No: 28 ( Marks: 2 )
    Write unit testing qualitative benefits.
    Answer:- (Page 207)
    Assessment-oriented: Writing the unit test forces us to deal with design issues – cohesion, coupling.
    Confidence-building: We know what works at an early stage. Also easier to change when it’s easy to retest.
    Question No: 29 ( Marks: 2 )
    Where Term Compute can be used in Methods?
    Answer:- (Page 152)
    The term compute can be used in methods where something is computed.
    valueSet.computeAverage(); matrix.computeInverse()
    Question No: 30 ( Marks: 2 )
    Which of the following is a/are non-functional requirement of an e-learning system?
    (a) User friendliness
    (b) Time taken to download study materials through the system should not be too long.
    (c) On-line assignment submission facility
    (d) On-line chatting facility
    (e) Robustness
    (a) User friendliness
    Question No: 31 ( Marks: 3 )
    Write unit testing principles.
    Answer:-(Page 207)
     In unit testing, developers test their own code units (modules, classes, etc.) during implementation.
     Normal and boundary inputs against expected results are tested.
     Thus unit testing is a great way to test an API.
    Question No: 32 ( Marks: 3 )
    The use of do…. while loops should be avoided. Explain why ?
    Answer:-(Page 159)
    The use of do…. While loops should be avoided. There are two reasons for this. First is that the construct is
    superfluous; Any statement that can be written as a do…. while loop can equally well be written as a while loop
    or a for loop. Complexity is reduced by minimizing the number of constructs being used. The other reason is of
    readability. A loop with the conditional part at the end is more difficult to read than one with the conditional at
    the top.
    Question No: 33 ( Marks: 3 )
    Give 3 Equivalence partitioning guidelines
    Answer:-(Page 199)
     Organize your equivalence classes. Write them in some order, use some template, sequence, or group
    them based on their similarities or distinctions. These partitions can be hierarchical or organized in any
    other manner.
     Boundary conditions: determine boundary conditions. For example, adding in an empty linked list,
    adding after the last element, adding before the first element, etc.
     You should not forget invalid inputs that a user can give to a system. For example, widgets on a GUI,
    numeric instead of alphabets, etc.
    Question No: 34 ( Marks: 5 )
    Discus the symptoms and an exam
    int nState = 10;
    int ZeroArray (int *pArray)
    for (inti=0;i<100;++i)
    pArray[i] = 0;
    Question No: 35 ( Marks: 5 )
    Write at leas 5 General Naming conventions for C++ or Java
    Answer:-(Page 150)
    1. Names representing types must be nouns and written in mixed case starting with upper case.
    Line, FilePrefix
    2. Variable names must be in mixed case starting with lower case.
    line, filePrefix
    3. Names representing constants must be all uppercase using underscore to separate words.
    4. Names representing methods and functions should be verbs and written in mixed case starting with lower
    getName(), computeTotalWidth()
    5. Names representing template types in C++ should be a single uppercase letter.
    Question No: 36 ( Marks: 5 )
    Explain at least 2 code structures.
    Answer:-(Page 201)
    In Case statement, control can take either of several branches (as opposed to only two in If statement.) First
    node represents the switch statement (C/C++) and nodes in middle correspond to all different cases. Program
    can take one branch and result into the same instruction.
    A while loop structure consists of a loop guard instruction through which the iteration in the loop is controlled.
    The control keeps iterating in the loop as long as the loop guard condition is true. It branches to the last
    instruction when it becomes false.