Bỏ qua nội dung

Selection and iteration

Đã giới thiệu
Tài liệu
Bài học video cho chủ đề này Mở trang video
23:18

Cơ sở lập trình

Một chương trình phải yêu cầu mật khẩu, và tiếp tục yêu cầu cho đến khi đúng. Đơn giản — nhưng bạn nên dùng vòng lặp nào? Chương trình đưa ra quyết định và lặp lại công việc, và việc lựa chọn…

Thuyết minh tiếng Anh · Có thể chuyển đổi phụ đề tiếng Anh và tiếng Trung

Trong bài học này

Bài giảng video
Từ vựng
English Ý nghĩa
security updateA change to software that fixes weaknesses attackers could use.
code/kəʊd/Instructions written in a programming language for a computer to follow.
certificate/səˈtɪfɪkət/A digital document that helps prove the identity of a website.
attackerA person who tries to harm or gain unauthorised access to systems or data.
selection/sɪˈlekʃn/chọn lọc
Iteration/ˌɪtəˈreɪʃn/Repeating a sequence of instructions or calculations.
constructsBasic ways to organise steps in an algorithm, including order, choice and repetition.
trace table/treɪs ˈteɪbl/bảng theo dõi
condition/kənˈdɪʃn/A requirement or circumstance that affects what happens or whether something is true.
Boolean expression/ˈbuːlɪən ekˈspreʃn/An expression whose value is true or false.
comparison/kəmˈpærɪsn/An operation that compares two values and gives a true or false result.
branch/bræntʃ/A path of instructions chosen according to a condition or value.
nested/ˈnestɪd/lồng nhau
logic error/ˈlɒdʒɪk ˈerə/lỗi logic
boundary valueA value at the edge between two possible outcomes of a condition.
guard/ɡɑːd/A value, list or range that determines when a CASE branch runs.
assignment/əˈsaɪnmənt/Storing a value in a variable or other named location.
loop/luːp/A structure that repeats a sequence of instructions.
block/blɒk/A group of instructions treated as a unit in a program.
count-controlled loop/kaʊnt kənˈtrəʊld luːp/Vòng lặp điều khiển bằng bộ đếm
element/ˈelɪmənt/A substance made of atoms with the same proton number.
array/əˈreɪ/mảng
pre-condition loop/priː kənˈdɪʃn luːp/Vòng lặp kiểm tra tiền điều kiện
post-condition loop/pəʊst kənˈdɪʃn luːp/vòng lặp điều kiện sau
loop bodyThe instructions inside a loop that are repeated when the loop runs.
counter/ˈkaʊntə/A device or variable that records how many events or items have occurred.
dry run/draɪ rʌn/chạy thử tay
algorithm/ˈælɡərɪθəm/A finite sequence of precise steps for solving a problem or carrying out a task.
keyword/ˈkiːwɜːd/A word with a fixed meaning in a programming language or pseudocode.

Tài liệu

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP