Posted on February - 26 - 2010

A test to remember : for developers

A test to remember : for developers…

This test has two parts: language/platform-indepent and platform/lang dependent. Answer as much as possible. Nothing is mandatory.

language/platform-indepent: Try hard, show off how much can you think. Write down your ideas. you will get all you deserve.

Design your own architectures and solutions. Don’t search google, don’t open up books. Send your answers in your own format if you find it hard to explain your thoughts in known notations. If you cannot explain in english, explain in bangla.

1. Build a Facebook architecture. Define the components, and explain how they would interact with each other. No internal details needed for each component.

2. Build a twitter architecture. Same as facebook.

3. Functional and class design of a chess game for multiplayers. Write the classes, and function names only, and explain what functions would do what. No code at all. You will need to explain your design pattern, criticise it and give alternative solutions.

4. Build a internet architecture. Just think there is no internet at all. All you have some communication theories. Now plan a interent architecture.

5. I am giving you three classes, namely, RunGame(), NewGame(), UI()

- RunGame has a game object reference created and returned by NewGame().

- RunGame runs the game, loops, generate game graphics, inputs, outputs everything

- UI() is the userinterface that you see as the game menu. I give you three options : New Game, Resume Game, Exit.

- Now UI itself may output the UI, check input from user depending on you.

- Now connect these three classes so that a complete game can be made using them. You must explain why you

connected in the way you did it. What are the inflexibilities and flexibilities of your connection?

6. Can you think how important is naming convention in SW? Write why it is so important, what might happen without  it. Don’t look at your books.

platform/lang dependent:

1. A twitter application. Read the twitter API first. It’s really very simple. Here are the details of our twitter game:

- Name: BeUnique

- description: Players gives a number between 1.00 and 9.00 (included). Our game selects a winnner for lowest

unique number. precision is 2-digit

- input: players registers with their twitter id (not twitter pass)

- they tweets anything. but for the game input they tweets in the following format:

BeUnique:1.34

- your job is filter the tweets periodically and take input for an id

- Insert the necessary data into a database in mySql,

- write scripts in PHP

- users may do little mistakes in giving the number in the stated format. But your program should not ignore them.

Adjust the wrong input into a right one.

Mail the answers to : icodebd@gmail.com with your personal info, contacts

Regards,

Muktadir

Icode, Bangladesh

www.icodebd.com