下面程序的输出是 。data=[]for i in range(3): data.append([0]*3)data[2][2]=7print(data[0][2])
下面程序的输出是 。data=[]for i in range(3): data.append([0]*3)data[2][2]=7print(data[0][2])
通过append()在列表尾部添加元素的方法是() A: 列表.append(新值) B: append.列表 C: append(列表) D: append(index)
通过append()在列表尾部添加元素的方法是() A: 列表.append(新值) B: append.列表 C: append(列表) D: append(index)
以下哪个不是Android手机常见的应用程序?( ) A: \data\data\com.tencent.mm B: \data\data\com.tencent.mobileqq C: \data\data\com.eg.android.AlipayGphone D: \data\data\com.tencent.xin
以下哪个不是Android手机常见的应用程序?( ) A: \data\data\com.tencent.mm B: \data\data\com.tencent.mobileqq C: \data\data\com.eg.android.AlipayGphone D: \data\data\com.tencent.xin
已知有n个数据进行排序,下面能实现排序的是 A: data=[34,5,-6,12,87,29]data.sort() B: data=[34,5,-6,12,87,29]n=len(data)od=[]whileiwhilejifdata[j]>data[j+1]:t=data[j]data[j]=data[j+1]data[j+1]=tj+=1i+=1 C: data=[34,5,-6,12,87,29]n=len(data)i=0j=0whileiwhilejifdata[j]>data[j+1]:t=data[j]data[j]=data[j+1]data[j+1]=tj+=1i+=1print(data) D: data=[34,5,-6,12,87,29]n=len(data)i=0j=0whileiwhilejifdata[i]>data[j]:t=data[i]data[i]=data[j]data[j]=tj+=1i+=1
已知有n个数据进行排序,下面能实现排序的是 A: data=[34,5,-6,12,87,29]data.sort() B: data=[34,5,-6,12,87,29]n=len(data)od=[]whileiwhilejifdata[j]>data[j+1]:t=data[j]data[j]=data[j+1]data[j+1]=tj+=1i+=1 C: data=[34,5,-6,12,87,29]n=len(data)i=0j=0whileiwhilejifdata[j]>data[j+1]:t=data[j]data[j]=data[j+1]data[j+1]=tj+=1i+=1print(data) D: data=[34,5,-6,12,87,29]n=len(data)i=0j=0whileiwhilejifdata[i]>data[j]:t=data[i]data[i]=data[j]data[j]=tj+=1i+=1
以下对append 函数的描述中,错误的是( )。 A: append 函数用于在已有的字符串末尾添加新的内容 B: 仅StringBuffer类提供append 函数 C: append 函数有多种形式,用于添加不同的内容 D: append 函数仅能添加字符串型的对象
以下对append 函数的描述中,错误的是( )。 A: append 函数用于在已有的字符串末尾添加新的内容 B: 仅StringBuffer类提供append 函数 C: append 函数有多种形式,用于添加不同的内容 D: append 函数仅能添加字符串型的对象
有如下程序 #include intchange(int*data) { *data=*data%2; return(*data)+1; } main() { intdata=12; change(&data); printf("%d,",data); data=change(&data); printf("%d,",data); } 程序运行后的输出结果是()
有如下程序 #include intchange(int*data) { *data=*data%2; return(*data)+1; } main() { intdata=12; change(&data); printf("%d,",data); data=change(&data); printf("%d,",data); } 程序运行后的输出结果是()
The data collected by the statistical survey can be original data or secondary data. The relationship between the original data and secondary data is ( ) A: The original data comes from the grass-roots units, and the secondary data comes from the superior units B: Secondary data is processed from original data C: There is no necessary connection between the original data and the secondary data D: There is no difference between primary data and secondary data
The data collected by the statistical survey can be original data or secondary data. The relationship between the original data and secondary data is ( ) A: The original data comes from the grass-roots units, and the secondary data comes from the superior units B: Secondary data is processed from original data C: There is no necessary connection between the original data and the secondary data D: There is no difference between primary data and secondary data
What is stored in the database is( ). A: data B: data mode C: links between data D: data and the connection between data
What is stored in the database is( ). A: data B: data mode C: links between data D: data and the connection between data
有如下程序 #include int test(int *data) { return --(*data); } main() { int data = 12; test(&data); printf("%d,", data); data = test(&data); printf("%d,", data); } 程序运行后的输出结果是
有如下程序 #include int test(int *data) { return --(*data); } main() { int data = 12; test(&data); printf("%d,", data); data = test(&data); printf("%d,", data); } 程序运行后的输出结果是
若要对Data类中重载的加法运算符成员函数进行声明,下列选项中不正确的是_____。 (多选题) (多选题) (多选题) A: Data +(Data); B: Data operator+(Data); C: Data +operator(Data); D: operator+(Data,Data);
若要对Data类中重载的加法运算符成员函数进行声明,下列选项中不正确的是_____。 (多选题) (多选题) (多选题) A: Data +(Data); B: Data operator+(Data); C: Data +operator(Data); D: operator+(Data,Data);