Free Essay

Ffff

In:

Submitted By ggbby8889
Words 4622
Pages 19
CS201 Final Study Guide I. Basic Linux Commands a. cd – change directory b. mkdir – make directory c. ls – show contents of directory II. Variables in Python d. Variables do not need to be declared e. Must start with a letter or “_” i. can contain numbers f. **variable names are case sensitive! ii. Use camel case: 1. newValue 2. studentAverage 3. setAverageGrade g. Initializing a variable: iii. 3 2 1 iv. variable = value h. Order of Operations: v. HIGHEST PRIORITY: not ** vi. * / % vii. + - viii. < <= > >= ix. == != x. and xi. LOWEST PRIORITY: or III. Python Data Types (int, float, strings, lists, boolean, NoneType) and the type function i. Int – integer numbers: 5, 6, 3, 25, etc. j. Float – decimals: 5.0, 3.50, 25.4, etc. k. String – string of words or a phrase: “Hello World” etc. l. List – a list of values contained within brackets: [1, 4, 3, 25] m. Boolean – True/False n. NoneType IV. Using input, raw_input, and print o. input – lets the user input a number xii. variable = input(“Enter a number: “) p. raw_input – lets the user input a string xiii. variable = raw_input(“Enter a word: “) q. print – prints a statement, etc. xiv. print “Hello World” V. The math and random module r. VI. Lists s. Unlike variables, lists can hold massive amounts of data t. Lists are mutable, meaning they can be changed or modified u. A list can hold only one value per element xv. Index starts at 0, not one 4. The first element in the list is at index 0 v. Lists are heterogeneous xvi. All of the elements can be different types(int, float, string, etc.) w. Creating a list xvii. Lists are identified with [] xviii. Options: 5. Start with an empty list a. >>> myList = [] b. >>> myList c. [] 6. List with initial values d. >>> myList = [“bread”, “milk”, “apples”, “cheese”] e. >>> myList f. [‘bread’, ‘milk’, ‘apples’, ‘cheese’] g. >>> myList.append(“water”) h. >>> myList i. [‘bread’, ‘milk’, ‘apples’, ‘cheese’, ‘water’] 7. In the above example, “bread” is at index 0 and “water” is at index 4 xix. You can place an empty string into a list!! x. Some list methods: xx. listName.append(value) – appends the value to the end of listName xxi. listName.reverse() – reverses the order of items in listName xxii. listName.count(value) – count the occurrences of the value in listName xxiii. listName.extend([list]) – append multiple items to the end of listName xxiv. listName.index(value) – locate the index of the value in listName xxv. listName.remove(value) – removes the first occurrence of the value from listName xxvi. listName.sort() – sorts listName y. Built-in functions that operate on lists: xxvii. len(listName) – count number of items in the list xxviii. del(listName[index]) – remove the item at index from listName VII. Strings z. A string is one or more characters of text strung together xxix. “c” xxx. “Hello” xxxi. “1234567” are all strings. {. Strings are immutable, meaning they cannot be changed or modified |. Creating strings xxxii. When making a string, “” are used xxxiii. Strings start at index 0! [0] | [1] | [2] | [3] | [4] | h | e | l | l | o | 8. var1 = “Hello” }. Accessing characters in a string xxxiv. Strings are sequences 9. Each element contains a character, and when put all together it makes a string xxxv. Assigning values 10. Mut use “” to set if literal j. variable = raw_input(“Please enter… “) reads the whole line typed xxxvi. Can use + to concatenate strings together, but not other types ~. String splicing . String methods/built-in functions xxxvii. string.capitalize() 11. returns a copy of the string with only the first letter capitalized xxxviii. string.upper() 12. returns a copy of the string in all capital letters xxxix. string.lower() 13. returns a copy of the string in all lowercase letters xl. len(string) xli. string.split(c) 14. returns a list of strings made by splitting string on all occurrences of c xlii. string[index] xliii. string.isalpha() 15. returns True if all characters in the string are alphabetic xliv. string.strip() 16. returns a copy of the string with all whitespace removed from the beginning and end of the string . String operators xlv. Concatenation - + 17. Adds to end of string. The new string object wil be the old string and the one you added onto the end of it xlvi. Repetition- * xlvii. Indexing- [ ] xlviii. Slicing- [ : ] 18. Slicing works from the first index specified and up to, but not including the last one. [1:4] will print out characters at indexes 1, 2, and 3, but not 4 [0] | [1] | [2] | [3] | [4] | H | e | l | l | o | 19. >>> string = “Hello” 20. >>> print string[1:4] 21. “ell” . Using a for loop with a string xlix. >>> for i in string: #this basically says to scan l. ... #condition #the string for instances of i VIII. ASCII Table . chr and ord functions li. chr() function converts a number to its corresponding ASCII value 22. >>> chr(104) 23. ‘h’ lii. ord() function converts an ASCII character to its corresponding number value 24. >>> ord(‘h’) 25. 104 IX. Decision-Making . if, elif, else constructs liii. if <condition>: 26. <perform an action> liv. elif <condition>: 27. <perform an action> lv. else: 28. <perform an action> . and, or, not operators lvi. used to join two conditions in if/while statements lvii. if <condition1> and <condition2>: 29. <perform an action> X. Validation . Using while loops for validation lviii. Condition is tested before the body of the loop lix. Loop only runs if the condition is true 30. So ,if you are done with the loop, you want the condition to fail (something will be False) 31. Basically, set a thing = True 32. then, while thing = True: k. what you want the loop to do for when thing = true l. in the end, set the thing to False so the loop ends . try/except blocks lx. Remember how the program will crash if the user puts in any wrong type of input? 33. A try/except structure will catch anything that may cause a crash 34. Will recover from a user error 35. The will contain/recover from errors so as not to end the entire program 36. Used for many things such as: m. File I/O n. Input from the keyboard 37. An error is called an exception 38. try and except are reserved words o. try try to do something that may cause an error p. except catch that error 39. structure is the exact same as an if/elif 40. Types of errors we can detect: q. ZeroDivisionError – divided by zero somewhere r. ValueError – receives an argument that has the right type but an inappropriate value s. NameError – name not found t. TypeError – wrong type 41. You can use several exceptions in the same try XI. Functions . A function is a procedure to complete a specialized task, no matter how small or large lxi. A package of code . Functions can be run any number of times you want . How to define functions lxii. Functions are sequential – start from the top and end at the bottom 42. Declare variables at the beginning of the function so you can use later lxiii. def functionName(): 43. To define a function . Arguments/parameters lxiv. What outside info does the function need in order to work? lxv. Formal parameters 44. Variables listed in a function definition 45. Variables that are local to a function 46. Contain a copy of the actual parameter’s value lxvi. Actual parameters (also called arguments) 47. Variables that are used in the function calls as parameters 48. Values are passed as a copy 49. Variables are part of some other scope . Passing a mutable object vs. an immutable object into a function lxvii. Mutable 50. Can change values when passed into another function lxviii. Immutable 51. Cannot change values when passed into another function lxix. Simple data types in python are immutable 52. Ints, floats, strings lxx. Complex data types are mutable 53. Lists, dictionaries, sets, etc. lxxi. If parameters are assigned an immutable value (e.g. a number), they can be assigned other values in the function. However, when the function completes, the original arguments retain their original values. That is, the change inside the function does not stay. lxxii. If parameters are assigned a mutable value (e.g. a list), they can be assigned other values in the function. Whatever changes you make to the list in the function will stick! 54. You do not have to return the same list back! . Return values XII. Local, Global Variables . Global variables lxxiii. “live” and can be accessed throughout the entire file lxxiv. Is not declared within any function, but rather, outside of them . Local Variables lxxv. Is declared within a function lxxvi. live and die in the function that it was created lxxvii. Can only be accessed by that function XIII. File I/O . Used to read/open files into the program . open() function lxxviii. open(“<filename>”, “<action>”) lxxix. open() takes two arguments: 55. The first is a string that represents the system path to the file you want to open and the filename. The path can be either an absolute full system path to the file, or it can be a relative path with respect to the directory where the program is running. 56. The second argument specifies what you want to do with the file. This is called the mode. You can either read(“r”), write(“write”), append(“a”), or read and write(“r+”): u. “r” – reads the file v. “w” – write to the file i. Used to create a new file and write into it w. “a” – append data to an already existing file. If a file already exists with the same name, then anything we write to the file will be appended to the file, after the previously existing data. ii. Unlike write mode, it appends data to the file after any previously existing data. x. “r+” – allows you to read and write to a file. iii. When using this mode, you can read through a file until you find the place where you want to start writing, and then write to the file. iv. However, in this mode, when you write to the file, what is written has to be exactly the same length as the original text that gets replaced, if it is to leave the remainder of the file unchanged. This behavior severely limits the usefulness of this mode. . readline/write methods lxxx. To read a line from the file, you use the command file.readline(). This command will return a string representing the next line of text in the file. Whenever a file.readline() command is issued, the file variable will set its position in the file to the next line. This means that subsequent calls to file.readline() will return the line after the last one that was returned. 57. If you try to read a line when there are no more lines in the file, the file.readline() statement will just return an empty string. 58. If you want to remove the new line character you can use the string method strip() y. file.readline().strip() 59. if you want to do processing on every single line in a file, python gives us a much easier way to do this using a ‘for’ loop z. >>> file = open(“file.txt”, “r”) {. >>> for line in file: |. ... line }. ... ~. ‘This is line 1\n’ . ‘This is line 2\n’ . ‘This is line 3\n’ . close method lxxxi. You should always close the file when you’re finished using it! lxxxii. file.close() XIV. Loops . for and while loops . Nested loops . Uses of loops lxxxiii. Validation lxxxiv. Menu Loop lxxxv. Sentinel Loop lxxxvi. Accumulator Loops lxxxvii. Loops for File I/O XV. Top-Down Design . What is it? lxxxviii. Top-Down Design is a way of programming that helps increase the efficiency and organization of the programmer when writing code. lxxxix. It starts with looking at the problem as the big picture, and then simplifies it by breaking it down into smaller problems to solve one at a time. . How do you use it? xc. It’s helpful to write out all of the function names and what they’re supposed to do, and then further breaking them down into smaller functions that will all come together to solve the problem. xci. When using top-down design, you want to write functions as stubs . What are the benefits? xcii. It increases efficiency and organization of the programmer xciii. It makes the code look better/more organized. Rather than just having one large function that does everything, you can break it down into smaller parts and solve the problem one part at a time. XVI. Random() and randrange() functions XVII. Sets . The Set Object xciv. A set is an unordered collection of items xcv. Duplicates are not allowed 60. If there are duplicates, they’re ignored xcvi. Items in the set are immutable (cannot be changed) . Common Operators/Methods for Sets xcvii. in – checks to see if an element is in a set xcviii. == - checks is a set is equal to another set . Built-In Functions xcix. len(set) – count the number of items in the set . Methods for Sets c. issubset(set) – determine if the set is a subset of another one 61. example: x.issubset(y) 62. Does x have duplicates of ALL of its elements in y? Is x a subset of y? ci. issuperset(set) – determine if the set is a superset of another 63. reverse of issubset cii. add(item) – adds an item to a set ciii. remove(item) – removes an item from a set civ. clear() – remove everything from the set cv. copy() – copies a set, and returns that copy cvi. Set operations (on multiple sets) 64. union(set) – create a union with another set . unifies both sets 65. intersection(set) – create an intersection with another set . Consists of everything that is common to both sets 66. difference(set) . Order is important!! . x.difference(y) – what does x have that y doesn’t? XVIII. Dictionaries . Also called Associative Arrays . Uses tuples of key-value pairs cvii. Tuples = grouping of data cviii. One key per value KEYS | VALUES | “John” | “Biology” | “Joe” | “CS” | “Susan” | “Math” | 67. However, a key can have a list of multiple values . dict = {“key:[value1, value2, value3]} a. Uses “keys” cix. Think of a key as an index cx. Immutable cxi. Keys are in random order cxii. students = {“John”: “Biology”, “Joe”: “CS”, “Susan”: “Math”} b. Common operators/methods cxiii. has_key(key) method 68. >>> students.has_key(“Joe”) 69. True cxiv. get(key) method – find the value associated with the key 70. >>> students.get(“John”) 71. ‘Biology’ cxv. get(key, default) – use a default value when a key isn’t found cxvi. keys() method 72. >>> names = students.keys() 73. >>> names 74. [‘John’, ‘Joe’, ‘Susan’] cxvii. values() method 75. >>> majors = students.values() 76. >>> majors 77. [‘Biology’, ‘CS’, ‘Math’] cxviii. copy() method 78. >>> temp = students.copy() 79. >>> temp 80. {‘John’: ‘Biology’, ‘Joe’: ‘CS’, ‘Susan’: ‘Math’} cxix. clear() method 81. >>> students.clear() 82. >>> students 83. {} 84. >>> temp 85. {‘John’: ‘Biology’, ‘Joe’: ‘CS’, ‘Susan’: ‘Math’} c. Built-in functions cxx. len cxxi. del XIX. Classes and Objects . Strings and lists are examples of some object we have been using throughout the semester . We now want to create our own custom objects cxxii. In order to do this, we first need to define a class . How to design a class cxxiii. A class defines a new type and contains: 86. Instance variables (called member variables in some languages) 87. Methods (functions that can be called by using instances of the class) cxxiv. A class can be thought of as a template or a blueprint cxxv. Once you define a class, you can create instances of the class 88. An object is an instance of a class cxxvi. What you need to define a class: 89. Constructor . A constructor is a shortcut method that fills values into an INSTANCE . Called __init__ . Called as soon as you create an instance . You should only have one __init__ method per class . Constructors are placed INSIDE the class they belong to 90. Accessors . “get” member values for instance variables v. Method names start with “get” . Does not change member variable values . Methods do not (usually) have parameters 91. Mutators . “set” or edit member values for an object vi. Method names start with “set” . Used to change member variable values . Can have error checking code 92. Other necessary methods . How to create an object . What are methods? cxxvii. In addition to accessors and mutators, your class can also have additional custom methods. cxxviii. These custom methods are like stand-alone functions (i.e. they need a name, can have parameters and return values), but they are called by objects using dot notation 93. s1.display() . What is self? cxxix. Used for identification cxxx. Self identifies the INSTANCE/OBJECT 94. Sets the value to “my” member variable 95. Remember “=” . Read right to left . Using = with objects cxxxi. Looks like copying data from one instance to another, but it’s actually just an alias. Any changes affect the original XX. cmp function . used to create your own sorting mechanism cxxxii. you may be given a task where sorting is more complicated >>> cmp(5, 3)1>>> cmp(5, 5)0>>> cmp(5, 7)-1 | cxxxiii. by Python default the cmp function is used cxxxiv. cmp function 96. returns 1, 0, -1 . How does it work? XXI. Sorting user-defined objects XXII. Stacks . Just a list!! cxxxv. You can still use the normal list methods (len, remove, etc.) . Stacks are an abstract data type for storing and retrieving data elements . Stack provides temporary storage in such a way that the data element stored last will be retrieved first (LIFO) cxxxvi. FILO – first in, last out 97. Like a stack of plates . The last plate you put on top is the first one to be taken off the stack 98. Operations are performed only at the top of the stack . Elements can be “pushed” or “popped” from the top cxxxvii. Push – stackName.push(element) cxxxviii. Pop – stackName.pop() . Top – prints the first element on top of the stack cxxxix. top() . Common problems with stacks cxl. Stack underflow 99. No elements in the stack, and you tried to pop an element cxli. Stack overflow 100. Maximum elements in a stack, and tried to add another 101. Not an issue using Python unless you run out of memory! XXIII. Queue . Just a list!! cxlii. You can still use the normal list methods (len, remove, etc.) . Queue is a data structure for storing and retrieving data elements . Queue provides temporary storage in such a way that the data stored first will be retrieved first (FIFO) . FIFO – first in, first out cxliii. Like a drive-thru window – the first to go in is the first to leave . Data processed from the beginning of the queue(“dequeued”) and new data added at the end of the queue(“enqueued”) . Enqueue cxliv. queueName.enqueue(element) . Dequeue cxlv. queueName.dequeue() . Peek XXIV. List of lists and queue of queues XXV. Linear/Binary Searching . Linear Search cxlvi. Linear search is considered an O(n) algorithm cxlvii. How does it work? 102. Starts from the beginning of the list, and one by one, searches for the target . Once it finds the target, returns the index where the target is presented 103. This can take a while if you have a large list cxlviii. Best case? 104. The value you are searching for is the first element – O(1) Best Case | O(1) | Average Case | O(n) | Worst Case | O(n) | 105. In this case, it only makes one comparison cxlix. Average case? cl. Worst case? 106. The value you’re searching for is the last element . Binary Search cli. Binary search is considered an O(log2n) algorithm clii. How does it work? 107. Given a list of numbers ALREADY SORTED and in ASCENDING ORDER 108. Searches for a value and returns the index Best Case | O(1) | Average Case | O(log2n) | Worst Case | O(log2n) | 109. Define Middle: . ALWAYS INT value of vii. (min_index + max_index)/2 viii. Size = 13, then middle = 6 ix. Size = 4, then middle = 2 110. Compare target with MIDDLE index highlighted 111. Redefine (reset) Left or Right sections of the list (if not target), repeat cliii. Best case? 112. Target that you’re searching for is the first element cliv. Average case? clv. Worst case? 113. Target that you’re searching for is the last element XXVI. Sorting: Bubble, Selection, Insertion, Mergesort, Quicksort . Decorate, sort, undecorated for lists clvi. Needed for unconventional sorting (unnatural ordering) 114. Longest words 115. number of occurrences of a value 116. etc… clvii. we can create a “decorated” list that contains: 117. count of unconventional order 118. original value . Bubble Sort clviii. Bubble sort is an O(n2) Sort 119. Not efficient 120. Remember n is the number of elements to be sorted 121. Note: if you double the size of the input, you would expect the time to increase by a factor of 4 clix. How does it work? 122. Compare 1st and 2nd items; if they’re out of order, swap. Now, compare 2nd and 3rd items…continue until end, (called a “pass”), then redo again until there are no more swaps to be done Best Case | O(n) | Average Case | O(n2) | Worst Case | O(n2) | clx. Best case? 123. The data is already sorted . Only passes through the list once clxi. Average case? clxii. Worst case? . Selection Sort clxiii. Selection sort is an O(n2) Sort clxiv. How does it work? 124. Finds the smallest element in the list and swaps it with the first element (pass) Best Case | O(n2) | Average Case | O(n2) | Worst Case | O(n2) | 125. Then start again until n-1 passes 126. Even if the data is sorted, is does the same amount of work as if the list is not sorted. . Insertion sort clxv. Insertion sort is an O(n2) Sort clxvi. How does it work? 127. Starts form the smallest, to the largest 128. Looks at the next element, and places it in the correct ordered spot, in all of the previous elements checked already. 129. Think of it as a deck of cards – each one you draw you immediately put in order Best Case | O(n) | Average Case | O(n2) | Worst Case | O(n2) | clxvii. Best case? clxviii. Average case? clxix. Worst case? . Mergesort, Quicksort clxx. Mergesort 130. Considered O(n logn) which is faster than O(n2) 131. Recursive 132. Needs extra memory 133. How it works: . Split the list into two equal halves, and places them in separate lists. Each list is recursively sorted, then merged back together to form the final sorted list.

