中国大学MOOC:分析下面程序实现的功能intfunc(intdata){intcount=0;while(data!=0){data&=data-1;count++;}returncount;}
中国大学MOOC:分析下面程序实现的功能intfunc(intdata){intcount=0;while(data!=0){data&=data-1;count++;}returncount;}
以下哪个不是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
有如下程序 #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);
有如下程序#include [stdio.h] int change(int* data){ *data= *data % 2; return (*data)+ 1; } void main(){ int data = 12; change(&data); printf("%d,", data); data = change(&data); printf("%d,",data); }程序运行后的输出结果是( )。 A: 0,0, B: 1,2, C: 12,13, D: 0,1,
有如下程序#include [stdio.h] int change(int* data){ *data= *data % 2; return (*data)+ 1; } void main(){ int data = 12; change(&data); printf("%d,", data); data = change(&data); printf("%d,",data); }程序运行后的输出结果是( )。 A: 0,0, B: 1,2, C: 12,13, D: 0,1,
下面程序输入12345,输出结果是() #include #include int main() { int data; scanf("%d",&data); While(data) {printf("%d",data%10); data=data/10; } }
下面程序输入12345,输出结果是() #include #include int main() { int data; scanf("%d",&data); While(data) {printf("%d",data%10); data=data/10; } }