.


:




:

































 

 

 

 


StringGrid




2

Colcount ʳ
Rowcount ʳ
Cells[cols, rows]
Fixed cols ʳ
Fixed rows ʳ
Options go Editing (True/False)
Options go Tab Tab
Options go Always . , , F2
Default Col Width
Default Row Height
Grid line Width
Parent Font .

 

. 1.3.1 StringGrid

A: array of real;

Set Length. Delphi ( ) Memo. , Enter. Lines[x], . Delphi , Pascal.

 

1.4.6. Delphi : , x, c y .

, - Delphi, , , , ᒺ.

, . .

, x, c y, , Edit, Button, BitBtn Label. Edit . BitBtn , , . Label , . Button, . 䳺 OnClick, :

var x, y, c, m: real;

begin

x:=StrToFloat(Edit1.Text);

 

c:=StrToFloat(Edit2.Text);

y:=StrToFloat(Edit3.Text);

m:=Round((x+y)/c+sqrt(sqr(sin(x))+y+0.25+0.2*c));

Edit4.Text:=FloatToStr(m);

end;

var x, y, c, m: real; - ;

Begin ;

::
x:=StrToFloat(Edit1.Text);

c:=StrToFloat(Edit2.Text);

y:=StrToFloat(Edit3.Text);

- x, c y Edit Text, ;

m:=Round((x+y)/c+sqrt(sqr(sin(x))+y+0.25+0.2*c)); - a b;

Edit4.Text:=FloatToStr(m); - , ;

end; - .

˳ , , .

 

1.3 . 泻

1.5.30. : 䳿 OSI.

. . 䳿. , .

7- , ( 3). .

3

г OSI
HTTP, gopher, Telnet, DNS, DHCP, SMTP, SNMP, CMIP, FTP, TFTP, SSH, IRC, AIM, NFS, NNTP, NTP, SNTP, XMPP, FTAM, APPC, X.400, X.500, AFP, LDAP, SIP, IETF, RTP, RTCP, ITMS, Modbus TCP, BACnet IP, IMAP, POP3, SMB, MFTP, BitTorrent, e2k, PROFIBUS , . .
ASN.1, XML, TDI, XDR, NCP, AFP, ASCII, Unicode
ASP, ADSP, DLC, Named Pipes, NBT, NetBIOS, NWLink, Printer Access Protocol, Zone Information Protocol, SSL, TLS, SOCKS, PPTP
TCP, UDP, NetBEUI, AEP, ATP, IL, NBP, RTMP, SMB, SPX, SCTP, DCCP, RTP, STP, TFTP
IPv4, IPv6, ICMP, IGMP, IPX, NWLink, NetBEUI, DDP, IPSec, ARP, SKIP
( ) ARCnet, ATM, DTM, SLIP, SMDS, Ethernet, FDDI, Frame Relay, LocalTalk, Token Ring, PPP, PPPoE, StarLan, WiFi, PPTP, L2F, L2TP, PROFIBUS
RS-232, RS-422, RS-423, RS-449, RS-485, ITU-T, RJ-11, T-carrier (T1, E1), Ethernet: 10BASE-T, 10BASE2, 10BASE5, 100BASE-TX, 100BASE-FX, 100BASE-T, 1000BASE-T, 1000BASE-TX, 1000BASE-SX

(Application layer)

(7-) , . г , , , . , .

г (Presentation layer)

/ . , , , , . / / , , .

(Session layer)

³ ', . г / , , , . , 䳿.

(Transport layer)

(Transport layer) 4- OSI, , , . , , , . , , ' , . 䳿 -.

(Network layer)

3- OSI, . ³ , , , . , .

(Data Link layer)

䳿 , .

, , . , 䳺. IEEE 802 2 MAC (Media Access Control) , LLC (Logical Link Control) . , .

MAC- , 򳺿 . , .

, 䳿 , , . : NDIS, ODI.

Գ (Physical layer)

, . . , . () . Գ , , ', , , , .

, , '. ' : ( , ) ; ; ; .

3 : (copper), (fiber) (wireless). , , . , , . ' ( ).

㳿 , : The International Organization for Standardization (ISO), The Institute of Electrical and Electronics Engineers (IEEE), The American National Standards Institute (ANSI), The International Telecommunication Union (ITU), The Electronics Industry Alliance/Telecommunications Industry Association (EIA/TIA) .

, . . , , , .

, , . , , , , .

г . .

 

1.4

1.6.1. : .

- , F(x, y, y)=0, x, y=y(x) y.

4x+2y-1= z;

z=4+2y;

:

;

. , , .

, 2:

 

1.5 ϻ

