Premium Essay

Programming Fundamentals

In: Computers and Technology

Submitted By ScoAce
Words 840
Pages 4
Francisco Acevedo
PRG/211
July 21, 2014
Instructor Forest Sun
Programming Fundamentals Paper There have been dramatic changes to information technology systems over the past couple of decades. For example, the hardware and the software that is installed for mobile phones have advanced tremendously. In earlier times, you would have to push physical buttons on the phone then press the send button to make a call, later you had to type in a number and hit send and it would begin the phone call, but now you need to open a specific application on the phone to place the call. The differences between these methods of completing a call can be described as Procedural Programming, which is the older model phones, and Object-Oriented Programming, which is the application based dialing used on phone today. Each method of programming has its own set of uses, strengths, and weakness, the programmer needs to establish what is needed before selecting the method of programming he wishes to apply. Procedural Programming is a method of writing software that is centered on the procedures or actions that take place in a program. It is a way of programming by identifying the set of steps to solve a certain problem and the exact order that they should be executed to reach the desired outcome or state. For example, if you want to calculate the month-end closing balance for a bank account, then the required steps would be as follows. First, you acquire the starting balance of the account and then you reduce all the debit amounts occurred during the month. After that, you add all the credit amounts occurred during the month. At the end of the process, you will get the month-end closing balance of the account (Ragel, 2011). One of the main concepts of Procedural Programming is the Procedure call. A procedure, also known as a subroutine, method or a function contains an…...

Similar Documents

Free Essay

Programming

...Calling an external function or program that is written in a different programming language like a Java program within a Visual Basic program you first need to know the Function fundamentals that’s executed in any programming language. I came across this website called maples, where they have the ability to connect to and call functions from other programming languages. Maple uses this for various reasons. Like all other languages, the F# function has a name, it can have parameters, has a body and takes arguments. F# also supports functional programming constructs such as handling functions as values, depleting unnamed functions in expressions, composition of functions to form new functions, curried functions, and the implicit definition of functions by way of the partial application of function arguments. Maple's help system documents all the External Calling functions so you can see what is available. Briefly, however there are functions for converting Maple types to C and back, creating and interacting with Maple data structures creating and interacting with Maple language elements (names, procedures, etc), printing to the Maple interface, memory allocation, evaluating Maple statements and raising exceptions. There is even a C interface to the Task Programming Model. The function-name is an identifier that represents the function. The parameter-list consists of successive parameters that are separated by spaces. You can specify an explicit type for each parameter, as......

Words: 394 - Pages: 2

Premium Essay

Programming

...times 4 and stores the result in a c. Divides a by 3.14 and stores the result in b d. Subtracts 8 from b and stores the result in a 8. Write a pseudocode statement that assigns the sum of 10 and 14 to the variable total. 9. Write a pseudocode statement that subtracts the variable downPayment from the variable total and assigns the result to the variable due. 11. If the following pseudocode were an actual program, what would it display? Declare Integer a = 5 Declare Integer b = 2 Declare Integer c = 3 Declare Integer result Set result = a + b * c Display result 12. If the following pseudocode were an actual program, what would it display? Declare Integer num = 99 Set num = 5 Display num PROGRAMMING EXERCISES (Input, processing, and output) 2. Sales Prediction A company has determined that its annual profit is typically 23 percent of total sales. Design a program that asks the user to enter the projected amount of total sales, and then displays the profit that will be made from that amount. Hint: Use the value 0.23 to represent 23 percent 3. Land Calculation One acre of land is equivalent to 43,560 square feet. Design a program that asks the user to enter the total square feet in a tract of land and calculates the number of acres in the tract. Hint: Divide the amount entered by 43,560 to get the number of acres. 4. Total Purchase A customer is a store is purchasing five items. Design a program that asks......

Words: 1054 - Pages: 5

Premium Essay

Fundamentals

...Fundamentals Macroeconomics is the study of the economy as a whole as opposed to microeconomics, which is the study of the economy within smaller sectors. It is a wide and varying subject. In order to grasp the subject there are some fundamentals that one needs to be familiar with. They are the gross domestic product (GDP), real gross domestic product (GDP), nominal gross domestic product (GDP), unemployment rate, inflation rate, and interest rate. These are the basics and interact with each other to determine the condition of the economy at any given moment. Domestic Products The gross domestic product is the total of everything produced within the US economy during a given period of time. It is the market value of all FINAL products. This means that only when an item is ready for consumer purchase is it tallied into the GDP. The individual pieces of the product are not counted before production. The GDP is used to get the real gross domestic product (GDP) and the nominal gross domestic product (GDP). The real GDP is what the GDP itself is actually worth as opposed to what it cost. The nominal GDP is the face value of the GDP. In other words, what it is actually going to sell for. Rates The unemployment rate is the number of people who are able, available to work, and actively seeking employment but who are not actually working. Inflation rate is the rate prices rise in a given period and interest rate is a percent of what one is charged when he or she charges an item....

