1. Câu lệnh lặp nào sau đây là đúng trong NNLT Pascal ? A. for a = 6 to 10 do b:=b-3; B. for a := 1 to 10 do b=:b-3; C. for a := 5 to 10 do b:=b-3; D. for a := 10 to 1.5 do b:=b-3; 2. Giả sử có dòng lệnh for p:=4 to 7 do n:=6-p; số lần lặp của lệnh gán n:=6-p sau từ khóa do là: A. 5 B. 11 C. 4 D. 6 3. 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. Vì câu lệnh đã có tên và là lệnh lặp. D. Một lệnh thay cho nhiều lệnh. 4. Giả sử có dòng lệnh for c:=2 to 10 do d:=5-c; số lần lặp của lệnh gán d:=5-c sau từ khóa do là: A. 7 B. 9 C. 10 D. 8 5. Sau khi thực hiện đoạn chương trình sau, giá trị của biến S bằng bao nhiêu: S:=4; For i:=2 to 4 do S:=S+i; A. 13 B. 15 C. 10 D. 14 6. Câu lệnh nào sau đây chưa hợp lệ trong NNLT Pascal? A. For z := 1 to 6 do j:=5*y; B. For z := 4 to 11 do y:=j-3; C. For z := 10 downto 2 do y:=5-z; D. For z =: 2 to 4 do write('NguyenDu'); 7. Sau khi thực hiện đoạn chương trình sau, giá trị của biến T bằng bao nhiêu: T:=3; For i:=2 to 6 do T:=T+i; A. 23 B. 20 C. 14 D. 19 8. Sau khi thực hiện đoạn chương trình d:=6; For i:=2 to 4 do d:=d+i; giá trị của biến d bằng bao nhiêu? A. 15 B. 14 C. 10 D. 16 9. Sau khi thực hiện đoạn chương trình m:=7; For i:=1 to 2 do m:=m+i; giá trị của biến m bằng bao nhiêu? A. 10 B. 7 C. 9 D. 8 10. Đoạn chương trình nào đúng trong NNLT Pascal? A. Var x,y:char; Begin y:=-4; For x := 2 to 4 do y=y-6; End. B. Var x,y:integer; Begin y:=-2; For x =: 2 to 4 do y:=y-6; End. C. Var x,y:integer; Begin y:=0 ; For x := 2 to 4 do y:=y-5; End D. Var x,y:real; Begin y:=-2; For x = 2 to 4 do y=:y-6; End.

2 câu trả lời

1C 2C 3D 4B 5A 6B 7A 8A 9A 10B

Cho mk gửi bài nha ! 

1- C

2- B

3- D

4-B

5-A

6-B

7-A

8-A

9-A

10- C

Xin lỗi vì mk giải muộn ạ ! Dù sao đây cũng là đáp án đúng ạ ! ???

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
10 giờ trước