1.7.2. C++/Visual C++: 1 15, while ( ).

++ . . ++ #, , , . :

#include "stdafx.h" - ;

#include <iostream> - ;

#include <conio.h> - ++, getch.

int main () . main . ++. x, int, . int x=0; while. x<15 x++, :

while(x<15){

x++;

Printf ( , ) . % . %d . /t. printf("%d\t", x);

getch() .

˳ .

 

1.6 Web-

1.8.16. web- : Web- . 5 , .

Web-㳿 HTML. .

web- , , web-. web- web-, .

:

<html>

<head>

<title>frame</title>

</head>

<frameset rows=50%,50% frameborder="yes" bordercolor="red">

<frame src=".html" marginheight="50" >

<frameset cols=45%,55% frameborder="yes" bordercolor="red">

<frame src="Foto1.html">

<frame src="Foto2.html">

</frameset>

</frameset>

</html>

<html></html> Web- HTML;

<head></head> ;

<title></title> Web-;

<FRAMESET> </FRAMESET>. . rows cols . Frameborder . Bordercolor . marginheight . <Frame> . scr html-.

web- web- . web- .

web- .html :

<html>

<head>

<title></title>

</head>

<body>

<p align=CENTER><B><I><FONT size=5> 5 </FONT></B></I></p>

</body>

</html>

, <body></body>, , Web-.

<p> , align CENTER, , </p>.

<B></B> , , .

<I></I> , , ().

<FONT> size , . </FONT>.

web- Foto1.html :

<html>

<head>

<title>Foto1</title>

</head>

<img src=Foto1.jpg > </html>

web- <img>, src, URL- .

.1.8.1 Foto1.html .1.8.2 Foto2.html

web- Foto2.html :

<html>

<head>

<title>Foto2</title>

</head>

<img src=Foto2.jpg >

</html>

˳ web- .

 

 

1.7

1.9.11. : . .

, - .

, , ' , , ( ).

( ) .

' , - ³ . .

. . , , , . ( ).

, . ,

, . ϲ_ () , ', ⳻ :

= && &&

.

, , . ' .

' , , . ,

, - , , . .

. , , . .

, . ' . , .

. , Access , "", "볺" "", , . , .

. , ">" ( ), .

, "<" ( ) .

, . () , . ' , . 6. , . , . , ..

.

.

Access 2002 , . , , . ; , , . .

( ) , ' , / , , , , (.1.9.1). () . ҳ- , ' - , . , , , , :

- - ;

- - ;

- - ;

 

- - ;

- - .

.1.9.1

, , / . Ⳮ . , , ' , . , ( ), . , .

( ).

1.10.8. : Access . . . :

- ;

- , 100 .;

- , 2000 .;

- , .

, : . (.1.10.1).

.1.10.1

, ( / , , , , , , ) (.1.10.2).

. 1.10.2

(.1.10.3). , . .

.1.10.3 ij

, (.1.10.4).

.1.10.4 ij

, (.1.10.5).

.1.10.5

(.1.10.6). , . . , > >> (.1.10.7). , .

.1.10.6 .1.10.7 г

Գ , , , (.1.10.8).

.1.10.8 Գ

, (.1.10.9).

.1.10.9 , 2000 .

, 100 (.1.10.10) (.1.10.11).

.1.10.10 , 100 .

.1.10.11

1.8

1.11.8. : , , ( , , 220 284). , , .

Pascal. Praktuka. Uses Crt. Var del [2..10000] longint, i, j, k, p, n longint. (begin) ClrScr. Writeln wwedit diapason chusel, Readln n. ' n, .

For, k:=2, n, del[k]:=1+k. For, k:=2, n div 2. ³ , . p:=k+k. while, p<=n. ³ , . del[p]:=del[p]+k p:=p+k. end.

For, i:=2, n-1, For j:=i+1 n. , .

If B then S1. if (del[i]:=i+j) and (del[j]:=i+j). Writeln. Readkey. (end).

.

1.9

1.12.45. : ?

. (. . 6.1), . , .

( ) , , , . 䳺 . (, , ).

³ , , -, , .

. , (1), (0). .

 

, .

- , , , , , , .

, .

, sinωt .

, , -, - .

䳿 , .

䳺, , , ' .

, , ,

K= lgN,

k - , ( ); N - .

, . - , .

: - , (1, 5, 7 - ; 2, 4, 6, 8 - ; 3 - , ); - , ( 000 999);
- , ; - .

, , . . , K555 1 - 55, ( -) 1.

 





:


: 2016-11-18; !; : 2971 |


:

:

.
==> ...

1849 - | 1704 -


© 2015-2024 lektsii.org - -

: 0.155 .