-

-
WEBSITE HỖ TRỢ TỰ HỌC NGOẠI NGỮ - TIN HỌC

Thứ Tư, 28 tháng 3, 2018

HƯỚNG DẪN SỬ DỤNG HÀM IF MICROSOFT EXCEL 2007 Giáo viên: Lưu Thị Hải Yến

Ngoại ngữ - Tin học     14:43    
HƯỚNG DẪN SỬ DỤNG HÀM IF
MICROSOFT EXCEL 2007
Giáo viên: Lưu Thị Hải Yến
1. Cú pháp:
        =if(biểu thức logic,giá trị đúng,giá trị sai)
2. Hoạt động hàm:
          Hàm kiểm tra biểu thức logic, nếu biểu thức logic đúng hàm nhận giá trị đúng ngược lại (biểu thức logic sai) hàm nhận giá trị sai.
3. Các dạng hàm if:
3.1. If đơn:
Cho bảng tính sau:



Yêu cầu:
1.    Tính Thưởng: Nếu xếp loại A thì thưởng 500000 còn lại không được thưởng.
2.    Tính Phụ cấp: Nếu Ngày công >=26 ngày thì phụ cấp 300000 còn lại không phụ cấp
Hướng dẫn:
1.    Tính thưởng:
Phân tích câu hỏi:
-        Biểu thức logic: Xếp loại A (E7=“A”)
-        Giá trị đúng: 500000
-        Giá trị sai: 0
B1: Đặt con trỏ ô vào ô F7
B2: Nhập hàm =if(E7=“A”,500000,0)
B3: Sao chép công thức cho các ô từ F8 đến F11
          2. Tính Phụ cấp:
Phân tích câu hỏi:
-        Biểu thức logic: Ngày công >=26 (D7>=26)
-        Giá trị đúng: 300000
-        Giá trị sai: 0
B1. Đặt con trỏ ô vào ô G7
B2. Nhập hàm =if(D7>=26,300000,0)
B3: Sao chép công thức cho ô từ G8 đến G11

3.2. If lồng nhau
Các phiên bản office từ 2007 trở đi, Excel có thể lồng tối đa 64 điều kiện trong 1 công thức.
Cho bảng tính sau:

Yêu cầu:
Tính Tổng điểm = Toán + Lý + Hoá
                    Cộng thêm 1 điểm vào Tổng điểm cho học sinh đạt Đạo đức A
                    Cộng thêm 0.5 điểm vào Tổng điểm cho học sinh đạt Đạo đức B
                    Trừ Tổng điểm đi 1 cho học sinh đạt Đạo đức D
                    Các loại Đạo đức khác giữ nguyên Tổng điểm.
Hướng dẫn:
Phân tích câu hỏi:
Đối với yêu cầu này chúng ta có thể hiểu:
Nếu đạo đức loại A thì tổng điểm + 1 (Toán + Lý + Hoá +1)
Nếu đạo đức loại B thì tổng điểm + 0.5 (Toán + Lý + Hoá + 0.5)
Nếu đạo đức loại D thì tổng điểm – 1 (Toán + Lý + Hoá -1)
Còn loại đạo đức khác giữ nguyên tổng điểm (Toán + Lý + Hoá)
B1: Đặt con trỏ ô vào ô G3
B2: Nhập hàm
=if(F3=“A”,C3+D3+E3+1,if(F3=“B”,C3+D3+E3+0.5,if(F3=“D”,C3+D3+E3-1,C3+D3+E3)))
3.2. If lồng các hàm khác
VD1: Lấy ví dụ trong mục 3.2 ở trên
          Trong hàm if ta sẽ thay cách tính Tổng điểm (Toán + Lý + Hoá) bằng hàm Sum(toán,lý,hóa) như sau
B1: Đặt con trỏ ô vào ô G3
B2: Nhập hàm
=if(F3=“A”,sum(C3:E3,1),if(F3=“B”,sum(C3:E3,0.5),if(F3=“D”,sum(C3:E3,-1),Sum(C3:E3))))
VD2:

Yêu cầu:
1. Lương = Lương CB * Hệ số lương
2. Thâm niên = Hệ số thâm niên * Lương CB
          Nếu vào làm từ năm 1995 trở về trước và bằng cấp là ThS  được hưởng hệ số thâm niên là 0.3
          Nếu vào làm từ 1996 đến hết năm 2000 được hưởng hsố thâm niên là 0.2, còn không hsố là 0.1
Hướng dẫn:
1.    Tính lương:
B1: Đặt con trỏ ô vào ô G4
B2: Nhập hàm: =$J$2*F4
2.    Tính Thâm niên:
B1: Đặt con trỏ ô vào ô I4
B2: Nhập hàm
=if(AND(C4<=1995,D4="ths"),0.3,if(AND(C4>=1996,C4<=2000),0.2,0.1))
VD3:

Yêu cầu:
1.    Tính điểm trung bình các môn (toán hệ số 2)
2.    Xếp loại được tính như sau:
Nếu điểm TB >=8 và không có môn nào < 7 thì loại giỏi
Nếu 7 <= điểm TB < 8 và không có môn nào < 6.5 thì loại khá
Nếu 5 <= điểm TB < 7 và không có môn nào < 5 thì loại T bình, còn lại xếp loại yếu
Hướng dẫn:
1.    Tính điểm trung bình
Tại ô F7 nhập hàm: =AVERAGE(C7:E7,D7)
                       hoặc  =AVERAGE(C7,D7,D7,E7)
2.    Xếp loại: Tại ô G7 nhập hàm:
=IF(AND(F7>=8,MIN(C7:E7)>=7),"Giỏi",IF(AND(F7>=7,MIN(C7:E7)>=6.5),"Khá",IF(AND(F7>=5,MIN(C7:E7)>=5),"TB","yếu")))
Hoặc =IF(AND(F7>=8,C7>=7,D7>=7,E7>=7),"Giỏi",IF(AND(F7>=7,C7>=6.5,D7>=6.5,E7>=6.5),"Khá",IF(AND(F7>=5,C7>=5,D7>=5,E7>=5),"TB","yếu")))

Thứ Ba, 20 tháng 3, 2018

Ngoại ngữ - Tin học     15:02    
CÁCH GIẢI BÀI TOÁN TÌM KIẾM TRONG EXCEL 2007
   Người viết: Vũ Thị Thu Hiền
Đơn vị công tác: Tổ Ngoại ngữ - Tin học
          Trong Excel, hàm VLOOKUP() và HLOOKUP() là hai hàm đặc trưng cho các bài toán về tìm kiếm. Nhưng thực tế chúng ta có thể sử dụng thêm hàm IF() với dạng bài trên. Trong bài viết này tôi xin giới thiệu cách sử dụng các dạng hàm trên để giải quyết cho cùng một bài toán liên quan đến vấn đề tìm kiếm.
          Dưới đây tôi sẽ lấy ví dụ minh họa một bài tập có trong giáo trình đang giảng dạy cho học sinh trường Dự bị Đại học Trung ương. Hướng dẫn học sinh giải bài toán về tìm kiếm bằng các hàm khác nhau.
Bài TH số 18: trang 187

Yêu cầu: Sử dụng hàm thích hợp để điền tên báo và đơn giá vào bảng tính BÁO CÁO DOANH THU BÁO CHÍ (TÊN BÁO, ĐƠN GIÁ: dựa vào bảng phụ MAHH)
Với yêu cầu của bài toán trên ta có thể sử dụng các cách sau để giải quyết bài toán
Cách 1:  Dùng hàm tìm kiếm theo cột để tìm kiếm Tên báo theo từng Mã HH từ bảng phụ.
VLOOKUP(Lookup_value, Table_array, Col_index_num, Range_lookup).
Trong đó:
          + Lookup_value: điều kiện tìm kiếm
       + Table_array: vùng tìm kiếm
       + Col_index_num: cột chứa giá trị cần tìm
       + Range_lookup: kiểu tìm kiếm (0 hoặc 1); với 0 là dò tìm tuyệt đối,
                                                                            còn 1 là dò tìm tương đối
Bảng phụ gồm 3 cột:
Cột 1: chứa mã HH
Cột 2: chứa tên báo tương ứng với từng mã hàng
Như vậy ta xác định các thành phần sau:
-         Điều kiện tìm kiếm: Mã mặt hàng của các tên hàng
-         Vùng tìm kiếm: Bảng phụ là vùng ô I4:K8
-         Số thứ tự cột chứa giá trị tìm kiếm: Là cột số 2 (cột chứa tên báo bảng phụ cấp)
-         Kiểu tìm kiếm: 0 (là kiểu dò tìm tuyệt đối)
Khi đó ta sẽ thực hiện tìm kiếm tên báo tại bảng tính như sau:
Tại ô C3 của cột Tên báo nhập hàm: VLOOKUP(B3,$I$4:$K$8,2,0)
 