clxxi. Quicksort 134. Considered O(n logn) which is faster than O(n2) 135. Averages a faster time than other sorts 136. Does not require extra memory 137. Good cache performance 138. Good parallel performance 139. It is possible for it to be O(n2) in the worst case (e.g. if you pick the pivot as the first value and the list is already sorted) 140. Recursive 141. How it works: . Pick a pivot. Get all values smaller than the pivot on left of the pivot and all the values greater than the pivot on the right of it. Use recursion to sort the left and the right. XXVII. Command line arguments . What is sys.argv? XXVIII. Recursion . What is it? clxxii. A recursive definition is one which refers to itself as in the factorial and Fibonacci functions. clxxiii. Function calls itself 142. Each time the function calls itself, it gets a new set or parameters and local variables 143. The parameters and local variables from a previous call to the recursive function will still be preserved, on the call stack, until the function returns from the previous call. 144. Recursion can also occur indirectly by the invocation or a function that invokes the function that invoked it (e.g. A calls B which calls A…) 145. Recursion is an alternative to iteration. . Recursion can often provide a more elegant and a simpler solution compared to iteration . Recursive solutions are often less efficient than an iterative one . Some problems are difficult to solve without recursion (e.g. when the problem involves processing a recursively defined data structure) . How does it work? clxxiv. Recursion requires the following: 146. BASE CASE – there exists one or more simple solutions to the problem 147. GENERAL RULE – other cases of the problem can be expressed in terms of one or more reduced cases of the problem (i.e. closer to the known simple solutions) 148. Eventually the problem can be reduced to one of the simple solutions . Be able to analyze a recursive function XXIX. Binary search tree . Know how to make one . Inorder, preorder, postorder transversals XXX. Coupling, cohesion . Routine – a programming unit that performs a task, such as a function, procedure, method, or main class. (ex. getValidInt, append) . Module – a collection of objects that are logically related, such as constants, data types, variables, routines. . Component – a routine or module. In python, can also be an object or class. . Program structure clxxv. Every component should be clear about what it’s inputs and outputs are. clxxvi. This makes it so higher-level functions can use the lower-level functions, knowing that they will accomplish their intended goal. clxxvii. Examples of lower-level functions you have written are things such as getValidInt, enqueue, dequeue, pop, push, etc. clxxviii. This leads to component independence. . Component Coupling (the bad) clxxix. Coupling terminology: 149. Tightly coupled - many components rely on each other 150. Loosely coupled - some weak dependencies 151. Uncoupled - no connections clxxx. Our goal is always to MINIMIZE coupling. clxxxi. Ways things can be coupled: 152. One component calling another 153. One component passing data to another component clxxxii. Types of coupling 154. Content coupling – component directly modifying the control flow of another component. Very poor programming practice. 155. Common coupling – modifying a common data structure from different components. Accomplished by global variables. 156. Control coupling – Booleans or other controls passed between components. Passing of control flags as component parameters. Unnecessary way to program, and should be avoided. New components should be created to avoid this. 157. Stamp coupling – data structures (such as lists or stacks) are passed between components. Not as bad as previous kinds of coupling, but still not ideal and can often be eliminated. 158. Data coupling – primitive data is passed between components. Not a bad thing; as a matter of fact, it’s how functions are called that pass parameters. Minimizing this can be difficult and is unnecessary. . Component Cohesion clxxxiii. Coincidental cohesion – component parts are unrelated clxxxiv. Logical cohesion – logically related task in same component clxxxv. Temporal cohesion – performs tasks in sequence related by timing clxxxvi. Procedural cohesion – tasks grouped together to ensure mandatory ordering clxxxvii. Communicational cohesion – functions produce the same data set clxxxviii. Sequential cohesion – output from one function is input to next clxxxix. Functional cohesion – every processing element is essential to the function

