Need some advice!!

Discussion in 'Mac Programming' started by prostuff1, Nov 11, 2005.

  1. prostuff1 macrumors 65816


    Jul 29, 2005
    Don't step into the kawoosh...
    I am a freshmen ion college and i am trying to major in Computer Engineering. Well i am supposed to take a class spring quarter called CSE 221 and i have to pass an entrance exam to get into the class... and if i dont pass the exam i will have to take a Javaand/or C++ programming class.

    What i need from you wonderful people is suggestions on how to teach myself some programing so i can pass this exam so i dont fall behind a quarter or two. I have about 10 weeks to teach myself (which should be interesting :( )

    So any help would be greatly appreciated!!

    P.S. if you want to know what is on the exam i have a sample exam i managed to get ahold of form my advisor.

  2. GeeYouEye macrumors 68000


    Dec 9, 2001
    State of Denial
  3. prostuff1 thread starter macrumors 65816


    Jul 29, 2005
    Don't step into the kawoosh...
    To be honest i dont know :eek:

    Anyway i can give you some examples of what is on the test:

    1. Suppose thast you are using a programming language that provides the following data types: integer, real, boolean, character and string. For each data value describe below, give a variable name, and its type, for holding the described data.


    a) Data: The name of the town where you were born
    Vabiable name: town of birth
    Variable type: string

    Data: The number of students enrolled in a class
    Variable name: ____________________________
    Variable type: ____________________________

    There are three types of question like that on the test.

    Next is:

    Give procedures or function headers for the following problems:

    Given: the co-ordinates (x1, y1) and (x2, y2) of two diagonal corner
    points of a rectangle
    To compute: the height and width of the rectangle
    The procedure or function header:

    PROCEDURE Height_And_Width (
    input parameters x1, y1, x2, y2 : real;
    output parameters ht, width : real

    Given: 2 integers x and y
    To compute: the sum of the 2 numbers
    The procure or function header:

    And this is what i have to find out and study for

    There are 2 types of this question

    Last is:

    Write a complete program, in a programming language of your choice, that prompts the user to enter two real numbers. The program should then output the smaller number. Program output should include appropriate user friendly headings.

    And here is were i write the program.

    Ok well that is what the test has on it from what i have been told. Unfortuantly i dont have a class i can take were i am now and main campus is about and hour and thirty mins away and i dont want to drive that far just for one class.

    If anyone can point me in the right direction i would greatly appreciate it.

  4. macmanmatty macrumors regular

    Jul 10, 2005

    and in honour of the intel switch

    if you need more coments i will post them
  5. grapes911 Moderator emeritus


    Jul 28, 2003
    Citizens Bank Park
    If you can't answer questions like this, I really encourage you to just take the class. By just learning enough to pass the test, you may fall behind even more in the long run.
  6. yellow Moderator emeritus


    Oct 21, 2003
    Portland, OR
    I couldn't agree more. Sounds like it would behoove you to actually take a class or 2 on programming. Besides, you're a Frosh.. there's no rush.
  7. prostuff1 thread starter macrumors 65816


    Jul 29, 2005
    Don't step into the kawoosh...
    Tis true!! But i still want to try to teach myself some of this so that i can have a heads up going into the class if and when i have to take it. cant hurt to learn on my own. Besides i dont have that many hours next semester and i could use the time to teach myself something.

    So my question is were to start?? What language so you genius's suggest for a noob?? Any certain books/manual/CD's/movie's/etc??

    You guys get the picture!!

    And thanks for all your help!!!! i appreciate it!!
  8. sushi Moderator emeritus


    Jul 19, 2002
    Wise words indeed.

    As with any discipline, it is best to get a good foundation first before proceeding.

    Here is a list of some currently used languages including some web based ones in no particular order:
    - Assembly
    - FORTH
    - FORTRAN IV & 77
    - Ada
    - C
    - C++
    - Object C
    - Pascal
    - Object Pascal
    - Modula
    - COBOL
    - BASIC (all kinds including Visual BASIC)
    - SmallTalk
    - Lisp
    - Perl / PHP
    - Java / Javascript
    - Python
    - APL
    - HTML
    - XML

    One of my favorites ones is Pascal.

    It all depends on what you want to do with the language. It is like a golfer who goes to his bag of clubs to pull out the one that will work the best for his current shot (situation).

    Hope this helps.

  9. rjrufo macrumors regular

    Sep 18, 2002
    I've found that O'Reilly is a great source for books on programming and other computer related stuff. You may want to start there.

  10. prostuff1 thread starter macrumors 65816


    Jul 29, 2005
    Don't step into the kawoosh...
    Thanks for the help!! After reading some of the other post it seems like a lot of people like the O'Reilly book and they are a good place to start.

Share This Page