Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS504 Software Engineering - I assignmnet no 4 fall 3 January 2012
#1
Software Engineering-1 (CS504)
Assignment # 4 (Fall 2011)
Total marks = 20
Deadline Date = 09-01-2012

Please carefully read the following instructions before attempting the assignment.

Rules for Marking
It should be clear that your assignment would not get any credit if:

 The assignment is submitted after due date.
 The submitted assignment does not open or file is corrupt.
 The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.

1) You should concern recommended books to clarify your concepts as handouts are not sufficient.
2) You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, Zip, rar, bmp, docx etc will not be accepted
3) You are advised to upload your assignment at least two days before Due date.
4) This assignment file comprises of Two (2) pages.


Important Note:

Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and try to upload Solutions at least 02 days before the deadline to avoid inconvenience later on.

For any query please contact: CS504@vu.edu.pk


Question No. 1 [Marks 10]:

You are given some literals (variable names, data type names, function names) in Column-1. Rewrite them in column-3 by following the standard C++ / JAVA coding conventions.

Note: Column-2 contains description of each literal (given in column-1) for your help.

Column-1 (Literals) Column-2 (Description) Column-3 (Re-Written after following standard JAVA coding conventions)
complexnumber “complexnumber” is a data type. Any variable of this type can be used to store a complex number.
monthlytaxrate “monthlytaxrate” is a variable used to store an employee’s monthly tax rate.
speed_of_light “speed_of_light” is a constant variable to store the speed of light.
void setstudentgrade() {
…
} “setstudentgrade()” is function in student class.
address “address” is a private member of “Employee” class


Question No. 2 [Marks 10]

"Suppose you want to develop a Graphics library, you want that the client should be able to instantiate only one instance of the library class(s) at a time"

What design pattern you think, is most appropriate for implementing such type of library? Answer your question with solid reasons.



Attached Files
.doc   Fall 2011_CS504_4.doc (Size: 44 KB / Downloads: 116)

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply
#2
complexnumber |“complexnumber” is a data type. Any variable of this type can be used to store a complex number.|


this could be written in standard c++ coding convention as:

struct complexnumber

{

int real;

int imag;

};



0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,906 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,926 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,162 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,240 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,965 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,661 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,796 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,698 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,795 01-20-2016, 06:19 PM
Last Post: Vuhelper
  CS607 Assignment No. 03 Solution 20th January 2016 Vuhelper 0 14,517 01-20-2016, 06:02 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)