2.—What-s the boy's name?—__________A. He is TornB. His name is JohnC. It is JohnD. Jone is her name

2.—What-s the boy's name?

—__________

A. He is Torn

B. His name is John

C. It is John

D. Jone is her name


相关考题:

根据下列定义,能打印出字母P的语句是( )。struct stu{char name[10];int age;};struct stu s[10]={"John",11,"Pau1",12,"Mary",11,"adam",12};A.primf("%c",s[3].name};B.primf("%c",s[3].name[1]);C.printf("%c",s[2].name[1]);D.printf("%c",s[1].name[0]);

根据下列的定义,能打印出字母P的语句是( )struct stu {char name[10];int age;};stmct stu s[10]={"John",11,"Paul",12,"Mary",11,"adam",12}:A.printf("%c",s[3].name);B.printf("%c",s[3].name[1]);C.printf("%c",s[2].name[11]);D.printf("%c",s[1].name[0]);

清使用VC6或使用【答题】菜单打开考生文件夹projl下的工程projl,此工程中包含了类Pets(“宠物”) 和主函数main的定义。程序中位于每个“//ERROR****found ****”之后的一行语句有错误,请加以改 正。改正后程序的输出结果应为: Name:sonny Type:dog Name:John Type:dog Name:Danny Typc:cat Name:John Type:dog 注意:只修改每个“//ERROR ****found ****”下的那一行,不要改动程序中的其他内容。 includeiostream using namespace sm; enum Pets_type{d09,cat,bird,fish}; class Pets{ private: char *name; Pets_type type; public: Pets(const char *name=”sonny”,Pets_type type=dog); Petsoperator=(const Petss); ~Pets; void showeonst;}; Pets::Pets(eonst char$naIne,Pets_type type) //构造函数 { This -name=new char[strlen(name)+1]; strcpy(this一name,name); //ERROR *********found********* type=type; }{ Pets::~Pets//析构函数,释放name所指向的字符串 { //ERROR *********found********* name=’/0‘; } PetsPets::0perator=(const Petss){ if(s==this)//确保不要向自身赋值 return *this; delete[]name; name=new char[strlen(S.name)+1];//ERROR *********found********* strcpy(this一nmne,name); type=S.type: return *this;} void Pets::showconst cout“Name:”name”Type:”: Pets mypetl,mypet2(’’John”,dog);

下列语句错误的是( )。A.char*p="John";p[2]='a';B.char name[5]="John";name[2]='a'C.char name[5]="John",*p=name;p[2]='a';D.char name[5]="John",*p=name[2];*p='a';

根据下列的定义,能打印出字母P的语句是( )。 struct stu { char name[10]; iht age; }; struct stu s[10]={"John",11, "Paul", 12, "Mary", 11, "adam",12 };A.printf("%c",s[3].name);B.printf("%c",s[3].name[1]);C.printf("%c",s[2].name[1]);D.printf("%c",s[1].name[0]);

下列语句错误的是( )。A.char*p="John";P[2]='a';B.char name[5]="John";name[2]='a'C.char name[5]="John",*p=name;p[2]='a';D.char name[5]="John",*p=name[2];*p='a';

对于基本表S(S#,NAME,SEX,BIRTHDAY)和SC(S#,C#,ORADE),其中S#、NAME、 SEX、BIRTHDAY、C#和GRADE分别表示学号、姓名、性别、生日、课程号和年级。有一 SQL语句:SELECT S#,NAMEFROM SWHERE S# NOTIN(SELECT S#FROM SCWHERE C#='C102');其等价的关系表达式是______。A.πS#.NAME(σC#≠'C102'(SSC) )B. πS#.NAME(S)-πS#.NAME(σC#='C102'(SSC) )C.πS#.NAME(SσC#≠'C102'(SC) )D.πS#.NAME(S(SC) )

根据下列的定义,能打印出字母P的语句是( )。 struct stu {char name[10]; int age; }; struct sm s[10]={"John",11, "Pau1",12, "Mary",11, "adam",12 };A.printf("%c",s[3].name);B.printf("%c",s[3].name[1]);C.printf("%c",s[2].name[1]);D.printf("%c",s[1].name[0]);

下列选项是正确字典的创建方法的是?A.dict{}B.{‘name’:’John’,’age’:25,’sex’:’male’}C.{‘book’:’python’:’100’’’}D.(‘name’,’Tom’:’age’,’25’)

请改正下面程序中存在的错误。 def StudentInfo(country='China', chineselevel='A', name): print('%s,%s,%s'%(name,country,chineselevel)) StudentInfo(country='America', chineselevel='B', name='John')