Trong ngôn ngữ lập trình Pascal cách khai báo xâu ký tự nào sau đây là sai

Cấu trúc khai báo kiểu xâu

Var < biến xâu> : string [độ dài lớn nhất của xâu];

Trong đó: Biến xâu được đặt theo quy tắc đặt tên trong Pascal.

Độ dài xâu có thể có hoặc không, độ dài lớn nhất không quá 255 kí tự.

Đáp án: C

CÂU HỎI HOT CÙNG CHỦ ĐỀ

Trong ngôn ngữ lập trình Pascal, cách khai báo xâu ký tự nào sau đây là đúng? Const n =50;

A.var S: string(50);

B.var S: string[n];

C.var S: string,

D.var S: xau[n];

Đáp án và lời giải

Đáp án:B

Lời giải:

Vậy đáp án đúng là B.

Câu hỏi thuộc đề thi sau. Bạn có muốn thi thử?

Bài tập trắc nghiệm 45 phút Bài 12: Kiểu xâu - CHƯƠNG IV: KIỂU DỮ LIỆU CÓ CẤU TRÚC - Tin học 11 - Đề số 3

Làm bài

Chia sẻ

Một số câu hỏi khác cùng bài thi.

Một số câu hỏi khác có thể bạn quan tâm.

  • Mark the letter A, B, C or D on your answer sheet to indicate the correct answer to each of the following questions

    He wanted to know _______.

  • Hiện tượng cộng hưởng thể hiện rõ nét nhất kh ?

  • Read the following passage and mark the letter A, B, C, or D on your answer sheet to indicate the correct answer to each of the questions from 43 to 50:

    Smallpox was the first widespread disease to be eliminated by human intervention. Known as a highly contagious viral disease, it broke out in Europe, causing the deaths of millions of people until the vaccination was invented by Edward Jenner around 1800. In many nations, it was a terror, a fatal disease until very recently. Its victims suffer high fever, vomiting and painful, itchy, pustules that left scars. In villages and cities all over the world, people were worried about suffering smallpox.In May, 1966, the World Health Organization (WHO), an agency of the United Nations was authorized to initiate a global campaign to eradicate smallpox. The goal was to eliminate the disease in one decade. At the time, the disease posed a serious threat to people in more than thirty nations. Because similar projects for malaria and yellow fever had failed, few believed that smallpox could actually be eradicated but eleven years after the initial organization of the campaign, no cases were reported in the field.The strategy was not only to provide mass vaccinations but also to isolate patients with active smallpox in order to contain the spread of the disease and to break the chain of human transmission. Rewards for reporting smallpox assisted in motivating the public to aid health workers. One by one, each small-pox victim was sought out, removed from contact with others and treated. At the same time, the entire village where the victim had lived was vaccinated.By April of 1978 WHO officials announced that they had isolated the last known case of the disease but health workers continued to search for new cases for additional years to be completely sure. In May, 1980, a formal statement was made to the global community. Today smallpox is no longer a threat to humanity. Routine vaccinations have been stopped worldwide.

    Question 49:Which one of the statements doesn’t refer to smallpox?

  • Một con lắc lò xo treo thẳng đứng, trong đó vật nặng được làm bằng kim loại. Tại vị trí cân bằng, lò xo dẫn một đoạn 1cm. Đặt dưới vật nặng một nam châm điện được duy trì hoạt động bằng một dòng điện xoay chiều. Biết rằng trong một chu kì của dòng điện có hai lần lực tác dụng lên hệ. Lấy

    Trong ngôn ngữ lập trình Pascal cách khai báo xâu ký tự nào sau đây là sai
    . Để vật nặng dao động với biên độ mạnh nhất thì tần số của dòng điện là ?

  • Một hệ dao động có tần số riêng f0. Tác dụng vào hệ một ngoại lực biến thiên điều hòa có tần số f. Hiện tượng cộng hưởng xảy ra khi:

  • Read the following passage and mark the letter A, B, C, or D on your answer sheet to indicate the correct answer to each of the questions from 43 to 50:

    Smallpox was the first widespread disease to be eliminated by human intervention. Known as a highly contagious viral disease, it broke out in Europe, causing the deaths of millions of people until the vaccination was invented by Edward Jenner around 1800. In many nations, it was a terror, a fatal disease until very recently. Its victims suffer high fever, vomiting and painful, itchy, pustules that left scars. In villages and cities all over the world, people were worried about suffering smallpox.In May, 1966, the World Health Organization (WHO), an agency of the United Nations was authorized to initiate a global campaign to eradicate smallpox. The goal was to eliminate the disease in one decade. At the time, the disease posed a serious threat to people in more than thirty nations. Because similar projects for malaria and yellow fever had failed, few believed that smallpox could actually be eradicated but eleven years after the initial organization of the campaign, no cases were reported in the field.The strategy was not only to provide mass vaccinations but also to isolate patients with active smallpox in order to contain the spread of the disease and to break the chain of human transmission. Rewards for reporting smallpox assisted in motivating the public to aid health workers. One by one, each small-pox victim was sought out, removed from contact with others and treated. At the same time, the entire village where the victim had lived was vaccinated.By April of 1978 WHO officials announced that they had isolated the last known case of the disease but health workers continued to search for new cases for additional years to be completely sure. In May, 1980, a formal statement was made to the global community. Today smallpox is no longer a threat to humanity. Routine vaccinations have been stopped worldwide.

    Question 50:It can be inferred from the passage that ___________.

  • Dao động của con lắc đồng hồ là ?

  • Read the following passage and mark the letter A, B, C, or D on your answer sheet to indicate the correct answer to each of the questions from 43 to 50:

    Smallpox was the first widespread disease to be eliminated by human intervention. Known as a highly contagious viral disease, it broke out in Europe, causing the deaths of millions of people until the vaccination was invented by Edward Jenner around 1800. In many nations, it was a terror, a fatal disease until very recently. Its victims suffer high fever, vomiting and painful, itchy, pustules that left scars. In villages and cities all over the world, people were worried about suffering smallpox.In May, 1966, the World Health Organization (WHO), an agency of the United Nations was authorized to initiate a global campaign to eradicate smallpox. The goal was to eliminate the disease in one decade. At the time, the disease posed a serious threat to people in more than thirty nations. Because similar projects for malaria and yellow fever had failed, few believed that smallpox could actually be eradicated but eleven years after the initial organization of the campaign, no cases were reported in the field.The strategy was not only to provide mass vaccinations but also to isolate patients with active smallpox in order to contain the spread of the disease and to break the chain of human transmission. Rewards for reporting smallpox assisted in motivating the public to aid health workers. One by one, each small-pox victim was sought out, removed from contact with others and treated. At the same time, the entire village where the victim had lived was vaccinated.By April of 1978 WHO officials announced that they had isolated the last known case of the disease but health workers continued to search for new cases for additional years to be completely sure. In May, 1980, a formal statement was made to the global community. Today smallpox is no longer a threat to humanity. Routine vaccinations have been stopped worldwide.

    Question 47:According to the passage, what way was used to eliminate the spread of smallpox?

  • Hiện tượng cộng hưởng chỉ xẩy ra với:

  • Read the following passage and mark the letter A, B, C, or D on your answer sheet to indicate the correct answer to each of the questions from 43 to 50:

    Smallpox was the first widespread disease to be eliminated by human intervention. Known as a highly contagious viral disease, it broke out in Europe, causing the deaths of millions of people until the vaccination was invented by Edward Jenner around 1800. In many nations, it was a terror, a fatal disease until very recently. Its victims suffer high fever, vomiting and painful, itchy, pustules that left scars. In villages and cities all over the world, people were worried about suffering smallpox.In May, 1966, the World Health Organization (WHO), an agency of the United Nations was authorized to initiate a global campaign to eradicate smallpox. The goal was to eliminate the disease in one decade. At the time, the disease posed a serious threat to people in more than thirty nations. Because similar projects for malaria and yellow fever had failed, few believed that smallpox could actually be eradicated but eleven years after the initial organization of the campaign, no cases were reported in the field.The strategy was not only to provide mass vaccinations but also to isolate patients with active smallpox in order to contain the spread of the disease and to break the chain of human transmission. Rewards for reporting smallpox assisted in motivating the public to aid health workers. One by one, each small-pox victim was sought out, removed from contact with others and treated. At the same time, the entire village where the victim had lived was vaccinated.By April of 1978 WHO officials announced that they had isolated the last known case of the disease but health workers continued to search for new cases for additional years to be completely sure. In May, 1980, a formal statement was made to the global community. Today smallpox is no longer a threat to humanity. Routine vaccinations have been stopped worldwide.

    Question 48:How was the public motivated to help the health workers?