Free Essay

Indi Assign

In:

Submitted By sthompson13
Words 807
Pages 4
Programming Development – Personal Learning Management

Programming Development: Personal Learning Management

Part 3

Author: Stephanie Heinrichs
University of Phoenix – PRG 211
3/22/14

Programming Development: Personal Learning Management

The part of the program I believe to need an array would be the entire program. The Subject, the Classes, the weeks, the keywords, and the notes. I am still unsure as to how the arrays work, I have been trying to practice them, but there is not much in the way of instruction on how to use them. I know it can be a list or a table, which works well with the program. For example, the program can be a table starting from the subject, breaking down into the classes, which break down into the weeks that break down into the keywords and the notes.

In my opinion, the only way the program could be put together in its simplest form would be in an array. Using an array can reduce the number of variable names needed in a program because a single array can be used instead of a collection of simple variables to store related data (Venit, Stewart & Drake, Elizabeth; Prelude to Programming Concepts and Design; Chapter 6- Arrays: Lists and Tables.). So using an array is the best way to simplify my entire program.

The best part of the array is being able to set up the search for the index of keywords. It will make being able to type in the keyword and pull up the table containing that keyword much easier. For this I will have to set it up for a binary search. The following pseudocode is updated to include the arrays and the binary search:

Pseudocode

Display “Student Notebook”

Display “Subject.......................................Enter 1”

Display “Class..........................................Enter 2”

Display “Week 1......................................Enter 31”

Display “week 2......................................Enter 32”

Display “Week 3 .....................................Enter 33”

Programming Development: Personal Learning Management

Display “Week 4 .....................................Enter 34”

Display “Week 5......................................Enter 35”

Display “Main point.................................Enter 4”

Display “Notes........................................Enter 5”

Display “Index.........................................Enter 6”

Display “Exit...........................................Enter 00”

Display “To edit any entry, enter choice number and add 0”

Input choice

Select case choice

Case 00:

Display “Good-bye”

Break

Case 1:

Call Subject class

Break

Case 2:

Call Class class

Break

Case 31:

Call Week 1 class

Break

Case 32:

Programming Development: Personal Learning Management

Call week 2 class

Break

Case 33:

Call Week 3 class

Break

Case 34:

Call week 4 class

Break

Case 35:

Call Week 5 class

Break

Case 4:

Call MainPoint class

Break

Case 5:

Call Notes class

Break

Case 6:

Call Index class

Break

Case (case + 0):

Edit class

Break

End Case

Class Subject

Public name

Programming Development: Personal Learning Management

Input name

Public set same

End Class

Class Class

Public name

Input name

Public set name

End Class

Class Week

Private week 1

Declare week (1) as integer

Private week 2

Declare week (2) as Integer

Private week 3

Declare week (3) as Integer

Private week 4

Declare week (4) as Integer

Private week 5

Declare week (5) as Integer

Input week 1, week 2, week 3, week 4, week 5

End Class

Class MainPoint

Set Mainpoint = Keyword

Set Keyword = Index

Public Name

Public get keyword

Programming Development: Personal Learning Management

End Class

Class Notes

Public Notes

Input notes

Public get Notes

Public set Notes

End class

Class Index

Private name

Private set keyword

Private get Keyword

Keyword = MainPoint

Private set Keyword

End Class

For (S = 0; S=4)

Write “Enter name for Subject”

Enter Subject (S)

End For

For (C = 0; C = 14)

Write “Enter name for class”

Enter Class (C)

End For

For (W = 0; W = 4)

Write “Choose week 1 – 5 for class “ & Class

Enter Week (W)

End If

Programming Development: Personal Learning Management

For K (K = 0; K = 224)

Write ”Enter Keywords for notes.”

Enter Keywords (K)

End If

For N (N = 0; N = 74)

Write “Enter your notes here:”

Enter Notes (N)

End If

Declare Subject (5) as Class Array

Declare Classes (15) as Class Array

Declare Week (5) as Integer

Declare Keywords (225) as Class Array

Declare notes (75) as Class Array

Set Index = (keyword + 1)

//The following is pseudocode taken from textbook “Prelude to programming; Authors Stewart Venit & Elizabeth Drake; 2011; Taken in 2014