Sau đó copy công thức của ô C3 xuống phía dưới các ô còn lại cột TÊN BÁO sẽ tìm được tên các loại báo tương ứng với MAHH

 Cách 2: Dùng hàm logic IF() để tìm kiếm Tên báo dựa vào Bảng phụ
IF(bt_logic,gtri_dung,gtri_sai)
Trong đó:
          + bt_logic: điều kiện kiểm tra của hàm IF
          + gtri_dung: nếu bt_logic có giá trị True.
          + gtri_sai: nếu bt_logic có giá trị False.
Dựa vào bảng phụ xác định được điều kiện của bài toán: bảng phụ cho 4 điều kiện tìm kiếm Tên báo. Vậy xác định được số hàm IF() cần dùng trong yêu cầu của bài toán là 3 hàm IF() lồng nhau.
Cách tính như sau:
Tại ô C3 của cột Tên báo nhập hàm: IF(B3=“TT”, “Tuổi trẻ”,IF(B3=“TN”, “Thanh niên”,IF(B3=“PN”, “Phụ nữ”,“Công an”)))




Copy công thức của ô C3 xuống phía dưới các ô còn lại cột TÊN BÁO sẽ tìm được tên các loại báo tương ứng với MAHH

Tương tự, cột ĐƠN GIÁ chúng ta làm như trên.

Nhận xét: Dạng bài toán cho dữ liệu ở hai bảng chính và bảng phụ; yêu cầu dựa vào bảng phụ để tìm kiếm dữ liệu và tham chiếu vào bảng chính. Khi đó chúng ta có thể sử dụng một trong hai cách trên để giải quyết yêu cầu của bài. Tuy nhiên, dựa vào bảng phụ ta có thể biết được khi nào dùng được cả hai cách trên. Trong trường hợp bảng phụ chứa nhiều dữ liệu để tìm kiếm thì ta nên dùng hàm tìm kiếm VLOOKUP() hoặc HLOOKUP(). Như vậy việc tìm kiếm sẽ nhanh và chính xác.

Thứ Ba, 13 tháng 3, 2018

Bài ôn tập kiểm tra định kỳ 2 tiếng Anh khối D,A1

Ngoại ngữ - Tin học     10:59    

BỘ GIÁO DỤC VÀ ĐÀO TẠO
TRƯỜNG DỰ BỊ ĐẠI HỌC DÂN TỘC TW
---------
    BÀI ÔN KIỂM TRA ĐỊNH KỲ 2
KHỐI D, A1NĂM HỌC 2017 – 2018
----------
           MÔN: TIẾNG ANH



Pronunciation
Choose the word in which the letter in bold is not pronounced the same as the rest in the group.
1. A. invented                       B. designed              C. directed                D. succeeded
2. A. packed                          B. added                   C. worked                 D. pronounced
3. A. laughed                         B. washed                C. helped                   D. weighed
4. A. stools                            B. cards                    C. desks                    D. tables
5. A. neighbors                     B. friend               C. photographs          D. relatives
6. A. houses                           B. horses                  C. matches                D. fingers
7. A. nervous                         B. trousers                 C. round                    D. account
Choose the word in which is not stressed the same as the rest in the group
1. A. prepare                  B. repeat                 C. purpose               D. police
2.  A. cartoon                  B. western              C. teacher                 D. theater
3.  A. complain               B. luggage             C. improve                D. forgive

