print(type(16/4))的结果为()
第1题:
( 28 )有如下程序
#include <iostream>
using namespace std;
class A {
public:
A(int i):rl(i) {}
void print() {cout<<'e'<<r1<<'-';}
void print() const {cout<<'C'<<rl*rl<<'-';}
private:
int rl;
};
int main(){
A al(2); const A a2(4);
Al.print();a2.print();
Return 0;
}
运行时的输出结果是
A )运行时出错
B ) E2-C16-
C ) C4-C16-
D ) E2-E4-

第2题:
下面程序段执行结果为
x=Int(Rnd() +4)
Select Case x
Case 5
Print "excellent"
Case 4
Print "good"
Case 3
Print "pass"
Case Else
Print "fail"
End Select
A.excellent
B.good
C.pass
D.fall
第3题:
设当前日期为2008年4月28日,星期一,则执行下面语句后的输出结果为______。
Print Day(Now)
Print Month(Now)
Print Year(Now)
Print Weekday(Now)
第4题:
有以下程序: # include<stdio. h> # difine F(X, Y) (X)*(Y) main() { int a=3, b=4; print("% d\n", F(a++, b++)); } 程序运行后的输出结果是______。
A.12
B.15
C.16
D.20
第5题:
有如下语句: Type Student Name As String Age As Integer Sex As String End Type Dim Stu As Student With Stu .Name="张红" .Age=22 .Sex="女" End With 执行Print Stu.Age语句后的结果是
A.张红
B.22
C.“女”
D.Age
第6题:
下列程序的运行结果为
#include<iostream. h>
void print(double a)
{
cout < < ++a;
}
void print(int a, int b)
{
cout < < b < < a;
}
void main( )
{
print(1.2) ;
tout < <" ";
print(3,4) ;
}
A.1.2 34
B.2.2 34
C.1.2 43
D.2.2 43
第7题:
下列程序的运行结果为 #include<iostream.h> void print(double a) { cout<<++a; } void print(int a,int b) { cout<<b<<a; } void main( ) { print(1.2); tout<<""; print(3,4); }
A.1.2 34
B.2.2 34
C.1.2 43
D.2.2 43
第8题:
下列程序段的执行结果为______。 x=Int (Rnd+4) Select Case x Case 5 Print“优秀” Case 4 Print“良好” Case 3 Print“通过” Case Else Print“没有通过” End Select
A. 优秀
B.良好
C.通过
D.没有通过
第9题:
有如下程序: #include<iostream> using namespaee std; class A{ public: A(int i):rl(i){ } void print( ){cout<<'E'<<rl<<'-';} void print( )const}cout<<'C'<<rl*rl<<'-';} private: int rl; }; int main( ){ A al(2);eonst A a2(4); a1.print( );a2.print( ); return 0; } 程序的输出结果是
A.运行时出错
B.E2-C16-
C.C4-C16-
D.E2-E4-
第10题:
下面程序段执行结果为 x=Int(Rnd()+3) Select Case x Case 5 Print "excellent" Case 4 Print "good" Case 3 Print"pass" Case Else Print"fail" End Select
A.excellent
B.good
C.pass
D.fail
第11题:
()命令将显示本机的路由表信息。
第12题:
Corrupted print spooler software
Memory leak in one of the print drivers
The disk drive is out of free space
Memory leak in the print spooler
第13题:
( 29 )有如下程序
#include <iostream>
using namespace std;
class A{
public:
A(int i=0):r1(i) { }
void print() {cout<< ' E ’ <<r1<< ' - ' ;}
void print() const {cout<< ' C ' <<r1*r1<< ' - ' ;}
void print(int x) {cout << ' P ' <<r1*r1*r1<< ' - ' ;}
private:
int r1;
};
int main() {
A a1;
const A a2(4);
a1.print(2);
a1.print();
return 0;
}
运行时的输出结果是
A ) P8-E4
B ) P8-C16-
C ) P0-E4-
D ) P0-C16-
第14题:
有如下程序: #inClude using nameSpace std; Class A{ public: A(inti=0):r1(i){ } void plint(){cout<<‘E’<<r1<<‘-’;} void print()const{cout<<‘C’<<r1*r1<<‘-’;} void print(int X){cout<<‘P’<<r1*r1*r1<<‘-’;} prlvate: intrl; }; intmain(){ Aal; constA a2(4); a1.print(2); a2.print(); returh0; } 运行时的输出结果是( )。
A.P8-E4
B.P8-C16-
C.P0-E4-
D.P0-C16-
第15题:
运行以下程序段后,输出结果为【 】。
a=4: b=2
Print a*(a-B)
第16题:
有如下程序:
#include<iostream>
using namespace std;
class A{
public:
A(int i):r1(i){}
void print(){cout<<‘E’<<rl<<‘-’;}
void print()const{cout<<‘C’<<rl*rl<<‘-’;}
private:
int rl:
};
int main(){
A a1(2); const A a2(4);
a1.print(); a2.print();
return 0;
}
运行时的输出结果是
A.运行时出错
B.E2-C16-
C.C4-C16-
D.E2-E4-
第17题:
若有以下程序段: int r=8; print("%d\n",r>>1): 输出结果是( )。
A.16
B.8
C.4
D.2
第18题:
下面程序段执行结果为x=Iht(Rnd()+4)Select Case x Case 5 Print"excellent" Case 4 Print"good" Case 3 Print"paSS" Case Else Print "fail"End Select
A.excellent
B.good
C.pass
D.fail
第19题:
以下程序输出的结果为______。 x=1 y=4 Do Until y>4 x=x*y y=y + 1 Loop Print x
A. 4
B.8
C.12
D.16
第20题:
下面程序段执行结果为( )。 x=Int(Rnd()+4) Select Case x Case 5 Print"excellent" Case4 Print"good" Case 3 Print"pass" Case Else Print"fail" End Select
A.excellent
B.good
C.pass
D.fail
第21题:
下列程序的运行结果为( )。 #include<iostream.h> void print(double A. { cout<<++a: } void print(int atint B. { cout<<b<<a: } void main { print(1.2); eout<<””: print(3,4); }
A.1.2 34
B.2.2 34
C.1.2 43
D.2.2 43
第22题:
下列程序的运行结果为
#include
void print(double a)
{
cout<<++a;
}
void print(int a,int B)
{
cout<<
}
void main()
{
print(1.2);
cout<<” ”;
print(3,4);
}
A.1.2 34
B.2.2 34
C.1.2 43
D.2.2 43
第23题:
Memory utilization by the print spooler process is constantly climbing after users begin to print to acertain type of printer. Which of the following is the MOST likely cause of the problem?()