By using the transaction identifier provided by()for a particular row change, you can use the Flashback Transaction Query to see the operation performed by the transaction.
第1题:
下列程序的输出结果为012,请根据注释将横线处的缺失部分补充完整。
include<iostream>
using namespace std;
class Test{
public:
Test(int A) {data=a;}
~Test(){}
void print(){cout<<data;)
private:
int data;
};
int main(){
Test t[3]={______};//对有3个元素的Test类对象数组t初始化
for(int i=0; i<3; i++) t[i]. print();
return 0;
}
第2题:
下列程序的输出结果是( )。 #include<iostream> using namespace std; template<typename T> T fun(T a,T b){return(a>=b)?a:b;} void main() { cout<<fun(3,6)<<','<<fun(3.14F,6.28F)<<end1; }
A.6,3.14
B.3,6.28
C.3,3.14
D.6,6.28
第3题:
Using the data shown in the Special window, Activities P, Q, and T are critical path activities. In order to shorten the time duration of the project, which activity should be "crashed" first?
A . P
B . Q
C . R
D . S
E . T
第4题:
有以下程序:
include <iostream>
using namespace std;
void t(int x,int y, int cp,int dp)
{
cp=x*x+y+y;
dp=x*x-y*y;
}
int main()
{
int a=4,b=3,c=5,d=6;
t(a,b,c,D) ;
cout<<c<<","<<d<<end1;
return 0;
第5题:
Using an external consultant is a more cost effective or efficient approach to meeting a specialized skill need.
A.Right
B.Wrong
C.Doesn't say
第6题:
执行下面程序输出的是【 】。
include <iostream>
using namespace std;
template <typename T>
T total(T *data){
Ts=0;
while( *data) s+=*data++;
return s;
}
int main(){
int s[]={1,3,5,7,0,2,4,6,8};
cout<<total(s);
return 0;
}
第7题:
在下面程序横线处填上适当内容,使得程序的输出为9876。
include <iostream>
using namespace std;
template<class T>
void f(【 】)
{
T t;
for (int i=0;i<n/2;i++)
{
t=a Ii];
a [i]=a[n-1-i];
a [n-1-i]=t;
}
}
int main ( )
{
int x[]={6,7,8,9};
f(x,4);
for (int i=0;i<4;i++)
cout<<x[i];
cout<<end1;
return 0;
}
第8题:
112 Using the data shown in the Special window, Activities P, Q, and T are critical path activities. In order to shorten the time duration of the project, which activity should be "crashed" first?
A. P
B. Q
C. R
D. S
E. T
第9题:
若有以下程序:
include <iostream>
using namespace std;
template <class T>
T min(T x,T y)
{
if(x<y)
return x;
else
return y;
}
int main()
{
int n1=2,n2=10;
double d1=1.5;d2=5.6;
cout<<min(n1,n2)<<",";
cout<<min(d2,d2)<<end1;
return 0;
}
程序运行后的输出结果是【 】。
第10题:
有如下程序:
include<iostream>
using namespace std;
template<typename T>
T total(T * data) {
T s=0;
While(* data)s+ = *data + +;
return s;
}
int main(){
int x[]:{2,4,6,8, 10, 12, 14, 16, 18};
cout<<total(x);