MIC102G » Final

Update: March 22nd, 2009
There are two options.
If you are interested in general programming and want to think about how you will approach creating an application, use the first option.
If you wish instead to focus on only JavaScript, use the second.

Option 1

General Programming Project

Preparation
Imagine you are writing an application. This can be a web page, a desktop application, a video game, an Operating System, a text parsing script, whatever you want. Don't make it too complex!

The Task:
Answer the following questions about your application, what programming language or languages you will use to create it and what things you will need to plan for and consider as you develop your app. This is not intended to be a full plan or design for an application. It should just be enough to get you started on a path to building something.

  1. What does your application do?
  2. What platforms will your application run on (web, iPhone, windows desktop, linux server, etc...)?
  3. What will you need to consider before beginning to write your application?
  4. What languages will you use to write it and why?
  5. Who is your user?
  6. Will you integrate with any other software, use existing libraries or use web APIs?
  7. What data will you need (from a user or from a 3rd party like google maps)?
  8. Are there security concerns (such as user input)?
  9. How you will test your application (what is the acceptance criteria)?
  10. What are your application limits? What considerations will you have for memory, CPU and bandwidth.

Example

  1. What does your application do?
  2. I am writing a Twitter application for the iPhone.

  3. What platforms will your application run on (web, iPhone, windows desktop, linux server, etc...)?
  4. It will only run on the iPhone.

  5. What will you need to consider before beginning to write your application?
  6. Before starting to write my application, I will need to get the Apple iPhone Dev Kit and learn their toolset. Then I will need to research Twitter APIs and figure out how to call them to fetch and post information.

  7. What languages will you use to write it and why?
  8. My application will be written in Objective C because that is the primary language for writing iPhone applications. Objective C offers a robust library for me to access visual elements and API connection classes I will need.

  9. Who is your user?
  10. The user base for my application is iPhone users who want to see twitter updates from their friends and post their own updates with photos and their location.

  11. Will you integrate with any other software, use existing libraries or use web APIs?
  12. It will pull data from Twitter web APIs and use iPhone tools for interfacing with the phone itself.

  13. What data will you need (from a user or from a 3rd party like google maps)?
  14. My application will accept user input in the form of text, photos and location information provided by the iPhone and will retrieve data from the Twitter APIs online.

  15. Are there security concerns (such as user input)?
  16. Since Twitter filters input on their servers, I don't have to worry about parsing data from their APIs or filtering user input before sending it to Twitter.

  17. How you will test your application (what is the acceptance criteria)?
    I will test my application using the Apple iPhone Development kit and the iPhone simulator. Acceptance criteria will include:

    • Logging in as a Twitter user
    • Receiving a list of updates from the user's Twitter subscriptions
    • Sending an update to Twitter
  18. What are your application limits? What considerations will you have for memory, CPU and bandwidth.
  19. There will be limits on how many updates I retrieve from Twitter and how often I make these calls. This app doesn't require much CPU or memory. Bandwidth is the main concern.

Option 2

JavaScript Questions

1. What is JavaScript?

2. How do you declare a variable in JavaScript?

3. What does the 'var' keyword mean in JavaScript?

4. What is one way to declare a function in JavaScript?

5. What does it mean if a variable is null?

Due

This assignment is due by the end of the last day of class (April 15th, 2009).

You can email me your assignment or hand it to me in class.
I will not accept this assignment late.

No comments yet.
You must be logged in to post a comment.
TOP