№1 amaliyot ishi mavzu: Axborot xarakteristikalarini hisoblash Ishdan maqsad


Download 122.28 Kb.
Pdf ko'rish
bet7/9
Sana04.11.2023
Hajmi122.28 Kb.
#1746356
1   2   3   4   5   6   7   8   9
Bog'liq
1-dedlayn (2)

Misol 1. Axborot sifatida quyidagi belgilar ketma ketligini olamiz: 
АВААDDDDDBAACCCCEAFFFFDAAAA
f – bayroqcha;
i – takrorlangan iboraning uzunligi;
j - takrorlangan iboraning nechi qadam oldin qaytarilganligi;
s – ochiq xolatda uzatilgan belgi.
N
chiq
= 14*(1+8)+7*(1+3+5) = 189 (bit)
N
kir 
= 30*8=240 bita. Axborot xajmini kamaytirish natijasida olingan yutuk 
240-189= 51 bit ga teng.
Misol 2. Axborot sifatida quyidagi belgilar ketma ketligini olamiz: 
AAAABBCCDDEEEABBBCDDAAAAEEAB
Qadam
Siljituvchi oyna
Tak
rorlanga
n ibora
Kodlashtirilgan ma’lumot
Iboralar
Bufer
f
i
j
s
1
-
AAAABB
C
0
A
2
A
AAABBC
C
0
A
3
AA
AABBCC
D
AA
1
2
2
-
4
AAA
BBCCDDE
0
B
5
AAAAB
BCCDDEE
0
B
6
AAAABB
CCDDEEE
0
C
7
AAAABBC
CDDEEEA
0
C
8
AAAABBCC
DDEEEAB
AB
1
2
5
-
9
AAAABBCC
D
BBCDDA
A
BBC
1
3
5
-
10
AAAABBCC
DD
DDAAAA
E
AAAA
1
4
1
0
-
11
AAAABBCC
DDE
EEAB
AB
1
2
8
-


 
Mustakil ishlash uchun topshiriqlar
Variant
xabarlar
1
BBCCCCDEEEEFFFFGGGGFFFFFFDD
2
DFABBBEECEDDEFFFAEBBCBBBBBBC
3
CCCCCCCCCCCBBBBBAAAADDDDEEEF
4
BCDEEFAACCADEEDDDEDBAAEEEDDD
5
AAAAAAAABBAAAABBBCCCCCDDDDDEEE
6
CEDDBCEFABBBFDDFAEBAADDDEEAAA
7
BBCBBDBBDEEFDABBDABBBBACACCEG
8
DDFEBBCAADAEFFBEGHAABFFBD
9
BBCBBBCDDEDAAADDFFGGHHEE
10
DDECBFFEEEAAADBBBEEEAAAAABBB
11
CAADDDAEDADDEAAEBEFBEDEFEEA
12
FFFBBCDEEAAFDFFGBBGFADAABFFFF
13
CEEFFDDDEBBAAAEDEDAECBAADDD
14
EEEEBBBEEEEBBCCCCDDDDFFFFAEEEE
15
GBDBBBADDABADAAAFFFEEEEBBBEE
16
BBBAAAEDDAAABBFEFFDDEEGAAAAA
17
FFFBBCDEEAAFDFFGBBGFADAAA
18
GFFFFBBBBAAAACCFFFFFCCDDE
19
ABBCEHABCAEGAAAAAADADDDD
20
AAAAAAABBCCDDEEFFGGHHHAAAA
21
ABBBCEDDEFFFAEBBCCCCADAAABB
22
DDDDDDDDAAABBBCCCDDDEEEFFF



Download 122.28 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling