Algebarski tipovi podataka Flashcards

1
Q

Sta je proizvod tipova ?

A

Proizvod tipova A i B je tip cija vrednost sadrzi tacno jednu vrednost tipa A i tacno jendu vrednost tipa B

Primer: DNK lanac

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Sa koja 3 stanja mozemo opisati sve tipove

A

enum mode{
initial,
running,
finished
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly