chvg -a y testvg
chfs -A yes /test
mount /test -auto=yes
chlv -a automount=y testlv
第1题:
有如下程序: #include <iostream> using namespace std; class Test { public: Test() {n+=2;} ~Test() {n-=3;} static int getNum(){retum n;} private: static int n; }; int Test:: n=1; int main() { Test*p=new Test; delete p; cout<<"n="<<Test:: getNum()<<end1; return 0; };执行后的输出结果是______.
A.n=0
B.n=1
C.n=2
D.n=3
第2题:
An administrator needs to apply a Technology Level update. During the preview install, the output indicates that there is insufficientspace in the /usr filesystem. Review of the root volume group indicates there are no available physical partitions, but the /test jfs2 filesystem is only 8% used.What is the most efficient method to use the available space in the /test filesystem to apply theupdate?()
A.Use chfs to reduce the /test filesystem
B.Use cplv to copy the /test filesystem to a smaller logical volume
C.Use migratepv l to move the /test filesystem to a different volume group
D.Backup the /test filesystem, remove it, and recreate it with a smaller size
第3题:
下列程序的运行结果是【 】。
include <iostream. h>
class test
{
private:
int num;
public:
test()
int TEST() {return num+100;}
~test()
};
test::test(){num=0;}
test::~test(){cout<<"Destructor is active"<<endl;}
void main()
{
test x[3]
cout<<x[1]. TEST()<<endl;
}
第4题:
A.change -l test
B.chage -l test
C.chage -m test
D.change -d test
第5题:
A. cd /adm
B. cd ./adm
C. cd ../adm
D. cd /../adm
第6题:
A user reports that they are getting an error when trying to save a video file to a share on a server running Windows Server 2003. The administrator looks at the file and finds that it is 5GB. The administrator checks the server and finds that the server has 100GB of free space. This file needs to be saved on the server.Which of the following should the administrator do to accomplish this?()
A. Convert the filesystem to EXT3.
B. Convert the filesystem to VMFS.
C. Convert the filesystem to NTFS.
D. Convert the filesystem to FAT32.
第7题:
A. chvg -a y testvg
B. chfs -A yes /test
C. mount /test -auto=yes
D. chlv -a automount=y testlv
第8题:
有如下程序: #include<iostream> using namespace std; class Test{ public: Test() {n+=2;} ~Test() {n-=3;} static int getNum(){return n;} private: static int n; }; int Test::n=1; int main() { Test*p=new Test; delete p; cout<<"n="<<Test::getNum()<<endl; return 0; } 执行后的输出结果是( )。
A.n=0
B.n=1
C.n=2
D.n=3
第9题:
A. cd /var/spool
B. lcd /var/spool
C. cd /usr/bin /var/spool
D. lcd /usr/bin /var/spool
第10题:
A. 7
B. 6
C. 5
D. 8