Free Essay

Here It Is

In:

Submitted By killabyte
Words 1167
Pages 5
1. Know the different programming structures and what they do:
a. Control – A logical design that controls the order in which a set of statements execute. Pg. 36
b. Decision – Allows a program to perform actions only under certain conditions. Pg. 115
c. Repetition – Causes a statement or set of statements to execute repeatedly. Pg. 163
d. Sequence – A set of statements that executed in the order that they appear. Pg. 36

2. Know the decision making structures – Pg. 140, 143
a.
If Condition - 1 Then… Statement
Else If Condition-2 Then Statement
Else
Statement etc
EndIf

b. Select Case –
Select testExpression Case value_1: statement etc Case value_2: statement etc
(And So On)

3. Be able to read a flowchart and determine the output – (Learn how to read a FLOWCHART)

4. Know the relational operators and how to use them: Pg. 119
a. > Greater than (x > y) Is x greater than y?
b. < Less than (x < y) Is x less that y?
c. >= Greater than or equal to (x >= y) Is x greater than or equal to y?
d. <= Less than or equal to ( x <= y) Is x less than or equal to y?
e. == Equal to (x == y) Is x equal to y?
f. != Not equal to (x != y) Is x not equal to y?

5. Know the different Logic Operators and how to evaluate them: Pg. 147
a. AND – This operator will allow you to connect multiple Boolean expressions. true AND false = false false AND true = false false AND false = false true AND true = true
b. OR - This operator will allow you to connect multiple Boolean expressions. true AND false = true false AND true = true false AND false = false true AND true = true
c. NOT – This operator reverse the truth of a Boolean expression.
NOT true = false
NOT false = true

6. Know the different types of loops and their properties (minimum times through, pre-test, post-test, when it is best to use them, etc…)
a. While (cond).. End While – pretest – At the beginning of a program.
b. Do While (cond) – posttest – While a program is running.
c. Do Until (cond) – posttest - While a program is running.
d. For Next – posttest - While a program is running.
Initialization – Before the loops begin, the counter variable is initialized to a starting value. Pg. 184
Condition – It is a Boolean expression. Pg. 165
Increment / decrement – Increment a variable means to increase its value. To decrement a variable means to decrease its value. Pg. 193
e. Know what a sentinel is and what it is used for – A special value that marks the end of a list of values. When processing a long list of values with a loop, a sentinel should be used. Pg. 205
f. Know what a flag is and what it is used for – A variable that signals when some condition exist in the program. When the flag variable is set to False, it indicates the condition does not exist. When the flag variable is set to True, it means the condition does exist. Pg. 154
g. Know what a running total is and how to program it – Is a sum of numbers that accumulates ith each iteration of a loop. A loop that reads each number in the series. A variable that accumulates the total of the numbers as they are read. Pg. 201

7. Be able to read Pseudocode, do a logic walkthrough (hand-tracing) and determine:
a. The output of the program
b. The number of iterations of a loop

8. Know what a Function is and how it differs from a module – A Function is a special type of module. It is a group of statements that perform a specific task. When you want to execute a function, you call it. A Function is a module that returns a value back to the part of the program that called it. Pg. 217. A module is a group of statements that exist within a program for the purpose of performing a specific task. Pg. 75

9. Know what data is in the Function header and how to determine:
a. Data type of the return value - Specifies the data type of the value that is returned from the function, the name of the function, and any parameter variables use by the function to accept arguments. Pg. 225
b. Be able to identify the return value –(Sample Header) Function Integer sum(Integer num1, Integer num2) Returns name parameter parameter
c. Know how to specify parameters and identify the type of each parameter -

10. Know the flowchart symbols – All symbols pg. 570 Processing Decision Module Call Start / End Connector
11. Know how to do simple validation and error checking: a. What happenings if there is no data to be read – This happens when an Input operation attempts to read data, but there is no data to read. This occurs when an Input statement executes and the user simply presses the Enter key without typing a value. Pg. 265
b. What defensive programming is and why it is necessary – It is the practice of anticipating errors that can happen while a program is running, and designing the program to avoid those errors. Pg. 265
c. Know what a data type mismatch is and how to fix them – An integer variable cannot hold fractional values. Pg. 244 A way to fix the problem is to convert the result of the math expression to an integer, and then assign that integer to the variable. Pg. 245

