




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
11
1I
21
31
41
52
62
73
83
24
I4
25
35
35
15
26
37
48
59
49
19
TOC\o"1-5"\h\z
\o"CurrentDocument"
2 10
\o"CurrentDocument"
3 12
\o"CurrentDocument"
4 12
C
1 14
1 14
2C 14
\o"CurrentDocument"
3 14
\o"CurrentDocument"
4 15
\o"CurrentDocument"
5 16
6 16
\o"CurrentDocument"
2 17
1 17
putchargclchar 17
\o"CurrentDocument"
printf 17
\o"CurrentDocument"
scanf 18
\o"CurrentDocument"
18
\o"CurrentDocument"
3 19
\o"CurrentDocument"
19
\o"CurrentDocument"
19
if 19
switchbreak 20
\o"CurrentDocument"
4 20
while 20
\o"CurrentDocument"
do-while 21
for 21
\o"CurrentDocument"
4 21
\o"CurrentDocument"
5 21
I 21
\o"CurrentDocument"
2 22
\o"CurrentDocument"
3 22
\o"CurrentDocument"
4 23
5 23
6 23
1 23
2
\o"CurrentDocument"
3 24
\o"CurrentDocument"
7 24
1 24
\o"CurrentDocument"
2 25
\o"CurrentDocument"
3 25
\o"CurrentDocument"
4 25
5 26
8 26
26
2 26
\o"CurrentDocument"
3 26
\o"CurrentDocument"
4 27
5 27
9 27
I 27
2 27
3 28
\o"CurrentDocument"
4 28
10 28
1 28
2 29
3 29
11 29
29
30
1 3
#
.
1 3
#
.
1.
1.
2.
Z
2.
1.
Z
2.
4
(1)
1.
(2)
gp
bottom
5
#
.
(1)
5
#
.
(1)
top
(2)
3
lop1),
top1
0
(real-)
(front) So
rear=rera+l
rear-1rcar-1;
III-
front=fiont4-1 fi*ont=rH
front=l;
(Llink),
RIink),
2
6
ZZ
(
#
)
1.
I
(1)
(
#
)
1.
I
(1)
2,
(2)
(LDR)
k
2m-l
(3
(3)
VLRD)
(4)
1:
2:
3:
2“(八1)
1
4:
[log2/:]+lfl
5:
[log2n]+l
6:
2.
3.
(1)
(DLR)
f:
#
.
(2)
#
.
(2)
2.
4.
<1)
1
21
1
hj=n/2M1,2,,0[log2n]),
n
0(d
n
1
1
n (h h2 hn),
Jhinh2jl/ii>Si
(/=!,2,
2
1
i
2.
2
(2)
2
(2)
1.
(2)
goto
(3)(Message)
3
3.
(Inheritance)
AB
BCA Co
goto
3
(Polymorphism)
3
2.
(1)(object)
1.
(1)
(2)
(3)
4.
4
(2)
(3)
4.
4
3
2
1)
20 60
5.
4;
1
(2)
oH
(2)
(CASE)
2
1.
3
1
ISO9000
(2)
U
(1)
1997IEEE
(1)
fl
(2)
(3)
4
3
(1)
(3)
4
3
(1)
LI
TOC\o"1-5"\h\z
Jackson (2)
L1
(JSD), (SA).
(DSSD) (OOA)a
H
2.
3
(SRS)
2.
(SC),
(
#
) C
40%
#
.
4.
(
#
) C
40%
#
.
4.
2.
(2)
3.
3.
(1)
N
SN-S
5PADPAD
ProblemAnalysisDiagram)o
5
<2)
(3)
(PDL)
4
(3)
(
#
)
(
#
)
(2)
<DataBase»DB)
(3)
(DataBaseManagementSystem>DBMS)
ii
5
Debug,
①m
£fj
III
I
11
41
(DBS
(DBAS)
II
3
20 60 4.
#
20 60 4.
#
<3) (1)
3
3.
ZDBMS
<1)
(2)
<2)
(3)
(4)
2
1.
(DataModel)
HZ
3(1)
(2)
(3)
2.
3nt
1:1,1:n
(1)
(2)
(3)
3.E-R
1976
E-R
[tlPeterChen
(1)E・R
n)
4.
<>
5.
6.
3
(1)
(2)
E-R
Z
(2) E・R
E-R
E-R
E-R
3
1.
RURS
R
R-R';
(3)
3
R
R\
R
RS
R
R\
RS
(R-R9UR%
RS
R
S
R(X,Y)
I
S(Y,Z),
RASo
X,Y,
Z
R
YS
Y
4
1.
2.
m
3.
(1)
(2)
3
(3)
(
#
)
3
(3)
(
#
)
4.
5.
6.
DBA
(2)
E・
E-R
(4)
E-R
E-R
E・R
DBA
E-R
E・R
E-R
DBMS
RDBMS
DBMS
DBA
DBMS
(3)
(4)
(5)
z—
DBMS
DBMS
(1)
DBMS
DBA
ZLI
DBA
DBA
DBMS
DDL
1
11
1
0 ♦
4
1
11
1
0 ♦
4
0obj”
n
<2T
2C
main
main()
C
main
C
C
1・C
“R
C
C
(Link)
11
main()
main
main
C
main
C
T
C
tcxQ
4.C
CC
c
34
C
5.
(1)
C
C
C
(2)
C
3
3
1.
(2)
(2)
⑴_
(3)
TOC\o"1-5"\h\z
C
D
WA C
4V
C
2・
5=y
Mj
6
Z
TOC\o"1-5"\h\z
4
int shortint
short longint long
unsignedint
C
"float
abc;J IT “doublex,y
float 4
double 8
3.
4
C5
R
-55.
+35o
3%2=1 3 2, 1)
(1)
3. Z
(
#
)
1〉
3. Z
(
#
)
1〉
ift
5
1.
(1)
L
6
(2)
(++)
5
io
M3 (i+j)
J:
x=yy
x
O
i4H
5
TOC\o"1-5"\h\z
x=78 1:
(3)
\o"CurrentDocument"
2. 3.
— (1)
C 10 C
3.
1, 2“n
2,
2 ASCII
2 ASCII
2putchargetchar
(1)putcharputchar(ch)
ch
ASCII
Ala
ASCII
C 2-1o
2-1
\n
\t
M “Tab”
\v
\r
\f
\b
“Backspace”
\\
V
V
\ddd
3 ASCII
\xhh
ASCII
\0
ASCII 0
3.ht
C
W
scy ASCII
0rQ
getchar()
ch=gctchar()
gctchar()
getchar()
ch
3printf
printf
pring 1 2
printf Z
printf
A
“(T
Z
%v
L%c.%f.%c.%s
4.
C
3printf
5.
©printf
0
0
4scant
1.scanf
scanf
scanf
3.
scant
(Tab
scanf
2.scant
2-2<>
2-2
printf
1.
scanf
printf
2*)
2・
2.
2-3
0x(
fdO
e(le)
0X)
If)
If)
0.
Ox0X,
«=
a«二2
a=a«2
»二
b»二n
b=b»n
&=
a&=b
a=a&b
A=
aF
a=aAb
a|二b
a二a|b
2-4
(1)
3.
f,
f,
1,1
0)
(2)
JLQ;
(3) 1.
C 3
0 lc if
2
(3) 1.
C 3
0 lc if
2
“ii”
1
(4)
ir
2.
I
0
b
(I)
(0)o
3if
1.if
0;
I
2H;
TOC\o"1-5"\h\z
Z
0. 1).
3
g
(=); (!=)
e
Z
I4
£L4
1 (1)else
if
1,
0
if
if
(2)else
ifelseC
2”
c
else if
2.if
(1)if
1)
if 2)
else
else
C3
if
if
ifif
i
1”ifelse
if
if
if else
if
elseifif
1
2
1
0 else 1
C
1
0 else 1
C
0
3
<2)if
1)
{iR 2)
else
2
else
if
if 1)
else
if 2)
else 3
if
if 1)
else
if 2)
3.
1}
1
2
1
2
else if if
if
else:
else:
1
2”
3”
2
3”
3
1”
2”
1"
4switch
1.switch
switch(
break
{case
1
:
1
case
2:
2
case
default: n+1}
switch
switch
switch
n:
n
7 switchC
switch
case
case switch
case
(4)default
casefeHute default
switch
default case
12
case
case
switch
switch
switchiu
case
casedefault switch
default default
switch
default switch
, switch
switch break
breakbreak
break case
case break
break
switch switch
break switch
4
whilewhile
while(
while 4 ①while C
whilefe-W
(2)for
switch
include
0,
while
while
while
00
while
2do-whlle
(1)do--while
dowhile(
do…whiledo--while
do--while
do--while
TOC\o"1-5"\h\z
4 doC
while do…while do
while③while
Cdowhile
Io 20
0. 0,
3,
4
1
continue
continue
continue
break
break
break
5
1
include
C
include
(2)do--while
include
do
while
0
(2)
U
do-
while
C
3for
2.
(1)for
forf 1: 2; 3)
1,
2”
2,,,)
3”
for
②for
①for
suWin
1,
1,
2,,
int
int
void
3.
return
retum(
return
11
2
2]
1, 2 2
(2)
1,
h
return
void return
returnvoid
2
1.
PKl
main
4.
C
3
Z
return
main
argc
4
7
C
intchar
C
3
main
main
argcagrv
argv
argv
7
C
1,
2”,)
(3)
2
4
(3)
2
4
sialic
ff
5
1.
(1)
C externstatic
extern I
extern
externo
static
6
1
1.
(1)
4
(2)
(auto)
Mtihc
auto
CPU
(2)
C
2.
(1)
x
1
2,”;
shortint
(2)
float
1 1
2.
1 1
2.
2
TOC\o"1-5"\h\z
t 3 3.
(&)
7
1
1.
molloccalloc 1 ・
NULLstdio・h
NULL 0 NULL 7
\o"CurrentDocument"
C _
- 0
00
C
(1)
<3)
31.
a+0
(2)
a+0
(2)
a[] int
a[8]={0,l,2,3,4,5,6,7}, a[0],a[l],a[2],a[3].a[4],
aa[6],a[7], a
"floata[10JAk;", Va;""p=
&a[0];” pa
a
2
1.
aa
4
P
0]
2 a[2]
1. 3Wl:Mhko
1 4X2
*6)
a[0]
a
a
a+1
2
&a[i]UJ
ata[OJ.a[l].a[2]
inta⑶[4],ij;, 0WiV3
0Wj<4,a 5
2・
3・
sum
a, ibr aa
&aa a4・
ftin
aw
bb
pb
3
♦
C
1]
2],””;
4 IBJ
3.
4
1.
(1)
C
4(*(a-i))[jj
♦(&a[0][0]+4*i+j)
*(a+j)
2Xj
i)+j)AP>a
4X2Xi
2Xj
④
a[i][j]
*(&a[0][0]+4
4
*(a+i)
3.
5[3]
1.
2.
iint,j
a+i)
&a[0][0]+4*i+j
+j)
int*p[3].a[3][2]JJ;
p(3],
int
0WiV3,
(1)
(2)
p[i]
a[i]
2int.j*(*(a4
(2)C
a[i][j]
p[i]=a[i]
1.
2.
(1)
(2)
(1)
scanf
(2)
%s
%s
scan”%s”,slr_adr)
=tradr"
printf
s2
s2
Si
printf(H%s\stradr);
htr_adr" printfAj
it
Z 3.
getsputs
gets
gets(stradr);
?trdr"
gets
)puts
puts(str_adr);
str_adr
puts
4
3
5
strepy
strepyostrcpy(sLs2);
s2
sisi si
s2
strcat
strcato
streamsLs2);
S1
Si S1
strlen
strlen.
strlen(s);
strlen s
stremp
stremp
strcmp(sl,s2);
sis2
sl>s2,ij 0(
sl=s2, 0;sl<s2,
0
91
C
C 111
C
#define#undef>
#include.#if>#else#elif>#endif#ifdef>#ifridef
#line>#pragma;#error2
Adefine Adefine
define.
define
7
1F
3.
2.
3
void*
mallocfsize)
2.
(1)
#definc
#defineMU(X,Y)((X)*(Y))O
MU(X,Y) MU
size unsignedintomalloc
size
void
(NULL)
free
voidfrcc(void*ptr);
calloc
ANSIC calloc
(2) 6
void*
calloc(n,sizc)
nsize unsignedinto
calloc n
size
calloc
0
10 1
typedef
C typedef
typedef
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 产品营销承揽合同样本
- 会员转合同样本
- 代理记账签约合同标准文本
- 传媒设备转让合同标准文本
- 体育信息咨询合同标准文本
- 代工洗涤用品合同样本
- 关于钢筋供销标准合同标准文本
- 串店加盟合同范例
- c型钢合同标准文本
- 兄弟分地合同样本样本
- 年产量14万吨氯乙烯精制工段高沸塔的设计
- 工程情况说明表
- 联锁投运、切除申请表
- 正反平衡供电煤耗计算方法介绍
- 330KV代席线29301不停电跨越铁路施工方案1解析
- 西师版数学六年级(上册)知识点汇总
- 常见化验指标的正常值及临床意义
- 三字经全文带拼音完整版可打印
- 毕业设计 论文 基于plc的全自动洗衣机控制系统设计论文
- 员工通用请假条Excel模板
- 现金支票样(标准-附图片)
评论
0/150
提交评论