Words: 702 - Pages: 3

Premium Essay

Benefits of Programming

...Benefits of Programming Knowledge John Padgett IT/ 215 August 8, 2013 Chan Benefits of Programming Knowledge When you are an IT professional, you really want to know as much as you can about your particular specialty as an IT member and you also need to have some knowledge in programming concepts as well. It really doesn’t matter what you do as an IT team member for a particular company, but as a member you need to have basic programming concept skills to be effective and understanding how to solve any problems that you may encounter. The main problem today for any IT division of a company is being able to support all aspects of IT that company may need. It starts with security for the company and its data all the way to systems managers and network engineers just to name a few of the positions that IT professionals have skills to perform those jobs within the companies IT team. Everything that you will do as an IT professional will require you to have some basic knowledge in programming concepts because just about all the areas in the IT field ultimately come down to programming the computer to do a specific function or task. If you don’t have the basic skills of programming concepts you will be lost when it comes to trouble shooting any problems. As an It professional you will come across many circumstances that will require you to have programming fundamentals to do the job required at the time. Having knowledge in the JAVA language is......

Words: 515 - Pages: 3

Free Essay

Programming

...the module in which its declared and only statements inside that module can access that module can access the variable. 5. The local variable usually beings at the variables declaration and ends at the end of the module which is then the variable is declared. 6. The difference between the both is that only a copy of the arguments value is passed and passing by reference means that the argument is passed into a specific type of parameter. 7. Global variables make debugging difficult because they make programming hard to understand, modules that use global variables are usually dependent and you have to track down every statement. Algorithm Workbench 1. Module main() Declare userNum as Integer Display “Enter a number” Input userNum Call TimesTen(usernum) Display usernum End 5. 13.4 00.0 00.0 6. 1, 3.4 0, 0 0, 0 7. Allows changes the values of passed parameters 1,3.4 0,0 0,0 Doesn’t allow changing of parameters 1,3.4 0,0 1,3.4 Programming Exercises 1. Kilo=input (“Enter distance in kilometers”) Miles=Kilo Print”, Kilo 2. Module TotalPurchase Declare Double amount, total Declare TAX=.06 While I<6 Display “Enter the price” Input amount Total=total+amount I=I+1 End while Display “Subtotal is:” + total Display “Tax is:” + (total*TAX) Display “Total is:”=(total*TAX)+total) End Module...

Words: 309 - Pages: 2

Free Essay

Programming

...Definitions ........................................................................................16 Datafile ............................................................................................................16 Record ..............................................................................................................16 Field ..................................................................................................................16 Key....................................................................................................................16 Search Key........................................................................................................17 A Quick Introduction to Object-Oriented Programming ......................................18 Problems with Procedural Languages ..............................................................18 Objects in a Nutshell ........................................................................................19 A Runnable Object-Oriented Program ............................................................21 Inheritance and Polymorphism ........................................................................24 New C++ Features ................................................................................................25 The string Class..............................................................................................25 The vector......

Words: 10065 - Pages: 41

Free Essay

Programming

...- -[ ] http://blog.renren.com/blog/73603/740437492 » / [ ] 2011-07-18 10:47 | ( : ) http://coolshell.cn/articles/4990.html 6 12 programming An open letter to those who want to start id Mailper Python Web “ Build Your Programming Technical Skills “ ( ) Notes/ActiveX/COM/ADO/ATL/.NET …… Mailper Delphi/Power builder ” Lotus 5 3D TA 561 ” The architecture of w-ai.org –... Some updates and my first Engl... / 10 Unix/Linux Windows 1 Linux Web+ 1 Python/Ruby Web 2 iOS Android Windows Windows Windows Linux+ Windows 9 : csv ( log python csv, python open, python sys) 52 word count (sys, os, path) (python sqlite) print Google (phrase, domain, use reader to follow tech blogs) 2 ( Vim / Emacs / Notepad++ Source Insight ( ctag) Cool IDE) / / 3 Unix/Linux Shell windows man ls/chmod/chown/rm/find/ln/cat/mount/mkdir/tar/gzip … sed/awk/grep/tail/less/more … ps/top/lsof/netstat/kill/tcpdump/iptables/dd… /etc /var/log /proc linux vmware player Ubuntu 1 6 9/6/13 1:36 PM - -[ ] http://blog.renren.com/blog/73603/740437492 /Linux 4 Web Web HTML CSS HTML Firefox + Firebug Javascript HTML DOM Firefox + Firebug Apache PHP PHP PHP chrome Nginx HTML MySQL MySQL SQL http://www.stanford.edu/~ouster/cgi-bin/cs142-fall10/index.php ) javascript HTTP: The Definite Guide browsers) Cookie/Session jQuery 4 3-5 ExtJS + Ajax ( +JSON (proxy, gateway, Javascript box model chrome DOM......

