下列关系运算中,能使经运算后得到的新关系中属性个数多于原来关系中属性个数的是 ( )。
A.选择 B.连接C.投影 D.并
参考答案:B
弹簧振子多次通过同一位置时,改变的物理量是
A.对平衡位置的位移
B.加速度
C.速度
D.动能
执行如下程序后的输出结果是 【15】 。 #include <iostream> #include <fstream> using namespace std; int main ( ) char s[25]; ofstream fl("data.txt"); f1<<"C++ Programming"; f1.close (); ifstream f2 ("data.txt"); if (f2.good()) f2>>s; f2.close(); cout<<s; return 0;