3 questions

3 questions 150 150 Affordable Capstone Projects Written from Scratch
  1. Earlier in the class, we considered the various numeric types available in VB.  We even talked about the bounds for these numeric types.  Please identify each of the numeric types in VB and their numeric bounds (e.g., from 2 to 63).  Order those types from smallest to largest by their upper bound.  Once you have done that, find an example of something in the world that fits between the upper bound of its predecessor and its own upper bound.

For example:  if you have a class that goes from 1 to 5 and another that goes from 1 to 20, you could say that there are 16teams in the American Football Conference in the NFL (16 is between 5 and 20).

Your answer should include each of the types, their bounds, AND an example. 




  1. You have gone to work for Apple circa 2007 and they have asked you to create a simple application for a cell phone that will allow a user to search their contacts list by typing.


The user starts typing a name.  If what they have typed begins a string or is a substring of some other string in the contact list, it will pull up those entries.  After each new character is typed or deleted, the list is changed that is available to see.  Once the user selects a contact, the process ends.


Construct a simple flow chart that will model that process.  Make sure that each waypoint along the way is included here.  If the program is making a decision or the user is reacting, include it.

Attach a photo.




  1. Let’s revisit part of Assignment 1.  You constructed a pseudocode that would allow for the advancement of dates.  In this case, we are going to work with that to write a function.


Write a function called maxDate that takes in two arguments (I won’t tell you what they are, but the notes below should cue you in as to what they would be).  That function should return an integer that declares the maximum number of days that month can have as an integer.  Think about what would be the easiest thing for this type of function to receive from another part of the program.




  1. 1.  Different months have different numbers of available days


  1.  Certain months in certain years have a different number of available days.  Those years are predictable.  If it is divisible by 4, it is a leap year with a somewhat tricky exception:  if it is divisible by 100 and not by 400, it is not a leap year.  So, 2000 is a leap year, but 1900 is not.


Submit the code of your function here by copying and pasting.