Declare Low as Integer

Declare high as integer

Declare N as integer

Declare Index as Integer

Declare Found as Integer

Set Low = 0

Set high = 5

Set Index = Int (5/2)

Set Found = 0

While (Found = 0) AND (Low Array (Index) Then

Set Low = Index + 1

Set Index = Int ((High + Low) /2)

End If

If Key < array (Index) Then

Set High = Index – 1

Set Index = Int ((High + Low) / 2)

End If

End While

Programming Development: Personal Learning Management

References

• Stewart Venit & Elizabeth Drake; Prelude to Programming, Concepts and Design; Chapter 6: Arrays – Lists and Tables; 2011

Similar Documents

Premium Essay

Deneme

...TeAM YYeP BUSINESS G Digitally signed by TeAM YYePG DN: cn=TeAM YYePG, c=US, o=TeAM YYePG, ou=TeAM YYePG, email=yyepg@msn.com Reason: I attest to the accuracy and integrity of this document Date: 2005.04.20 19:31:36 +08'00' ECONOMICS AND MANAGERIAL DECISION MAKING Trefor Jones Manchester School of Management UMIST 4 PART I g CORPORATE GOVERNANCE AND BUSINESS OBJECTIVES INTRODUCTION Firms are major economic institutions in market economies. They come in all shapes and sizes, but have the following common characteristics: g g g g g g Owners. Managers. Objectives. A pool of resources (labour, physical capital, ¢nancial capital and learned skills and competences) to be allocated roles by managers. Administrative or organizational structures through which production is organized. Performance assessment by owners, managers and other stakeholders. Whatever its size, a ¢rm is owned by someone or some group of individuals or organizations. These are termed shareholders and they are able to determine the objectives and activities of the ¢rm. They also appoint the senior managers who will make day-to-day decisions. The owners bear the risks associated with operating the ¢rm and have the right to receive the residual income or pro¢ts. Where ownership rights are dispersed, control of the ¢rm may not lie with the shareholders but with senior managers. This divorce between ownership and control and its implication for the operation and performance of the ¢rm is...

Words: 34267 - Pages: 138

Free Essay

Time Driven Activity Based Costing

...www.hbr.org T OOL K IT Time-Driven Activity- Based Costing by Robert S. Kaplan and Steven R. Anderson • Many companie s abandoned activity-based costing because it did not capt ure the compl exity of their operations, took too long to implem ent, and was too expensive to build and maintai n. Here’s a way ar ou nd th ose problems. R eprint R0411J T OOL K IT Time-Driven Activity- Based Costing by Robert S. Kaplan and Steven R. Anderson harvard business review • november 2004 pa ge 1 C OPYRIGHT © 2004 HAR V A R D BUSINESS SCHO OL PUBLISHING C ORP OR A TION. ALL RIGHTS RESER VED. Many comp anies abandoned acti vit y-based costing because it did not capture th e complexity of their operations, took too long to implement, and wa s too expensive to build and maintain. Here’s a way around th ose problems. In the classroom, activity-based costing looks like a great way to manage a company’s lim- ited resources. But many managers who have tried to implement ABC in their organizations on any significant scale have abandoned the at tempt in the face of rising costs and em- ployee irritation. They should try again, be- c ause the new approach we lay out in the fol- lowing pages sidesteps the difficulties traditionally associated with large-scale ABC implementation by relying on informed man- agerial estimates rather than on employee sur- ve ys. It also provides managers with a far more flexible...

Words: 1955 - Pages: 8

Free Essay

Apple

...THE 7’S FRAMEWORK OF THE INDIGO AIRLINES. Strategy - three key tenets for success of indigo are affordable fares, on-time performance and hassel-free travel. These may seem like big words, but I personally experienced this while flying the airline. The fare was the second-lowest on the sector I flew, and I picked the flight because of its superior on-time performance as compared to others on the same route. In fact, even in-flight, there was emphasis on these three tenets, especially on-time performance. As for hassle free travel, I found the planes to be extremely clean and soothing music was being played upon boarding and alighting from the plane. Focus on excellent customer service pays off It’s Indigo’s emphasis on ensuring a great customer experience during interactions with the airline that is doing wonders for the brand. Special attention is paid to ensuring consistency in service across the A320 fleet and the experience at the airport matches that on-board the plane. In congested Indian airports, Indigo has roving “check-in counters” where passengers with only cabin baggage can check-in with an Indigo official with a handheld device, rather than lining up at the check-in counter. Another simple, yet effective measure. Style - Being a low-cost carrier, all of IndiGo's flights have no Business class or First class sections. It offers only Economy class seating. To keep fares always affordable, IndiGo has designed a clean, comfortable and reliable airline without...

Words: 3155 - Pages: 13

Free Essay

International Marketing

...Table of contents 1.0 Introduction 2.0 Situation analysis 3.0 Summary of key issues/challenges 4.0 Strategic Options and recommendations 5.0 Marketing Mix 6.0 Summary 7.0 References and bibliography 8.0 Appendices Introduction The global fashion industry is altering with higher end fashion stores opening and selling their goods on display in more international markets such as China. This report analyses and develops the foreign markets for high end fashion. A company has been set up is called Ted Maker Ltd. The company is looking into investing in overseas with its business. The company is already an established company which sells accessories in the UK. This report will seek to develop whether or not the company should open a store overseas. With competitors opening new stores and an increase in new store development, competition in the market is getting high. This indicates that how critical it is to the chain to expand its product lines and operations, in order to advance a competitive strategy to expand the financial attainment in the high fashion industry. The report will be seeking to identify important facts and figures around the business to recommend the best course of action to expand the chain. This report seeks to provide an analysis of the luxury accessories store by undertaking a strategic audit. The report will consider going on to any feasible strategic possibilities in worldwide expansion. 2.0 Situational analysis 2.1 Macro and Micro...

Words: 2223 - Pages: 9

Premium Essay

Solution Manual for a Course in Game Theory

...Solution Manual for A Course in Game Theory Solution Manual for A Course in Game Theory by Martin J. Osborne and Ariel Rubinstein Martin J. Osborne Ariel Rubinstein with the assistance of Wulong Gu The MIT Press Cambridge, Massachusetts London, England This manual was typeset by the authors, who are greatly indebted to Donald Knuth (the A creator of TEX), Leslie Lamport (the creator of L TEX), and Eberhard Mattes (the creator of emTEX) for generously putting superlative software in the public domain, and to Ed Sznyter for providing critical help with the macros we use to execute our numbering scheme. Version 1.1, 97/4/25 Contents Preface xi 2 Nash Equilibrium 1 Exercise 18.2 (First price auction ) 1 Exercise 18.3 (Second price auction ) 2 Exercise 18.5 (War of attrition ) 2 Exercise 19.1 (Location game ) 2 Exercise 20.2 (Necessity of conditions in Kakutani's theorem ) 4 Exercise 20.4 (Symmetric games ) 4 Exercise 24.1 (Increasing payo s in strictly competitive game ) 4 Exercise 27.2 (BoS with imperfect information ) 5 Exercise 28.1 (Exchange game ) 5 Exercise 28.2 (More information may hurt ) 6 Exercise 35.1 (Guess the average ) 7 Exercise 35.2 (Investment race ) 7 Exercise 36.1 (Guessing right ) 9 Exercise 36.2 (Air strike ) 9 Exercise 36.3 (Technical result on convex sets ) 10 Exercise 42.1 (Examples of Harsanyi's puri cation ) 10 Exercise 48.1 (Example of correlated equilibrium ) 11 Exercise 51.1 (Existence of ESS in 2 2 game ) 12 Exercise...

Words: 27123 - Pages: 109

Premium Essay

Cashless Economy

...Cash, Paper-based and Electronic Payments: A Theoretical Approach Francisco Calladoy Jana Hromcováz and Natalia Utrero , Abstract In this paper we provide a general equilibrium model that helps explaining payment choice at the retail level: cash, electronic and paper-based instruments. In particular, it provides theoretical foundations to reconcile previous empirical evidence on the matter. Payment pattern of a given country can be shaped by the payment infrastructure, the cost of each payment instrument, the degree of technology development and the interest rate. We show that the introduction of a cheaper payment instrument, in this case electronic payments, may be welfare improving. The calibration exercise for Norway illustrates that the policy of correct pricing of checks promoted by the Norwegian authorities may imply 4% increase in the welfare of the country. Keywords: cash; payments; human capital; cash-in-advance; JEL classi…cation: E42, E41, O42 This paper has bene…ted from suggestions and comments from Rolf Campos, participants in the Finance Forum in Madrid, Symposium of the Spanish Economic Association in Valencia and the seminar at Universidad de Murcia. Financial support from the Spanish Ministry of Education and Science through grants SEJ2007-60671/ECON, SEJ2007-62500, SEJ2007-67895-C04-02, Generalitat de Catalunya through the Barcelona GSE research network and Instituto Valenciano de Investigaciones Económicas are gratefully acknowledged. y Universitat...

Words: 11814 - Pages: 48

Premium Essay

Sip Report on Digital Marketing

...SUMMER TRAINING REPORT On Digital Marketing Talking Trendo.com Submitted in partial fulfillment of the requirements of Post Graduate Programme By Neelabh Manoj 2013-2015 PGDM20150020 DECLARATION FORM I NEELABH MANOJ hereby declare that the Project work On Digital Marketing submitted by me for the Summer Internship during the Post Graduate Program to IILM Institute for Higher Education is my own original work and has not been submitted earlier either to IILM or to any other Institution for the fulfillment of the requirement for any course of study. I also declare that no chapter of this manuscript in whole or in part is lifted and incorporated in this report from any earlier / other work done by me or others. Signature of Student: _____________ Signature of Company Mentor: ___________ Name of Student: ________________ Name of Company Mentor: ______________ Designation: __________________________ Date: Date: Place: Place: Contents Sl no. | Topic | Page no. | 1. | Acknowledgement | 3 | 2. | Executive summary | 4 | 3. | Objective | 5 | 4. | Company profile | 6 | 5. | History of talkingtrendo.com | 8 | 5.1. | Vision and culture | 9 | 6. | Digital marketing sector in India | 10 | 7. | Social media marketing tools | 15 | 8. | Log book of trends covered during internship | 16 | 9. | Methodology | 26 | 10. | Content building for trends | 27 | 11. | Challanges | 34 | 12. | Learning | 35 | 13...

Words: 8190 - Pages: 33

Premium Essay

Rmg Sector Safe Working Environment

...Journal of Business Ethics (2009) 88:351–366 DOI 10.1007/s10551-008-9968-9 Ó Springer 2008 Determinants of Corporate Social Responsibility Disclosure Ratings by Spanish Listed Firms Carmelo Reverte ABSTRACT. The aim of this paper is to analyze whether a number of firm and industry characteristics, as well as media exposure, are potential determinants of corporate social responsibility (CSR) disclosure practices by Spanish listed firms. Empirical studies have shown that CSR disclosure activism varies across companies, industries, and time (Gray et al., Accounting, Auditing & Accountability Journal 8(2), 47–77, 1995; Journal of Business Finance & Accounting 28(3/4), 327–356, 2001; Hackston and Milne, Accounting, Auditing & Accountability Journal 9(1), 77–108, 1996; Cormier and Magnan, Journal of International Financial Management and Accounting 1(2), 171–195, 2003; Cormier et al., European Accounting Review 14(1), 3–39, 2005), which is usually justified by reference to several theoretical constructs, such as the legitimacy, stakeholder, and agency theories. Our findings evidence that firms with higher CSR ratings present a statistically significant larger size and a higher media exposure, and belong to more environmentally sensitive industries, as compared to firms with lower CSR ratings. However, neither profitability nor leverage seem to explain differences in CSR disclosure practices between Spanish listed firms. The most influential variable for explaining firms’ variation...

Words: 9772 - Pages: 40

Premium Essay

Jobs Careers and Callings

...JOURNAL OF RESEARCH IN PERSONALITY ARTICLE NO. 31, 21–33 (1997) RP972162 Jobs, Careers, and Callings: People’s Relations to Their Work Amy Wrzesniewski University of Michigan Clark McCauley Bryn Mawr College Paul Rozin University of Pennsylvania and Barry Schwartz Swarthmore College We present evidence suggesting that most people see their work as either a Job (focus on financial rewards and necessity rather than pleasure or fulfillment; not a major positive part of life), a Career (focus on advancement), or a Calling (focus on enjoyment of fulfilling, socially useful work). Employees at two work sites (n ϭ 196) with a wide range of occupations from clerical to professional were unambiguous in seeing their work primarily in terms of a Job, Career, or Calling. Differences in respondents’ relations to their work could not be reduced to demographic or occupational differences; an homogenous subset of 24 college administrative assistants were, like the total sample of respondents, distributed evenly across Job, Career, and Calling. © 1997 Academic Press Work constitutes more than one-third of waking life for most human adults, and there is a substantial psychological literature devoted to the study of work. Satisfaction with work varies widely across individuals (Staw & Ross, 1985) and seems to constitute a substantial part of the subjective qualThis research was supported by funding from the John D. and Catherine T. MacArthur Foundation Network on Health-Related Behaviors. Correspondence...

Words: 5867 - Pages: 24

Premium Essay

Encountering Social Class Differences at Work

...ENCOUNTERING SOCIAL CLASS DIFFERENCES AT WORK: HOW “CLASS WORK” PERPETUATES INEQUALITY Using a microsociological lens, we develop a theoretical framework that explains how social class distinctions are sustained within organizations. In particular, we intro- duce the concept of “class work” and explicate the cognitions and practices that members of different classes engage in when they come in contact with each other in cross-class encounters. We also elucidate how class work perpetuates inequality, as well as the consequences of class work on organizations and those at the lower end of the organizational hierarchy. By examining microlevel interactions and how they become institutionalized within organizations as prevailing rules and practices, we contribute to both institutional theory and the sociology of social class differences. We encourage future research on social class and discuss some of the challenges inher- ent in conducting it. Several contemporary developments—includ- ing the financial crisis of 2008 (Rajan, 2010), the shrinking of the middle class (Leicht & Fitzger- ald, 2007), and the rise of the “new poor” in America (Cohen, 2010)— have reinjected the is- sue of social class differences and inequality (Stiglitz, 2012) into contemporary discourse. Within organization studies, however, social class has received only scant consideration (cf. Castilla & Benard, 2010; Dacin, Munir, & Tracey, 2010; Scully & Blake-Beard, 2006). While two re- cent exceptions...

Words: 21937 - Pages: 88

Premium Essay

Nothing

...2014 Data Science Salary Survey Tools, Trends, What Pays (and What Doesn’t) for Data Professionals John King & Roger Magoulas Take the Data Science Salary and Tools Survey As data analysts and engineers—as professionals who like nothing better than petabytes of rich data—we find ourselves in a strange spot: We know very little about ourselves. But that’s changing. This salary and tools survey is the second in an annual series. To keep the insights flowing, we need one thing: People like you to take the survey. Anonymous and secure, the survey will continue to provide insight into the demographics, work environments, tools, and compensation of practitioners in our field. We hope you’ll consider it a civic service. We hope you’ll participate today. Make Data Work strataconf.com Presented by O’Reilly and Cloudera, Strata + Hadoop World is where cutting-edge data science and new business fundamentals intersect— and merge. n n n Learn business applications of data technologies Develop new skills through trainings and in-depth tutorials Connect with an international community of thousands who work with data Job # 15420 2014 Data Science Salary Survey Tools, Trends, What Pays (and What Doesn’t) for Data Professionals John King and Roger Magoulas 2014 Data Science Salary Survey by John King and Roger Magoulas The authors gratefully acknowledge the contribution of Owen S. Robbins and Benchmark Research Technologies...

Words: 6640 - Pages: 27

Free Essay

Student

...The Nature of Risk Preferences: Evidence from Insurance Choices Levon Barseghyany Francesca Molinari Cornell University Cornell University Ted O’ Donoghue Joshua C. Teitelbaum Cornell University Georgetown University July 21, 2010 Abstract We use data on households’ deductible choices in auto and home insurance to estimate a structural model of risky choice that incorporates "standard" risk aversion (concave utility over …nal wealth), loss aversion, and nonlinear probability weighting. Our estimates indicate that nonlinear probability weighting plays the most important role in explaining the data. More speci…cally, we …nd that standard risk aversion is small, loss aversion is nonexistent, and nonlinear probability weighting is large. When we estimate restricted models, we …nd that nonlinear probability weighting alone can better explain the data than standard risk aversion alone, loss aversion alone, and standard risk aversion and loss aversion combined. Our main …ndings are robust to a variety of modeling assumptions. JEL classi…cations: D01, D03, D12, D81, G22 Keywords: deductible, loss aversion, probability weighting, risk aversion We are grateful to Darcy Steeg Morris for excellent research assistance. For helpful comments, we thank Matthew Rabin as well as seminar and conference participants at Berkeley, UCLA, the Second Annual Behavioral Economics Conference, the Summer 2010 Workshop on Behavioral/Institutional Research and Financial...

Words: 19303 - Pages: 78

Premium Essay

Business Ethics

...Discussion Questions of Ethics a) Define ethics & discuss its relationship with normative systems The Meaning of Ethics: Ethics, also known as moral philosophy, is a branch of philosophy concerned with the study of questions of right and wrong and how we ought to live. Ethics involves making moral judgments about what is right or wrong, good or bad. Right and wrong are qualities or moral judgments we assign to actions and conduct. Within the study of ethics, there are three branches: metaethics , concerned with methods, language, logical structure, and the reasoning used in the interpretation of ethical terms, for example, what exactly the term “good” means; normative ethics , concerned with ways of behaving and standards of conduct; and applied ethics , concerned with solving practical moral problems as they arise, particularly in the professions, such as medicine and law. Ethics provides us with a way to make moral choices when we are uncertain about what to do in a situation involving moral issues. In the process of everyday life, moral rules are desirable, not because they express absolute truth but because they are generally reliable guides for normal circumstances. Normative Ethics Normative ethics is fundamental to ethical decision making in the criminal justice system. A central notion in normative ethics is that one’s conduct must take into account moral issues; that is, one should act morally, using reason to decide the proper way of conducting oneself...