12. Files:
a. Know how to open and close a file – Open customerFile “customers.dat”, Close inventoryFile, pg. 365 - 372 Read = Input Mode – Declare Input/file inventoryFile pg. 368 Read –Only Mode – Read inventoryFile itemName pg. 368 Write = Output mode with overwrite - Write customerFile name pg. 365 Append = Output mode that adds to the bottom of existing file – Declare OutputFile AppendMode myFile pg. 372
b. Know how to read from and write to a file – Declare InputFile name / Read inventoryFile itemname pg. 368 Write customerFile name pg. 365
c. Know the difference between a text file and a binary file and how they are treated differently – A text file contains data that has been encodes as text, using a scheme such as ASCII or Unicode. You can view a text file with a text editor. A binary file contains data that has not been converted to text. You cannot view a binary file with a text editor. Pg. 363

Know what direct access is and when you would use it - It is how you access data. You can jump directly to any piece of data in the file without reading the data that comes before it. Pg. 364 Know what sequential access is and when you would use it – It is how you access data. You access data from the beginning of the file to the end of the file. pg. 364
d. Know the flowchart symbols for opening and closing files – pg. 366

Similar Documents

Free Essay

Here It Is

...Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here here. Here here here here...

Words: 561 - Pages: 3

Premium Essay

Here

...ORGANISATIONAL BEHAVIOUR MBA 1.2 ORGANISATIONAL BEHAVIOUR SYLLABUS UNIT 1 Introduction to Organisational Behaviour, Meaning; Elements; Need; Approaches; Models; Global scenario. UNIT 2 Individual Behaviour; Personality; Learning; Attitudes; Perception; Motivation; Ability; Their relevant organizational behaviour. UNIT 3 Group dynamics; Group norms; Group cohesiveness; Group Behance to organizational behaviour. UNIT 4 Leadership Styles; Qualities; Organisational communication; Meaning importance, process, barriers; Methods to reduce barriers; Principle of effective communication. UNIT 5 Stress; Meaning; Types; Sources; Consequences; Management of stress. Power and Politics; Definition; Types of Powers; Sources; Characteristics; Effective use of Power. UNIT 6 Organisational Dynamics; Organisational design; Organisational effectiveness; Meaning, approaches; Organisational culture; Meaning, significance; Organisational Climate; Implications on organizational behaviour. Organisational Change; Meaning; Nature; Causes of change; Resistance of change; Management of change; Organisational development; Meaning; OD Interventions. REFERENCE BOOKS 1. Fred Luthans, Organisational Behaviour, McGraw Hill Book Co., 1995. 2. Stephen P. Bobbins, Organisational Behaviour, Prentice Hall, 1997. 3. Keith Davis, Human Behaviour at Wor/c,.-M.cGraw Hill Book Co., 1991. 4. Gregory Moorehead and R.S. Griffin, Organisational...

Words: 54737 - Pages: 219

Premium Essay

Here

...HALF MARATHON TRAINING SCHEDULES: Prepared by Maurice Ault – UK Athletics Group Event Coach (Speed & Endurance). Introduction: My approach to running has always been to keep it simple. Internationals and super elite runners very often have personal coaches and are able to dedicate their daily lives to running. Most others have to fit training and racing around family, work, education and social constraints. These programmes recognise these constraints and can be modified to suit each individual’s needs and circumstances. Key considerations in training plans: Whatever one’s natural ability may be, and irrespective of age, certain general principles apply. 1. 2. 3. 4. Training should be focused on the reason for running, and racing, in the first place. Training needs to meaningful and related to each person’s natural physical ability. One can continually improve until optimum performance level is reached. Never train when unwell (or injured) – no matter how slight the problem maybe. You will only make the problem worse and delay your return to normal training. 5. Never train in adverse weather conditions. You will only waste time and energy. 6. Quality of training is always more important than quantity. Don’t do ‘junk’ miles. 7. It’s essential to keep a simple training diary noting dates, weather conditions, what training is done & how did you feel during, and after, training. Important elements in training: 1. Training should always include aerobic work, eg making the heart and...

Words: 2037 - Pages: 9

Free Essay

Here