Words: 807 - Pages: 4

Premium Essay

Programming Fundamentals Paper

...lifecycle dramatically increased which can be costly which is what everyone wants to avoid. In order to compare and contrast procedural programming modules and objects we need to know a little about each beforehand such as a procedural programming module is known as a procedure which performs specific tasks and some of the tasks that are preformed are calculations, readings or writing files, and also output displaying and on the other hand the procedures that objects preform are known as methods and they are basically nothing more than modules or functions . Object-oriented programming is the type of programing that is responsible for creating objects and the areas of compare and contrast will be reusability, security in terms of hiding code, passing of data versus data encapsulation, how object-oriented methods are similar to procedural modules, and code reuse in more than one program. With the ability to create new classes that are based on existing ones is called inheritance which is a feature found in object-oriented programming and is one way of reusing existing code which has been written for some function already and the contrast with this is that this feature is not available in procedural programming as there is no concept for sharing characters. There is a huge benefit to using Inheritance for object-oriented programming language developers since they can write less code to get their job done as they can reuse the existing blocks of code. A class is code that...

Words: 891 - Pages: 4

Premium Essay

Computer Programming

...THE INTEGRATION OF BASIC COMPUTER PROGRAMMING IN 5TH & 6TH GRADE OF SILLIMAN UNIVERSITY Management 35: Business Research 1st Semester School Year 2014-2015 TABLE OF CONTENTS Title Page Table of Contents Lists of Charts Lists of Tables CHAPTER 1 THE PROBLEM AND ITS SCOPE Introduction Theoretical Background: I. It will promote computer literacy. A. Computer literacy definition 1. Dictionary definition 2. Operational definition B. Importance of computer literacy 1. Home 2. School 3. Work place C. Applications of computer literacy 1. Home 2. School 3. Work place II. A suitable precursor to advance programming. A. Fundamentals of computer programming 1. Programming languages 2. Application programs B. Relevance to Higher levels of programming 1. Scope of learning 2. Applied learnings C. Relevance to Higher educational levels 1. Theoretical background for computer courses 2. Supplementary learnings III. An asset to latent employment opportunities. A. Improved skill-sets 1. Programming skills 2. Analytical skills 3. Mathematical skills B. Relevance to fields of work C. Real life applications The Problem Statement of the Problem Objectives Significance of the study Scope of the Study Definition of terms Research Methodology Research environment Respondents of the Study Sampling Techniques Research Instruments Data Collection Procedures ...

Words: 3374 - Pages: 14

Premium Essay

Programming

