Skip to content
VUBuddy

CS504 Final Term Past Paper Fall 2004

Software Engineering - I PDF 62 KBUpdated 23 Oct 2026
Final term past paper CS504 Final Term Past Paper Fall 2004 PDF 62 KB
vubuddy.com
Type
Final term past paper
Course
CS504 Software Engineering - I
Size
PDF 62 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 62 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 3, 4 of 4. Download the file for all 4 pages.

FINAL EXAMINATION · SEMESTER FALL 2004 · CS504-Software Engineering · 17 Feb, 2005

  1. 2. Do not copy and paste from handouts. If any thing found copy from handouts, no

mark would be awarded for it.

Question Total

Marks What are Design Patterns? Explain them briefly.

i- Consider the following Code Segment: (10) · Input: sequence of numbers, size, number · Variable: count=0 · Do while (end of sequence) · If (sequence[i] == prime Number) · Count = count++ · Else · Count = count to · END IF · END DO · If (count == size) · “sequence of number is a prime number sequence” · if (count is odd) · aÅ finalMax(sequence) · yÅ a X number · else · aÅ finalMin(sequence) · yÅ a X number · display y · else · “sequence of number is not a prime number sequence” · END IF · END PROGRAM

Draw the Flow Graph for the Code Segment. Find Cyclomatic Complexity of the Flow Graph.

(HINT: for the above code segment, ignore any syntax or grammatical errors.)

ii- what is Black Box and White Box Testing. Describe briefly. (5)

Following is the prototype of a function to find the index of the minimum value in an array.

int min(int array[ ], int arraySize);

(a) Identify equivalence partitions to devise black-box test cases for this function. (5 Pts)

(b) Write test cases against each partition identified in part (a). (5 Pts)

What are Boolean Bugs? Describe briefly. What are symptoms of Boolean Bugs?

What is Software Architecture? What is its importance? Describe briefly.

All CS504 files →
CS504 Software Engineering - I All CS504 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.