...Individual Project: INTRODUCTION TO PROGRAMMING T110-1304A-05 INTRODUCTION TO PROGRAMMING JAVA GRAPHICAL USER INTERFACE (GUI) AND DESIGN DOCUMENT 11/11/2013 Table of Contents Week 1: Project Outline 3 WEEK 1: Case Diagrams 4 Use Case Diagram 4 Week 1: Class Diagrams 4 Class Diagrams 4 Week 2 Java Fundamentals 5 Week 3: Java Control Structure 10 Week 4: Error Handling and File Input/output 16 TBD 19 Week 1: Project Outline Pizza R Us was founded in 2013 by a group of students who wanted to change the world of pizza one pie at a time. Using technology to bring the restaurant to the homes of the masses Pizza R US is currently developing an online ordering system that would rival the leaders of its class. Offering the following delicious products: Pizza’s Sizes: Small, Medium, Large Toppings: Pepperoni, Ham, Onions, Bacon, Bell Peppers, Pineapples, Sausage, Olives, Etc…. Breadsticks Wings Sauces: Hot, Mild, Medium, Extra Hot WEEK 1: Case Diagrams Use Case Diagram http://yuml.me/diagram/plain;scale:60;/usecase/// PIZZA R US, %5BCustomer%5D-(Log In), (Log...
Words: 3241 - Pages: 13
...Structural Analysis III Chapter 3 – Characteristics of Structures Chapter 3 - Characteristics of Structures 3.1 Introduction ......................................................................................................... 2 3.1.1 Background .................................................................................................... 2 3.2 Basic Statical Determinacy ................................................................................. 5 3.2.1 Introduction.................................................................................................... 5 3.2.2 Plane Beams and Frames ............................................................................... 6 3.2.3 Plane Trusses ............................................................................................... 15 3.3 Stability ............................................................................................................... 20 3.3.1 Introduction.................................................................................................. 20 3.3.2 Exceptions to Basic Rule ............................................................................. 21 3.3.3 Examples...................................................................................................... 23 3.4 Further Statical Determinacy .......................................................................... 25 3.4.1 Internal and External Determinacy ...........................................
Words: 6000 - Pages: 24
...The statistics are truly staggering. According to compiled numbers from respected news and research organizations, every second $3,075.64 is being spent on pornography. Every second 28,258 internet users are viewing pornography. In that same second 372 internet users are typing adult search terms into search engines. Every 39 minutes a new pornographic video is being created in the U.S. It’s big business. The pornography industry has larger revenues than Microsoft, Google, Amazon, eBay, Yahoo, Apple and Netflix combined. 2006 Worldwide Pornography Revenues ballooned to $97.06 billion. 2006 & 2005 U.S. Pornography Industry Revenue Statistics, 2006 Top Adult Search Requests, 2006 Search Engine Request Trends are some of the other statistics revealed here. Internet Pornography Statistics The amount of pornography on the internet can be difficult to fathom. A total of 4.2 million websites contain pornography. That is 12 percent of the total number of websites. There are 100,000 websites that offer pornography and 1 in 7 youths report being solicited for sex on the internet. Top Adult Search Requests and Search Engine Request Trends Internet consumers are most likely to search for the terms “sex,” “adult dating,” and “adult DVD” to access their pornography product of choice. The top 20 search terms also include “teen sex,” “teen porn” and “sex ads.” Some search terms were divided evenly along gender lines. Statistics indicate the term “sex” was searched for as often by female...
Words: 489 - Pages: 2
...Thelmeca Williams Professor Jocelyn Williams Bus 100 Saturday, June 14, 2014 2 The cheesecake Factory has an established code of ethics that is used to maintain the balance between the human aspect of ethics and the business success for Cheesecake Factory. Although there are many areas of the Cheesecake Factory’s code of ethical conduct is important, there are a few key areas of the code of ethical conduct that are of significant to The Cheesecake Factory. The first in Article IV, “Conflicts of Interest”. This says that an officer or a director,” Should avoid participating in any transaction or investment that conflicts with, or appears to conflict with, the interest of the company. This is an ethical key because a person who is in a position of leadership or management must be loyal to the organization, otherwise, all decisions that could be made are suspect as to the integrity of the choice, especially concerning money matters. A second key area of The Cheesecake Factory’s code of ethics Article V, in the “Compliance with Company Policies and Procedures,” section that pertains to confidential information. It is important for the success of any company that the confidentiality of information be maintained. This leads to another key in Article V of the code of ethical conduct. It deals with insider trading. It prohibits insider trading. It states that, “An officer or director shall observe the Company’s policy prohibiting trading on the basis of material, non-public information...
Words: 636 - Pages: 3
...© 2011 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in writing from the publisher. •2–1. If u = 30° and T = 6 kN, determine the magnitude of the resultant force acting on the eyebolt and its direction measured clockwise from the positive x axis. y u T x 45 8 kN 7 © 2011 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in writing from the publisher. 2–2. If u = 60° and T = 5 kN, determine the magnitude of the resultant force acting on the eyebolt and its direction measured clockwise from the positive x axis. y u T x 45 8 kN 8 © 2011 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in writing from the publisher. 2–3. If the magnitude of the resultant force is to be 9 kN directed along the positive x axis, determine the magnitude of force T acting on the eyebolt and its angle u. y u T x 45 8 kN 9 © 2011 Pearson Education, Inc., Upper Saddle River...
Words: 8476 - Pages: 34
...Assignment Week 2 Question 1 1. Baseball stadiums vary in age, style, size, and in many other ways. Fans might think of the size of the stadium in terms of the number of seats; while the player might measure the size of the stadium by the distance from the homeplate to the centerfield fence. Note: CF = distance from homeplate to centerfield fence. Using the Excell add-in construct your scatter diagram with the data set provide below. Seats CF 38805 420 41118 400 56000 400 45030 400 34077 400 40793 400 56144 408 50516 400 40615 400 48190 406 36331 434 43405 405 48911 400 50449 415 50091 400 43772 404 49033 407 47447 405 40120 422 41503 404 40950 435 38496 400 41900 400 42271 404 43647 401 42600 396 46200 400 41222 403 52355 408 45000 408 Is there a relationship between these two measurements for the “size” of the 30 Major League Baseball stadiums? a. Before you run your scatter diagram answer the following: What do you think you will find? Bigger fields have more seats? Smaller fields have more seats? No relationship exists between field size and number of seats? A strong relationship exists between field size and number of seats? Explain. b. Construct a scatter diagram and include it in your answer. c. Describe what the scatter diagram tells you, including a reaction to your answer in (a). Question 2 2. Place a pair...
Words: 284 - Pages: 2
...Static Charge Lab In the first part of the lab, two insulators, plexi-glass and a Styrofoam plate, are charged by means of friction by rubbing the two insulators against one another. Each insulator is used to charge a metal pan conductor by placing it near the insulator, known as induction. Grounded neon bulbs were touched to the charged conductor to indicate the direction of electron flow. In the second part of the lab, a charged metal pan was used to store charge in a Leiden Jar capacitor. The charged conductor was touched to the outside metal of theNeon bulbs were used to show the direction of electron flow and prove the Leiden Jar acted as a capacitor by storing the charge and not creating a circuit. The apparatuses used were plexi-glass, a Styrofoam plate, a neon bulb and a metal pan for the first part of the experiment. In the second part, a Leiden Jar was made by wrapping aluminum foil around the outside and inside of the Styrofoam cup and connecting a neon bulb on each side. Plexi-glass and Styrofoam were rubbed against each other to charge by friction. We placed a metal pan above the Styrofoam without touching to charge by induction. A neon bulb, which has two indicator lights to determine the flow of electrons, was touched to the metal pan. When the neon bulb was touched to the metal pan the light on the pan side lit up indicating that the electrons were flowing out of the metal pan. The charges flowing out prove that the Styrofoam insulator was negatively charged...
Words: 588 - Pages: 3
...Universidad Tecnológica Nacional – F.R.C Redes de Información (RIN) ENRUTAMIENTO ESTÁTICO BAJO LINUX OBJETIVOS: • • • • • Repasar los comandos configuración básica de red. Interpretar las capacidades de enrutamiento estático embebidas en la Minidistribución de Linux desarrollada por el Laboratorio de Sistemas de la UTN FRC. Diagnosticar, detectar y corregir problemas de conectividad en un entorno de red con rutas. Afianzar la capacidad de entendimiento y parametrización de la tabla de encaminamiento. Aplicar los lineamientos teóricos de encaminamiento estático en un entorno concreto, manipulable y tangible. NOTA: • • • • Lea atentamente el enunciado de la práctica, realice los pasos sugeridos, intente razonar sobre el resultado y complete el cuestionario. Al finalizar la práctica, cada grupo deberá entregar el cuestionario resuelto al docente responsable de la práctica. En algunos casos, se requiere participación inter-grupal para solucionar los requerimientos Cada grupo deberá rotular de manera no invasiva el/los equipos que administre de manera tal que pueda ser rápidamente identificable por los restantes grupos INTRODUCCIÓN Deberán configurarse equipos a fin de obtener el entorno de red expuesto a continuación como escenario. Para ello tener en cuenta que cada grupo será responsable de la configuración de un router y una PC en cada una de las redes en las que dicho router participe. Asimismo, deberá coordinar con el resto de los...
Words: 1962 - Pages: 8
...Uses of Fluid Mechanics with Relevant References. Fluid mechanics is the application of the laws of fore and motion to fluids. Within fluid mechanics there are two studies of fluid mechanics: Fluid statics, the study if fluids at rest within a system, or Fluid Dynamics which is the study of fluids that are in motion within a system. A fluid is a substance that has no fixed shape and yields easily to external pressure. The substance continually deforms or flows under an applied shear stress. Fluids are a subset of the states of matter and include three of the four states of matter [1]. An example of tangential shear stress can be something as simple as a piece of wood floating on a small body of water. If the force, F, is applied at the end of one side, then the board transmits a tangential shear stress, denoted as, t, to the surface of the water. Shear stress is defined as the tangential to the area over which it acts, and is expressed in the same units as Direct Stress [2]. “If a shear stress is applied to the surface of a solid, the solid will deform a little, and then remain at rest (in its distorted shape). One can say that the solid (at rest) is able to resist the shear stress.” [2] Both the board and the water will move as long as the force exerted and the tangential sheer stress are not equal to zero. Think about this, a fluid can only experience a normal stress when there is no force being acted upon the system obtained by the fluid. Therefore, since the fluid is at...
Words: 1686 - Pages: 7
...- "Lightning in Your Hand" Materials • Two Styrofoam plates • Clear tape (scotch tape) • Aluminum pie pan (8”-9” diameter) • A small piece of wool fabric Attach a Styrofoam strip (1” wide) to the center of the aluminum pie plate on the inside surface of the aluminum plate. This strip will work as a handle. You could also tape an inverted Styrofoam cup on the side to act as a handle. This works best on a cool dry day. If it is too hot and humid it will not work well. Humidity is the enemy of static electricity! Procedure Tape one Styrofoam plate in an upside down position on a table or desktop. Use two small pieces of clear tape at opposite edges. I) Rub the top of the Styrofoam plate with wool or rub across the back of the Styrofoam plate using the sleeve of your sweater. The Styrofoam plate is now charged because electrons from the wool have traveled to the Styrofoam plate. Lift up the aluminum plate with its Styrofoam handle and set it on the taped Styrofoam plate. • What do you feel when you touch the aluminum plate? II) Now lift up the aluminum plate by the handle and touch it with your other hand. • What happens? • What causes this to happen? • What happens if you set the aluminum plate back on the Styrofoam plate? • Why do you think this happens? III) Next take the second Styrofoam plate and rub the bottom with your sweater sleeve or wool. Try setting this second plate on top of the upside down taped Styrofoam plate that has been charged by rubbing. •...
Words: 544 - Pages: 3
...with the technology of electricity. Electrical engineers work on a wide range of components, devices and systems, from tiny microchips to huge power station generators. Electrical engineering has now subdivided into a wide range of subfields including electronics, digital computers, power engineering, telecommunications, control systems, radio-frequency engineering, signal processing, instrumentation, and microelectronics. Early experiments with electricity included primitive batteries and static charges. It has been a subject of scientific interest since at least the early 17th century. The first electrical engineer was probably William Gilbert who designed the versorium: a device that detected the presence of statically charged objects. He was also the first to draw a clear distinction between magnetism and static electricity and is credited with establishing the term electricity. In 1775 Alessandro Volta's scientific experimentations devised the electrophorus, a device that produced a static electric charge, and by 1800 Volta developed the voltaic pile, a forerunner of the electric battery. However, the actual design, construction and manufacturing of useful devices and systems began with the implementation of Michael Faraday’s Law of Induction, which essentially states that the voltage in a circuit is proportional to the rate of change in the magnetic field through the circuit. Some of the most prominent pioneers in electrical engineering include Thomas Edison (electric light...
Words: 689 - Pages: 3
...difficult because other software written may use the same global variable names and your intentions were to use a local variable, creating name – space pollution. For example, if you are using a module and have to link it with another module, you will get linking errors because there are multiples of the same global name and it may not be thread safe. (Wiki.com). Global variables can be modified or read in any part of the program making it difficult to remember its use, according to Wiki.com/c2. The advantages of using global variables is that they are accessible anywhere in the program, they are declared at the beginning of the program by a global command and you can call them anywhere in the code. Use global variables in a public static field so it can be called anywhere in the programming and it will clog name space usage, (programmer.stachexchange.com). Common data can be declared global so you don’t have to use parameter passing. And because you can use it anywhere, use encapsulation to avoid corruption in the program, (yahoo.com). Global variables are in the assignment window while local variables are in the input box is how global and local variables are declared in a flowchart. In pseudocode, global variables are declared outside a construct or a box, while a local variable is declared inside a construct or a...
Words: 287 - Pages: 2
...1) If a statistical series is divided into four equal parts, the end value of each part is called a ……… a. Quartile b. Deciles c. Percentiles d. Range 2) ………………divide the series into 100 parts. a. Quartiles b. Deciles c. Percentiles d. Range 3) d[Deviations]= X –A, where A is: a. Average b. Assumed mean c. Mean d. Median 4) A study of statistical methods in preference to statistical science, because its methods are used in all …………….. a. Commerce b. Economics c. Technology d. Sciences 5) A study of the scope of the statistics includes: a. Nature of statistics b. Subject matter of statistics c. Limitations of statistics d. All of the above 6) ………………. Are numerical statements of facts in any department of enquiry placed in relation to each other? a. Sciences b. Statistics c. Commerce d. Mathematics 7) Whenever some definite connection exists between the two or more groups , classes or series or data there is said to be…………….. a. Index number b. Correlation c. Mean d. Median 8) Calculate range and the coefficient of range where H =18 and l =10. a. 8 , o.28 b. 9 ,0.8 c. 0 ,0.23 d. 2 ,0.32 9) ……………… is the difference between the highest value and the lowest value in a series. a. Ranges b. Coefficient of ranges c. Individual series d. Mid value 10) Coefficient of range =…………….. a. H –L b. H +L c. H –L/H +L d. None of these 11) The value of the variable which occurs most frequently in a distribution is called the…………… ...
Words: 1155 - Pages: 5
...Question 1 1. Shut down and unplug the computer before you start to take apart the hard drive because this will ensure that no electrical current is being used while you are working and fixing the computer this is done to protect the hard drive and technician. 2. Remove all metal objects within working area because the static electricity could damage or interfere with the computers electrical impulses or current as well as potentially harm the technician at work. 3. Use zero insertion force or very little force to remove parts of the computer because to much force could damage or break parts of the computer which are currently functioning correctly therefore increasing costs which could have been avoided. 4. Moisture and dust are two components...
Words: 1812 - Pages: 8
...fot t Table cum. prob one-tail two-tails df 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 40 60 80 100 1000 t .50 t .75 t .80 t .85 t .90 t .95 t .975 t .99 t .995 t .999 t .9995 0.50 1.00 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.25 0.50 1.000 0.816 0.765 0.741 0.727 0.718 0.711 0.706 0.703 0.700 0.697 0.695 0.694 0.692 0.691 0.690 0.689 0.688 0.688 0.687 0.686 0.686 0.685 0.685 0.684 0.684 0.684 0.683 0.683 0.683 0.681 0.679 0.678 0.677 0.675 0.674 0.20 0.40 1.376 1.061 0.978 0.941 0.920 0.906 0.896 0.889 0.883 0.879 0.876 0.873 0.870 0.868 0.866 0.865 0.863 0.862 0.861 0.860 0.859 0.858 0.858 0.857 0.856 0.856 0.855 0.855 0.854 0.854 0.851 0.848 0.846 0.845 0.842 0.842 0.15 0.30 1.963 1.386 1.250 1.190 1.156 1.134 1.119 1.108 1.100 1.093 1.088 1.083 1.079 1.076 1.074 1.071 1.069 1.067 1.066 1.064 1.063 1.061 1.060 1.059 1.058 1.058 1.057 1.056 1.055 1.055 1.050 1.045 1.043 1.042 1.037 1.036 0.10 0.20 3.078 1.886 1.638 1.533 1.476 1.440 1.415 1.397 1.383 1.372 1.363 1.356 1.350 1.345 1.341 1.337 1.333 1.330 1.328 1.325 1.323 1.321 1.319 1.318 1.316 1.315 1.314 1.313 1.311 1.310 1.303 1.296 1.292 1.290 1.282 1.282 0.05 0.10 6.314 2.920 2.353 2.132 2.015 1.943 1.895 1.860 1.833 1.812 1.796 1.782 1.771 1.761 1.753 1.746 1.740 1.734 1.729 1.725 1...
Words: 926 - Pages: 4