题目内容 (请给出正确答案)
[主观题]

According to the author, which of the following questions is the best type to ask children

about?

A.Do you see the elephant?

B.Is the elephant in the cage?

C.What animals do you like?

D.Shall we go to the zoo?

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“According to the author, which…”相关的问题

第1题

若有以下程序:#include<iostream>usingnamespacestd;voidsub(intx,inty,int*2){*z=y+x;}int main

若有以下程序: #include<iostream> usingnamespacestd; voidsub(intx,inty,int*2) { *z=y+x; } int main() { int a,b,C; sub(8,4,&A) ; sub(6,a,&B) ; sub(a,b,&C) ; cout<<a<<","<<b<<","<<c<<end1; return 0; }

A.12,18,30

B.-12,6,8

C.6,8,10

D.12,-18,16

点击查看答案

第2题

有以下程序:#include <iostream>#include <fstream>using namespace std;int main (){ ofstream

有以下程序: #include <iostream> #include <fstream> using namespace std; int main () { ofstream ofile; char ch; ofile.open ("abc.txt"); cin>>ch; while (ch!='#' ) { cin>>ch; ofile.put(ch);

A.程序编译时出错

B.abc#

C.abc

D.#

点击查看答案

第3题

有以下程序:include<iostream>include<string>usingnameSpacestd;classperson{ intage; Char*nam

有以下程序:

include <iostream>

include <string>

using nameSpace std;

class person

{

int age;

Char * name;

public:

person (int i, Char * str )

{

int j;

j = strlen(str ) + 1;

name = new char[ j ];

strcpy(name, str );

age = i;

}

~person()

{

delete name;

cout<<"D";

}

void display()

{

cout<<name<<":"<<age;

}

};

int main()

{

person demo(30,"Smith" );

demo.display();

return 0;

}

则该程序的输出结果为:【 】。

点击查看答案

第4题

有以下程序#include <iostream>using namespace std;int a;int fun ();int main (){extern int a

有以下程序#include <iostream>using namespace std;int a;int fun ();int main (){ extern int a; int b; a = 100; b = fun(); cout<<b<<end1; return 0;}int fun{){ extern int a; return (10*a ;} 其程序运行后的输出结果是

A.100

B.10

C.1000

D.10000

点击查看答案

第5题

有以下程序: #include <iostream> #include <cstdlib> usingnamespacestd; intmain() {intarrays

有以下程序: #include <iostream> #include <cstdlib> using namespace std; int main() { int arraysize; int *array; cout<<"Please input the size of the array:"; cin>>arraySiZe; array=new int[arraysize]; if(array==NULL) { cout<<"allocate Error\n"; exit(1); } for(int i=0;i<arraysize;i++) array[i]=i*i; int j; cout<<"which element you want to check:"; cin>>j; cout<<array[j]<<end1; return 0; } 执行程序输入:10<空格>5,则输出结果为()。

A.allocate Error

B.1

C.0

D.25

点击查看答案

第6题

下面程序的输出结果是()。 #include<iostream> Usingnamespacestd; ClassBase{ pub

下面程序的输出结果是()。

#include<iostream>

Usingnamespacestd;

ClassBase{

public:

Base(intx=O){cout<<x;

}

};

ClassDerived:publicBase{

public:Derved(intx=0{cout<<x;

}

private;

Baseval;

};

int main(){

Derivedd(1);

retrun0;

}

A.0

B.1

C.01

D.001

点击查看答案

第7题

有以下程序:#include<iostream>using namespace std;int a;int fun();int main(){externint a;in

有以下程序: #include<iostream> using namespace std; int a; int fun(); int main() { externint a; int b; a=10; b=fun(); cout<<b<<end1; return 0; } int fun() { extern int a; return(10*a); } 其程序运行后的输出结果是()。

A.10

B.1

C.100

D.1000

点击查看答案

第8题

有以下程序: #include <iostream> using namespace std; int main() {int x;for(int i=1;i<=100;

有以下程序: #include <iostream> using namespace std; int main() { int x; for(int i=1;i<=100;i++) { x=i; if (x%2==0) if (x%3==0) if (x%7==0) cout<

A.39,81

B.42,84

C.26,68

D.28,70

点击查看答案

第9题

有以下程序: include <iostream> using namespace std; int main() {int i=010,j=10;cout<<(i)

有以下程序:

include <iostream>

using namespace std;

int main()

{

int i=010,j=10;

cout<<(i)<<","<<i--<<end1;

return 0;

}

则该程序运行后的输出结果是【 】。

点击查看答案

第10题

有以下程序: include<iostream> usingnamespacestd; classCFactorial { private:intvalue;intfac

有以下程序:

include <iostream>

using namespace std;

class CFactorial

{

private:

int value;

int fact;

public:

CFactorial (int val );

void CalculateFactorial();

void Display();

};

CFactorial :: CFactorial(int val )

{

value = val;

fact = 1;

}

void CFactorial :: CalculateFactorial()

{

int i = value;

while (i > 1 )

fact *= i--;

}

void CFactorial :: Display()

{

cout<<value<<"!="<<fact<<end1;

}

int main()

{

CFactorial A(5 );

A.CalculateFactorial();

A.Display();

return 0;

}

程序中,类CPactorial的功能是【 】,该程序运行的结果是【 】。

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信