Similar Documents

Premium Essay

Ffff

...Student Database Management System Abstract: An organized and systematic office solution is essential for all universities and organizations. There are many departments of administration for the maintenance of college information and student databases in any institution. All these departments provide various records regarding students. Most of these track records need to maintain information about the students. This information could be the general details like student name, address,performance, attendance etc or specific information related to departments like collection of data. All the modules in college administration are interdependent. They are maintained manually. So they need to be automated and centralized as, Information from one module will be needed by other modules. For example when a student needs his course completion certificate it needs to check many details about the student like his name, reg number, year of study, exams he attended and many other details. So it needs to contact all the modules that are office, department and examination and result of students. With that in mind, we overhauled the existing Student Database Management System and made necessary improvement to streamline the processes. Administrators using the system will find that the process of recording and retrieving students information and managing their classes, including marking of attendance, is now a breeze. In general, this project aims to enhance efficiency and at the same time...

Words: 308 - Pages: 2

Premium Essay

Ffff

...Kayla Ferguson 5th period 5/10/2011 Reflective Paper When I came into Communication Application, I didn’t know anything about it, or what it had to do with my daily life. But for the past three six weeks I’ve been in the class, it has really informed me about the many ways of communicating. During the first few weeks of class we quickly started to jump into the lesson. First we learned about communicating with our body language. We had to show many different ways of facial expressions, eye contact, gesture, posture, and movements dealing with our body. After doing it for awhile, I really grasped on to it. A couple of weeks later, we learned things about dealing with interference, such as physical, semantic, and psychological noises. That was super hard to understand the differences between the three! But I learned and understood it after a few lessons, and quickly embraced it, using it in the real world. Around the end of the second month in the communication class, the class went into talking about the communication process. It stated, and talked about the point of sending a message, receiving a message, and giving feedback from which you get from the message that was being sent to you. Learning all these different ways to communicate was a blessing, but the one I most benefitted from was the lesson about stage fright. It talked about the certain things you should do to overcome having fear in front of people. That particular lesson thought me how to stand up...

Words: 356 - Pages: 2

Free Essay

Ffff

...Student Name: Ubeydullah BÜYÜKABARLAR Teacher Name: Esra uzun mason Course Code upp_05 18 may 2015 Word Count: 589 Television and kids In the past, there weren’t any television. Therefore, children could spend their time to do a lot of things. Also, they had healthy life because they always ran, played football and walked outside which means they did sports. Nowadays, all families have TV. Therefore, children don’t give up television, so it means they are always sitting in front of TV. Children shouldn’t be allowed to watch TV because there are two primary negative effects of watching TV on kids, which are social problems and health problems. The first reason why children shouldn’t be allowed to watch TV is social problems. To begin with, children who watch too much TV can suffer from identity crisis. When children are watching TV, they see bad people on TV. Therefore, if they try to be like these people, they will take all negative side of this arts. According to Park (2013) illustrate that children and teens who can get to be extremely cliché and mentality of the performing artists on-screen characters which they see on TV. Therefore, it is hard for kids to be their own particular individuals. It means, when children watch TV a lot, they lose their own personality. Moreover, they have communication problems. A child who watches TV for a long time His brain will develop less than other Children. Also, if kids watch TV, they get addicted to it, so they won’t...

Words: 613 - Pages: 3

Premium Essay

Ffff