Vocabulary
1. I don’t mind ……. in the sea in the morning.
A. swim                       B. to swim                  C. swiming                 D. swimming
2. It’s really cold today. I think children should wear …….… when having a picnic outside.
A. shorts                      B. T-shirts                              C. coats               D. skirts
3. People often arrive … the airport two hours before the flight.
A. in                            B. at                                       C. into                  D. on
4. The London Eye is ……. England.
A. on                           B. at                                        C. in                     D. into
5. Auld Land Syne is a traditional folk song which is often sung … New Year’s day.
A. on                           B. at                                        C. in                     D. into
6. I’m … a Spanish course, because I’m going to have a conference next month in Spain.
A. making                  B. doing                     C. putting                   D. both A and B
7. We are ……………….a business plan for our two week’s experience next week.
A. making                  B. doing                     C. working                 D. going
8. Jane’s very hard-working. She offered … with my homework.
A. help                       B. to help                               C. helping                  D. helps
9. Jerry’s ……… in geography.
A. excited                  B. interested              C. tired                       D. interesting
10. The exam makes me … . I can’t sleep and I’m trying to do many exercises.
A. depressed             B. depressing               C. worrying               D. relaxed
11. Walking around Van Lang park was quite ….. I need a rest! I can’t walk anymore.           
A. tired                       B. tiring                     C. excited                  D. relaxing
12. Ann’s really … . She never gives presents to anyone.
A. mean                      B. lazy                       C. generous               D. friendly
13. Heba speaks Arabic and French very………..
A. good                      B. bad                         C. nice            D. beautifully
14. She promises ……………..you back next month.
A. pay                         B. to pay                    C. paying                   D paid
15. She often spends hours …………on the phone.
A. talk                       B. to talk                    C. talking                   D talks
16. I can’t talk now, I’m driving. I’ll ……………….in 20 minutes.
A. calling you back    B. call you back      C. to call you back    D. called you back
17. Jim likes giving people things. He is very ……..
A. talkative                B. friendly                 C. generous               D. funny
18. My sister is over there. She is ………… a red coat.
A. wearing                 B. dressing                 C. carrying                 D. putting on
19. We usually ………… charter flights online to save money.
A. fly                          B. book                      C. take                        D. buy
20.-  What’s the weather like when you were on your holiday?
-  …………… It’s very windy and it rained all days so we almost stayed in the hotel all the time.
A. Wonderful            B. Ok                          C. Not bad                 D. Terrible
21. I come home late, so I don’t ……….dinner. I always eat out.
A. do                           B. make                      C. take                        D. serve
22. She doesn’t usually wear white dresses because they don’t………….her.
A. fit                           B. like             C. suit             D. love
23.  Mark needs a lot of money for his plan but no one ………..him.
A. borrows                 B. takes                      C. receives                 D. lends
24. Which is the synonym of “get” in the following sentence?
“He doesn’t get home until 7 p.m every day”.
A. arrive                     B. leave                      C. become                  D. receive
 25. Be quick or we’ll …………the bus in 5 minutes
A. miss                       B. lose                        C. wait                        D. go
26. Jenny’s parents rarely …………her to school because they are very busy.
A. bring                      B. take                 C. drive                      D. B & C are correct

GRAMMAR:  Choose the best answer

