a = [1,2,3,4,5,6,7,8,9,0] ________ print(b)
A.b = a[0:9]
B.b = a[0:0]
C.b = a[:]
D.b = a
第1题:
(19)如果A为整数且|A|>=10,则打印“OK”,否则打印“Error”,表示这个条件的单行格式If语句是 A.If Int(A)=A And Sqr(A)>=10 Then Print“OK”Else Print “Error” B.If Fix(a)=A And Abs(a)>=10 Then Print“OK”Else Print “Error” C.If Int(A)=A And (A>=10 ,A=-10) Then Print“OK”Else Print “Error” D.If Fix(A)=A And A>=10, Abs A<=-10 Then Print“OK”Else Print “Error
第2题:
如果A为整数且,|A|>=10,则打印“OK”,否则打印“Error”,表示这个条件的单行格式If语句是( )。
A.If Int(A)=A And Sqr(A)>=10 Then Print"OK"Else Print "Error"
B.If Fix(A)=a And Abs(A)>=-10 Then Print"OK"Else Print "Error"
C.If Int(A)=A And(A>=10,A<-10) Then Print"OK"Else Print "Error"
D.If Fix(A)=A And A>=10,And A<=-10 Then Print"OK" Else Print "Error"
第3题:
已知x代表某个百分制成绩,下列程序段用于显示对应的五级制成绩,正确的是( )
A.If x>=60 Then Print"及格" Else If x>=70 Then Print"中" Else If x>=80 Then Print"良" Else If x>=90 Then Print"优" Else Print"不及格" End If
B.If x<90 Then Print"良" Else If x<80 Then Print"中" Else If x<70 Then Print"及格" Else If x<60 Then Print"不及格" Else Print"优" End If
C.If x>=90 then Print"优" Else If x>=80 Then Print"良" Else If x>=70 Then Print"中" Else If x>=60 Then Print"及格" Else Print"不及格" End If End Select
D.Select Case x Case x>=90 Print"优" Case x>=80 Print"良" Case x>=70 Print"中" Case x>=60 Print"及格" Case Else Print"不及格"
第4题:
下面程序的输出结果是 #include<stdio.h> main() { int a[]={1,2,3,4,5,6,7,8,9,0},*p; p=a; printf("%d\n",*p+9);}
A.0
B.1
C.10
D.9
第5题:
有如下程序: #include<iostream> using namespace std; class TestClass { private: int x,y; public: TestClass (int i,int j) { x=i; y=j; } void print() { cout<<"print1"<<end1; } void print()const { cout<<"print2"<<end1; } }; int main() { const TestClass a(1,2); a.print(); return 0; } 该程序运行后的输出结果是( )。
A.print1
B.print2
C.print1 print2
D.程序编译时出错
第6题:
下面哪个程序段能够正确裙带如果A<B,则A=1,否则A=-1?
A.If A<B Then A=1 A=-1 Print A
B.If A<B Then A=l:Print A A=-1:PrintA
C.If A<B Then A=1:Print A Else A=-1: End If
D.If A<B Then A=1 A=-1 Print A Print A
第7题:
有以下程序:#include <stdio. h>main( ){ int a[ ] = { 1,2,3,4,5,6,7,8,9,0} , * p; for(p =a;p<a+10;p++) printf("%d," , *p); }程序运行后的输出结果是( )。
A.1,2,3,4,5,6,7,8,9,0,
B.2,3,4,5,6,7,8,9,10,1,
C.0,1,2,3,4,5,6,7,8,9,
D.1,1,1,1,1,1,1,1,1,1,
第8题:
在windows98中活动窗口打印的快捷键是()。
第9题:
An Information Technology (IT) staff has many calls from users who are unable to print or who lose print jobs. After investigation, the IT staff has determined that the print spooler is stopping sporadically. Which of the following actions in IBM Director would best resolve the issue?()
第10题:
要查看一个结构类型变量的值,可以使用函数()
第11题:
对
错
第12题:
Create an Event Action Plan to monitor the NT Event Log for Print Spooler errors.Set a task to restart the print spooler when stopped.Apply this plan to print servers.
Using Event Management, create an Event Action Plan with a print spooler filter and set a task to restart the print spooler when stopped. Apply this plan to print servers.
Using Resource Manager, create a threshold to monitor the print spooler queue.Create an Event Action Plan with a print spooler filter and set a task to restart the print spooler when the queue gets above 10 jobs.Apply this plan to print servers.
Using Process Management, create a threshold to monitor to set an error condition when the print spooler has stopped.Create an Event Action Plan using this filter and create a task to restart the print spooler when stopped. Apply plan to print servers.
第13题:
用Print方法在Form1窗体中显示出4个#号的正确代码为( )。
A.Debug.Print"####"
B.Print ####
C.Form1 Print ####
D.Form1.Print"####"
第14题:
以下不能输出“Program”的语句是
A.Print Mid(”VBProgram”,3,7)
B.Print Right(”VBProgram”,7)
C.Print Mid(”VBProgram”,3)
D.Print Left(”VBProgram”,7)
第15题:
下列不正确的语句是
A.Print a=10+20
B.Print "a=";10+20
C.Print "a"="10+20"
D.Print a=;10+20
第16题:
以下能够正确退出循环的是( )。
A.Print Not(3+5<4+6)
B.Print 2>1 And 3<2
C.Print 1>2 Or 2>3
D.Print Not(1>2)
第17题:
如果x为整数且|x|>=100,则打印“OK”,否则打印“Error”,表示这个条件的单行格式 If语句是
A.If Int((x)=x And Sqr(x)>=100 Then Print "OK" Else Print "Error"
B.If Fix(x)=x And Abs(x)>=100 Then Print"OK"Else Print"Error"
C.If Int(x)=x And (x>=100,x<=-100)Then Print"OK"Else Print"Error"
D.If Fix(x)=x And x>=100 And x<=-100 Then Print "OK" Else Print "Error"
第18题:
请写出下面的输出:
class B
{
public:
virtual void Print(void)
{
printf(“B::Print\n”);
}
virtual void Reprint(void)
{
printf(“B:Reprint\n”);
}
void Algo(void)
{
Print();
Reprint();
}
};
class D : public B
{
public:
virtual void Print(void)
{
printf(“D::Print\n”);
}
};
void main()
{
B *p = new D();
p->Print();
p->Algo();
}
第19题:
用Print方法在Form1窗体中显示出四个星号的正确代码为()。
A.Print"****"
B.Form1_Print"****"
C.Form1.Print"****"
第20题:
Which of the following services processes print requests and sends them to the printer?()
第21题:
在visualbasic中,输入PRINT语句时,不论输入“PRINT”还是“print”,visualbasic都会转换为Print。
第22题:
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?()
第23题:
void print()const;
const void print();
void const print();
void print(const);
第24题:
void print()const
const void print()
void const print()
void print(const)