Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js
mariaha vassar
Note by , created more than 1 year ago

10th grade Programming Note on Flvs foundations of programming dba 2, created by mariaha vassar on 21/08/2017.

188
0
0
mariaha vassar
Created by mariaha vassar over 7 years ago
Rate this resource by clicking on the stars below:
1 2 3 4 5 (0)
Ratings (0)
0
0
0
0
0

0 comments

There are no comments, be the first and leave one below:

Close

Programming Now And Then

Today: Gaming, hacking, and developing code are part of our everyday world, Programmers today work in every industry imaginable. There are thousands of different programming languages today, all developed to meet different needs meaning a higher demand for smarter and more complex programs.

 

1981: MS-DOS was released, allowing people around the world to use the early operating system for their personal computers. Windows hadn’t been created yet, files on a PC in the 1980s meant typing in commands to direct the computer to the correct location. Programs were written so end users could type simple commands to open, close, and run applications. A computer programmer’s job expanded from developing specialized programs for specific purposes to building software for everyday users.

 

1968-1969: Niklaus Wirth designed the famous programming language, Pascal, The development of Pascal pushed programming into a new era—past general calculations and into a more sophisticated and structured approach, As programming became more sophisticated, the demand for programmers increased. More languages meant more opportunities for programmers to create new technology.

 

1957: John Backus developed the first programming language at IBM that is still in use today: Fortran. The language has evolved to perform highly advanced calculations and it is both fast and effective at completing tasks.  As computers got more advanced, so did programming. Programmers developed new languages so they could translate commands into binary, or machine code, so computers could understand.

 

1946: The Electronic Numerical Integrator and Computer (ENIAC), designed for military use, was the first electric, general-purpose computer. It had over 17,000 vacuum tubes, and its creators nicknamed the ENIAC the “Giant Brain. Early on, a programmer’s job involved physically turning gears, flipping switches, or attaching wires on huge machines for each new task. It was labor-intensive and prone to errors.

 

1842: Ada Lovelace wrote the first computer program. Dubbed the “Enchantress of Numbers” by Charles Babbage, the inventor of the computer, she is known as the world’s first computer programmer. In the beginning, programming mostly existed on paper. The reality of programming was realized when Ada wrote an algorithm to compute numbers.

 

 

Algorithm, Bernoulli, Programming languages, Machine code, Low level High level, Source code

Algorithm: A set of precise, logical instructions used to solve a problem

 

Bernoulli: A sequence of signed rational numbers that can be defined by the exponential generating function.

 

Programming languages: A language used to write instructions that can be executed by a computer.

 

Machine code: Aset of instructions composed of 1s and 0s the computer can execute without any translation

 

 low-level languages- 

Description: Considered less readable by humans because they are written in the computer’s native machine code. 

Uses: To write code/instructions/programs that control the computer’s hardware.

Pros: More control over the hardware and executes tasks more quickly.

Cons: Written in machine code, which is challenging for humans to understand.

Limits: Programs are written for specific computers and will only work on that one type of computer.

 

high-level languages

Description: Much closer to human languages than low-level languages, making it easier for programmers to learn and use.

Uses: To write programs for just about anything (operating systems, complicated scientific calculations, general applications such as a word processor).

Pros: More user-friendly and can be used on different kinds of hardware.

Cons: When run, programs tend to be slower than ones written in low-level languages.

Limits: Must be translated into machine code (this is done by interpreting and compiling).

 

Source code: Program code is written in a high-level language before being translated into machine code.

Software Development life cycle, Donald

DONALD KNUTH: Author of The Art of Computer Programming, programmer,  mathematician

 

Software development lifecycle(SDLC): This is also sometimes called the application development lifecycle basically the fully planned out life of the project, from early ideas and planning to execution and delivery.

 

The Software Development Life Cycle-

Planning & Analysis-The planning and analysis step kicks off every SLDC. The team defines project goals and it creates a requirement that outlines what is needed to build the software Analysis includes looking into budgets, timeline, resources, and existing technology.

 

Design- programmers use this step to write their pseudo-code he helps them think through their entire process and make sure their logic is sound. This is also where they'll provide mock-ups of what the software will look like, and how it should work

 

Coding- This is where the programmers actually write code Once design documents are received, the programmer breaks the work up into chunks and begins writing the program.

 

Testing- There's a test plan. This documents what and when something was tested, how it was resolved, and who tested it. Testing promptly exterminates all identifiable bugs. During this step, programmers report all bugs pronto and fix them to make sure the software runs as expected.

 

Maintenance- This stage is what makes this process truly a "cycle." It involves continued code maintenance (checking for missed bugs), making design and functionality improvements based on user feedback, implementation of new requirements, and user support. The team documents all maintenance-related work to ensure the software is operating at optimum levels.

Waterfall, Agile, Rapid development, Bugs, Enhancements

WATERFALL-

Programming task details:

Project teams work on one step at a time. 

Teams do not move to the next step until the previous step is completed and approved.

Extensive documentation is required to keep everybody on track. This documentation allows teams to keep control over what version of the 

project they are working on, what changes are needed, or what step of the SDLC they are in.

 

Benefits: The process is clear from beginning to end.

Drawbacks: If a change is needed from a previous step, the project process can get seriously delayed.

 

AGILE-

Programming task details:

Project teams do smaller portions of the entire project in small sprints.

Teams can interact to handle different steps simultaneously if needed.

Documentation is still required to keep everybody on track. This documentation allows teams to keep control over what version of the project they are working on and how the project has changed along the way.

 

Benefits: As an approach to rapid development, the focus is on development rather than planning, enabling teams to start work more quickly.

Drawbacks: The process may become confusing at times when people jump back and forth among steps in the SDLC.

 

Rapid development: Rapid development refers to an approach that puts a large emphasis on development than planning, allowing for the project to evolve and adapt as it's built

 

Bugs: aren't common, Unfortunately, of course, it happens and programmers have to correct any glitches that occur in their software.

 

Enhancements: the largest portion of maintenance work. It seems we're never happy with our software We want it to be better, and programmers have to come up with new ways to meet our demands.