1. Trang chủ
  2. » Luận Văn - Báo Cáo

Đề tài nghiên cứu khoa học cấp Trường: Xây dựng phần mềm, tư liệu học tập và tư liệu giảng dạy kĩ năng đọc hiểu của bài thi TOEFL IBT

48 1 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Xây dựng phần mềm, tư liệu học tập và tư liệu giảng dạy kĩ năng đọc hiểu của bài thi TOEFL IBT
Tác giả Nguyen Ngọc Vũ
Trường học Trường Đại Học Sư Phạm TP.HCM
Chuyên ngành Công Nghệ Thông Tin
Thể loại Báo cáo tổng kết
Năm xuất bản 2008
Thành phố TP.HCM
Định dạng
Số trang 48
Dung lượng 28,89 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

BỘ GIÁO DỤC VÀ ĐÀO TẠOTRƯỜNG ĐẠI HỌC SƯ PHẠM TP.HCM BAO CAO TONG KET ĐÈ TÀI KHOA HỌC CÔNG NGHỆ CAP TRƯỜNG XÂY DỰNG PHAN MEM, TƯ LIEU HỌC TẬP VÀ TƯ LIEU GIẢNG DAY KĨ NĂNG ĐỌC HIẾU CUA BÀI

Trang 1

BỘ GIÁO DỤC VÀ ĐÀO TẠO

TRƯỜNG ĐẠI HỌC SƯ PHẠM TP.HCM

BAO CAO TONG KET ĐÈ TÀI KHOA HỌC CÔNG NGHỆ CAP TRƯỜNG

XÂY DỰNG PHAN MEM, TƯ LIEU HỌC TẬP VÀ TƯ LIEU

GIẢNG DAY KĨ NĂNG ĐỌC HIẾU CUA BÀI THI TOEFL IBT.

Trang 2

Đơn vị phối hợp chính:

Khoa Anh Trường ĐHSP TP.HCM

Trang 3

Mục lục

TÓM TAT KET QUÁ NGHIÊN CUU DE TAI KHOA HOC VA CÔNG NGHỆ CAP

TRƯỜNG k24:6:120250:060602G25200G/1GG1810X40ÁSảuaa58/0CGSÁS6 2x48 RES

SUMNMRRYS= 266v 6ltssasae

abt ia aL: | 6

LS 2b = [| ằằằằăẰ=——_———————_——— 6

CÁCH TIẾP CAN, PHƯƠNG PHAP NGHIÊN CỨU, PHAM VI NGHIÊN CỨU 7

Xây đựng được mẫu file di liệu XML nhé gọn và để sử dụng cho phản mềm 10

Phát trién được một số thuật toán lập trình dé xứ lí các dạng câu hỏi dọc hiểu phức tap20

Thuật toán ngẫu nhiên hóa dữ liệu lay tử file XML: - 555-555 55<55< +0

Thuật toán xử bi câu hóa kéo thả 2-22 ©2222 St 22 2Z+zZCEZcESzZ 2x cyZc vzzevzzccszze 23

Thuật toán xư li câu hóa tnsert - 22 22 2< 2csczzcxccxeccczecz ee 37KET LUẬN VÀ KIÊN NGHỊ SỬ DUNG KET QUÁ NGHIÊN CỨU 45

Ta HT NHÀ co Ÿ.ỶŸ-—— —.=.== 46

Trang 4

TÓM TAT KET QUÁ NGHIÊN CỨU DE FÀI KHOA HỌC VA

CÔNG NGHỆ CÁP TRƯỜNG

Tên dé tai: Xây dựng phan mềm tư liệu lọc tập vú tư liệu giang day kĩ năng đọc

hiểu cua bài thi Toefl iBT.

Mã sé: CS.2008.19

Chủ nhiệm đề tải: Nguyen Ngọc Vũ 'Tel:U91S02S9S1

E-mail: vunn¿¿hcmup.cảu vn

Cơ quan chủ trí dé tài : Khoa Anh frường Đại học Sư phạm Tp.iIC3

Cơ quan vả cá nhãn phoi hợp thực hiện :

© Khoa Anh Trường ĐHSP TP.ICXI

Trung tâm ngoạt ngữ DEISP 1P.HCM chi nhánh 1

Thời gian there biện: | 172007 - 9:200S

l Mục tiêu:

- Viết phan mềm luyện thi ki nang đọc hiểu cus hải thi Tocft iBT bằng

ngôn ngữ lập trình Java trên nên Flash 4.0.

- Xây dựng cơ sơ đữ liệu làm tư liệu boc tạp và giang dạy ki nắng dục hiểu

bai thi Toe! iBT.

Noi dung chinh:

i)

- Nghiên cứu công nghệ XML và xứ li XML bang Flash AcuonSecrgM

- Sưu tằm & biên soụn tải liệu hải thi

- Xây dựng dữ liệu XML cho phản mem

~ Viết các môdun và phần chính chương trình luyện thì đọc hiểu Toefi iBT

Trang 5

Kết quả chính đạt được (khoa học, img dụng dao tạo, kinh tế-xã hội):

- _ Xây dựng được hệ thông phan mềm thi đọc hiểu Toefl iBT ding cho cả

máy tính cá nhân lẫn mạng LAN

- Tao được 20 dé thi 'Toefl iBT Reading hoản chỉnh theo đúng tiêu chuẩn

của cục khảo thí Hoa Kỳ

- - Xây dung được phim hướng dan sử dụng phần mẻm bằng cả tiếng Anh

lẫn tiếng Việt

- _ Tế chức 10 Workshop giới thiệu và hướng dẫn sử dụng hệ thông thi Toefl

iBT đọc hiệu ở Trung tâm ngoại ngữ chỉ nhánh || và Khoa Anh DHSP

TP.HCM

- _ Công bố 3 báo cáo khoa học về hệ thông thi Toefl iBT đọc hiểu ở các hội

thao quốc tế:

¡ Nguyễn Ngọc Vũ (2007) Practical technologies for language testing.

The Second Annual Viet Nam Teacher Training Program EFL

Conference “Moving toward the future: Innovations in teaching and

learning English” Hue: Hue University of Foreign Languages

ii, Nguyễn Ngọc Vũ (2007) Emerging technologies for EFL teaching

