Câu 1: Sau khi thực hiện đoạn chương trình sau giá trị của biến J bằng bao nhiêu? j:=0; for i:=1 to 3 do J:=j+1; A. 1 B. 2 C. 3 D. 4 Câu 2: Đâu là từ khóa dùng trong câu lệnh lặp với số lần biết trước? A. if... then B. Begin...End C. For..To...Do D. Var Câu 3: Giá trị đầu và giá trị cuối phải cùng kiểu dữ liệu với? A. Biến đếm B. Biến mảng C. A, B đúng D. A, B sai Câu 4: Em hiểu câu lệnh lặp theo nghĩa nào dưới đây? A. Một lệnh thay cho một lệnh. B. Các câu lệnh được viết lặp đi lặp lại nhiều lần. C. Một lệnh thay cho nhiều lệnh. D. Vì câu lệnh đã có tên và là lệnh lặp. Câu 5: Từ khóa For..To..Do dùng trong câu lệnh? A. Lặp với số lần biết trước B. Câu điều kiện C. Lặp với số lần chưa biết trước D. Tất cả đều đúng Câu 6: Câu lệnh lặp nào sau đây là đúng trong Pascal ? A. For i=100 to 10 do write('o') B. For i:=1 to 10 do write('o'); C. For =: 1 to 10 do write(o) D. For i: 1 to 10 do writeln('o'); Câu 7: Mỗi lần biến đếm tăng lên bao nhiêu đơn vị? A. 3 B. 4 C. 1 D.6 Câu 8: Câu lệnh sau thực hiện bao nhiêu vòng lặp For i:=1 to 4 do write('a'); A. 1 B. 2 C. 3 D. 4

2 câu trả lời

1C

2C

3B

4B

5A

6B

7C

8D

Cho mình câu trả lời hay nhất nha

Câu 1: Sau khi thực hiện đoạn chương trình sau giá trị của biến J bằng bao nhiêu? j:=0; for i:=1 to 3 do J:=j+1;

B. 2

Câu 2: Đâu là từ khóa dùng trong câu lệnh lặp với số lần biết trước?

C. For..To...Do

Câu 3: Giá trị đầu và giá trị cuối phải cùng kiểu dữ liệu với?

A. Biến đếm

Câu 4: Em hiểu câu lệnh lặp theo nghĩa nào dưới đây?

B. Các câu lệnh được viết lặp đi lặp lại nhiều lần.

Câu 5: Từ khóa For..To..Do dùng trong câu lệnh? 
A. Lặp với số lần biết trước

Câu 6: Câu lệnh lặp nào sau đây là đúng trong Pascal ?

C. For =: 1 to 10 do write(o)

Câu 7: Mỗi lần biến đếm tăng lên bao nhiêu đơn vị?

A. 3

Câu 8: Câu lệnh sau thực hiện bao nhiêu vòng lặp For i:=1 to 4 do write('a');

D. 4

Câu hỏi trong lớp Xem thêm

II. Choose the word or phrase that best completes each unfinished sentence below. 6. Radioactive pollution is increasing the increased use of radioactivity. A. as B. since C. because of D. because 7. Do you think there would be less conflict in the world if all people the same language? A. spoke B. speak C. had spoken D. will speak 8. Unless you all of my questions, I can’t do anything to help you. A. answered B. answer C. would answer D. are answering 9. Singapore is famous for its …………. streets and green trees. A. cleanliness B. cleanly C. cleaning D. clean 10. If someone into the store, smile and say, “May I help you?” A. comes B. came C. come D. should come 11. It was said that the fish died a powerful toxin in the sea water. A. because of B. because C. since D. as a result 12. “Here’s my phone number”. “Thanks. I’ll give you a call if I some help tomorrow” A. will need B. need C. would need D. needed 13. is the festival celebrated? – Every year. A. When B. How often C. How D. What 14. The death rate would decrease if hygienic conditions improved. A. was B. is C. were D. had been 15. On Christmas Eve, most big cities, especially London are _______ with coloured lights across the streets and enormous Christmas trees. A. decorated B. hang C. put D. made 16. If she him, she would be very happy. A. would meet B. will meet C. met D. should meet 17. Nga is a beautiful girl; ______ , she’s kind - hearted. A. therefore B. however C. moreover D. otherwise 18. If I had enough money, I abroad to improve my English. A. will go B. would go C. went D. should have go to 19. She has read interesting book. A. a B. an C. the D. Ø 20. If it convenient, let’s go out for a drink tonight. A. be B. is C. was D. were

9 lượt xem
1 đáp án
16 giờ trước