Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
WEEK 0
Binary-
0, 1.
To represent 1 in boundary:
4 2 1
1 1 1
= 4+ 2+ 1= 7
No power = 0
Power = 1
To represent 42:
128 64 32 16 8 4 2 1
1 1 1
WEEK 1
C programming:
comparing Scratch vs. C
Say = printf
Hello, world= (hello world)
1
Int main(void)
{
Printf(hello world)
}
$./.<programs name>
get_char
get_double
get_float
get_int
get_long_long
get_string
%s strings
%f- floats
\r carriage return
\t- tabs
\
\
\a
\0
2
If
Else
Switch
For
While
Dowhile
In c :
Need to use single quotes- for one character.
Eg if(c==y)
When you define a function and the function does not take any variables you need
to include void into its declaration:
Eg. void cough(void)
WEEK 2
Security and Crytography
Software critera-
Scope
Correctness
Design
Style aesthetics, readability.
Type casting
3
String= 32 bits:
\0= 00000000 (8x0 bits in a row)
Nul terminated
Z A M Y L A /0 A
L E X /0
Int main(void)
WEEK 3
WEEK 4
WEEK 5
WEEK 6
WEEK 7
WEEK 8
WEEK 9
4
WEEK 10
WEEK 11