(double presentation) /nternational Conference on Computer-assisted Language Learning “Globalization & Localization in CALL 2007 ` (p.

53) Hà Nội: Ha Noi University

ii Nguyễn Ngọc Vũ (2007) Building your own Toefl iBT tests with

Microsoft Word (double presentation) /nternational Conference on Computer-assisted Language Learning “Globalization & Localization

in CALL 2007” (pp, $8-59), Ho Chi Minh city: SEMEO RETRACT,

Trang 6

Project Tithe: Building software application, learning and teaching materials for

Toefl iBT Reading test,

Code number: CS.2008.19

Coordinator: Nguyen Ngoc Vu

Implementing Institution : Department of English HCMC University of

Education

Cooperating Institution(s)

© Department of English HCMC University of Education

o Foreign Language Center Branch No LÍ of HCMC University of

Xây dựng cơ sở đữ liệu lắm tư liệu hoe tip và giang day ki nang đọc liều bai

thi Toefl iBT

2 Main contents:

- Research on XML technology and programming on Flash

ActionScript platform

- Collect and design raw materials for creating Toett iBT Reading tests.

~ Build XML databases for usage with the application.

- Create main and supplementary modules of Toefl iBT reading

application.

Trang 7

3 Results obtained

- Successfully build up the Toctl iBT Rcadtnự software pakage used for

both personal computers and local network

Create 20) complete Tuell IBT Reading tests complying with ETS

standards

Create tutonal movies for ED Tocf iBT package in both English and

Vivtnamese Organize 10 workshops training language teachers to use ED Toefl iBT

Reading in Language Cener Branch |! and Department of English

HCMC University of Education

Present 3 articles on ED Tocfl iBT Reading at intcmational conferences:

Nguyễn Ngọc Vũ (2007) Practical technologies for language testing.

The Second Annual Viet Nam Teacher Training Program EFL

Conference “Moving toward the future: innovations in teaching and

learning English” Huc: Hue University of Foreign Languages

Nguyễn Ngọc Vũ (2007) Emerging technologies for EFL teaching

(double presentation) /nternational Conference on Compuier-assisted

Language Learning “Globalization & Localization in CALL 2007” (p

53): Hà Nội: Ha Noi University

Nguyễn Ngọc Vũ (2007) Building your own Toefl iBT tests with

Microsoft Word (double presentation) /nternational Conference onComputer-assisted Language Learning “Globalization & Localization

in CALL 2007 ” (pp 58-59) Ho Chi Minh city: SEMEO RETRACT

Trang 8

TÍNH CAP THIET CUA DE TÀI

Hinh thức thi Toefl iBT còn quả mới mẻ nén các công trình nghiên cứu liên quan

đến Toefl iBT còn rất hiểm Qua khao sat va thăm dd, ở Việt Nam vẫn chưa có phần mềm nao được xây dựng đẻ phục vụ việc triển khai bài thi Toef] iBT trong các

khoa trường và trung tam đào tao va giảng day tiếng Anh Như vậy việc xây dựng

một phần mềm chuyên phục vụ cho công tác học tập, nghiên cứu và giảng day Toefl

iBT là vô cùng cần thiết.

Lĩnh vực ứng dung CNTT vào giang dụy ngoại ngữ dang phat triển rat mạnh mẽ

trên thé giới Ở khoa tiếng Anh Trường DHISP TP.HCM bộ món “Ung dụng

CNTT vào giảng dạy ngoại ngừ” mới được đưa vao giang day trong chương trình

chính khoá năm học 2006-2007 nên tư liệu giảng dạy và kinh nghiệm ứng dụng

CNTT của giảng viên vẫn còn thiểu Dé tài khoa học này sẽ tăng thêm tư liệu

giảng day và nâng cao trình độ chuyên môn cho giáng viên phụ trách bộ món

trên,

Xu hướng chủ đạo hiện nay là sử dụng Flash vào cúc ứng dụng giáo dục vì Flash

có kha năng tương tác rất cao và rất thích hợp cho việc triển khai trong môi

trường web, Tuy nhiên, việc nghiên cứu ứng dụng Flash ở Việt Nam yan cỏn it,

Điều này thé hiện qua việc các trung tâm dao tạo CNTT ở Việt Nam rất it mở

khoá lập trình Flash Chính vì thé, đẻ tai này sẽ thúc đẩy việc nghiên cứu ứng

dung Flash vào trong cúc hoạt dộng giáo dục đặc biệt là giảng dạy ngoại ngữ,

MỤC TIÊU DE TÀI

a) Viết phần mềm luyện thi kĩ năng đọc hiểu của bai thi Toefl iBT bằng ngôn

ngữ lập trình Java trên nền Flash 8.0.

b) Xây dựng cơ sở dit liệu lam tư liệu học tập va giang day kĩ năng đọc hiểu bài

thi Toell iBT.

Trang 9

CÁCH TIẾP CAN, PHƯƠNG PHÁP NGHIÊN CỨU, PHAM VI

NGHIÊN CỨU

a Nghiên cửu đặc điểm, yêu cầu và kĩ thuật thiết kế cúa bai thi Toefl

iBT, đặc biệt lá bài thí kĩ năng đọc hiểu dé phục vụ việc luyện thi của

SV năm cuối và công tác giảng dạy bộ môn đọc hiểu cho SV năm

cuỗi,

b Sưu tằm, biến soạn va biên tập các tư liệu giáng đạy đọc hiểu: đặc biệt

là các tư liệu đọc hiểu có liên quan đến bài thi đọc hiểu Toefl iBT

c Xây dựng kho tư liệu phục vụ việc nghiên cứu, học tập và giảng đạy

của giảng viên cũng như SV khoa tiếng Anh đặc biệt là phục vụ như cầu của bộ môn Ung Dụng CNTT Vào Giang Day Ngoại Ngữ.

d Nghién cửu ngôn ngữ lập trình Java triên khai trên nên Flash 8.0 và

kha nang ứng dụng vào việc thiết kế các phan mem tương tác phục vụ

việc học tap va giang dạy ngoại ngữ,

Nghiên cứu cơ sở đữ liệu XML và kha năng kết hợp với Flash Action Script đẻ xây

đựng các phần mềm tương tác cao và có kha nang điều chính tùy theo như cầu của

người đùng.

CAC KET QUÁ NGHIÊN CỨU ĐẠT ĐƯỢC

Xây dựng được hệ thống phần mém hoàn thiện đáp ứng nhu câu giảng day Toefl

iBT Reading

Trên thị trường phan mém ở TP.HCM hiện nay cũng đã có một số CD chuyên dùng

cho việc luyện thi Toefl iBT của các tô chức giáo dục lớn như Kaplan Longman.

Barron, Cambridge v.v Tuy nhiên các CD nay chi có thẻ dùng cho học viên làm

việc cá nhân chứ không thẻ sử dụng làm công cụ hỗ trợ giảng dạy trong các phòng

học multimedia Hơn nữa, một số dạng câu hoi va đề thi ơ các CD này chưa thực sự

sát với dang bài thí Teefl iBT nên việc sử dụng vẫn còn han che.

Se với các CD luyện thi Toefl iBT khác đang lưu hành trên thị trường, hệ thông ED

Teetl iBT Reading có một số ưu điểm như sau:

Trang 10

i, _ Sử dung không can cải đặt và hoàn toạn miền phí.

ii, Tat cá các dang câu hỏi đều được xử lí và cập nhật day đủ,

ii - Dễ sử dụng Giáo viên dạy tiếng Anh (kĩ nang tin học không cao) chỉ cần

được tập hudn 2 giờ là có the sư dụng thành thạo tất ca cúc tinh nẵng của hệthông

iv Khả năng truy xuất dit liệu rit nhanh vì hé thong sử dung cúc file dữ liệu

XML có kích thước rất nhỏ File dữ liệu lớn nhát được tạo rẻ từ trước đến tiờ

chủ có kích thước 60 Kb Đây là điều rất thuận lợi khi triển khai hệ thủng trên

Internet và mạng LAN nội bd

v Có hai phiên bán khác nhau hỗ trợ mọi nhu cầu Phiên bản “Student” hồ trợ

học viên làm quen với các dạng bài thí và giúp giảo viên tự tạo các bai thị và câu hỏi để giảng dạy và luyện thi Phiên bản “Server” được sử dụng dé tô

chức thi trong phòng lab

Xử lí được tắt cả các dang câu hoi phức tạp về mit kĩ thuật trong bài thí Toeft

iBT Reading

Khi mo file đữ liệu XML băngmot chương trình biến tập (Wordpad ching hạn) người

dùng sẽ thấy toàn bộ cấu trúc

dir liệu và thuộc tính cua cúc

-=E: ctx „ «| | XML tag Người dùng chỉ

tt : vn x:| | được thay thẻ phần dữ liệu

+ “| | trong file XML và tuyệt đổi

"—ớ——— | tre 1 iets khong sira cau tric file.

ca ha an.

Oe Le oe

| Định thời gian

làm bai và mã đẻ: Ngay tag

XML đầu tiến “<test

— time="20:00" code=”E | ”>,

người dùng có thẻ sửa thời gian và đặt mã dé cho phù hợp Trong ví dy này thời gian là 20 phút và ma đẻ là E1.

2 — Nhập bài khóa: Trong tay <passage>Z/passage> cua file XML mẫu,

người dùng tần lượt thay tén bài khóa va các doan vả vị trí tương ứng ED Toefl

iBT Reading cho phép định dạng bài Khóa theo các qui ước:

Trang 11

a Nội dung trong {u]|(uj được gạch duct; trong |i|[6} được in nghiềng:

trong [b][/b] được tô dam

b Nội dung trong {qxÌ(¿qx] sẽ được highlight khi hiển thị câu hỏi số x

c Nội dung trong [glossx }f/glossx Js? xuất hiện trong phân glossary cua bài

khỏa với x là số tự của tir được chú thích

d [squarexA] [squarcxB] {squarcxC] [squarcxD] danh dau vị trí đặt các vị

tri insert trong dang cau hỏi insert

3, Tạo các câu hỏi: ED Toefl iBT Reading 2.0 cho phép tạo tất ca các dang cau hỏi

của hai thi Reading Toefl iBT Co tat ca 4 dang cau hoi sau:

Dang meg; | tag

“qucstiontexC><:questiontext> cho phép

nhập câu hỏi: 4 tag <choice></choice> cho :

phép nhập 4 phương an tra lời câu hỏi: | tag —==

<correct><¿correct> cho phép nhập phương | ˆ Frenne hie

án tra lời đúng: | tag <para><‘para> cho HT ằẶ—

phép đánh dau đoạn trong bai khóa ma cau Reet tpg te

Dạng insert; | lag =.—: ':—~-¬—i

<inserisentence></insertsentence> cho conse TH

phép nhập câu can chén vào bai khỏa; | tag oro Sen vier Seek 3S

<correct><‘correct> cho phép xác định vi : See

+ + = <r * * z — _—

trí đúng; Ì tag <score><;score> qui định so = _ ae

+! 2 bd Te Lư | ~~ re eee ~Ằ ere

điểm cho cau tra lời đúng ap Lo

Trang 12

Dang summary: | tag

<directions></directions> cho phép sửa

phan hướng dẫn theo ý muốn: | tap

<headings></headings> cho phép nhập triều

dé và số lượng khe (slots) ở đưới Liêu đẻ.

Người dùng có thé tự do qui định số lượng

các lựa chọn Số câu tra lời trong phản đáp

dn phải lương ứng với so slots a dưới teu

đẻ,

Dang table: vẻ cơ ban cầu trúc của câu hoi

dang table giong như câu hoi dang

summary Diém khác biết là có nhiều

headings va slots hon,

Xây dung được mẫu file dit liệu NML nhỏ gọn và để sứ dung cho phần mềm

Mẫu file đữ liệu XML ding cho ED Toell iBT Reading được thiết kế như sau:

<test time=”20:00”>

<prompl>

<passage>[title Aquatic Schools[/title]

[pl ]Many species of fish particularly smaller fish, travel in schools moving in nght

formations often with the precision of the most hivhly disciplined military unit on

parade [square5A | Some move in synchronized [q2}hortes{/q2], while others move

in starkly geometric forms, [squareSB] In addition fo the varieties of shapes of

schools of fish, there are countless varieties of schooling behaviors [squareSC]

Trang 13

Some fish coalesce into schools and then spread out in random patterns while

others move into close formations at specific times, such as feeding times ul are

more spread out at other times [squareSD] Some move in schools composed of

members of all aye groups while others move in schools predominantly when they

ure young but take up a more solitary existence as they mature, Though this

behavior ss quite a regular, fumiliar phenomenon there is much that is not

complctcly known about {gq6]it{:q6] particularly the exact function that it serves and

what mechanisms fish use te make il happen.|/p]]

[n2]Numerous hypotheses have been proposcd and tcsted concerning the purposc of

schooling behavior in lish Schooling certainly promotes the survival of the species,but questions arise as to the way the schooling enables fish to have a better chance

of surviving [q7]Certarmnly, the fact that fish congregate together in schools helps to

censure their survival in that schooling provides numcrous types of protection for the

members of the school.[:q7] One form of protection derives from the [q8 |sheer

numbcrs{:q8} in the school When a predator attacks a school contuining a huge

number of fish, the predator will be able to consume only a small percentage of theschool Whereas some of the members of the school will be lost to the predator, themajority of the school will be able to survive Another form of protection comes

from the special coloration and markings of different types of fish Certain types of

coloration or markings such as stripes or pattems in vibrant and shiny colors create a

visual effect when huge numbers of the fish are clustered together, making it more

difficult for a potential predator to focus on specific members of the school A finalform of protection comes from a special sense that fish possess, a sense that ts

enhanced when fish swim in schools This special sense is related to a set of lateralline organs that consist of rows of pores leading to fluid-filled canals These organsare sensitive 1o [gl] ]minyte[/g! 1} vibrations in the water |q]2|The thousands of

sets of those special organs tn a school of fish together can prove very effective in

waming the school about an approaching threat[/q)2][/p2}

[p3][squarc! 6A] [ql 3]It is also unclear{[q1 3] exactly how fish manage to maintain their tight formations [square]16B] Sight scems to play a role in the ability of fish tomove in schools, and some scicntists belicve that, at least in some species, sight may

play the principal role [squarel6C} However many experiments indicate that more

than sight is involved Some fish school quite well in the dark or in

(qi S]murky[-q15] water where visibility is extremely limited [square] 6D]

(qt ?] This[‘q! ?] indicates that senses other than cyesight must be involved in

enabling the schooling behavior The latcral linc system most likely plays 4

signiticant role in the ability of fish to school Because these lateral line organs are sensitive to the most minute vibrations and currents this organ system may be used

by fish to detect movements among members of, their school even when eyesight is

limited or unavailable {/p3}

</passaye>

Trang 14

<questions>

<questian number: "1">

“typc>eicq“type>

<questientext> {he author mentions Lic most highly dssciplined

military unit on parade in paragraph | in order to<-questiontext>

=choice>contrast the Movement of a military unit with

that of a school of fish</chowe>

“lype> megs 1ype>

“questiontestAll of the folowing are stated in paragraph |

about schooling EXCEPT that queshontext

“vholcex^

“choive?il is quite côonytan< choice>

Trang 15

<choice>it can involve large numbers of fish</choice>

<choice>it can involve a number of different fish

<choice>A large, older fish</choice>

<choice>A smaller, colorful fish</choice>

<choice>A young, hungry fish</choice>

<choice>A tiny, shiny fish</choice>

<insertsentence>These may take the shape, for example, of

wedges, triangles, spheres, or ovals.</insertsentence>

Trang 16

<questiontext>Which of the sentcnvccs below expresses the

essential information ie the first highlighted sentence in paragraph 2? Incorrect

choices change the meuning m important ways or leave oul essential

intormation.</questioniext>

<choices>

<chorce> After an attack the fish that survive tend to

mayc Into schools.<:choicv>

=choicc>The survival of tish depends upon theer ability

to bring new members into the schevl.</choice>

<choice>Many tacts about the way that fish congreeaic

in schools have been studied </choive>

<choice>Fish travel in schools to pretect themselves in

“questiontext>The phrase [hilsheer numberss!/hi] in paragraph

2 caukd best be replaced by</questiontext>

Trang 17

<choice>it cannot possibly consume all members of a

school if the school is large cnough<¿chơicc^

<choice>1t rarely manages to catch any fish that are part

<vhoice>the bright coloration makes it easter for

predators to spot fish</choice>

<questiontext>The word [hi}"minutcˆ{2h1] in paragraph 2 is

closest meaning †o<?quextionlext>

Trang 18

</question>

<question number=" | 2">

<type>mcq</typc>

<questtontext>Which of the sentences below expresses the

essential information in the second highlighted sentence in paragraph 2? Incorrect choices change the meaning in important ways or leave out essential

information.</questiontext>

<choices>

<choice>There are thousands of ways that specialorgans warn fish about 2 predator.</choice>

<choice>When the fish in a school work together, they

can use their sense organs to scare off any approaching threat.</choice>

<choice>The fish ina large school use their lateral line

organs to send out warnings of the arrival of the school.</choice>

<choice>Because so many fish are in a school, all of

their sense organs work well together to provide wamings.</choice>

<questiontext>The author begins paragraph 3 with (hi}"It is

also unclear"[/hi] in order to indicate that</questiontext>

Trang 19

<questiontext>According to paragraph 3,</questiontext

<choices>

<choice>fish cannot see well</choice>

<choice>sight is the only sense used by fish to remain in schools<'choice>

<choice>not all fish use sight to remain inschools<‘choice>

<choive>fish can see quite well in the dark</choice>

<insertsentence>The purpose of schooling behavior ts not the

only aspect of schooling that is not fully understood.</insertsentence>

<correct>1</correct>

</question>

<question number="17">

<type>meg</type>

<questiontext>The word [hi}]"This"[/hi] in paragraph 3 refers to

the ability of fish to</questiontext>

<choices>

<choice>see well in dark water</choice>

<choice>stay in schools when they cannot seewell</choice>

Trang 20

<choice>contains lines of pores</choice>

<choice>can detect movement in the water</choice>

<choice>quite possibly helps fish to remain in

<directions>An introductory sentence or a brief summary of

the passage is provided below Complete the summary by selecting the TWO

answer choices that express the most important ideas in the passage, Some

sentences do nat belong in the summary because they express ideas that are not

presented in the passage or are minor ideas in the passage [b]This question is worth

Trang 21

<choice>Coloration provides protection <¿choice>

<vhoice>Lateral sense organs enable some fish toschool </choice>

<choice>Sight provides protection.<¿choicc>

<choice>Coloration cnables some fish to

mmovc.<¿choicc>

<choice>Large numbers provide protection.</choice>

=<vhoice>Sight enables some fish to school.</choice>

<choice>Lateral sense organs provide

Trang 22

Phát triển được mot số thuật toán lập trình để xứ lí các dạng câu hoi đọc hidu

Ca the lay du Ÿteu tu file XML ngày tai day cung duoc do

#neu lay trong function proccssQui⁄ thí bien timeLeft se bi reset khi

funtion nay bi got lai

timeleft qui xmLlirstChid.attrthulexstrmeAllkswed:

testCode = quiz xml firstChild aHribttes.vodc:

} else {

import mx controls Alen:

var Alert = Alertshow{"Unable to load XMI data.”, “Error loadingdata”),

Ị ti

Trang 23

var itemsNode:XMLNode = new XMLNođe(Ì:

Mang itemNumOfChoices luu so chotce chủ mo cau boi de tinh xem can hiếnthi hae nhicu choice khi bien thi cau hoi

var ttemNumOfChoices: Array = new Array():

var timeL eft: Number.

“Mang ordereditem luu lai các cau hoi đang theo thu tu trong tile AML

var ordereditem:Acray - new Arrayi)}.

:4Mang randomizeditem luu lai cac cau hơi theo thu tu da randomize

var randomizeditem:Aray = new Array{}:

Mang corrcctChoiceArray fuu lat cau tra loi dung của dap an đc hien thi eoframe result

var correctChoiceArray:Aray = new ÄrravÙ:

“Mang qTextArray lưu lai phan cau hoi trong ItemNode de hien thi cho tung cau

hai trang Frame start

var qvextArray: Array = new Árray(};

Mang randomizedChoice la mang hai chieu (nested Array} dung de luu lai cac

cholcc cua mot cau hoi sau khi da duoc randomize

var randomizedChoice:Array = new Array():

function randomizcQuiz(xmllnput) |

titleNode = xmilnput_firseChild.tirstChild:

#quizTide la bien cua quizTitle textbox, dung de hien thi ten bai test

quizTide - titleNode firstChikd_ node Value:

Trang 24

var orderedChoice: Array = new Array():

for (= Ls <ttemNode.childNades lengil: t+) |

orderedC haicefi- 1] = ttemNede.childNodes{if:

randomizedC hoice{n] - new Arrayf)

for (j=0: j<itemNode.childNodes length-1: jy!) {

rand orderedChoice.splive{random(arderedChoice length).

10]:

random›zcdChozv{n](I] = rund:

t Test RaIMOTIZC CÌkMCe®eeee=s=rrrrseseese

—._.———

Ngày đăng: 23/02/2025, 21:05

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w