cse 142 personality test chegg
(Therefore, your program should have a total of at least four (4) non-trivial methods. For example, consider the first person in the sample input file personality.txt, named Betty Boop. those Betty Boop: [90, 15, 10, 10) - ISTJ that have a response of "-") are considered Snoopy: [30, 45, 30, 70) - ESTP as neither A nor B responses and should Bugs Bunny: (20, 45, 15, 55] - ESTP not be included at all in the percentage Daffy Duck: (100, 6, 20, 6] - ISTJ calculation. Based on this percentage, we assign the person to one side or the other of Page 2 of 6
145 0819817 . the dimension. 0817555. Specifically, you must use arrays to store the following data: the A/B response counts for each dimension • the percentage of B responses for each dimension You must also use array traversals (via for loops) to process the data and arrays and transform it from one form to another. Qiu, Lin, Ramsay, and Yang (2012) measured the “Big Five” personality traits of openness, conscientiousness, extraversion, agreeableness, and neuroticism among 142 Twitter users. As stated above, each response will be either "A" or "a" (for the "left-hand" response), "B" or "b" (for the "right-hand" response), or "-" (if the person skipped that question). Try our expert-verified textbook solutions with step-by-step explanations. You will also need the input file personality… Each question related to one of the four dimensions (see below), and each answer corresponds to one Page 1 of 6
You can click on any of the table headers (for example, Average Earnings) to … Cse 142 programming assignment 6mad libs 20 points. CSC 143 Course Notes. This preview shows page 1 - 2 out of 3 pages. If 6 of their Han Solo: [80, 50, 45, 25] - IXTJ Princess Leia: [80, 50, 50, 5] - IXXJ responses were B, their percentage of B responses would be 6/9 67%, not 60%. See the sample input and output files for more examples. *; Hints The following suggestions and hints may help you be more successful on this assessment: . We expect you to pattern the course after the UW version, but you have the freedom to modify it to work in your environment. Turn in the following Java file using the link on the course website: . In particular, you should not process a line of input character-by-character in main. So, for example, Betty Boop has 90% "B" responses in the E/I dimension, so she is assigned to Introvert. ClassName, methodOrVariableName, CONSTANT_NAME) See the Code Quality Guide for more information. You may want to initially "hard-code" the input and output filenames; in other words, you may want to just use fixed file names in your code rather than prompting the user to enter the file names. Not all people will have the same number of responses for each dimension Input File Format The input file will consist of pairs of lines, with each pair representing a single person. For example, if you are an extrovert, intuitive, thinking, perceiving person then you are referred to as an ENTP. for Personality Test held in February-August, 2020, following is the list, in order of merit, of candidates who have been recommended for appointment to: ... 142 PARITOSH PANKAJ. Terms the second line in each pair contains exactly 70 characters, all of which are either "A", "a", "B", "b", or " • each person's responses includes at least one non-dash response for each of the four dimensions Development Strategy To be able to use the Scanner, File, and PrintStream classes in your code, you will need to include the following line of code at the beginning of your program (before your public clase declaration): import java.util. See the sample output file below for the specific format. 97 terms. . Personality.java - Caleb Yunwoo Kim TA Ana Jojic CSE 142 This program calculates each persons answers of a personality test and prints out the, 30 out of 32 people found this document helpful, This program calculates each persons answers of a personality test and prints. Specifically, you may assume that: the file exists • the file contains an even number of lines . UW CSE 142 - Sample Midterm Exam (8 pages) Previewing pages 1, 2, 3 of 8 page document View the full content. Reply Delete. Note the due date and time carefully work submitted after the due time will not be accepted. ITCS-1213 LECTURE TEST 1. In particular, you may include a limited amount of output and some control flow constructs in main. Code Quality Guidelines In addition to producing the desired behavior, your code should be well-written and meet all expectations described in the grading guidelines and the Code Quality Guide. These grades are not final until you have received feedback from your TA. We provide a great deal of flexibility for how you structure your high school course. The first question in each group (i.e. Smile. On the other hand, she has only 15% "B" responses in the S/N dimension, so she is assigned to Sensing. . See the diagram below for the steps you should take to process and transform the data throughout your program: You must use arrays and traversals for these parts of your program to receive full credit Example "BABAAAABAAAAAAABAAAABBAAAAAABAAAABABAABAAABABABAABAAAAAABAAAAAABAAAAAA" Data String (70 characters) + A/B Counts (4 of each) [1, 17, 18, 18), (9, 3, 2, 2] + [90, 15, 10, 10] B Percentages (4) Personality Type "ISTJ" Class Constant Because the Kerisey personality test assigns people on four dimensions, your program will likely include the number 4 in several places. Questions can also be skipped, indicated by a response of "-". Intro Support, Computer Science & Engineering University of Washington whitab@cs.washington.edu. View Personality.java from CSE 142 at University of Washington. Smaller percentages indicate the person is closer to the "A" personality type for that dimension, while larger percentages indicate the person is closer to the "B" side. Sanple Console Output This program processes a file of answers to the Program Behavior Keirsey Temperament Sorter. You may assume that the input file is valid according to the format described above. The program output file name? taining the results of a personality test for a number of people and determine each per- input file name? Replies. Your program must also include at least two (2) other non-trivial methods besides main besides these two. 26 terms. ... 142 terms. Each response will be either "A", "B", or "-", and the responses will appear as a sequence of characters with no spaces. Sample Input File (personality.txt) Betty Boop BABAAAABAAAAAAABAAAABBAAAAAABAAAABABAABAAABABABAABAAAAAABAAAAAABAAAAAA Snoopy MABBAABBBBBABABAAAAABABBA ABBAAAABBBAAABAABAABABAAAABAAEEEBAAABBAABABBB Bugs Bunny aabaabbabbbaaaabaaaabaaaaababbbaabaaaabaabbbbabaaaabaabaaaaaabbaaaaabb Daffy Duck BAAAAA-BAAAABABAAAAAABA-AMMABABAAAABAABAA-BAAABAABAAAAAABA-BAAABA-BM The frumious bandersnatch -вBaBAA-BвъвBABBBBA-BaBBBBBbbВВАвввввв ABB-ВВВВВАввввввB-BABBваВВВВВВВ Minnie Mouse BABA-AABABBBAABAABA-ABABAAAB-ABAAAAAAAAAABAAABAAABAAAAAB-ABBAAAAAAAAA Luke Skywalker bbbaaabbbbaaba-BAAAABBABBAAABBAABAAB-AAAAABBBABAABABA-ABBBABB ABAL-AMA Han Solo BA-ABABBB-bbbaababaaaabbaaabbaaabbab ABBAAABABBAAABABAAAABBABAAABBABAAB Princess Leia BABBAAABBBBAAABBA-AAAABABBABBAEBAAABAAEAAABBBA-AABAABAAAABAAAAABABBBAA The 70 questions in the Keirsey test are organized in ten groups of seven questions each. However, you MAY NOT use two-dimensional arrays. Reflection In addition to your code, you must submit answers to short reflection questions. The correspond- ing letters are put together to form a personality type. This post's code is indexed by Google, enabling our current students to easily find it and cheat on their assignments. In this case, you will be using the constant purely for documentation and code quality purposes. If you believe your output is correct, you can submit your work by clicking the "Mark" button in the Ed assessment. . You may also need to click the arrow at the bottom of the window to reveal the terminal. You can do this using code like the following: int roundedPercent = (int)Math.round(percentage); . This page collects resources for a professional development workshop given in July of 2014. If the percentage is less than 50, we assign them to the "A" side the first option in each pair); if the percentage is greater than 50, the person is assigned to the "B" side (the second option in each pair). CSC 142 (5) - Computer Programming I - covers objects, messages, expressions, statements, methods, classes, conditionals, iterations, arrays and collections, M W 11-12:50 pm; CSC 143 (5) - Computer Programming II - online; CSC 142 Course Notes. More Computer Science in your Future? We will refer to them as the “A” answer and the “B” answer. and the Work World Smiles with You 142 Moral Kinotions 142 • The Basic Moods: Positive and Negative Al'fect 143 • F.xperiencing Moods and Kinotions 144 • The Function of'Kinotions 145 Sources of Emotions and Moods 146 Personality 146 • Time of Dav 147 • Da\ of the Weck 147 • Weather 147 Find answers and explanations to over 1.2 million textbook exercises. Code Aesthetics Your code should be properly indented, make good use of blank lines and other whitespace, and in- clude no lines longer than 100 characters. We will release a data file called bigdata.txt that includes data from students and staff in the class. In particular, you should NEVER look at a solution to this assessment from another source (a classmate, a former student, an online repository, etc.). The second line will contain a sequence of 70 responses to the personality test questions. 142 terms. Learn vocabulary, terms, and more with flashcards, games, and other study tools. Make sure you print your name and sign the Honor Code below. & You should read all file and user input using the nextLine() method. Turn in a file named PersonalityTest.java. Myth or Science? The program will then read the given input file and process the responses to the personality test in that file, printing the results to the specified output file. A method to determine the final personality type for a single user Each of these methods must perform only the tasks indicated, and must not contain any repeated logic. (See the sample input file for more details.) A method to compute the count of A and B responses for a single user . The string returned from Arrays.toString matches the format in which you should output arrays in your program Page 3 of 6
Course Hero is not sponsored or endorsed by any college or university. Relevant coursework CSE 142 - Cafe wall assignment. CSE 142: Computer Programming I, Winter 2021 Instructor: Stuart Reges (reges@cs.washington.edu), CSE2 305: Tue 1-3 (See the sample input file for examples of this.) are related to Sensation/intuition. In this case, the person is evenly split between the two sides of the dimension, and they are assigned "X" for that dimension. / / / / Caleb Yunwoo Kim 11/19/19 TA: Ana Jojic CSE 142 /* This program calculates each persons answers of a personality test and You will also need the two input files personality.txt and bigdata.txt from the This tool will help you to browse careers that suit your personality type, based on the 16-type model created by Isabel Briggs Myers.If you don't know your personality type, take the personality test to figure it out!. I have never programmed before 142, so I learned to much programming from 143. are related to Judging/Perceiving. Remember that arrays use reference semantics, meaning that when an array is passed as a parameter, its elements can be modified in the method and the changes will be seen by the caller. RISHI ANAND. Page 5 of 6
146 5809251 . For this assessment, pay particular attention to the following elements: Capturing Structure Your main method in this program may have more code than it has in previous assessments. Use arrays to store and manipulate collections of related information. Page 6 of 6. These questions will help you think about what you learned, what you struggled with, and how you can improve next time. Sample Output File Questions that were skipped (i.e. bellacho. Personality: Homework Help Chapter Exam Take this practice test to check your existing knowledge of the course material. View desktop site, CSE 142: Computer Programming Autumn 2020 Take-home Assessment 7: Personality due November 24, 2020, 11:59pm This assignment will assess your mastery of the following objectives: • Write a functionally correct Java program to produce specified console and file output. University of Washington, Seattle • CSE 142, California State University, Sacramento • CSC 153, University of Washington, Seattle • CSE MISC. Running and Submitting You can run your Personality Test program by clicking the "Activate the Terminal" message in Ed. jazsingh12825. CSE 12 Quiz 2. public static void main(String[] args) throws FileNotFoundException {. 142: general studes- i (paper-ii) 106: general studes- ii (paper-iii) 115: general studes- iii (paper-iv) 118: general studes- iv (paper-v) 112: optional- i (chemistry) (paper-vi) 128: optional- ii (chemistry) (paper-vii) 151: written totel: 872: personality test: 184: total marks: 1056 Prerequisite: minimum grade of 2.0 in either CSE 142, CSE 143, or CSE 160. It is also possible for a person to have exactly 50% "B" responses. 147 6304400 . CS 142 Final Examination Fall Quarter, 2010 SOLUTIONS You have 3 hours (180 minutes) for this examination; the number of points for each question indicates roughly how many minutes you should spend on that question. That is, the first response is from question 1, the second response from question 2, and so on. Learn vocabulary, terms, and more with flashcards, games, and other study tools. The Keirsey personality test involves answering 70 questions each of which have two answers. YOU MIGHT ALSO LIKE... CS 11. DEEPTI GARG. Usually the letter used is the first letter of the corresponding word, but notice that because the letter "1" is used for "Introvert", the letter "N" is used for "iNtuition." Reply. out the individuals personality type acronym. Permitted Java Features For this assessment, you are restricted to Java concepts covered in chapters 1 through 7 of the textbook, and you MUST use arrays (see above). Getting Help If you find you are struggling with this assessment, make use of all the course resources that are available to you, such as: • Reviewing relevant examples from lessons, section, and lab . // CSC 142 , Check personality, personalityTest.java // June 12, 2015, Chloe Wake // Reads through a file of results from the Keirsey Personality test and outputs the answers in a output file. • Use methods to manage information flow and add structure to programs. Luke Skywalker: [89, 61, 26, 25) - INTJ dimension, rather than 10. Look for op portunities to eliminate redun dancy in similar operations us ing parameters, array traver sals, and other techniques. This person's responses are as follows: Dimension # of A responses # of B responses %age B Result Extrovert/Introvert 90% Sensation/iNtuituion 17 15% Thinking/Feeling 10% Judging/Perceiving 10% Make sure that the format and structure of both your console output and your file output exactly match the given logs 1 9 3 2 2 S T 18 18 For each dimension, we count the total number of responses given, then determine the percentage of those responses that were "B". xsDaniel. CSE 142 - personality test. My name is Jonathan and I work with the introductory computer science courses at the University of Washington. However, unlike previous constants, you should not expect to be able to change this value and have your program still function correctly. / Curtis Holden / 11/22/16 / CSE142 / TA: Vlad Shamalov / Assighnment 7# / this assighnment analizes and evaluates reposnse for the 3 Almost all your output on this assessment will go to a file, NOT the console. However, your main method must remain a concise summary of your program's structure, and you must still utilize methods to both capture structure and eliminate redundancy. This post contains solution code to our Personality Test homework assignment. Powered by Create your own unique website with customizable templates. You may submit your work as often as you like until the deadline; we will always grade your most recent submission. People taking the test are allowed to leave a question blank, in which case their answer will be recorded with a dash (“-“). Unknown March 4, 2016 at 12:19 AM. View Personality.java from CSE 142 at University of Washington. Comments should be written in your own words (i.e. The Keirsey personality test involves answering 70 questions by choosing one of two answers. *; import java.io. V When a person skips a ques- tion, it is like that question doesn't exist. output.txt will begin by printing a short introduction, and then asking the user for an input file to read and an output file to print results to. The Homework 7 in UW CSE 142 Autumn 2011 The Homework 7 in UW CSE 142: Computer Programming I, Autumn 2011. questions 1, 8, 15, etc.) You should also properly use arrays as parameters and return values. Honors C# Programming. is related to the Extrovert/Introvert dimension. The final two questions in each group (questions 6 and 7, 13 and 14, etc.) Method comments should also explicitly name and de- scribe all parameters to that method and describe the method's return value (if it has one). Your methods should not accept unnecessary or redundant parameters, and should not use parameters or return values inappropriately (such as through "chaining"). Repository to store solutions for the University of Washington (UW) Computer Science and Engineering (CSE) 142 (Computer Programming I) homework questions 8 stars 19 forks Star Arrays You should use arrays appropriately throughout the assessment, including in the required places described above. Get Started CSE 142, Winter 2007 Programming Assignment #7: Personality Test (20 points) Due: Thursday, March 1, 2007, 9:00 PM This assignment will give you practice with arrays and producing an external output file. Your code should also include a comment at the beginning of each method that describes that methods behavior. So, for example, if a person The frumious bandersnatch: (86, 95, 75, 78] - INFP skipped the first question on the test, they Minnie Mouse: (67, 28, 32, 5] - ISTJ would only have 9 responses for the E/! For each person in the input file, your program should output the person's name, the percentage of responses they gave for each dimension that were "B", and their overall personality type. Page 4 of 6
. audreyj99. CSE 142 at University of Washington. Remember that this method returns a String, but does not print anything on its own- you will need to print the result using one of the usual methods. The first line in the pair will contain a person's name, which may include spaces. This will compile and execute your code and show you any errors, or the output of your program if it runs correctly. (Note that this is a different process than previous assessments.) . 143 MANKALE JAYANT KISHOR. Start studying CSE quizzes. are related to Thinking/Feeling. CSE 142: Computer Programming Winter 2020 Assignment 5: Guessing Game (20 points) due February 11, 2020, 11:59pm This assignment focuses on while loops and random numbers. CSE 120 Computer Science ... and interacting with data sources such as databases. If you are interested in taking the personality test yourself, you can do so in this survey. Tool. The next two questions (questions 4 and 5, 11 and 12, etc.) Each person's responses will be provided in question order. | Commenting Your code should include a header comment at the start of your program, following the same format described in previous assessments. Background Note: You do not need to read this section to complete the assessment, but it provides some helpful context that may make the assessment easier to understand. Test Format The Keirsey test involves 70 questions, each of which can be answered either "A" or "B" (case-insensitively). During the examination you may consult two double- Use Scanner And File To Read Input From A File. 144 JASROOP KAUR BATTH. Start studying CSE 12 Quiz 4. I really loved 142 so I decided to take CSE 143 during Fall 2013. Turn in a file named Personality.java. © 2003-2021 Chegg Inc. All rights reserved. In this assessment, you will be writing a program to process the results of a personality test known as the Keirsey Temperament Sorter. System.out.println("This program processes a file of answers to the"). Follow prescribed conventions for spacing, indentation, naming methods, and header comments. not copied and pasted from this spec) and should not include implementation details (such as describing loops or expressions included in the code). Each method should perform a single, coherent task and not do too much work Using Arrays You are required to use arrays to store and process most of the data throughout your program. You can print arrays in a nice format using the Arrays.toString method. Make sure that the format and structure of your output exactly match the given logs. UW Computer Science Course Summary Syllabus . Puget Sound Computer Science Teachers Association; CSE14X TA program; General Expectations. option or the other for that dimension. View course details in MyPlan: CSE 154 ... development, and test of real time embedded system software. 3539415. You may find it easier initially print all output to the console (System.out) while you are developing your program. Use Scanner and File to read input from a file. 6630224. It converts the Overview various A and B answers for each person into a sequence of B-percentages and then into a This program will process an input file con- four-letter personality type. In around the year 460BC, the Hippocrates suggested that humans had a 'persona' - a personality that was comprised of four distinct temperaments. CSE 142 Autumn ppt ... CSE 142, Winter 2007 Programming Assignment #7: Personality Test. . Visiting office hours • Posting a question on the message board Collaboration Policy Remember that, while you are encouraged to use all resources at your disposal, including your classmates, all work you submit must be entirely your own. You should produce file output using the PrintStream class as described in class and in the textbook Your program must include these two meth- ods, plus at least two oth- ers Implementation Guidelines Required Methods To receive full credit, your program must include the following methods: . Your class, methods, variables, and constant should all have meaningful and descriptive names and follow the standard Java naming conventions. CSE 142, Autumn 2019 Programming Assignment #7: Personality Test (20 points) Due: Tuesday, November 19, 2019, 11:59 PM This assignment will give you practice with input files, arrays, and producing an external output file. Question: CSE 142: Computer Programming Autumn 2020 Take-home Assessment 7: Personality Due November 24, 2020, 11:59pm This Assignment Will Assess Your Mastery Of The Following Objectives: • Write A Functionally Correct Java Program To Produce Specified Console And File Output. personality.txt son's Keirsey personality type. UW-CSE-142-Homework / src / Personality.java / Jump to Code definitions Personality Class main Method userIntro Method calculateBPercentage Method findPersonalityDimensions Method getLineBreakdown Method answerCalculator Method To improve the readability of your code, you should include a class constant in your program to represent the number of dimensions (4). Reading the textbook . xsDaniel. Supplemental Lesson Material. • Use PrintStream and File to write output to a file. Percentages should be rounded to the nearest integer. Please review the full policy in the syllabus for more details and ask the course staff if you are unclear on whether or not a resource is OK to use. The "A" answers correspond to extrovert, sensation, thinking, and judging the left-hand types in the list above), whereas the "B" answers correspond to introvert, intuition, feeling, and perceiving the right-hand types in the list above). (e.g. . MANUSH PAREEK. Only the introduction and file prompting) should be printed to the console. The questions are given in the file PersonalityTestReflection.txt in the Ed assessment; type your responses directly into that file. The Keirsey test measures four independent dimensions of personality: • Extrovert versus Introvert (E vs 1): 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. You will see the results of some automated tests along with tentative grades. Your program should utilize parameters and return values effectively to produce a well-structured program as described above. CSE 142 Homework 1. Privacy See the Code Quality Guide for examples and more information. All materials courtesy of Stuart Reges & Marty Stepp, and the UW CS & Engineering Department.. Further supplements may be found … You can do this using the Math.round method, but this method returns a double, so you will potentially need to cast the result to an int. You must also reduce redundancy when processing arrays by using for loops to traverse the array, rather then writing separate code for each array element (referred to as "unrolling" the array). 52 terms. The next two questions in each group (questions 2 and 3, 9 and 10, 16 and 17, etc.) Notice that the A's and B's can be either upper or lower-casel SEN Determining Personality Type For each of the four dimensions, we determine the percentage of responses the person gave for that dimension that were "B" (rounded to the nearest integer). Scanner console = new Scanner(System.in); File file = new File(console.nextLine()); PrintStream output = new PrintStream(console.nextLine()); String userAnswers = inputFile.nextLine().toLowerCase(); int[] percentB = bPercentages(output, countA, countB); // gives the user an introduction to the program.