Thursday, April 5, 2012

Problem Solving Ability in light of SDLC

EXPAND YOUR AWARENESS AND PROBLEM SOLVING ABILITY. FOCUS ( SDLC )

WE ARE ALL LEARNING EVERY MOMENT OF A DAY, KEEP LEARNING ALIVE IN YOU.

Ask, Ask, Ask, know what you are learning is correct.

See first whether your problem is solved in some domain. ( use it if needed ).

Almost All problems are already solved except in computational chemistry (biology) / physics

One Page Doc for (5 to 10 minutes )

1. Communicate effectively

2. Be Silent for 15 min, Make Silence as a part of life

3. Serenity ( do one job at a time ) this gives peace.

4. Information has to create a transformation

5. Information – asset ; Technology – expense

6. Take Responsibilities – become a leader

7. Focus on concepts – Apply it in your life

8. Do not stop at the word – go to is meaning and to the application – for ex
Word water does not quench the thirst – Go to the application of the things
Words are only pointer, they give a meaning, but only the things can quench thirst

9. Do Fishing of your thoughts, live up to your thoughts ; High thinking and plain living, practice your thoughts.

10. Live a Value based life – no bad habits

11. Be honest. Sathyam (intellect) non violence (mental) non indulgence(physical)

12. 5D : Discipline, Discrimination, Determination, Dedication and Devotion.

13. ASK ASK ASK Right questions : Be a innovator

14. Everything is possible provided you give it a fair chance time and effort.

15. Use things and love people. Things should not become master. We should be the master.

16. Smart Learning

17. Learn typing


What each person should Know to be a Master in your domain

1. Communicate effectively – ( based on truth value of the statement )

2. Serenity ( do one job at a time ) this gives peace.

3. Be Silent for 10 to 15 min daily. Make silence as a part of your daily life.

4. Learn typing

5. Duty – Whatever that needs your attention

6. Everything is possible provided you give it a fair chance time and effort.

7. Look at what is wrong – not who is wrong.

8. Be Open – Knowledge has to be kept in Open – space – Open means ( learning, un learning and re learning ).

9. Start fishing of your thoughts, they are very powerful and they can transform the world.

10. Be honest. Sathyam (intellect) non violence (mental) non indulgence(physical)

11. 5D Discipline, Discrimination, Determination, Dedication, Devotion.

12. Courage to tell the truth, Even if it your own work.

13. Communication ( Network can replace world transportation ) 97% of world transport is waste

14. Do all jobs with 100% excellence, 100% dedication ( First time right)

15. World Recognizes – ordinary job extra ordinally well or extraordinally jobs done well.

16. Technology All SW and Platforms – see technology

17. Solution to every prob lies in the prob – state your problem correctly.

18. Three type of prob (1+1=? ) root of 1.2 (work and find out) Integral root cos x/2

19. Problem solving ability ( SDLC)

20. Problem means multiple solution ( low cost easy to implement with say 95% answer fine for Operation research for military no need of 100% accuracy )

21. Root cause analysis and problems (Food, Energy, Education, finance, health – root problems)

22. What is a language eg. Awk begin … patten action end … C++ ( include, prototype, declaration and reserved words function reference )

23. From hard learning ( complete ref manuals) to Smart learning – 1page quick ref guide

24. OLPC Nicholas Negroponte MIT Senior professor – Learning from internet

25. Invoke the teacher Invoke the student and learn from internet – video lectures Berkeley university etc.

26. Conceptual understanding of all that we learn

27. Functional decomposition – breaking into smaller parts and solving them- algorithms

28. Performance higher priority than functionality 1 sec answer than 10 days waiting.

29. ASK ASK ASK Right question – You will get right answers – innovation.

30. Innovate – Black hole, SMGS, high perf single chip computer, universal instruction set – java even intel and AMD has not done it yet, smart diff xl diff etc.

31. Design for quality – Philips Crosby Doing it first time right

32. 4W1H Why, what when who whom how – ISO 9000

33. Design for performance – no ( perf fine tuning )

34. Computer – information, work, games.

35. Five function model of a computer ,input, output, memory, cpu, hard disk

36. Remove cache from cpu, os, 90% of work load /circuitary of computer will come down.

37. Ajile Aj200 Java Direct Execution Engine in silicon RTOS kernel no OS reqd.


Mention about AI tools like Genetic algorithms and Emycin.

Those who know the answers ( wait, give opportunity to others and then answer)

I am going to give the seeds( words of knowledge), you need to grow the plants and reap the fruits.

Why are we coming to office, what is the definition of office

1. We trust computers and we need 100% accuracy [what is the area of India ][what is the population of India yahoo] ( / Exactness should be maintained 100% ) ( Error propagation and cost of fixing it ) Integrity has to be maintained by computers. BMI – is the highest level of Integrity.

2. Quality ( Where, When, What, which, [whose], Why, how, [whether] ) Whom => ISO

