Collaborative programming - mock exam q

This is a discussion on Collaborative programming - mock exam q within the C Programming forums, part of the General Programming Boards category; Hi guys, I have this problem in my mock exam: Decribe howa program can be written collaborativley by several programmers ...

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    93

    Collaborative programming - mock exam q

    Hi guys,

    I have this problem in my mock exam:
    Decribe howa program can be written collaborativley by several programmers at the same time, each working on an independant part of the program source code. Your description should include details of how the program will be produced from the various independant parts and also how the programmers organise their way of working together as a team.
    There is a total of six marks for this question.

    Since i havent written a program as part of a group yet im not really sure how people attempt this. I would think that it would work well for people to write their code in header files to be included in the main program and called by functions. Is that how people normally do it?

    Programmers could use flowcharts, gantt charts to help break down the code and give each programmer a code portion.

    Are these the kind of answers that would be required or are they looking for something different?

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,172
    That would depend on the level of the course. If it's CS 101, that will probably do.

    People can write different parts separately, and provide an interface through header files. That way other people don't need to learn about the implementation details of the part to use it.

  3. #3
    Registered User
    Join Date
    Feb 2009
    Posts
    93
    Ok, thank you cyberfish.

    Im am not doing a programming course as such so im not sure of the level I should be striving for. Is using header files the only thing that can help code collaboratively?

  4. #4
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,172
    Certainly not. For bigger parts people can work together on the same file using version control systems like SVN (that can merge differences in versions checked in by different people at the same time). And then there could be people working on documentations, testing, etc. There are probably other ways, too, but I have no industry experience, so I will leave it to other people to answer.

  5. #5
    Registered User
    Join Date
    Feb 2009
    Posts
    93
    Ok, well that is a help. I guess SVN is sort of like the google docs where people from across the globe can work on the same file.

  6. #6
    Registered User
    Join Date
    Apr 2009
    Posts
    5
    from "Software Engineering Class" what concerns "programmers":
    to reduce complexity, a project/program is decomposed in smaller parts i.e sub-systems( divide and conquer way of thinking ). A subsystem typically groups together elements of the system that share some common properties( example: Interface/Presentation, System Logic/ Functionality, Network/Storage/Database). Each subsystem has a clearly defined interface( data and functions it shares) for the other subsystems.

    The best part is that subsystem can be designed and implemented independently of other subsystems. So you can have many programmers working on the project at the same time, building the subsystems. Each subsystem is tested independently (by using stubs and mock functions to simulate data they use/pass from/to other interfaces), then its is integrated(combined with other subsystems) to form the program/system as a whole.

    do i get 6 marks :P
    Last edited by BujarM; 04-19-2009 at 04:32 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointer Mock Exam Question
    By spadez in forum C Programming
    Replies: 16
    Last Post: 05-10-2009, 12:09 PM
  2. Need help with mock exam question
    By spadez in forum C Programming
    Replies: 9
    Last Post: 04-11-2009, 07:48 PM
  3. new problem with class
    By jrb47 in forum C++ Programming
    Replies: 0
    Last Post: 12-01-2006, 07:39 AM
  4. What do you think of my exam?
    By axon in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 12-03-2004, 07:30 PM
  5. Computer Science Exam Tomorrow!!!
    By cozman in forum C++ Programming
    Replies: 14
    Last Post: 05-23-2002, 08:23 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21