...Chapter 7 Civ Pro Discovery 1. a. a. In davis it was relevant because they needed the information to prove that the company did discriminate. b. In Steffan it was not relevant because he already admitted to being Homosexual. 2. Yes he must answer this time because his sexual conduct has something to do with what he is being tried for. 3. c. In Davis they used Fed. Civ proc. 26 (b)(1) stating that the complaints of discrimination may be relevant to establish pretext. i. In Steffan he argued Rule 37 which states that failure to comply to the discoverable rule his actions would be dismissed. But no sanction may be held if it was an error of law. d. Court of appeals? e. How did he reach the appellate? f. That the power of the district court is easily overruled. 4. Barbaras bank account is not discoverable 5. Yes it is discoverable 6. Yes discoverable Notes: 1. No she does not violate any law. 2. The court felt like Silverstis was securing an advantage by simply ignoring his duty. a. The law suit still shouldn’t proceed b. No it would not be fair 3. 26(a) automatic disclosure Discovery request Protective orders Expert info Sanction We are dealing with Discovery request 26b you can get to the subject matter What is relevant? Relevant has to be based on the underlying law. Motion to compel Notes for 472 1. Jan 14 Discoverable...

Words: 673 - Pages: 3

Free Essay

Here

...* 000000 Motion * Acceleration * Velocity Keywords * Motion * Acceleration * Velocity * Circular Motion * Vectors * Harmonic Motion * Kinematics * Rotational Motion * Linear Motion Sample Learning Goals * Is the velocity vector blue or green? How can you tell? * Is the acceleration vector blue or green? How can you tell? * Explain why the velocity and acceleration vectors behave as they do for the preset motions (linear acceleration I, II, circular motion, & harmonic motion). Tips for Teachers The teacher's guide (pdf) contains tips created by the PhET team. Teaching Ideas Title | Authors | Level | Type | Updated | 2D Motion | Patrick Foley | HS | Lab | 9/20/12 | Rotational Motion | Sarah Stanhope | HS | Lab | 1/27/11 | 1 Dimensional Motion - Kinematics and Graphing | Sarah Stanhope | HS | Lab | 1/27/11 | Introduction to rotational motion | Sarah Stanhope | HS UG-Intro | CQs | 2/24/10 | 2D Motion Activity | Drew Isola | HS | CQs | 1/11/09 | Vectors Phet Lab | Chris Bires | HS | Lab | 8/4/10 | Modeling a linear simple harmonic oscillator | Mark Kelly | UG-Intro | Lab | 4/7/08 | Motion in Two Dimensions | Gretchen Swanson | HS | Lab | 9/18/07 | You can submit your own ideas and activities. Translated Versions: Language | Language (Translated) | Simulation Title | | | Arabic | العربية | الحركة في بعدين | Run Now | Download | Arabic, Saudi Arabia | العربية (السعودية) | الحركة...

Words: 278 - Pages: 2

Premium Essay

Here

...Chele Lyn, Wong (1770152) Tutorial day/time : Thursday/ 1:30pm Q) Identify the five (5) cultural dimensions stemming from Hofstede’s study. Using examples, explain how two (2) of these dimensions can impact upon international business. Hofstede used extensive data collected by IBM (International Business Machine) to develop four universal dimensions that can be applied across all nationalities. A fifth dimension was added later. 1) Power Distance: “Power distance is the extent to which the less powerful members of organizations and institutions (like the family) accept and expect that power is distributed unequally.” How readily society expects and accepts inequalities, for example in terms of power, wealth. Besides, how easily do less-powerful members in an organisation accept and expect power to be distributed unequally among individuals. Hofstede found that countries with a low PDI have consultative domestic politics. Conversely, countries with a high PDI index correlates positively with corruption and bribery. PDI describes the way people perceive power differences and acknowledge distance from power and decision making. For example, Brazil have a high score on the PDI index (69 out of 100). 2) Uncertainty Avoidance: “A society's tolerance for uncertainty and ambiguity”. It is a extent of formal rules and patterns of life for security. In more emotional cultures, there is a tendency to create rules so that people have a good predictive validity...

Words: 1849 - Pages: 8

Premium Essay

Here

...Civics Exam Review Terms Common Good - All citizens should be responsible, caring individuals that can work towards the common good. Dictatorship – A system (in which) a single ruler seizes absolute power by banning opposition Ward - Geographical subdivisions designed for elected council Constitutional Monarchy Global Village - the world seen as a community in which people are connected by computers, television, etc., and all depend on one another By Laws – A law or rule passed by municipal council and applicable only to that municipality Consensus - a system of decision making based on one common agreement to all people. Pluralistic Society - A society in which different groups with a range of beliefs can influence political life Civics – the study of duties and rights of citizenship Figurehead - A leader or head of state without any real power in government Government – the rule or authority or a country, province or district Suspended Sentence – a judgement that is not carried out, provided the offender meets certain requirements set out by the judge. Summons - Document sent to citizens informing them of jury duty responsibilities Right - A privilege guaranteed by law to citizens – Vote – the act of expressing an opinion by a show of hands or ballot; used to make a decision such as a resolution or electing a candidate to office Rule of Law - Everyone must adhere to the same laws. These laws are known, predictable and impartial...