Words: 9406 - Pages: 38

Premium Essay

Accounting

...Introduction to Debits and Credits If the words "debits" and "credits" sound like a foreign language to you, you are more perceptive than you realize—"debits" and "credits" are words that have been traced back five hundred years to a document describing today's double-entry accounting system. Under the double-entry system every business transaction is recorded in at least two accounts. One account will receive a "debit" entry, meaning the amount will be entered on the left side of that account. Another account will receive a "credit" entry, meaning the amount will be entered on the right side of that account. The initial challenge with double-entry is to know which account should be debited and which account should be credited. Before we explain and illustrate the debits and credits in accounting and bookkeeping, we will discuss the accounts in which the debits and credits will be entered or posted. Note: We developed a visual tutorial of debits and credits as well as hundreds of exam questions to help you review and retain the information that follows. See AccountingCoach PRO to learn more. What Is An Account? To keep a company's financial data organized, accountants developed a system that sorts transactions into records called accounts. When a company's accounting system is set up, the accounts most likely to be affected by the company's transactions are identified and listed out. This list is referred to as the company's chart of accounts. Depending on the size of a...

Words: 10337 - Pages: 42

Free Essay

What Is the Internet of Things

...What Is the Internet of Things? Mike Loukides & Jon Bruner ISBN: 978-1-491-92180-7 THE O’REILLY INTERNET OF THINGS CONFERENCE “The future has a funny way of sneaking up on you. You don’t notice it until you’re soaking in it. That was the feeling at O’Reilly’s Solid Conference.” — Wired The traditional boundaries between hardware and software are falling. It’s a perfect storm of opportunity for a software-enhanced, networked physical world. The new products and services created from the melding of software, hardware, and data are built by people who work across disciplines and industries. A vibrant new community is emerging, made up of business and industry leaders, software developers, hardware engineers, designers, investors, startup founders, academics, artists, and policy makers—many of whom have never come together before. They gather at Solid to be inspired, to make connections and launch conversations, and to plug into the future for a few days. Will you be a part of it? Find out more at solidcon.com What Is the Internet of Things? Mike Loukides and Jon Bruner What Is the Internet of Things? by Mike Loukides and Jon Bruner Copyright © 2015 O’Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safaribooksonline...

Words: 9994 - Pages: 40