Hello. My name is Molly and I'm from Ireland. I train the staff and help the customers --- especially the important ones. Franco, the restaurant owner, discusses everything with me. I have two free evenings a week, but twice a year I work every evening wh

题目

Hello. My name is Molly and I'm from Ireland. I train the staff and help the customers --- especially the important ones. Franco, the restaurant owner, discusses everything with me. I have two free evenings a week, but twice a year I work every evening when Franco is on holiday --- I hate that. I always have to work on Friday and Saturday evenings when the restaurant is busy. But I like it because I'm interested in food and people. My salary is good. I like working with Franco. I get along well with the other staff in the restaurant.

(1). Molly likes to work every evening.

A、 Right.

B、Wrong.

C、Doesn't say.

(2). Molly sometimes has to work on Friday and Saturday evenings.

A、 Right.

B、Wrong.

C、Doesn't say.

(3). Molly has a holiday twice a year.

A、 Right.

B、Wrong.

C、Doesn't say.

(4). Molly like working in the daytime.

A、 Right.

B、Wrong.

C、Doesn't say.

(5). Molly gets along well with all the staff in the restaurant.

A、 Right.

B、Wrong.

C、Doesn't say.


相似考题
更多“Hello. My name is Molly and I'm from Ireland. I train the staff and help the custo ”相关问题
  • 第1题:

    有下列程序:

    #include<stdi0.h>

    #include”strin9.h”

    typedefstruct{charname[9];charsex;floatscore

    [2];}STU;

    voidf(STUa)

    {

    STUb={"Zha0",'m',85.0,90.0);inti;

    strcpy(a.name,b.name);

    sex=b.sex;

    for(i=0;i<2;i++)a.score[i]=b.score[i];

    }

    voidmain( )

    {

    STUc={"Qian",'f',95.0,92.0);

    f(c);

    printf("%s,%c,%2.Of,%2.Of\n",C.name,C.sex,

    score[O],C.score[1]);

    }

    程序的运行结果是( )。

    A.Qian,f,95,92

    B.Qian,m,85,90

    C.Zha0,f,95,92

    D.Zha0,m,85,90


    正确答案:A
    A。【解析】本题考查在结构体中函数的调用,主函数调用f(c)后,实参传向形参,但程序中没有返回语句,故形参不能将值传回实参,实参之间值的传递具有不可逆性,所以printf输出的还是c中实参的值。

  • 第2题:

    有下列程序: #include<stdi0.h> #include”strin9.h” typedefstruct{charname[9];charsex;floatscore [2];}STU; voidf(STUa) { STUb={"Zha0",m,85.0,90.0);inti; strcpy(a.name,b.name); sex=b.sex; for(i=0;i<2;i++)a.score[i]=b.score[i]; } voidmain( ) { STUc={"Qian",f,95.0,92.0); f(c); printf("%s,%c,%2.Of,%2.Of\n",C.name,C.sex, score[O],C.score[1]); } 程序的运行结果是( )。

    A.Qian,f,95,92

    B.Qian,m,85,90

    C.Zha0,f,95,92

    D.Zha0,m,85,90


    正确答案:A
    A。【解析】本题考查在结构体中函数的调用,主函数调用f(c)后,实参传向形参,但程序中没有返回语句,故形参不能将值传回实参,实参之间值的传递具有不可逆性,所以printf输出的还是c中实参的值。

  • 第3题:

    分析题1 下面的代码中可能会存在什么攻击?为什么会形成这种攻击?这种攻击方式有哪些危害。 int main(){ char name[16]; gets(name); for(int i=0;i<16&&name[i];i++) printf(“%c”,name[i]); }


    按钮1绑定了事件;当按钮1被点击时,按钮1的值变成“我变了”

  • 第4题:

    有以下程序 include include typedef struct { cha

    有以下程序 #include <stdio.h> #include <string.h> typedef struct { char name[9]; char sex; float score[2]; } STU; STU f(STU a) { STU b={"Zhao", 'm', 85.0, 90.0}; int i; strcpy(a.name, b.name); a.sex = b.sex; for (i=0; i<2; i++) a.score[i] = b.score[i]; return a; } main() { STU c={"Qian", T, 95.0, 92.0}, d; d=f(c); printf("%s,%c,%2.0f,%2.0f\n", d.name, &sex, &score[O], d.score[1]); } 程序的运行结果是

    A.Qian, f,95,92

    B.Qian,m,85,90

    C.Zhao,m,85,90

    D.Zhao,f,95,92


    正确答案:C
    解析:本题的f()函数中,首先定义了一个STU结构体变量b并初始化为{"Zhao",'m',85.0,90.0},然后分别通过strcpy()库函数、赋值语句和for循环,将b中所有成员分别赋给形参a的相应成员,最后返回a。所以,无论传递给函数fun()的参数是什么,结果返回的都会是函数中定义的STU结构体b的内容{"Zhao",'m',85.0,90.0}。故最终输出结果为:Zhao,m,85,90,应该选择C。

  • 第5题:

    I () help. I can do it myself.

    Aneed    to

    Bdon’t    need

    Cneedn’t

    Dneed


    B

  • 第6题:

    请写出如下程序输出的第三行____。 #include <iostream> using namespace std; int main() { const char* name = "****"; for(int i = 1; i <= strlen(name); i++) { cout.write(name, i); //输出name指针指向空间的前i个字符 cout << endl; } }


    A a=3,b=4,sub(a++,b++)就是3*4=12,然后a=4,b=5;