1. Thomas (not/ have) a notebook, a tablet and a wallet in his bag.
A. don't have             B. doesn't has         C. haven't                   D. doesn't have
2. My children (make) dinner in the kitchen now.
A. is making              B. is make              C. are making            D. are make
3. My son (break) his leg when he (play) football last week.
A. breaks/ is playing                       B. broke/ was playing         
C. was breaking/ played                  D. is breaking/ plays
4. Jack (not/ stop) at the red traffic light yesterday.
A. doesn't stop          B. didn't stoped         C. didn't stopped      D. didn't stop
5. Laura (be) to the supermarket, the fridge is full.
A. is                            B. was             C. has been                D. have been
6. It's summer there so it (be) hot.
A. is going to be        B. was             C. will be                   D. has been
7. I'm (busy) this week than last week.
A. busyer                   B. busier        C. more busy             D. less busyer
8. John is intelligent so he works (quickly) than you.
A. more quickly        B. quicklier               C. less quickly          D. quicklyer
9. This is (bad) restaurant I've ever been to.
A. baddest                 B. the worst               C. worse                   D. the most bad
10. It's (big) house I've ever seen.
A. bigest                     B. the bigest              C. the biggest         D. the most biggest
11. I don't drink ……………...
A. water enough       B. enough water        C. too water               D. water too
12. What your daughter (do) if she (miss) the last bus?
A. does... do/ will miss                                C. will... do/ miss
B. does/ misses                                             D. will... do/ misses
13. When the car _______ down, Alessandro phoned a mechanic.
A. breaks                               B. broke                     C. broken                   D. break
14. My uncle ________in The Vienam National Academy of Music.
A. working                             B. work                      C. works                     D. worked
15. I don’t think Challote’s ________tonight.
A. going to phone                 B. phoning                 C. phones                   D. going phoning
16. I can’t come to the cinema, I’m _______my teacher this Saturday.
A. am going to meet             B. meet           C. am meeting                       D. meeting
17. Caroline and Alex ________when the bus started to move yesterday afternoon.
A. were holding hands and smiling                                               B. held hands and smiled
C. holding hands and smiling                                                         D. was holding hands and smiling
18. Da Lat is one of the most romantic places I _________.
A. visited                   B. have ever visited            C. ever have visited             D. ever visited
19. People in cities around the world walk 10% ________they did twenty years ago.
A. quickly than         B. more quick than              C. quicker than         D. more quickly than
20. Our cars are_______, but the traffic is _________.
A. fast/ worse            B. faster/ worst                     C. faster/ worse              D. faster/ well
21. Why are you playing the video games? – I_______it for 20 minutes.
A. ‘ve already done             B. just do                   C. did                          D. am doing
22. People are ________than they were in the past. They think they’re wasting time to wait for the lift or the traffic jam.
A, more patienter            B. more impatient     C. less patient           D. both B and C
23. Don’t eat _________ sugar or _________meals in a day if you don’t want to put on weight.
A. too many/ too much                     B. too much/ too many       
C. enough/ too many                        D. too much/ enough
24. Surprisingly, if you are in a hurry, all the traffic lights ________ red all the time through your way.
A. is going to be                    B. will be                   C. is                D. will


READING
Reading 1: Choose the best answer
          One of the main sources for the spreading of news and events throughout the world is the newspaper.
          The purpose of newspapers is to inform the public of political, social economic and entertainment happenings, among other things .Generally, there are three types of newspapers: daily newspapers, weekly newspapers, and special-interest newspapers. Daily newspapers publish at least one edition every weekday. Most dailies also have a weekend edition. Daily newspapers often have sections for news, sports, arts and entertainment, business and classified advertising. Weekly newspapers print once a week and cover news of interest to readers in a smaller area than that of a daily paper. They focus on local happenings rather than national or international events. Special-interest newspapers may publish daily, weekly, monthly, or even less frequently. They generally disseminate news of interest to a particular group of readers or feature news about a specific topic.
          Thanks to the development of the Internet, we can now get access to electronic newspapers. To some extent, e-newspapers are cheap, up-to-date, and convenient for most readers in the world.
1. The purpose of newspapers is to inform the public of…
A. political and social happenings                   
B.economic and entertainment happenings                                                                        C. other different events                                  
D. all A, B and C
 2. Three types of newspapers are…
A. daily newspapers, weekly newspapers and special-interest newspapers.
B. weekly newspapers, monthly newspapers , yearly newspapers .
C. daily newspapers, weekly newspapers and monthly newspapers.
D. weekly newspapers, monthly newspapers and special-interest newspapers.
3. Most daily newspapers publish…
A. only one edition every weekday .                               
B. one edition every weekend .
C. at least once every weekday and once at weekend.
D. one different edition for one different  section 
4. Weekly newspapers usually focus on…
A. local happenings                                       
B. national happenings
C. international happenings                            
D. local and international happenings .
5. Social-interest newspapers cover news of interest to…
A. special people                                           
B. particular group of readers
C. feature news about a specific topic         
D. both B and C

Reading 2: Choose the best answer
Christmas.
         Two popular traditions at Christmas are : decorating the home and singing the Christmas carols. The home is the center of the Christmas celebration. Inside, an evergreen tree is usually placed in the corner of the Living room. Children and their parents  wrap string of colorful lights around the tree, they hang ornaments on the branches. A star or angle often crowns the top. Careful- wrapped gifts are placed beneath. Outside, families often string lights around the windows and wind light around trees and shrubs in the front yard. As the families decorate their homes, they often put on Christmas record. Almost every family has at least one favorite album or compact disc. School children of all ages perform Christmas concerts for their parents and communities. On Christmas’ Eve, family members gather around Christmas tree to sing traditional songs Such as Jingle bells and Silent night and then give presents to each other. 