Words: 643 - Pages: 3

Premium Essay

Here

...Demonstrative Communication Paper BCOM/275 Demonstrative Communication Paper Communication is often thought as strictly verbal and people tend to forget that they can communicate in different ways rather than verbally. Nonverbal communication is the other half of communication that includes the elements of facial expressions, tone of voice, hand gestures, body language, and the most important element: eye contact. The unique aspect of nonverbal communication is that this type of communication occurs with friends, family, and even strangers. People may not be aware that they are performing any of these actions, as they communicate with people by making unintentional eye contact in passing. Nonverbal communication is also categorized as demonstrative communication. Demonstrative communication between people can be positive as well as effective because people who use proper communication methods are ensuring the speaker that listening is occurring. When used incorrectly, or to be rude or unreceptive to someone else’s message, the results of demonstrative communication will be ineffective and negative for both the sender and receiver. Demonstrative communication, much like verbal communication is broken down into positive, negative, effective, and ineffective. A prime example of how demonstrative communication can be both positive and effective is during a presentation either at school or at the workplace. When the sender of the message, or presenter, is conveying...

Words: 901 - Pages: 4

Free Essay

Here

...hgfdhfgfdddddgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf kjgh j jg u hgvfgdsg hgfg fghgfhf fghgfh fghgfh fhfgh fhfghf hyfgh fghfg fgh thy fgh kjhdsf...

Words: 511 - Pages: 3

Premium Essay

Here

...Darnell Clayton Business Report #4 Current Issues in Organizational Leadership July 28, 2011 Mr. Mike Studdard asked us to write a paper about where we think we will be and what our goals are in the next five years. It’s so interesting because instantly I focus on tangible things such as money and nice house. I grew up poor, and not knowing when my next meal was. I had to learn that the meaning of hard work was something that was not a privilege but something that was too be expected. However I grew up in a household where education was never very important. Maintaining a good credit score, finding a nice apartment, and getting a halfway descent tax refund what was my life was about. However when I think about what I want for the next five years, I think about the goal that has driven me for the past few years. I have always said that I wanted to make six figures by the time I was thirty, and I am nowhere near close. Some may find that goal as selfish, but my goal in life has always been to make as much money as possible to help as many people as possible. I have always been comfortable living in an apartment, but I have always said that I wanted to put my mother and my grandmother in a nice house. My grandmother has always wanted a nice kitchen and my mom does some unorthodox things to get money. My goal in life is be exactly the opposite of where I came from but ultimately never forget where I came from. It is astonishing to me how my professor does so...

Words: 415 - Pages: 2

Premium Essay

Here

...romotion: Promotion Promotion: Promotion Promotion is the method used to inform and educate the chosen target audience about the organization and its products. Using all the resources of promotion: Advertising Sales Promotion Public Relations Events and Experiences Coupons, Discounts and Bundled packages An organization finds most of its meanings and survival through promotion. At KFC, Promotion is the main tool to bring all chicken lovers attention towards its delicious one-of-a-kind product, the Fried Chicken. Profile criteria: Profile criteria 1. Gender: KFC is for each gender both male and female. 2. Income: Everyone can use the KFCservice upper and middle class . 3. Age: age limitation for using this product above 15 4. Occupation: By profession also everyone can use this product means businessman student workers and other peoples. 5. Education: It has no need more education that why the person who know something can easily enjoy with this product. PowerPoint Presentation: 6. Family life cycle: KFC is suitable in every stage of life like single married couple and also those who have children can use this product. 7. Lifestyle: This product is used in every level of social class like upper, middle class. 8. Attitude : When the customers once buy this product after that they can use the product continuously. 9. Purchasing decision: Often KFC changes the purchasing decision of customers because of its good attributes. 10. Geographic region: Geographically KFC is used...

Words: 1033 - Pages: 5

Premium Essay

Here

