Chapter 9 introduced us to arrays (groups of related variables). It’s much easier to code an array than a bunch of independent variables by themselves, especially when they’re all going to be used for the same purpose. Lesson A gave us a basic overview of what a one-dimensional array is and how they are used. We learned about subscripts, and that the numbering method for subscripts starts at zero rather than one. We also went over the “GetUpperBound” method and the “For each… next” statement. Lesson B didn’t really introduce anything new, but it did teach us about parallel arrays. Lesson C introduced us to two-dimensional arrays, which are basically the same as a one-dimensional array with more than one row/column to populate and use. This lesson also covered how to use the “GetUpperBound” method with two-dimensional arrays.
Chapter 10 was all about structures and sequential access files. Lesson A started out b...
... middle of paper ...
...when multiple methods need to have differing parameters in order to do what is basically the same task.
Lesson C concluded the chapter by having us code a project with base classes and derived classes. A base class is the original class in a class file, while a derived class is a class that comes after the base class, and “inherits” the attributes and behaviors of the base class (constructors are never inherited though, and must always be created in new classes). We also learned that instead of re-coding constructors in derived classes, we can simply use the “MyBase” method to tell the computer to process the code written in the base class’s constructor(s). We finished off the lesson (and the chapter) by coding an application that used a base class and a derived class to calculate the area of a square and the area of a cube depending on which option the user picked.
Need Writing Help?
Get feedback on grammar, clarity, concision and logic instantly.Check your paper »
- One of the major paradigms in programming language is Object Oriented programming. In modern software engineering object oriented programming is considered as the major concept, as it allows the programmer to facilitate clean and efficient code. Apart from this, the design patterns of object oriented programming suits well with most of the computing issues. Object oriented programming produces well organized code and also focuses on determinant of productivity. In this report we will discuss and compare objected oriented programming language and procedural programming language along with the genesis of OOP.... [tags: Object-oriented programming, Programming language]
798 words (2.3 pages)
- Programming has been regarded as a logical procedure that “takes input data, processes it, and produces output data.” (Rouse, 2008, para 1) Three common examples of programming are object-oriented programming (OOP), event-driven programming (EDP), and procedural programming (PP). (Rouse, 2008) OOP is a programming language model defined by “objects” as opposed to "actions" and “data rather than logic.” (Rouse, 2008, para 1) EDP is a programming language model defined by reacting to user or processor actions such as keyboard strokes and mouse clicking to execute a command.... [tags: Programming language, Object-oriented programming]
876 words (2.5 pages)
- Programming Languages Programming language is a form of language that is designed to communicate instructions to a computer; the language can be used to control the behavior of the computer or calculate math equations. There are five generations of programming languages that have been developed from the 1930’s to present day. These programs make it capable for computers to perform a number of applications from computing algorithms to directing the behavior of the computer. Once the first computers were created programming languages took longer to develop.... [tags: Computer, Programming language, Computer program]
1174 words (3.4 pages)
- Identify at least two (2) advantages to using OOP as compared to using only PP. Object orientated programming or OOP is a form of programming in which developers describe not just the type of data of a data arrangement, but the kinds of functions or operations as well that can be utilized to the exacting data arrangement within the construction. Procedural programming is a programming style where operations are written in order and called in other parts of the plan, in that a modification in programming to one operation affects any code that is called by that operation.... [tags: Object-oriented programming, Programming language]
864 words (2.5 pages)
- Topic Analysis Essay – Computer Programming A computer is not a very smart thing on its own. This is because a computer cannot do much besides calculate math figures and such by itself. That is where computer programming comes in. Computer programming allows you to make the computer “smarter.” It does this by telling the computer what to do. Without computer programming computers would be almost completely useless. To tell the computer what to do programming gives it commands. Creating these commands requires creating variables and assigning them values.... [tags: Programming language, Computer program]
975 words (2.8 pages)
- Oliver Twist Chapter 1 Oliver Twist is born in a workhouse with the help of a drunken nurse and the parish surgeon. His mother, who they had found on the streets that night, has no wedding ring and after kissing her child on the forehead, dies. Chapter 2 Oliver is sent to a workhouse branch for children like him. The overseer is given a sum of money to keep each child healthy, but she keeps most of it for herself and lets the children starve and occasionally die. When Oliver turns nine, a church official named Mr.... [tags: chapter, workhouse]
2289 words (6.5 pages)
- History of Programming There’s a running joke that programmers spend more time automating a task than it takes to actually do the task. This joke has a lot more ground in the history of programming than most people realize. Even before the creation of what computers are currently perceived as, programming and computational thinking were evolving. From punch cards to text documents, computer programming has evolved to make it easier and more user friendly. Throughout computer history, people have been trying to make machines do anything.... [tags: Computer, Programming language, Programmer]
1059 words (3 pages)
- Pascal programming language was designed in 1968, and published in 1970. It is a small and efficient language intended to encourage good programming practices using structured programming and data structuring. Pascal was developed by Niklaus Wirth. The language was named in honor of the French mathematician and philosopher Blaise Pascal. In 1641, Pascal created the first arithmetical machine. Some say it was the first computer. Wirth improved the instrument eight years later. In 1650, Pascal left geometry and physics, and started his focus towards religious studies.... [tags: Data Structuring, Programming Language]
1328 words (3.8 pages)
- HANDS and Programming Humans were never meant to stare days at a time into a screen and type lines of code into a vast expanse of nothingness. Our minds reject such alien methods with surprising ferocity. It is for this reason that programming has taken a more human-centric approach. Programming is adverse to what humans are naturally inclined to do, and because of this a push has been made for a development of programming where the programmer is not doing that which is against his nature. An example of this is HANDS, which is a programming language that is primarily directed towards children, but incorporates the human-centric ideas.... [tags: Programming Technology Engineering Essays]
828 words (2.4 pages)
- The development of linear programming has been ranked among the most important scientific advances of the mid 20th century. Its impact since the 1950’s has been extraordinary. Today it is a standard tool used by some companies (around 56%) of even moderate size. Linear programming uses a mathematical model to describe the problem of concern. Linear programming involves the planning of activities to obtain an optimal result, i.e., a result that reaches the specified goal best (according to the mathematical model) among all feasible alternatives.... [tags: Computer Programming]
1277 words (3.6 pages)
- Chief Financial Officers and Strategic Planning
- Commentary of The Devil in the White City by Erik Larson
- Prophecy in Elizabethan Era and in Julius Caesar by William Shakespeare
- Abortion and its Consequences
- Overview of the O.J Simpson Trial
- Genre in Doyle’s The Adventures of Sherlock Holmes and Wells’ War of the Worlds