...Case Solutions Fundamentals of Corporate Finance Ross, Westerfield, and Jordan 9th edition CHAPTER 1 THE McGEE CAKE COMPANY 1. The advantages to a LLC are: 1) Reduction of personal liability. A sole proprietor has unlimited liability, which can include the potential loss of all personal assets. 2) Taxes. Forming an LLC may mean that more expenses can be considered business expenses and be deducted from the company’s income. 3) Improved credibility. The business may have increased credibility in the business world compared to a sole proprietorship. 4) Ability to attract investment. Corporations, even LLCs, can raise capital through the sale of equity. 5) Continuous life. Sole proprietorships have a limited life, while corporations have a potentially perpetual life. 6) Transfer of ownership. It is easier to transfer ownership in a corporation through the sale of stock. The biggest disadvantage is the potential cost, although the cost of forming a LLC can be relatively small. There are also other potential costs, including more expansive record-keeping. 2. Forming a corporation has the same advantages as forming a LLC, but the costs are likely to be higher. 3. As a small company, changing to a LLC is probably the most advantageous decision at the current time. If the company grows, and Doc and Lyn are willing to sell more equity ownership, the company can reorganize as a corporation at a later date. Additionally, forming a LLC is likely to...

Words: 18515 - Pages: 75

Free Essay

