Khai Báo Nào Sau đây Là đúng ? | Cungthi.online

  • Trang chủ
  • Đề kiểm tra

Câu hỏi Khoa học tự nhiên

Khai báo nào sau đây là đúng ? A. Var mang1c = array [1. . 100] of byte; B. Type mang1c = array [1. . 100] of byte; Var A:mang1c; C. Type mang1c : array [1. . 100] of byte; Var A:mang1c; D. Type mang1c = array (1. . 100) of byte; Var A:mang1c Đáp án và lời giải Đáp án:B

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

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

Làm bài

Chia sẻ

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

  • Khi nào sử dụng đến kiểu dữ liệu mảng ?
  • Với A là mảng 1 chiều có N phần tử thì đoạn chương trình sau làm gì? k:=0; For i:=1 to N do if (A[i] mod 2=0) then k:=k+1;
  • Cho a là một biến mảng kiểu nguyên đã được khai báo thích hợp. Cho biết kết quả in ra màn hình của đoạn lệnh Pascal sau? For i:=1 to 3 do a[i]:=6; write(a[2]*a[3]);
  • Lệnh viết ra màn hình giá trị của phần tử thứ i của mảng M là:
  • Xét đoạn lệnh: For i: = 1 to 6 do a[i] := i ; For i:=1 to 6 do if a[i] >= 3 then write(a[i]:3); Kết quả màn hình là:
  • Lệnh đọc giá trị từ bàn phím cho phần tử thứ i của mảng M là:
  • Var A, B : array[1. . 10] of byte; Với khai báo trên thì câu lệnh nào sau đây đúng.
  • Câu lệnh dùng để nhập giá trị cho phần tử trong mảng A
  • Khai báo nào sau đây là đúng ?
  • Khi nào sử dụng đến kiểu dữ liệu mảng ?
  • Câu lệnh dùng để nhập giá trị cho phần tử trong mảng
  • Sắp xếp lại chương trình trong hình img1 sao cho hợp lí nhất:
  • Sau khi chạy chương trình dưới, giá trị của f là bao nhiêu: var a:array[1. . 100] of byte; i,f,d:byte; begin write(f); end.

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

  • Choose the best answer for the following sentence:

    _____________ is land which is controlled by a particular country or ruler.

  • Choose the best answer for the following sentence:

    The USA is one of the _______________ countries in the world. There are a lot of people of many different nationalities and cultures

  • Choose the best answer for the following sentence:

    Unsettled weather will stretch from ___________ middle Mississippi Valley to the southern Middle Atlantic States.

  • Choose the best answer for the following sentence:

    The government’s economic policies have led us into _____________ recession for years.

  • Choose the best answer for the following sentence:

    The bees are plentiful but _______________ last summer.

  • Choose the word that has the underlined part pronounced differently from the rest:

    comprise advise promise devise

  • Choose the word that has the underlined part pronounced differently from the rest:

    great region origin language

  • Choose the word that has the underlined part pronounced differently from the rest:

    growth other theorist third

  • Choose the word that has the underlined part pronounced differently from the rest:

    economy diversity dairy dynamism

  • Choose the best answer for the following sentence:

    Asia and Africa are the two biggest _____________.

Không

Từ khóa » Khai Báo Nào Sau đây đúng