Thời gian làm bài: 45 phút; !"#$ !"#$%&'()* +,-./01234.'565)47).84'9:;0 <=$5>+,?0%>+,@6<*84ABC'(0D.1/ %&'()*"+, -&'(./ 012+,34 3056789:89; <=E$(=,('F0G:H:I8J601KB/::H:I)5,L0/MN %&'(< -&'(./ 012+,34 3056789:89; <=O$ Các thành phần cơ bản của một ngôn ngữ lập trình gồm: % =>?%@ - A>%-@"A712+, B5(=>?%@ d. B5(>CD8E8/F9G@H78)D@-I+J78)D <=P$ Từ khoá của một ngôn ngữ lập trình là: % =31KL39M - =+N%.O'()*"+, 1P"Q"L38RC+12+, 3078%-9:8% <=&$55'Q00RB/=L54.'9:01.::H:I /B/8$ %-% -B% B 3B% <=SR4.B/='<,84>.:TU8J601K'Q0$ %S%+ -TU%) V3 3 <=V$RW-/?5.0RTA:01K01.::H:I8J601K /B/884 %BU -WU ++%. 3S%+ <=1.: /B/8L'(D,TA:01K0/BX>Y:0FZ64. %0+)X -Y)X X 3Y)XZ <=[$1.: /B/8L-:\0G-N/.?]0'()?^0'M=6M0<TA:01KL0/N0(3]0 %-U -BV[& BU 3056789:89; <=_$1.: /B/8L8`81B1'TZ>a:'( %['+%., -\?%., &*"3()D8=-"J. 3.3=12+, <=$(=>I8`=07:71N:501@8b;084 %6]^_# -6]^_^ ]` 36]^_#a6]^_^ <=Ec]0?(=0d0.5%/e?* O B/: /B/80K0/3]084$ %b%a-cd6 -b%a-cb%a-cb%a-c b%a-cdb%a-cdb%a-c 3b%%%a---c <=O$]0f=gh/?(=0dEeOiS84 %+8U -X%)U %@-9:89; 3%@-9:8% <=P M>T01.:6j6/h//Bk:=,RS34&84$ %e_3@Zfe -e_.3Zfe e_3@Zf6 3e_.3Zf6 <=&<=8`4.B/='<,>a:'(J6)l0Bk0G?46m)34.?]no %g+U)bhihcj -TU%3)bhihcj g+U)bicj 3TU%3)bicj <=S=Hp0D):G:TA:01K01.:)l0-.g:0U:/;0'@L0/>a:8` %g+U)j -TU%3)j U)%/j 3%8Uj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rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrr Thời gian làm bài: 45 phút; E !"#$ !"#$%&'()* +,-./01234.'565)47).84'9:;0 <=$5,0mN0((=01r0]6:H:I4.01.:5:H:I>Tb'<, %&'(< -&'()*"+, &'(./ 3056789:89; <=E$:H:I'(3]05TA:01K)5,0m84 %&'()*"+, -&'(./ 012+,34 3056789:89; <=O$ Cấu trúc của một chương trình Pascal gồm: % *"P">JD8@8/F - A>%-@712+, =>?%@ 3 B5(E8/F9G@H78)D@-I+J78)D <=PI:0RNx:y/'TZn5'@0G01Tb34-H:'TZ6j6BX>Y:.)Y'm 4.-5'TZ:84:Ko %?v -+ =>?% 3BH <=&1.:50RB/='<,L0R4.84Z68`01.::H:I /B/8 %#% -%.% ++%. 3-%%" <=S1.::H:I8J601K /B/8L0G-H:6g0G-N/84$ %WU -++%. V3 30."8U+ <=V$RW-/?5.0T3`01.::H:I8J601K /B/884 %BU -WU ++%. 3S%+ <=1.: /B/8L'(>@TA:01K0/BX>Y:0FZ64. %0+)X -Y)X X 3Y)XZ <=[$1.: /B/8L)=k-]009TA:01KL0/3]084 %V3 -V3j V3 3" <=_$1.: /B/8L8`z107'TZ>a:'( %['+%., -\?%., &*"3()D8=-"J. 3.3=12+, <=$(=>I8`=07:71N:501@{;084 %6]^_# -6]^_^ ]` 36]^_#a6]^_^ <=Ec]0?(=0d0.5/ O |? O B/: /B/80K0/3]084$ %%d6-d6 -%d%d%-d-d- %%%--- 3%%%--- <=O$]0f=gh/6j6/_}&84:501@-(= %&8/ -< &8/@< 3+ <=P M:=,R01.:6j6/h//Bk:=,RS34&84$ %e_3@Zfe -e_.3Zfe e_3@Zf6 3e_.3Zf6 <=&<=8`4.B/='<,>a:'(:501@8T=01.:?]n1/)4Ko %g+U)bhihcj -TU%3)bhihcj g+U)bicj 3TU%3)bicj <=S=Hp0D):G:TA:01K.']-:TU>a:;6m)L0/>a:8` %g+Uj -TU%3)j U)%/j 3%8Uj <=V$ 50?(=4.B/='<,'9: % %8>l9k91P>%-%?G+4)l+"A7N%12+, - +4N%l>'G%/9w+8IK%<D12+, 0?G>%-l@-HI%8 3 1P"Q">%-]l?x1@!+4>%8 <=$1.: /B/8L-/?5.4.B/='<,84'9: %S%+-f+U%)j -S%+nU+U+j 0\[U+U+j 30Tf6oj <=[$gBX?]'TZ-/?5.84?]3b-(=>I8`=n<= j6:54.B/='<,Z68` %Yfnoj -Yfpnpj Yfnj 3056789:89; <=E_$gBX?]Lq'TZ-/?5.84?]3b-(=>I8`=Bk:=,R%071:71*84Bk0r %7/8* j6:54.B/='<,Z68` %YfTj -YfYqBj YfT3@Bj 3TfY3@Bj !stu <=$+,BI/8v.TA:01KB/=%E'()* ++%.@38]j BU 0)++j g+Ub%%-%cj V3j rrrrr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