Ffff

...I m going to tell how the automobile has done a complete turn around. Starting with the steam engine powered carriage that was developed in 1769. Then moving to 1832 when the first electric carriage was developed. In 1885 the first gasoline powered three wheel vehicle was developed by Karl Friedrich Benz. This led to Gottilieb Wilhelm Daimler building the first four wheel powered car in 1886. These two great minds later combined in 1926 to form Mercedes-Benz corporation. 1913 was a big advancement in the car being produced. Henry Ford produced the Model T on the first assembly line. He was not only responsible for the assembly line but also for the five day eight hour a day work week . His famous saying was “Any customer can have a car painted any color that he wants as long as it is black”. The reason for black only cars was because it was easier to make on the assembly line. Fast forward to 1996 GM developed the EV1 total electrical vehicle, other car makers like Toyota, Ford got on board to build electrical cars. This was done as a test program in California. California built charging stations throughout the state. This program was scraped after three years of testing, because the battery production companies where sold to Chevron Oil Company. Which was a conflict in gasoline production. In 1999 Honda built the insight hybrid car. This car got 61mpg in the city and 70mpg on the highway. The insight was built for 7 years, and later brought back into production in...

Words: 272 - Pages: 2

Premium Essay

Ffff

...What is emotional intelligence? Emotional intelligence (EQ) is the ability to identify, use, understand, and manage emotions in positive ways to relieve stress, communicate effectively, empathize with others, overcome challenges, and defuse conflict. Emotional intelligence impacts many different aspects of your daily life, such as the way you behave and the way you interact with others. If you have high emotional intelligence you are able to recognize your own emotional state and the emotional states of others, and engage with people in a way that draws them to you. You can use this understanding of emotions to relate better to other people, form healthier relationships, achieve greater success at work, and lead a more fulfilling life. Emotional intelligence consists of four attributes:  Self-awareness – You recognize your own emotions and how they affect your thoughts and behavior, know your strengths and weaknesses, and have self-confidence.  Self-management – You’re able to control impulsive feelings and behaviors, manage your emotions in healthy ways, take initiative, follow through on commitments, and adapt to changing circumstances.  Social awareness – You can understand the emotions, needs, and concerns of other people, pick up on emotional cues, feel comfortable socially, and recognize the power dynamics in a group or organization.  Relationship management – You know how to develop and maintain good relationships, communicate clearly, inspire and influence others...

Words: 523 - Pages: 3

Free Essay

Ffff

...Subject | Stok Opname – Tahunan | Created by | Okt | Updated On | 2014 | Updated by | Okt | * Urgent | For review | * Please Comment | * Please reply | * Please recycle | Penjelasan umum: proses perhitungan stok fisik atas semua barang yang nilainya dicocokan dengan perhitungan pencatatan transaksi di komputer hingga menghasilkan selisih opname. Nilai selisih harus dipertanggung jawabkan 00 ke 11 setiap tahun. 90% dari keberhasilan opname terletak pada proses persiapan, sisanya adalah pelaksanaan. Workflow Diagram Stok opname - Tahunan: Stok Opname - Tahunan 1 | Penjelasan | Panitia opname 00 | Stok 11 | | A ACC? Pengajuan Mulai Persiapan fisik gudang Tidak Ya A Fisik Siap? B B Update Kode rak Inventarisir kd. rak C D Tidak Ya A ACC? Pengajuan Mulai Persiapan fisik gudang Tidak Ya A Fisik Siap? B B Update Kode rak Inventarisir kd. rak C D Tidak Ya | 1) Buat dokumen Pengajuan Stok Opaname Tahunan. Isinya adalah: a) Kepanitian: personil hitung, pengawas area, operator input, penanggung jawab. b) Rincian rencana persiapan opname. (lihat rincian diproses Persiapan) c) Jadwal batas terakhir update transaksi. d) Jadwal pelaksanaan opname. e) Jadwal transfer dan laporan ke 11 2) periksa kelayakan: apakah pengajuan opname tahuna diACC? f) Tidak: minta 00 koreksi. g) Ya: proses selanjutnya 3) Buat cek list dan pastikan: h) Barang: i) Tidak ada yang tercecer...

Words: 2433 - Pages: 10

Premium Essay

Ffff

...AEM 4160: Strategic Pricing Professor: Jura Liaukonyte Exam 2 – March 14, 8:40 AM Suggestion: do not delay studying till the last minute. Do not hesitate to contact me to ask questions or to schedule an appointment. I will also answer your questions via email. Exam is cumulative but there is more weight put on the material presented after EXAM 1.  There will be approximately 30% of questions (or total points) from Lectures 2 through 8 (excluding the cases and articles)  There will be approximately 70% of questions from Lectures 9 through 13 (including cases)  Remember that some of the material discussed in Lectures 9-13 actually relies on your complete understanding of prior lectures. Reading    Lecture Notes: Lectures 2 through 8 Lecture Notes: Lectures 9 through 13 HBS cases: o Advance Selling for Services o Pricing Information: How to Customize Both the Product and Its Price o Merck: Pricing Gardasil o The UCLA Medical Center: Kidney Transplantation Some highlighted topics Beyond the problems solved and discussed during the lectures and in HW3 and HW4 the following list should serve as a reminder of what we covered in lectures 9 through 13. Please refer to EXAM 1 handout for topics covered in lectures 2 through 8. • Services Pricing • Advanced booking • Pricing with capacity constraints • Uncertainty in demand • How to calculate optimal booking limit • Overage, underage costs • Optimal protection level and critical ratio •...

