Please enable JavaScript.
Coggle requires JavaScript to display documents.
programming, COMPUTER, PROGRAMMING LANGUAGE - Coggle Diagram
programming
Programming logic
Concepts strong
Applications
Questions practice
E
M
H
Pyramid approach
Examples
Consistency
Everyday
Do x number
If not x then x/3 but do something
Motivate
Like what you do
Fear that tooper will score more
To defeate him put something extra
Reward yourself after sufficient work
But be careful with type of it
Reason why youstarted
Solve puzzles
Gfg
Beginner
See hints but solve questions
Go smooth
Not number or time spent but on what learned how much retained
Revision and documentation
Accept you can forget
So write down in a notebook approach
Revise
Don't rote learn
Especially for weak topics
Practice huge
Makes faster connections
Time predefined for a problem
Solve in time bound manner
Define a upper bond on the max time on one problem
Pair programming
Learn from top solutions
Extra effort everyday
Do something different and extra apart from what you planned
1 difficult
Floating point arithmetic
Reprsentation
Scientific notation
Mantissa
Exponent
Normalized
One digit of the left side of decimal and non zero
Or all zero
Only finite decimal
Errors
Measure of error in a given problem
Conditioning
Inherent due to representation or error in the input
measure of thesensitivity of the function with respect to small error in input
for that we have the condition number
higher the number the more sensitive
Instability
The way of calculation leads to this
measure of the sensitivity of the output of function with respect to a way of calculation
but how we measure here doubt ?????
will doing a lot of subtraction and addition cause more error than multiplication divsion
Bound
Relative
More useful as for small numbers absolute errors may be small but relative significant
Maximum bound
Machine eplision
Derive formula
observe the realtive error
is independent of the exponent
1 more item...
DEPENDS ON ROUNDING OR CHOPPING
Depends on
Base used
Number of digits used
Absolute
Not easy as non uniform gap so may not be that useful
Special
Backward error analysis
Thank what wrong input give me this wrong ouput
LOSS OF SIGNIFICANCE
ADD
MULTI
SUBTRACT
ITS NOT JUST THE NUMBER OF SUBTRACTIONS BUT ALSO THE CLOSENESS AND SIZE OF NUMBERS TO BE SUBTRACTED
IF TWO NUMBERS WITH LARGE NUMBER OF DECIMALS NON ZERO AND THE TWO NUMBERS VERYH CLOSE TO EACH OTHER THEN SUBTRACTION A LOT OF ERROR
PROPAGATION OF ERROR IS LIKE WE LEARNED IN PHYSICS IN 12TH CLASS
SUB AND ADD ABSOLUTE ERRORS ADD
DIVISION AND MULTIPLICATION THE RELATIVE ERRORS ADD
truncation error
when limits and convergence involved
its not just related to computers it is in general whenever we do calculation
MORE ABOUT FOLATS
ADDITION
IS IT ASSOCIATIVE
IS IT COMMUTATIVE
MULYIPLICATION
THREE IMPORTANT ASPECTS
CORRECTNESS
DESIGN
STYLE
using code written by someone
library
framework
examples
bootstrap
what the difference
OOP
the object and the identity is important
how passing of arguments matters
class without constructor
But what it means
CLASS OBJECT ?????????
C PROGRAMMINMG
PROGR
IDE
TERMINAL
TEXT EDITOR
important things
always have a sequential approach
Once you know what to do
Dind how to do
Break it into functions
VERY IMPORTANT
Broad outline
How to
Breaking into function
Using them to build solution
Identify recursive function
See what question you ask in the programmer again amd agin
The answer to that will be given by a recursive function
Competitive coding
Off campus placement
Keep looking for opportunities
Linkdein
Need of many functions to solve a problem
Try not repeating variable names
COMPUTER
CLI
linux
./nameoffile
to run a program
./ shorcut for all the path uoto the directory you are inside
UNDERSTAND BINARY
MACHINE CODE
gui
PROGRAMMING LANGUAGE
SOURCE CODE
COMPLIER