...Question: Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array. The specific problem you need to solve for the final project is: Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average age of your family and print the names of anyone who live in Texas. 2. What is the required output? What is the necessary input? How you will obtain the required output from the given input? Clearly describe variable names and definitions. Include all necessary formulas and example calculations. 3. Display pseudocode of your overall design including the Main module and the order of the module, subprogram and function calls. 4. Create a Hierarchy chart for the overall program in raptor 5. detailed pseudocode for each module, subprogram and function. 6. Add pseudocode comments with all major functionality and most minor functionality commented 7. Show test plan covering all major functionality and most minor functionality. Multiple Input and expected output provided for most modules. SOLUTION: Analysis: For this program, user will be asked for name, age and state of their family members, one by one, until the user decides to stop entering this information. To achieve the given task (printing average family......

Words: 919 - Pages: 4

Free Essay

C++ Programming

...program without presenting the details. Data abstraction is a programming (and design) technique that relies on the separation of interface and implementation. Encapsulation Encapsulation is an Object Oriented Programming concept that binds together the data and functions that manipulate the data, and that keeps both safe from outside interference and misuse. Data encapsulation led to the important OOP concept of data hiding. Data encapsulation is a mechanism of bundling the data, and the functions that use them and data abstraction is a mechanism of exposing only the interfaces and hiding the implementation details from the user. Inheritance One of the most important concepts in object-oriented programming is that of inheritance. Inheritance allows us to define a class in terms of another class, which makes it easier to create and maintain an application. This also provides an opportunity to reuse the code functionality and fast implementation time. When creating a class, instead of writing completely new data members and member functions, the programmer can designate that the new class should inherit the members of an existing class. This existing class is called the base class, and the new class is referred to as the derived class. The idea of inheritance implements the is a relationship. For example, mammal IS-A animal, dog IS-A mammal hence dog IS-A animal as well and so on. Templates Templates in C++ programming allows function or class to work on more than......

Words: 1199 - Pages: 5

Premium Essay

Programming

...flowcharts to describe a program’s structure. Use pseudocode to define a program’s structure. Formulate solution algorithms for calculations by properly following the order of operations. Assignment Requirements Answer: * Short Answer 1, 2, 3, and 4 on page 71 * Algorithm Workbench Review Questions 1 and 2 on page 71 * Programming Exercises Questions 1 and 4, starting on page 72 Required Resources Textbook Submission Requirements Submit your written answers to your instructor at the beginning of Unit 3. Unit 2 Research Assignment 1: Researching Variable Naming Rules Learning Objectives and Outcomes Determine program input, processing, and output stages. Create the necessary flowcharts to describe a program’s structure. Use pseudocode to define a program’s structure. Formulate solution algorithms for calculations by properly following the order of operations. Assignment Requirements Use the Internet and the ITT Tech Virtual Library to research the following questions: What are the variable naming rules of Visual Basic, Python, and Java? List three similarities and differences in between the three programming languages. Required Resources Textbook ITT Tech Virtual Library: http://library.itt-tech.edu Submission Requirements Submit your written answers to your instructor at the beginning of Unit 3. Labs Unit 2 Lab 2.1: Pseudocode Learning Objectives and Outcomes * Use pseudocode to define a program’s structure. *......

Words: 450 - Pages: 2

Free Essay

Programming

...Programming 1 - Semester 1, 2015 Assignment 1 Release Date: 27 / 02 /2015 Total raw marks: 60 Assignment weight: 6% NOTE: This assignment is to be undertaken individually—no group work is permitted. Background information For this assignment you are to complete a partially completed menu-driven, Java console application, which allows the user to select one of four options:     Display Time and Date Swim Fitness Summary Calculator Sentence Analyser Exit The incomplete code solution (in the source file called MenuDrivenProgram.java) is in the same Assignment 1 folder, available via myRMIT. The partially completed program already has code to display the menu. You should study the code and then compile and execute it without implementing the following options. This will allow you to understand the flow of execution of the program, as is. a) Once the processing for the selected option has been completed the program should return to the menu (that is, the program should not terminate). b) You do not need to handle runtime errors of any kind for this assignment and you may assume that the user will always enter input in the correct format. This applies both to the menu itself and the processing of the menu options. Program Features Menu Option A - Display Time and Date (10 marks) The program should retrieve the current time and date from the system and then display it in the format shown......

Words: 1404 - Pages: 6

Premium Essay

Programming Fundamentals

...Programming Fundamentals Paper Johnny Garcia PRG/211 May 11, 2015 Programming Fundamentals Paper This is a step by step instruction guide explaining how to do damage control maintenance when you become a DCPO (Damage Control Petty Officer) in the US Navy. Step 1) Go to the scheduled DCPO mandatory meeting. A) In this meeting they will go over what needs to get done for the week. B) Also in this meeting you will get the list of maintenance you will need to complete for the week. Step 2) Organize your maintenance in order from what takes the longest man hours to what takes the least man hours. Tip) keep in mind that you are only allowed to perform 8 total man hours of work each work day. Add up the total man hours you were assigned and make sure you don’t go over your allotted man hours. This can result in disciplinary action. Step 3) Get your MRC cards for the maintenance you plan on doing for day 1. A) You can get your cards from your DCPO binder in the DC locker (same place you had your meeting). B) Read your MRC card carefully and understand the maintenance you have to do, what tools are needed, and what HAZMAT is needed. Step 4) Gathering your tools. A) Gather all the tools needed for the maintenance from your DCPO locker located in your division space. Tip) if you don’t have all the tools needed you may borrow tools from the DC Petty Officer in charge. You must sign out the tool and put down how long you will need it and what division you are in,......

Words: 906 - Pages: 4

Premium Essay

Programming Fundamentals Paper

...Programming Fundamentals Paper Programs are very important part in the information Technology ever changing world. For programmers to designing and coding a procedure, module, or object programming can be very complex and time consuming. Once these elements of a computer program are working correctly, it makes sense to use the code as often as practical. Reusability of codes has become a valuable part of adding efficiency to computer programming. Programs are instructions in sequence, which are made up with modules, which helps the computer hardware on performing data. The two types of programming languages that will compares in this paper are Procedural and Object-Oriented programming. Programmers can use flowcharts diagram that can represents, and visual the program processes. Key difference between Procedural and Object-oriented programming for the object-oriented program break down programming task into objects, which encapsulate methods and data; and for the procedural programming, which break task in to subroutines and variables of collections. The object-oriented program designing technique that used the top-down aspects to abstract data types with the combined modules and structure design. Object-oriented program design composes of system based on concept of an object. Object-oriented programming supports several characteristics directly. Message, method, object, and class are the attributes or entities in the object-oriented programming. Some benefits are......

Words: 510 - Pages: 3