Words: 442 - Pages: 2

Free Essay

Ffff

...2016/1 DÖNEMİ SERBEST MUHASEBECİ MALİ MÜŞAVİRLİK SINAVLARINA İLİŞKİN DUYURU 5786 sayılı Yasa ile değişik 3568 sayılı Yasa ve 19 Ağustos 2014 tarih ve 29093 sayılı Resmi Gazetede yayımlanarak yürürlüğe giren "Yeminli Mali Müşavirlik ve Serbest Muhasebeci Mali Müşavirlik Sınav Yönetmeliğinde Değişiklik Yapılmasına Dair Yönetmelik" ile değişen 16 Ocak 2005 tarih ve 25702 sayılı Resmi Gazetede yayımlanmış "Yeminli Mali Müşavirlik ve Serbest Muhasebeci Mali Müşavirlik Sınav Yönetmeliği" hükümlerine göre, düzenlenen Serbest Muhasebeci Mali Müşavirlik Sınavları, aşağıda belirtilen tarihlerde Ankara, İstanbul, İzmir illerinde yapılacaktır. Bu sınava; stajını tamamlayan serbest muhasebeci mali müşavir aday meslek mensupları, Serbest Muhasebeci meslek mensupları ve anılan Yasa’nın 6’ncı maddesine göre, hizmet sürelerini stajdan saydıran aday meslek mensupları katılacaktır. 2016/1 Dönemi, SMMM Sınav Tarihleri * İlk kez sınava katılacaklar için odalara son başvuru tarihi * Tekrar katılacaklar için son başvuru tarihi : 19-20 Mart 2016 : 10 Şubat 2016 : 29 Şubat 2016 İlk kez sınav başvurusunda bulunacak adayların; 10 Şubat 2016 tarihi itibariyle stajlarını fiilen tamamlamış olmaları (Stajdan sayılan hizmetler, stajdan sayılan kurslar v.b) ve staj bitirme belgelerinin dosyalarında bulunması gereklidir. Sınavlara girmek isteyenlerin, Türkiye Serbest Muhasebeci Mali Müşavirler ve Yeminli Mali Müşavirler Odaları Birliği - Temel Eğitim ve Staj Merkezi Başkanlığı’na yukarıda belirtilen son başvuru...

Words: 1003 - Pages: 5

Free Essay

Ffff

...Dermot Russell 84 Bruce Crescent L4N 8T8 Barrie, ON (705) 796-5646 – Cell dmrussell88@live.com     Objective              To obtain a position that will enable me to gain more work experience and skills to broaden my future endeavours.   Summary of Abilities § Very dedicated and hardworking § Follows direction well, with enthusiasm § Works well as a team player and as an individual § Possesses strong computer skills of a PC including Word, PowerPoint and Excel   Accomplishments § Received C.P.R. Certificate § Received W.H.I.M.I.S. Certificate   Education High School Diploma February 2008 – October 2009 Barrie Adult Learning Center                                             Barrie, ON     Professional Experience General Labourer August 2011 - February 2012 Moore Packaging Barrie, ON Worked on machines making cardboard boxes Maintained a clean work environment Assessed orders and piled boxes in an proper piling pattern Assisted with the setup of the machine Printed out order tracking sheets Cook, Cashier                                                     June 2010 – August 2011 Wendy’s Restaurant                                                      Barrie, ON § Assessed order screen while processing orders accordingly § Kept work station clean and organized at all times § Responsible for the general up-keep and cleanliness of restaurant’s kitchen § Cashier duties as required...

Words: 337 - Pages: 2

Free Essay

Ffff

...HYDRAULIC JACKS Hydraulic jacks find variety of application in Civil and Structural Engineering such as plate Bearing and CBR tests on soils, Deformation and Insitu Shear tests on foundation rock strata, Elastic Modulus-tests on mass concrete and for pre-stressing steel wire in pre-stressed concrete. HEICO jacks are simple and compact in design and easy to operate. Jacks upto a capacity of 500 kN are provided with single plunger pumping units and those of capacity more than 500 kN are provided with double plunger type pumping units. Each jack is provided with a calibrated pressure gauge of appropriate capacity. The different types of Hydraulic Jacks manufactured by HEICO are detailed below:Note : All hydraulic jacks mentioned below have hand operated pumping units only. Bottle Type Jacks These are fully self contained jacks with integral pumping units and oil reservoirs. A detachable hand lever is provided for operation of pump. A 10 cm dia calibrated load gauge is supplied with each jack. Lifting handle is also provided on the jack. Cat. No. HJ54.05 HJ54.10 HJ54.15 HJ54.20 HJ54.25 Cap 50 KN 100 KN 200 KN 250 KN 500 KN Sensitivity 0.5 KN 1.0 KN 1.0 KN 2.0 KN 2.0 KN mm dia pressure gauge for those of higher capacities. Cat. No. HJ54.30 HJ54.35 HJ54.37 HJ54.40 HJ54.45 HJ54.50 HJ54.55 HJ54.60 HJ54.65 HJ54.70 HJ54.75 HJ54.80 Cap 50 KN 100 KN 150 KN 200 KN 250 KN 500 KN 750 KN 1000 KN 1500 KN 2000 KN 3000 KN 5000 KN Sensitivity 0.5 KN 1.0 KN 1.0 KN 2.0 KN 2.0 KN 5.0 KN 5.0 KN 5.0...

