:
......2
.......5
1 . ...6
1.1 ..6
1.2 ....8
1.3 ............9
1.4 LAN VRN ....9
1.5 Ethernet ...10
1.6 ...12
1.7 14
1.8 .16
1.9 ...................................................................................................17
1.10 .........................................................................................18
2 .
....19
2.1 ...19
2.2 .............20
2.3 Skype..20
2.4 TeamViewer..20
2.5 Adobe Acrobat Connect...21
2.6 GoToMeeting...22
3 ++....24
3.1 ++...24
3.2 ++........28
4 .....32
4.1 ......32
4.2 -....33
4.3 ....34
.....35
.36
,
,
.
,
.
, ,
:
1) . .
2).
.
3) ++.
1 .
1.1
(, , , ).
,
12 500 (
). ,
.
.
.
,
, , ,
.
.
,
.
,
: ( ),
( ) ( ).
Ethernet,
Wi-Fi, Bluetooth, GPRS .
,
(,
) .
Ethernet
Wi-Fi. , Frame
Relay, Token ring, ,
,
6
.
, ,
, , .
() ,
( ) .
,
.
( RIP).
.
,
.
,
.
, ,
OSI - .
, LAN:
( ), . ,
, ,
, .
,
, IPv4,
, IANA ( RFC
1918 RFC 1597):
10.0.0.010.255.255.255;
172.16.0.0172.31.255.255;
7
192.168.0.0192.168.255.255.
, ,
; .
- ,
IP ,
.
IPv6, .
,
,
NAT
(WAN).
( ).
1.2
.
,
, ,
.
,
,
.
,
.
8
.
, ,
, ,
, , .
, .
, .
1.3
1.4 LAN VPN
9
,
, //
VPN. VPN-
.
:
1.5 Ethernet
Ethernet , , T, .
, ,
. .
T- -
,
. .
10
Ethernet
.
Ethernet :
.
.
,
, .
, Ethernet
10 , .
Ethernet
. Ethernet
ISA : 8-, 16 32-. 8- 8 16-
IBM XT IBM PC, 16
8-
IBM AT,
. 16- 16 .
ISA,
EISA
Micro
Channel.
IBM AT , -
80486, - PS/2
IBM.
.
11
8 8- 16
16- 32- .
Ethernet /
.
(DMA).
()
. ,
,
-.
, ,
.
,
(
) /,
,
.
1.6
. ,
,
, (
MAC- FF:FF:FF:FF:FF:FF) .
,
( ) ,
.
12
(2) OSI
MAC-.
.
.
(
), MAC-
. ,
. .
() , MAC-
-, . ,
, , MAC ,
, . MAC- -
- ,
.
, .
()
.
.
,
.
1.
, ,
.
13
2.
(cut-through).
.
,
.
3.
(fragment-free) .
.
( 64
store-and-forward,
cut-through).
, ,
,
,
.
.
, ,
10 / 100 /.
1.7
(, ),
.
- ,
14
,
. .
:
1.
(DSF
.
3.
,
15
,
.
1.8
Ethernet
. ,
. ()
: USB, FireWire
.
(),
.
OSI,
.
, .
,
.
, Ethernet
.
,
.
. , ,
,
,
16
,
,
, ,
.
,
.
1.9
,
, (
),
(
).
,
,
.
.
. . (
).
(
),
( )
( ) ( ).
(
).
17
1.10
,
, (
),
.
(
)
,
.
) UTP 5
.
.
, Ethernet,
Arcnet Token ring. ,
,
() .
18
2.1
FTP,
"" Internet.
,
,
,
.
- S
. ,
, ,
.
.
,
. ,
.
()
( ),
19
,
, . .
-
, ,
.
.
,
-
.
2.2
2.3 Skype
Skype
,
(VoIP),
.
- ( 25
, ), (
10 ),
() .
- .
Skype
[: Windows, Mac OS X, Linux, iOS, Windows Mobile, Google
Android, PSP, Symbian. Java.
20
2.4 TeamViewer
TeamViewer
,
TeamViewer
-. Adobe Acrobat Connect
Adobe :
1) Adobe Connect Pro Meeting
.
, , , ,
.
, .
2) Adobe Connect
Pro
Training
, ,
21
. ,
,
Adobe Presenter,
,
.
3) Adobe Connect Pro Events
, ,
, ,
.
2.6 GoToMeeting
22
3 ++
3.1 ++
++ ,
, string ++.
string
, ,
, .
(
, main().
++ - ,
('\0').
, :
, :
char str1[10] = "string1"; //
, . , -
. ,
, , ,
. , "QWERTY" char[7],
"" char[1]. char[1]? ,
,
, ASCII- 0 (
escape-
'\0').
, ,
,
23
, .. ,
.
-
. ,
char str[] = "ABCDE"; -
"ABCDE". , 6
:
'A','B','C','D','E' '\0'.
-
-
. ++
.
, ++
( ,
), ,
str "ABCDE",
5 , C++ 6
, (
0) .
,
( )
- (,
- ):
char str[10] = "ABCDE"; 10
'A','B','C','D'
'E' , -.
24
5
"ABCDE", .
,
,
, .
.
char str[]={'A','B','C','D','E','\0'};
, ,
.
.
.
.
"", .
.
.
- ,
, : 'A' '\n'. -
, .
,
, "Visual C++\n" : 'V', 'i', 's', 'u',
'a', 'l', ' ', 'C', '+', '+', '\n', '\0'. , "A" -
: 'A' '\0'.
"", : "" "" ,
"".
:
// , .
25
#include<iostream.h>
void main()
{
char str1 [ ] = "1234567890", /* str1
*/
str2[11]; //
/*
str2 str1
*/
for(int i = 0; str1[i] != '\0'; i++) str2[i] = str1[i];
// - str2.
str2 [i] = '\0';
cout << str2 << '\n'; //
}
, , str1[i]
-, .. - str2,
.
-
,
,
cin >> _;
, , ,
cout << _;
,
cin ,
26
.
,
#include <iostream.h>
void main()
{
char str[31]; //
cout<<"Enter a string (max 30 symbols):";
cin>>str; //
cout<<"\nYou enter string:"<<str; //
}
31 ,
,
30 , , cin
,
.
.
-
.
char *b;
b,
.
b
. , , b
,
.
3.2 ++
27
stdio.h :
1.
int getchar()
, .
:
printf("%d", getchar());
2.
,
s, 'Enter':
char
str[7]
"";
gets(str) ;
3.
, 'c':
putchar(97);//
4.
s :
char
str[7]
"sergey";
puts(str);
5.
, printf, ,
s:
28
char
str[37]
sprintf
(str,"chislo:%d,
month:
"";
%s",10,"desember");
, s:
char
str[37]
"sergey",
s[100]="";
:
1.
str2 str1,
, str1
char
str[37]
"sergey",
s[100]="monk";
strcpy(str,s);
2.
, ,
,
:
char
str[37]
strncpy(str,s,3);//: mongey
29
"sergey",
s[100]="monk";
3.
str[37]
"sergey",
s[100]="monk";
n
char
str[37]
strncat(str,s,2);//: sergeymo
.
30
"sergey",
s[100]="monk";
4. .
4.1
.
-, 1 35 ,
1 5 ;
- , .
,
.
input.txt
output.txt
31
4.2 -
1- -
32
4.3.
#include <stdio.h>
#include <string.h>
#include <conio.h>
int main()
{ FILE *fi, *fo;
char a[35][6];
int j=0,i=0,c=0,n=0,l=0,k=0;
if ((fi = fopen("input.txt", "r"))== NULL)
printf(" \n");
else
{
printf(" ...");
while(!feof(fi))
{
a[i][j]=fgetc(fi);
if ((a[i][j]==',')||(a[i][j]=='.'))
{a[i][j]='\0'; i++; j=-1; c++; }
j++;}
fclose(fi);
fo=fopen("output.txt", "wt");
for(i=0;i<c;i++)
{
for (j=i;j<c;j++)
if (strstr(a[j],a[i])!=NULL) n++;
for (k=i-1;k>=0;k--)
if ((strstr(a[k],a[i]))!=NULL) l=1;
33
34
3 ,
:
1) . .
2).
.
3) ++.
4) ,
,
. "input.txt"
"output.txt".
35
. ., . . .
.: - .
2
.. . . .,
2002. .
36