3. Wastage in SW from lean ( design, dev, implement, test, implement ) waste ( time, credibility data issues / fix )

4. Have confidence and courage is saying something wrong has happened if you notice one (even if it is your own )

5. One should know SDLC.

6. Performance of an application/ Performance of Individual is more important than functionality. ( I will explain you this ).

How many of you use putty? ( puttygen auto login )

Setting aliases and customizing your env in unix (a-z) one letter and variants are available.

sed : Full release dump file converted to different initial and next extents

awk : datagen.ksh/datagen.awk

100TB or more of data has to be converted to pdf. ( Amazon elastic cloud EC2 ) 3Million to $300

Firstgov.gov paid 1Billion for a re org of the urls and links.

Diff in pdf / html files of a columnar report. Xldiff.

Many old trees to New trees ( start with connect by will not work hence we did a loop mechanism with simpler coding and restricting loop to 10. )

In unix how will you copy the first column of a file to a second file. ( solution exists or not ). Where you can solve it fast?( cut – for all lines exits for part of a file does not exists.) windows

Problem Analysis ( A given logical problem will transform into physical and design problem based on your expertise and awareness of the solution ) ( Single identification system- Nandan Nilekani )

Computerization of Election. ( as an exercise).

A Good ( or many) solution may even change the problem from one domain to another.

SDLC Methodologies (

Waterfall, fountain, spiral, build and fix, rapid prototyping, incremental, synchronize and stabilize

Agile Methodologies, XP and Scrum, Lean, clean room (IBM), RAD (Rapid Application Development ) and DSDM( Dynamic systems Development Method)


A. Waterfall

1. Requirements specification

2. Analysis |< ----à| ( This is the space where we apply our problem solving ability )

3. Design |-------à|

4. Construction (AKA implementation or coding)

5. Integration

6. Testing and debugging (AKA Validation)

7. Installation

8. Maintenance ( Change Requests)

Thus the waterfall model maintains that one should move to a phase only when its preceding phase is completed and perfected.

Time spent early on in software production can lead to greater economy later on in the software lifecycle

Prototyping required ( to preview the application).

Many changes may need to change the initial design.

Agile

iterative development, where requirements and solutions evolve through collaboration between self-organizing cross-functional teams.

Specific tools and techniques such as continuous integration, automated or xUnit test, pair programming, test driven development, design patterns, domain-driven design, code refactoring and other techniques are often used to improve quality and enhance project agility.

Scrum:

Scrum is a "process skeleton," which contains sets of practices and predefined roles. The main roles in Scrum are: (1) the "ScrumMaster," who maintains the processes (typically in lieu of a project manager); (2) the "Product Owner," who represents the stakeholders; and (3) the "Team", a cross-functional group of about 7 people who do the actual analysis, design, implementation, testing, etc.

Problem solving methodologies

Recursion,

Induction,

Table, tree ,list, stack, queue, sort, search, hierarchy, adjacency, critical path, Well formed formula.

Working Backwards

Function / Decomposition

Divide and conquer

Top down

Bottom up

Integrated ( Algorithm Working backwards, implementation Integrated. )

Operations Research ( 95% Accurate solution is better than no solutions ) that 95% has to be accurate.

( Single Identification system )

Are there problems which are yet to be solved?

YES.

Do we need to build cities? We need to build Global Villages.

What is the power of sun that we are wasting?

What is the solution for transport after oil age ( PSEV – Plug in Solar Electric Vehicles)

Transportation can be replace with Network ( CDMA+GSM+DSL+3G )

Nvidia Tegra chip ( computer on a Chip revolution) High performance single chip computer.

Other things every software engineer should know

1. One server OS unix

2. One client OS windows

3. One middle level language C

4. One rdbms Oracle

5. One Editor vi on unix

6. One document editor Word

7. One spread sheet xl

8. One power point ( basic )

9. One reporting tool

10. One network fundamentals

Commands to become a DBA.

1. Create user

2. Create tablespace

3. Create transportable tablespace

4. Automatic undo management

5. Grants with admin option

6. Cold backup

7. Hot backup

8. Recover / clone database

9. Sql loader

10. Imp / export

( To solve the problem ( logical solution) we do not need a computer, but to implement we need one)

I would like to note that the value of browsing the WEB in search of algorithms is somewhat questionable :-). One probably will be much better off buying Donald Knuth'sTAOCP and ... disconnecting from the Internet for a couple of months.

Genetic Algorithms as a solution for synchronized signaling system.

Oracle + NW Failure + Single Disk Failure + Serial port IR Reader, Serial port Thermal Printer Windows + SDK + Pro*C - Can you solve the problem, The answer is YES.

What is not Solvable.

1. UTF8 conversion / validation after truncation : N dimentional problem : Cannot be verified

2. Integral root cos x/2

3. Quantum computer n15 states per flip flop will not work why? - ( rubidium atoms )