Words: 1174 - Pages: 5

Premium Essay

Ffff

...Learning Team Reflection QNT/351 1/22/2014 The way we would formally set up the hypothesis test is to formulate two hypotheses, one that describes our prediction and one that describes all the other possible outcomes with respect to the hypothesized relationship. By formulate your prediction (directional or not), and then we formulate a second hypothesis that is mutually exclusive of the first and incorporates all possible alternative outcomes for that BIMS case. In the first study, the process was plagued by data coding and entry problems, as well as some problems with the construction of the questionnaire, which together compromised the data integrity and yielded some disappointing results. However, the quantitative analysis of the data from the first study also provided some useful lessons learned from the process, which prepared the organization to undertake a more concrete quantitative analysis in a subsequent. The first step was to write the null hypothesis (H0), then write the alternative hypothesis (H1). We also set the alpha level (amount of error allowed) and determine degrees of outcomes. We Picked & calculate the significance test that fits our design. Last step was to accept or reject the null. Taking a closer look at the concrete quantitative analysis and the several degrees of outcomes we picked and calculated the appropriate significance test; as we discover interesting results that helps us formulate different conclusions about BIMS testing...

Words: 253 - Pages: 2

Premium Essay

Ffff

...Share Embed Like Public Sarah Talley and Frey Farms Produce: Negotiating with Wal-Mart No description by on 20 March 2014 • 1438 Comments (0) Please log in to add your comment. Report abuse Transcript of Sarah Talley and Frey Farms Produce: Negotiating with Wal-Mart Sarah Talley and Frey Farms Produce Frey Farm is a supplier of produce Frey Farm - Wal-Mart Cooperation Frey Farm started growing Negotiation with Wal-Mart Harsh weather conditions lead to high prices Looking at the future Sarah Talley and Frey Farms Produce: Negotiating with Wal-Mart Atmosphere Intermediate strategy Modes of Conflict Trust Building Model Background Collaboration Negotiation In 1997, Frey Farm became Supplier of Walmart Frey Farms & Wal-Mart Problem faced by both parties Negotiation strategy & approaches Future (Threats, challenges & opportunities) Presentation outline Sarah Talley accelerated the growth by selling produce Wal-Mart Co-Management was a concept developed by Wal-Mart In both cases, negotiation failed and Sarah Talley become a third party supplier GET STARTED Frey Farm wants to become a Co-Managed supplier Wal-Mart wants to offer local sourced produce at EDLP Objectives Market position Wal-Mart has superior bargaining power Perceived divergence of interests Conflict/Cooperation Power/Dependance Unbalanced power relationship Expectations Short-term: Wal-Mart demands lower prices Long-term: "Frey Farm wants to grow alongside Wal-Mart" Ideal position Interests and desires for both...

Words: 309 - Pages: 2

Premium Essay

Ffff

...I am the Corporate Communications Director within Harley-Davidson’s corporate headquarters. We here at Harley-Davidson consider our customer’s satisfaction and our relationship with them very seriously. It is Harley-Davidson’s responsibility to ensure our customers that we, here at Harley-Davidson, provide our customers with top, legendary brand service and high quality legendary brand motorcycles, which Harley-Davidson’s takes great pride in providing and servicing. We want our customers to experience our legendary Harley-Davidson Motorcycle; along with our competitive industry service standard; along with our legendary brand with our signature roar and easygoing riding. We want each of our customers to own a Harley-Davidson motorcycle and to feel part of the Harley-Davidson worldwide family. It has come to my attention that when you purchased your Harley Davidson motorcycle, that you have certain high quality standards which you have come to look for and to expect within Harley-Davidson Motorcycles. I do understand that you had some matters of interest concerning your recently purchased 2016 CVO Street Glide. Your concerns were as follows: (1) Rusted paint underneath the clear coat. (2) The chrome parts are defective. (3) And poor gasoline mileage not up to par nor up to Harley-Davidson’s high standards. Upon full inspection, the Harley-Davidson’s dealership was able to find that the 2016 CVO Street Glide was running and operating up to par and up to Harley-Davidson’s...

Words: 275 - Pages: 2

Premium Essay

Ffff

...Resort FM: Joklan Goni, MM MMR 50: A.A.G Ananta P.  Marcella Aprilia  Rico Pahlevi Company Profile 2006 1952 Parks & Resort 1923 Walt Disney Company 11 theme parks (California, Florida, Tokyo,Paris, HK), 35 Resort Hotel, 2 Cruise Company Profile • 1992: Eurodisney in France • Strategy: transplant an American-style park to Europe • Choice: Barcelona vs Paris • American management style • French indignation: cultural imperialism Concept Generation Images, products and experiences that epitomized fun, imagination and service through the ‘magic’ of legendary fairytale and story characters. Concept Screening (Design Funnel) Original American Style Disneyland Different culture between Americans and Europeans More European Disney Design Funnel Tokyo Disneyland proven big sucess A B D C F Feasibility E Good Finance, Bank willing to give loan and Government will give incentives Fun and Imaginative C B E F Acceptability 85% of French people welcoming Good Financial Return B F B Vulnerability Full consequences of adopting the option? Downside risk? Original American Disneyland Location Decisions Supply-side factors: - The Channel Tunnel was due to open in 1994 - Financial incentives from government - French government prepared to expropriate land from local farmers - Critics from French intellectual elite - Demand-side factors: Labour skill standard Paris is highly attractive vacation destination Suitable site available just outside Paris 85% of...

Words: 457 - Pages: 2