This assignment will give you practice with input files, arrays, and producing an external output file.

computer science

Description

This assignment will give you practice with input files, arrays, and producing an external output file. Turn in a file named Personality.java. You will also need the two input files personality.txt and bigdata.txt from the course web site. Save these files in the same folder as your program. You are going to write a program that processes an input file of data for a personality test known as the Keirsey Temperament Sorter. (You can find out more about the Keirsey Temperament Sorter at http://www.keirsey.com.) The Keirsey personality test involves answering 70 questions each of which have two answers. The Keirsey test measures four independent dimensions of personality: Extrovert versus Introvert (E vs I): what energizes you Sensation versus iNtuition (S vs N): what you focus on Thinking versus Feeling (T vs F): how you interpret what you focus on Judging versus Perceiving (J vs P): how you approach life Individuals are categorized as being on one side or the other of each of these dimensions. The corresponding letters are put together to form a personality type. For example, if you are an extravert, intuitive, thinking, perceiving person then you are referred to as an ENTP. Usually the letter used is the first letter of the corresponding word, but notice that because the letter “I” is used for “Introvert”, the letter “N” is used for “iNtuition.” If you are interested in taking the personality test yourself, you will find a link from the class webpage to an online form with the 70 questions. We will release a data file called bigdata.txt that includes data from students in the class.


Related Questions in computer science category