Questions.
1-     What are the popular traditions at Christmas?
A. Decorating the home.                               B. Singing Christmas carols.
C. Eating Christmas pudding.                       D. A and B are correct.
2-     Where is the evergreen put ?
A. In the middle of the living room.                  B. In the middle of the bedroom.        
C. In the corner of the living room.                   D. In the corner of the bedroom.
3-     How do they decorate the Christmas tree?
A. They wrap string of colorful lights around the tree.    
B. They hang ornaments on branches.
C. They crown a star on the top.
D. All are correct.
4-     What do the family members often do on Christmas’ Eve ?
A. They gather around Christmas tree.
B. They sing traditional songs.
C. They gather around the tree, sing traditional song and get presents
D. They give presents to each other.
5-     What do they do as they decorate their home ?
A. They sing traditional songs.            C. They eat Christmas pudding.
B. They put on Christmas record.        D. All are correct.

Reading 3:  Read the passage. Write T for true sentences, F for false sentences and N for the sentences containing no information.
            It is great to have pen pals. In my opinion, friendship is among the meaningful relations in our life. Many of my friends have pen pals and they correspond regularly. A friend of mine once got a letter from the school mailbox and told me a lot of interesting things about her pen pal. That made me excited and I was eager to have one. Therefore, I got online and did some chatting. I was lucky to get to know a very nice Australian girl. Her name's Jenny. She and I are the same age and we have a lot of things in common.
           Although my English was not very good at first, we were able to understand each other quite well. My English has improved a lot. Jenny has never been to Viet Nam. However, she thinks well of our country and our people. When she comes to Viet Nam, I will take her to some interesting places, especially our World Heritage Sites, such as Ha Long Bay, Hoi An Ancient Town, My- Son Tower. Through her mail, she tells me about her country. Thanks to Jenny, I know more and more about Australia. I hope to be an exchange student in Australia some day and we will be able to meet.
1. The writer's English is now better than before. _____
2. The writer has 'never been to Australia. _____
3. Australia doesn't have as many World Heritage Sites as Viet Nam. _____
4. The pen pal mentioned is as old as the writer. _____
5. They correspond in Vietnamese. _____

Writing: Use the given words to make sentences:

1. What time/ Dave/ finish/work?
………………………………………………….
2. This/photo/my/family.That/me/the middle.
……………………………………………………….
3. What/you/do/6 o’clock/last night/?
………………………………………………………………
4. Russia/biggest/country/world/?
………………………………………………………….
5. They/spend/lot/time/watch/old DVDs/
………………………………………………………………..
6.  If Mark / ring / me / I / tell you
…………………………………………………………..
7.  Marc/ generous/ than/ Alex.
………………………………………………………
8. He/tired. He/not/ sleep/well/ last night.
……………………………………………………………..
9. I/love/ski/the winter.
………………………………………………………..
10.You/ should/drive/so fast.The roads/very icy.
……………………………………………………………..
11. You/be/Nha Trang? No, I/ not.
……………………………………………………………..
12. When/ my father/ drive/ work/ it/ start/ rain.
……………………………………………………………..
13. I like/listen/ English songs/. I listen/ when/ free time.
……………………………………………………………..
14. Yesterday my father/ promise/ buy me/ new bike.
……………………………………………………………..
15. I/ live/ Cao Bang/ 20 years. Now I/ still/ live here.
……………………………………………………………..
16. Play/ video games/ harmful to/ your eyes.
……………………………………………………………..
17.  You/ need/ work/ hard/ pass/ your examinations.
……………………………………………………………..
18. This bag/ too heavy. / I/ carry it/ you?
……………………………………………………………..
19. This/ the/ interesting film/ I/ see.
……………………………………………………………..
20. Spring/ beautiful/ than/ summer.

……………………………………………………………..

Giới thiệu

Đây là Website của Tổ bộ môn chung với mục đích hỗ trợ các em học sinh trong hoạt động tự học ngoại ngữ và tin học trong trường Dự bị Đại học Dân tộc Trung ương

Liên hệ

Mọi ý kiến trao đổi xin gửi về địa chỉ Email: tobomonchungdbvt@gmail.com hoặc tại Văn phòng Tổ Bộ Môn Chung tầng 1 Nhà B2
© 2011-2014 TỔ BỘ MÔN CHUNG . Designed by Bloggertheme9 . Powered by Blogger .