- Oct 2024
-
docs.ankiweb.net docs.ankiweb.net
-
Active recall testing means being asked a question and trying to remember the answer.
-
-
en.wikipedia.org en.wikipedia.org
-
When you are programming, you are writing a control flow diagrams embedded with state transition methods through code.
Acc to structured program theorem, You essentially need three control structures to write any computable program.
1. Sequence <code> <code> <code> ... 2. Selection if <condition> | <code_this> # if true else <code_that> # if false 3. Iteration <loop> | <code> # exists for do..while | if <condition> | escape # if true | <code> # exists for while repeat <loop>
Due to the reliable ubiquity of the first structure, any set of sequenced program statements could be deemed as a code block. Then, control flow structures command the order in which these various code blocks are executed.
There are various control flow methods. * Conditionals for selection (like
if
,switch
...) * Loops for iteration (likefor
,while
..) * Routines for abstraction (likefunction
,class
...)
-
-
en.wikipedia.org en.wikipedia.org
-
Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.
If you came from programming background;
Each year divisible by 4 is a leap year. EXPECT Each year divisible by 100 is not. BUT Each year, that is divisible by 100, which is also divisible by 400, is a leap year.
div 4
todiv 100
todiv 400
-
- Sep 2024
-
www.markdownguide.org www.markdownguide.org
-
Summary: Markdown is a simple and lightweight markup language. Text files with .md extension can be parsed to HTML code with this markup. Basic features:-
Heading
Horizontal Rule
Paragraphs
This is text.
Linebreaks
This is a line. <br> Another line.
Lists
-
item 1
-
item 2
Formatting
bold italics bolditalics
Block Quotes
This is a quote
Code Blocks
code
Links
References
Here is a citation
PS: There is no native feature to comment in markdown
-
-