...Computer Programming Computer Programming TIC TAC TOE PROJECT TIC TAC TOE PROJECT Flor Garcia FINAL EXAM Flor Garcia FINAL EXAM 2015 2015 DEFINE THE PROBLEM: Write a Tic Tac Toe program that inputs the player’s names and then asks if you want to play again. It displays a score board at the end of the game. OUTLINE THE SOLUTION: INPUT | PROCESSING | OUTPUT | Name of Player 1 | Names of Both players is inputted | Score board of who won, lost or any draws | Name of Player 2 | Player 1 makes the first move by choosing a number in the box then [X] will replace the chosen number | | Numbers on each box | Player 2 makes the second move by choosing a number in the box then [O] will replace the chosen number | | | If either of the players win, they receive a point in the score board | | | If it is a draw, the score board will display it | | DEVELOP AN ALGORITHM: 1. Insert name of player 1 [X] 2. Insert name of player 2 [O] 3. Players choose the number of the box they want to input their letter in. 4. Once then choose the number they inputted their designated letter will replaced the number in the box 5. These steps are repeated as it is each player’s turn 6. The game will end until someone wins or it becomes a draw 7. The Score board will be displayed at the end TEST THE ALGORITHM: 1. Name of Player 1: Flor 2. Name of Player 2: Karla 3. Flor chooses number 3 and is replaced by [X] 4. Karla chooses...
Words: 1048 - Pages: 5
...When first thinking about changing the packaging of Tic-Tac breath mints one must ask why? The Tic-Tac package is an icon, recognizable by pretty much everyone across not only the United States but North America, South America, and Europe. Think of the classic Seinfeld episode where Elaine gives her co-worker a package of Tic-Tacs so she can hear when he is sneaking up on her. As a brand you know that you have a top position when one of the most successful television shows of all-time bases an entire episode around your product and packaging. With such strong brand recognition and being so well known across the globe it might seem foolish to change the packaging for Tic-Tac Chill mints. However, it is necessary that certain changes be made to the new package design in order to successfully compete and keep up with today’s breath mint market. Since 1969, when Tic-Tac first came out, the breath mint market has changed drastically. Mints are now typically larger and have much stronger flavors than breath mints from twenty and thirty years ago. Packaging now is also much more flashy and eye-catching than the classic Tic-Tac packaging that has been used since first being started. Since the Chill mints are going to be a more modern breath mint with a larger size than the original Tic-Tac and have a more intense flavor they are going to be competing against breath mints like Ice Breakers and Altoids who both have very distinct and noticeable packaging. To keep up with this...
Words: 985 - Pages: 4
...redesigning our packaging is a way we would like to attract new consumers to our product, increase consumption and, therefore, increase our market share of the breath mint market. It is important our company understands the risks and benefits of changing our packaging, that has remained the same for over forty years. In addition, we must understand how our consumers will react to a packaging change, as well as how we want to advertise any packaging change we commit to; this will be best done through exploratory research methods. Market Research Ever since our introduction in 1969, the market for breath mints has steadily increased. According to packagedfacts.com, in 2003 sixty two percent of households used breath mints. In 2003, Tic Tac was the preferred choice of breath mints, but since then other mints have increased competition. Lifesavers were on Amazon's top list of best selling breath mints in 2014. One possible solution to become the best selling brand of breath mints is to redesign our packaging. This comes with obvious benefits and risks. First, in our consumer base's decision-making process, recognition is the most important thing. American society cultivates a world obsessed on looking and feeling good, and many people feel the need for fresh breath to feel good. Consumers also go through an information search when making any purchasing decision. Because breath mints are a convenience good, consumers of breath mints do very little information search. They grab...
Words: 464 - Pages: 2
...Président de Tic Tac Inc. Expéditeur : Cabinet Équipe 4 Object : Recommandation face à l’amélioration du système comptable Rapport à la direction Introduction Suite à l’analyse de la situation actuelle de l’entreprise Tic Tac inc., il semble évident qu’elle présente différentes lacunes quant à la présentation de ses coûts fixes. Le système comptable actuel attribut ces coûts de façon arbitraire entre les différents produits de l’entreprise. Cette situation fait en sorte que l’information présentée dans les états financiers ne représente pas une image fidèle de l’entreprise ce qui a un impact considérable sur les décisions prises par les gestionnaires. Le système comptable étant déficient et afin d’assurer la compétitivité de l’entreprise, il serait pertinent de procéder à une analyse des coûts fixes en les imputant par gammes de produit et cela en fonction des ressources nécessaires à chacun. Il serait aussi essentiel de procédé à une réévaluation du système de fixation des prix afin de permettre à la société Tic Tac inc. de rester concurrentiel dans son secteur. Pour remédier à cette situation, vous trouverez dans ce présent rapport une analyse de la situation actuelle accompagnée de la détermination des différents enjeux et de l’analyse des différentes options majeures. Finalement, une recommandation suivant vos objectifs stratégiques vous sera proposée. 1. Analyse de la situation actuelle 1.1 Mission et vision de l’entreprise L’entreprise Tic Tac Inc. a pour...
Words: 3445 - Pages: 14
...Charles Hudgins Jaun Hernandez PT1420 4/29/2014 Let's Start: Create a New project and select windows application. Give it name and then press enter.(All of us know this step). After that you see a blank form like that: Now add 9 buttons on your form using tools. Select button then delete the text from properties (i.e. button1, button2).Actually we want no text on buttons. Now, Put a label on your form set back color according to your wish (here I choose sky-blue color from properties), set text align to middle center and set text to "Turn”. Actually we are creating a box for showing the player's Turn. Add Another Label below above label. Remove text from it, leave it blank. Give it name="display turn”. Now our Application looks something like that. Now doing the same above method, I have created a Scorecard for player1 and player2.I give name playerscore1 and playerscore2 for the labels as shown in figure. I am creating this game for 2 person so, I supposed here Player1 symbol="X" and Player2 Symbol="O".Now I want when player1 click it gives "X" symbol on button. After his turn when Player2 click on button then it show "O" on another button. Double click on button1 and add the code given below. Collapse | Copy Code void Button1Click(object sender, EventArgs e) { if(click1==0) { if(turn%2!=0) { button1.Text="X"; } else { button1.Text="O"; } turn++; click1++; } else { ...
Words: 687 - Pages: 3
...EBizPort: Collecting and Analyzing Business Intelligence Information Byron Marshall, Daniel McDonald, Hsinchun Chen, and Wingyan Chung Artificial Intelligence Lab, Management Information Systems Department, University of Arizona, Tucson, AZ 85721. E-mail: {byronm, dmm, hchen, wchung}@eller.arizona.edu To make good decisions, businesses try to gather good intelligence information. Yet managing and processing a large amount of unstructured information and data stand in the way of greater business knowledge. An effective business intelligence tool must be able to access quality information from a variety of sources in a variety of forms, and it must support people as they search for and analyze that information. The EBizPort system was designed to address information needs for the business/IT community. EBizPort’s collection-building process is designed to acquire credible, timely, and relevant information. The user interface provides access to collected and metasearched resources using innovative tools for summarization, categorization, and visualization. The effectiveness, efficiency, usability, and information quality of the EBizPort system were measured. EBizPort significantly outperformed Brint, a business search portal, in search effectiveness, information quality, user satisfaction, and usability. Users particularly liked EBizPort’s clean and user-friendly interface. Results from our evaluation study suggest that the visualization function added value to the search and...
Words: 14368 - Pages: 58
...Introduction Tic-Tac-Toe is a popular simple game for two players all over the world. Traditionally one person plays for “X” while another plays for “O”. The game is played on the square board of 3x3 or even more size. The aim of this game for player is to win by filling with “X” or “O” any row, column or diagonal of the main game board. The game sets players thinking because players should reflect a little bit on strategy and predict some moves of the opponent. So it teaches people to make decisions quickly. MATLAB is computer software for technical computing from the MathWorks. Used for a wide variety of scientific and engineering calculations. The functions of the MATLAB are solving equations, plotting 2D, 3D graphs, calculating statistics, etc. The aim of the report is to describe how Tic-Tac-Toe game simulation was made with the help of MATLAB. The report describes how program reads the code and computer strategy for winning/not losing in the game. Theory. The aim the individual coursework was to program 4x4 Tic-Tac-Toe game for player and computer using MATLAB with condition that computer should always win or just not loose. Programming the game basic loops such as “while”, “for”, “if” were used, where “while” means to repeat smth until some particular conditions are holding, “for” means to do smth for particular conditions, and “if” means to do smth if some conditions are true. There also were used “sum” function which helps to count “X”-s or “O”-s in rows, columns...
Words: 3911 - Pages: 16
...OBJECT ORIENTED PROGRAMMING TIC TAC TOE Contents: Page 1. Specifications 3 2. Background 4 3. UML Design i. Use Case Diagram 5 ii. Class Diagram 6 4. Implementation i. How code is working? 7 ii. Conclusion 9 iii. Future Work 10 5. Appendix 10 6. References 15 7. Bibliography 15 1. Specifications: A requirements specification for a software system - is a complete description of the behavior of a system to be developed. It includes a set of use cases that describe all the interactions the users will have with the software. Use cases are also known as functional...
Words: 1071 - Pages: 5
...Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos. Tacos...
Words: 11254 - Pages: 46
...vocalizations called tics. The disorder is named for Dr. Georges Gilles de la Tourette, the pioneering French neurologist who in 1885 first described the condition in an 86-year-old French noblewoman. The early symptoms of TS are typically noticed first in childhood, with the average onset between the ages of 3 and 9 years. TS occurs in people from all ethnic groups; males are affected about three to four times more often than females. It is estimated that 200,000 Americans have the most severe form of TS, and as many as one in 100 exhibit milder and less complex symptoms such as chronic motor or vocal tics. Although TS can be a chronic condition with symptoms lasting a lifetime, most people with the condition experience their worst tic symptoms in their early teens, with improvement occurring in the late teens and continuing into adulthood. What are the symptoms? Tics are classified as either simple or complex. Simple motor tics are sudden, brief, repetitive movements that involve a limited number of muscle groups. Some of the more common simple tics include eye blinking and other eye movements, facial grimacing, shoulder shrugging, and head or shoulder jerking. Simple vocalizations might include repetitive throat-clearing, sniffing, or grunting sounds. Complex tics are distinct, coordinated patterns of movements involving several muscle groups. Complex motor tics might include facial grimacing combined with a head twist and a shoulder shrug. Other complex motor tics may actually...
Words: 2611 - Pages: 11
...It expounds on the Coprolalia disorder, its symptoms, causes, manifestations and its relation with its comorbid disorders. Coprolalia disorder is a symptom of other malaises like Tourette’s syndrome or schizophrenia and has links with other medical disorders or conditions. The word Coprolalia stems from two Greek words, ‘kopros’, which means feces, and ‘lalien’, which means to talk. Therefore, Coprolalia is characterized by the profuse and uncontrolled usage of foul or obscene language punctuated by words related to feces. Coprolalia occurs solely or as a manifestation of several other associated comorbid conditions such as ADHD (Attention deficit and hyperactivity disorder), OCD (Obsessive compulsive disorder) Tourette’s syndrome, tics and schizophrenia. The presence of these comorbid disorders raises the probability of a patient suffering from Coprolalia quite significantly. Coprolalia includes phrases remarks and words that are tabooed in a culture and are thus unacceptable for social use especially when they are used in out of context situations. Indeed,...
Words: 2587 - Pages: 11
...* Social Aspect of TS: Challenges TS cause Reality and perception of TS Why do people with TS use slurs? TS and making friends Living successful with TS Not curable, just treatable Natural remission Cases of famous people with TS Conclusion: Reiterate the challenges and underline the resolutions to TS TS can be overcome Hello, my name is Ramon. Today, I will be speaking about Tourette Syndrome or TS, for short. * Before I start going into this, how many of you know or have an idea of what TS is? Raise your hand if you do. For those of you who don’t know what it is, TS is a neurological disorder characterized by involuntary motor and/or vocal tics such as eye blinking, throat clearing, sniffing, or even head jerking. * On a side note, if any of you notice me doing any of the mentioned tics, it’s because I myself am diagnosed with TS ever I was 12. Both types of TS often range from mild to severe. Studies show that TS is inherited only 50% of the time. The gene is carried by the parent, but that doesn’t mean that the parent has it as well. Most often, the TS gene skips a generation. * This means that anyone who has TS may have received it due to his/her grandparents. The same study shows that males are three to four times more susceptible to receiving TS than females. In terms of diagnosing, TS can sometimes be elusive. An article I read on tsa-usa.org, which is a foundation dedicated to research for genetics, mentions that TS, at one point...
Words: 664 - Pages: 3
...mind; an obsession. Usually a minor fixation where the average person had a strong like or dislike about a specific thing. From the moment the film Amelie starts the narrator talks about Amelie’s dysfunctional family and all their bizarre idee fixe . Her parents are odd people, as detailed in their "likes" and "dislikes" by the narrator which later causes Amelie to develop some fixations of her own. Amelie’s father Raphael was an emotionless man. He dislikes peeing next to someone, catching scornful glances at his sandals, and clingy wet swimming trunks. He really likes to peel large strips off wallpaper, emptying out his tool box, cleaning it out, and putting everything back. Amelie’s mother Amandine is a schoolmistress with a nervous tic in her eye. Amandine has an fixaton with figure skaters costume on TV, polishing the parquet, emptying her handbag, cleaning it out, and putting everything back. She dislikes puckered fingers in the bath, having her hands touched by strangers and finally pillow marks on her cheeks in the morning. Amandine was killed when a woman committing suicide landed on her. From that day Amelie’s father developed a new idee fixe, he became obsessed with building a shrine to her ashes . Amelie's father gave her yearly check-ups, and his nearness made her so nervous (because he was not demonstrative in their love, and Amelie wanted to be hugged) that her heart would beat very fast. So, Amelie's father diagnosed her with a heart problem, and because of that...
Words: 335 - Pages: 2
...CHAPTER II RESEARCH METHOD This chapter presents the description of research method employed in this study. It comprises of the research design, data sources, research instrument, data collection and data analysis. 1. Research Design This study utilized descriptive qualitative design. Descriptive study is the design to obtain information concerning the current phenomena. This study described about speech disorder of Tourette’s syndrome as portrayed by the main character in Front of the Class Film. Rahardjo (2002) defines that qualitative research had expansive characteristic where it tried to describe and analyze phenomena. The phenomena analyzed in this study is how Brad Cohen, the main character suffering from Tourette’s syndrome in Front of the Class movie, produced utterances with his impairment. 2. Data Sources The data sources of this study were Front of the Class film and the English subtitle which was downloaded from subscene.com by amxd2. Moreover, the English subtitle was converted from .srt extension into .txt. The conversion was verified by re-watching the movie and synchronizing each utterance’s timing. 3. Research Instrument The instrument utilized in this study is the researcher herself. Latief (2010) stated that in conducting a qualitative research, the researcher is the one who must collect the data. The data collection process cannot be done by others since the researcher needs to proceed and comprehend...
Words: 614 - Pages: 3
...genetic but it is usually not passed on by parents. It is also know that the disease can be influenced by ones environmental surroundings. Tourettes is diagnosed after 1 year of a person experiencing the symptoms. It begins in childhood and in most cases people grow out of it before adulthood. While tourettes’ exact cause is unknown, it is becoming more common and in severe cases it can interfere with every day life. Motor tics is the biggest side effect of tourettes and in severe cases it can cause interference. Motor tics can be vocal which may cause the person to grunt or hum. Motor tics may also be physical by causing the persons body to have a sporadic, involuntary movement. This is due to muscle groups. In non severe cases the person is able to live a normal life, medication and therapy free because they may simply jerk their head or shrug their shoulders every so often. A person with a severe case of tourettes is unable to attend school and go about daily activities because their motor tics cause them to have more severe movements such as repeated head jerking or other movements. In rare cases, someone may have violent tourettes which causes the person to curse involuntarily at 2 random times. Not only does tourettes present physical challenges, but it presents mental challenges as well...
Words: 683 - Pages: 3