Cho đoạn chương trình sau:s1 := ‘abc’; s2 := ‘1234’;if length(s1) < length(s2) then writeln(s1) else writeln(s2); Kết quả in ra màn hình là:
![]() | Phạm Văn Bắc | Chat Online |
04/09/2024 07:51:39 (Tin học - Lớp 11) |
12 lượt xem
Cho đoạn chương trình sau:
s1 := ‘abc’; s2 := ‘1234’;
if length(s1) < length(s2) then writeln(s1) else writeln(s2);
Kết quả in ra màn hình là:
![](https://lazi.vn/uploads/icon/loading.gif)
Lựa chọn một trả lời để xem Đáp án chính xác Báo sai đáp án hoặc câu hỏi |
Số lượng đã trả lời:
A. ‘1234’ 0 % | 0 phiếu |
B. ‘abc’ 0 % | 0 phiếu |
C. ‘1234abc’ 0 % | 0 phiếu |
D. ‘abc1234’ 0 % | 0 phiếu |
Tổng cộng: | 0 trả lời |
Bình luận (0)
Chưa có bình luận nào, bạn có thể gửi ý kiến bình luận tại đây:
Trắc nghiệm liên quan
- Cho đoạn chương trình sau:s := ‘Mua xuan’;write(upcase(s[length(s)])); Kết quả in ra màn hình là: (Tin học - Lớp 11)
- Cho đoạn chương trình sau:s := ‘1001010’;write(pos(‘012’, s)); Kết quả in ra màn hình là: (Tin học - Lớp 11)
- Cho đoạn chương trình sau:s := ’ABCDEF’;delete(s, 3, 2);insert(‘XYZ’, s, 2);write(s); Kết quả in ra màn hình là: (Tin học - Lớp 11)
- Cho đoạn chương trình sau:s1 := ‘123’; s2 := ‘abc’;insert(s2 , s1 , 2);write(s2); Kết quả in ra màn hình là: (Tin học - Lớp 11)
- Xâu rỗng là xâu có độ dài bằng: (Tin học - Lớp 11)
- Cho xâu kí tự sau: s:= ‘Nguyen Trai’. Lệnh nào sau đây cho kết quả ‘Nguyen’ (Tin học - Lớp 11)
- Khi viết một chương trình muốn trả về một giá trị ta nên dùng: (Tin học - Lớp 11)
- Chương trình con gồm có: (chọn câu trả lời đúng nhất) (Tin học - Lớp 11)
- Để khai báo hàm trong Pascal bắt đầu bằng từ khoá: (Tin học - Lớp 11)
- C của việc sử dụng chương trình con: (Tin học - Lớp 11)
Trắc nghiệm mới nhất
- Circle the letter A, B, C, or D to indicate the options that best complete the passage. Vietnam has various intriguing cultural norms that should be (29) ______ publicly and taboos that should be avoided secretly. Using chopsticks to eat usual dishes ... (Tiếng Anh - Lớp 12)
- Circle the letter A, B, C, or D to indicate the options that best complete the letter. Hi Andy, Remember how we used to dream of living in the big city? Well, it's been six months (23) ______ to Washington. I love the amazing things here - theme ... (Tiếng Anh - Lớp 12)
- a. Consequently, it could be more difficult for teens to concentrate on their studies or perform better at school. b. Social media offers such fascinating reels that watching them for a long time weakens teens' focus ability. c. Therefore, it is ... (Tiếng Anh - Lớp 12)
- Circle the letter A, B, C, or D to indicate the correct arrangement of the sentences to make a meaningful paragraph in each of the following questions. a. It allows people to stay in touch with friends and family and share life updates. b. Indeed, ... (Tiếng Anh - Lớp 12)
- Circle the letter A, B, C, or D to indicate the options that best complete the message. Hi Max, In Vietnam, each province has at least one specialty, and the locals are generally proud of their (18) ______. You should try some nem nướng (Vietnamese ... (Tiếng Anh - Lớp 12)
- The ______ growth of technology driven by globalization has transformed industries worldwide. (Tiếng Anh - Lớp 12)
- To show ______ when meeting the elderly, you should bow. (Tiếng Anh - Lớp 12)
- ______ people read physical newspapers and magazines nowadays than in earlier times. (Tiếng Anh - Lớp 12)
- Rick ______ to his favorite sports podcast for thirty minutes. (Tiếng Anh - Lớp 12)
- The city council got a group of volunteers ______ up the slums to improve living conditions. (Tiếng Anh - Lớp 12)