GIÁO ÁN MÔN TIN HỌC
!"#$%&'
(!)*'&+),-.'
BÀI 19. TÌM KIẾM VÀ THAY THẾ
I. MỤC TIÊU
/&0%1234%5%67%5%&86%5%9&:;<=<7
&'&">"?@&A1B234%C=&5%&',D'EB&Find7Find and
Replace?D'Replace7Replace AllF
/G:&C%&B234%&'5%;<=<7&'&2HI"7:
1IF
/&52JE<7B%&K<L%?9%&%C%F
II. CHUẨN BỊ
/(!55?=?1I@&6F
/) MN<=G1%O?2$%"3P%1<PF
III. TIẾN TRÌNH BÀI DẠY
HĐ1: Kiểm tra bài cũ ( 5’)
/) &'K,%#,%H1I=&";&1"'7:1IE;Q!96%R"'7:
1I25&S??FR&T2U&3P%&"'=&5%7P&'"'%VE=&WQ
!;'Q
/) 2T7:1I'&C%&B&3&Q<&2TMN<"3P%=&Q
S<57P<59&M'%R&T234%'&'=&WQ!;'Q
/(!&XMY?%&2T<F
/.U7Z2-71<P
">"%R<J%W%6L@';<7&'&&'&%5%["7:1IF
!X%W%62RE;Q)W<'%&L'\;<&T,1
1
Bài 19. TÌM KIẾM VÀ THAY THẾ
"3P%K%&L'\;<[&U%<J]=^C"7:1IF
HĐ2: 1)Tìm phần văn bản (12’)
)_`.a(bc(! )_`.a(bc) ad*(
/($%5&A) 2$%@&# /) 2$%@&#F F;<@:1I
/(!"N1I@&6e&J@&
Findf
/gK,%#,) &2J&R<7
"IEh%A,&i&IE,Xejf
/) &2J&R<F
k<&2TM,Z&B&J@
&Find e;<=<f Q
k)]K,&'5%2T;<=<
<J[Q
/($2B&R<15%5 /&R<15%5
/(!$&R<=&5%&XMY
/(!&XMY?R<^
/&R<&XMY
/) El&N?&17
7m
/&$EB&nFind
&U%Ctrl + F
/(oJ,%#;<7W
Find what
/&ZFind next 2T;<
/(!$<J) &l%E /5&A) &l%E
/(!&iE<''12];<
234%&'%&3'Q
/5&A) "IEheJ
,;<234%1+1W2Nf
/(!&XMY /) El&N /&#J,;<234%
&T&+3P1+p1W
2Nj
/(!%R&T%&q&8'@W
2N2R=&WQ
/5&A) "IEhe%Rf /&5%&,JEK7:1I2T
8',%#
/(!2T@6%;<'E<& /5&A) "IEhe&5 /&57LFind next
2
Q Find nextf 2T@6%;<
/(!2T=&L%'E<&Q /5&A) "IEhe&5
Cancelf
/&5Cancel &U%L
2T=&L%
(!'2];<234%@:1I%#%&q&8'?&3'2]%&q&8'234%
&'%&3'Q
HĐ3: 2.Thay thế (22’)
/($%5&A) 2$%@&# /) 2$%@&#F F&'&
/(!"N1I@&6e&J@&
Replacef
/gK,%#,) &2J&R<
7"IEh%A,&i&IE,Xejf
/) &2J&R<F
k<&2TM,Z&B&J@
&Replacee&'&fQ
k)]K,&'5%2T&'&
<J[Q
/($2B&R<15%5 /&R<15%5
/(!$&R<=&5%&XMY
/(!&XMY?R<^
/&R<&XMY
/) El&N?&17
7m
/&$EB&Edit
Replace&U%Ctrl + H
/(oJ,%#&'&
7WFind what
/(oJ,&'&7W
Replace with
/&ZFind next 2T;<
/&ZReplace2T&'&
/(!$&') &l%E /5&A) &l%E
/(!=&'&5LReplace?
[%O\234%&'&?2r
/) El&N
3
&h[%#&'&@&N
"7:1I\234%1W2N
%&h'&5Replace&K<E#
D'
/(!<sE#&C%&BEB&
Replace?'&'&234%1'
&K,[Q
/5&A) "IEhe<Jf
/(!,%#&'&&-,[
S&',?86EB&
Replace%R&B,t,I=&WQ
'Q
/5&A) "IEh
e=&W?\<Z&-,&h
'f
/(!=&%#&'&&-,[
S&',?'uEB&
Replace AllF
/) El&N
/(!%&) t,'5=t,I
&'&@:1I1vEB&
Replace All
/) t,'5
/(!EB&Replace 7Replace
All =&5%&',&3&Q
/5&A) "IEheEB&
Replace<sE#%&q&'
&234%<J[?EB&
Replace All&'&Z%I
%5%[%O1v[<Pf
/(!&XMY?R<^ /) El&N /B&Replace Allu2T
&'&Z%I%5%%6<[
;<234%1v%6<[&'
&
/!X=&'86EB&
Replace?=&86EB&
Replace All Q
/5&A) "IEheu
Replace=&%#&'&
<J7[?uReplace
All=&%#&'&Z%I
%5%[f
/(!E<&2T=&L%Q /5&A) "IEhe&5
/&5Cancel &U%L
4
Cancel &U%L f
2T=&L%
/(!%&L'7[';<&T,
MEB&Find and Replace.
B&7EB&Findm@&#
=&5%&',&3&Q
/5&A) "IEh /B&Find&q%R&T;<
@:1I?,<,S
%&q&8'@&I&5%"i
77:1IF
/B&Find and Replace
R&T;<@:1I7
%&q&8'e&'&f@&#
7:1I2R
/(!&XMY /) &&X
/(!%R&Tu%W%6;<
=<7&'&2Tol234%
=&WQ
/5&A) "IEh R?ol1;&&3h?',
2R&'&[ol1v
[%#&T&+
/(!&XMY /) &&X
/(!"<J7:1I%R
&-,[S&',%#MR'1i?
%R&Tu%W%6;<=<7
&'&2TMR'%5%[2R&'
=&WQ
/5&A) "IEh /R?%&q%#&'&[2R
1v=&I"lF
/(!&XMY /) &&X
/(!&'%&0%:"K?
"&J@&Find and
Replace%V%R%&0%:Go
To
/) &No
&0%:%&@&Y@'
%&,T2<J"'1ZEw
"7:1I?1v%5%&oS
&0C%x'"'7WEnter
5
page number
HĐ4: Củng cố (5’)
/($) 2$%@&#&&P /5&A) 2$% /()d)e (yf
/(!<&2TM,Z&B
&J@&Find and ReplaceQ
/5&A) "IEh
/(!<&2T;<=<
<J@:1IQ
/5&A) "IEh
/(!<&2T&'&
<J@:1IQ
/5&A) "IEh
HĐ5: Dặn dò (1’)
) 7-MN<E1Tìm kiếm và thay thế?2$%"3P%1<PF
"3h) F&3h?
!
z({)_c
6