...The United States Supreme court ruled the Constitution’s Bill of Rights restricted only the powers of the federal and subsequently not those of the states in the case of Barron v. Baltimore in 1833. The petitioner, John Barron, was seeking a ruling against the city of Baltimore. Barron claimed the city had violated his Fifth Amendment rights. “The Fifth Amendment provides that the government may not take private property without just compensation”. Barron alleged that his wharf was too shallow for most boats to dock because of a road construction project. The city had dumped sand and other solid materials into the wharf impeding the water depth. After the first law suit, the state court found the city had deprived Barron of his rights to private property and awarded him $4,500 in damages. This compensation was to be paid by the city. Subsequently, an appellate court reversed the award, Barron appealed to the USSC, to which the case was reviewed in 1833. The opinion of the court was written by Chief Justen John Marshall. The decision upheld that the Bill of Rights delegated no power to the states and was only an application of the Federal Government. At that time, the Constitution was, seemingly, created only to apply to the Federal Government and not for individual states. Some states had drafted their own constitutions; however, Maryland had no law which mirrored the Fifth Amendment. The Supreme Court thus lacked jurisdiction (or power) to hear Barron's case and dismissed it...

Words: 1296 - Pages: 6

Premium Essay

Here

...Taylor Vincent IBM 200 Professor Wallace November 18, 2013 Assignment 5 1) After taking this class, and looking at my personality type, I have come to the conclusion that I would like to work for a non-for profit company following college. I think that being passionate about a cause can motivate one to perform better and at a higher caliber then one would work at a desk job that they did not enjoy. These choices are right for me because I enjoy serving and helping people through my actions and service. 2) There are two places that I would like to picture my future job. One is within the big city, Los Angeles, New York.. ect.. Another choice would be over seas and in a third world country. I feel that there are many causes that need help within third world countries and my services may bring help to these places. Possibly helping kids in Africa. Also these companies have headquarters, or people working for them, in major cities across the nation. 3) I would like to work for a not-for profit company that is already started and established and work for them for a few years. Possibly after I have gained knowledge and insight into the ropes of running a not-for profit company I could start my own and help a cause that I fully support and feel needs love. 4) Companies I would enjoy working for. a. Invisible Children- Helping to reduce LRA atrocities b. Amor Ministries- Builds and supplies homes for needy in Mexico c. Project Pomona-...

Words: 289 - Pages: 2

Free Essay

Here It Is

...I chose to put myself in the role of a Kindergarten teacher. I have selected three high quality books that this age would find appealing. The first book I picked was “I Ain’t Gonna Paint No More”. This book was written by Karen Beaumont. This book can be used in many ways to support intellectual growth. It can be used to support prediction. You can encourage the children to predict by asking open ended questions like “how do you think Mom will feel when she see’s that she painted on the walls” or “where do you think she will paint next”? This book is also great for working on rhyming words and rhythm. The second book I picked is “Wemberly Worried” written by Kevin Henkes. I picked this book for the many activities and conversations you can have within the subject. Two of the ways this book will support their intellectual growth would be in feelings, communication and self-regulation. Most children can relate to being worried. In kindergarten many children are still working on describing and recognizing feelings beyond the basic happy, sad and mad. The third book I would use is “Countdown to Kindergarten” by Alison Mcghee. This book would be wonderful all year but also in the fall when children can relate to counting down to starting Kindergarten. As with the previously mentioned books this book will also support intellectual growth in many ways. With this book you can work on counting and comparing, among other things. Common Core standards that these books could all support...

Words: 890 - Pages: 4

Premium Essay

Here and There

...I have been in Beijing for one and a half years, and my life only consists of three parts--studying ,working and making new friends.What I get the most is from making friends.. Today, I would like to share you two /three stories about what my friends brings to me. The first story is about how my friends gave me new perspectives Last Saturday afternoon, I paid a visit to Beijing Normal University under the guidance of a friend who studies in that school. My friend showed me around in the school and introduced to me their cafeteria, office building , library and so on. One thing must mention is that she can clearly tell me some details such as all the words entitled in the slogans are written by Qi Gong, the famous Chinese painter and calligrapher. I have a better knowledge of this university. But this is not the point. I realized that it is important to have good communication skills. She also told me that she ever thought how to describe something clearly and specifically to others.In her spare time,she usually tried to describe something she was interested in).In contrast to me, I have never thought about this problem. So this is just the difference between us. Most of the time we think that our school is nothing special and showing your friend around the school is a boring thing. However, if we can make some efforts for it, I believe we will enjoy this visit. She is fond of attending various of lectures. For example,when she get exposed to the writer’s body language...

Words: 810 - Pages: 4