更多“The most effective means of determining the cost of a project is to price out the _____.A. ”相关问题
  • 第1题:

    试题五(共15分)

    阅读下列说明和C++代码,将应填入(n)处的字句写在答题纸的对应栏内。

    【说明】

    某咖啡店当卖咖啡时,可以根据顾客的要求在其中加入各种配料,咖啡店会根据所加入的配料来计算费用。咖啡店所供应的咖啡及配料的种类和价格如下表所示。

    【C++代码】

    include <iostream>

    include <string>

    using namespace std;

    const int ESPRESSO_PRICE = 25;

    const int DRAKROAST_PRICE = 20;

    const int MOCHA_PRICE = 10;

    const int WHIP_PRICE = 8;

    class Beverage { //饮料

    (1) :string description;

    public:

    (2) (){ return description; }

    (3) ;

    };

    class CondimentDecorator : public Beverage { //配料

    protected:

    (4) ;

    };

    class Espresso : public Beverage { //蒸馏咖啡

    public:

    Espresso () {description="Espresso"; }

    int cost(){return ESPRESSO_PRICE; }

    };

    class DarkRoast : public Beverage { //深度烘焙咖啡

    public:

    DarkRoast(){ description = "DardRoast"; }

    int cost(){ return DRAKROAST_PRICE; }

    };

    class Mocha : public CondimentDecorator { //摩卡

    public:

    Mocha(Beverage*beverage){ this->beverage=beverage; }

    string getDescription(){ return beverage->getDescription()+",Mocha"; }

    int cost(){ return MOCHA_PRICE+beverage->cost(); }

    };

    class Whip :public CondimentDecorator { //奶泡

    public:

    Whip(Beverage*beverage) { this->beverage=beverage; }

    string getDescription() {return beverage->getDescription()+",Whip"; }

    int cost() { return WHIP_PRICE+beverage->cost(); }

    };

    int main() {

    Beverage* beverage = new DarkRoast();

    beverage=new Mocha( (5) );

    beverage=new Whip( (6) );

    cout<<beverage->getDescription()<<"¥"<<beverage->cost() endl;

    return 0;

    }

    编译运行上述程序,其输出结果为:

    DarkRoast, Mocha, Whip ¥38


    正确答案:
    (1) protected
    (2) virtual string getDescription
    (3) virtual int cost()=0
    (4) Beverage*beverage
    (5) beverage
    (6) beverage

  • 第2题:

    [A]discriminating[B] distinguishing [C] determining [D] diminishing


    正确答案:B

  • 第3题:

    (2016年)4Ps不包括( )。

    A.项目(project)
    B.价格(price)
    C.促销(promotion)
    D.渠道(place)

    答案:A
    解析:
    4Ps主要是指产品(product)、价格(price)、促销(promotion)和渠道(p1ace)。

  • 第4题:

    试题六(共15分)

    阅读下列说明和Java代码,将应填入(n)处的字句写在答题纸的对应栏内。

    【说明】

    某咖啡店当卖咖啡时,可以根据顾客的要求在其中加入各种配料,咖啡店会根据所加入的配料来计算费用。咖啡店所供应的咖啡及配料的种类和价格如下表所示。

    【Java代码】

    import java.util.*;

    (1) class Beverage { //饮料

    String description = "Unknown Beverage";

    public (2) (){return description;}

    public (3) ;

    }

    abstract class CondimentDecorator extends Beverage { //配料

    (4) ;

    }

    class Espresso extends Beverage { //蒸馏咖啡

    private final int ESPRESSO_PRICE = 25;

    public Espresso() { description="Espresso"; }

    public int cost() { return ESPRESSO_PRICE; }

    }

    class DarkRoast extends Beverage { //深度烘焙咖啡

    private finalint DARKROAST_PRICE = 20;

    public DarkRoast() { description = "DarkRoast"; }

    public int cost(){ rcturn DARKROAST PRICE; }

    }

    class Mocha extends CondimentDecorator { //摩卡

    private final int MOCHA_PRICE = 10;

    public Mocha(Beverage beverage) {

    this.beverage = beverage;

    }

    public String getDescription() {

    return beverage.getDescription0 + ", Mocha";

    }

    public int cost() {

    return MOCHA_PRICE + beverage.cost();

    }

    }

    class Whip extends CondimentDecorator { //奶泡

    private finalint WHIP_PRICE = 8;

    public Whip(Beverage beverage) { this.beverage = beverage; }

    public String getDescription() {

    return beverage.getDescription()+", Whip";

    }

    public int cost() { return WHIP_PRICE + beverage.cost(); }

    }

    public class Coffee {

    public static void main(String args[]) {

    Beverage beverage = new DarkRoast();

    beverage=new Mocha( 5 );

    beverage=new Whip ( 6 );

    System.out.println(beverage.getDescription() +"¥" +beverage.cost());

    }

    }

    编译运行上述程序,其输出结果为:

    DarkRoast, Mocha, Whip ¥38


    正确答案:
    (1) abstract
    (2) String getDescription
    (3) abstract int cost()
    ( 4) Beverage beverage
    (5) beverage
    (6) beverage

  • 第5题:

    Project()is an uncertain event or condition that,if it occurs,has a positiveor a negative effect on at least one project objective,such as time,cost,scope, or quality.

    A.risk
    B.problem
    C.result
    D.data

    答案:A
    解析:
    风险是一个不确定因素或条件,如果它一旦发生,可能对至少一个项目目标,如项目进度、项目成本、项目范围或项目质量产生负面或正面的影响。选项A 是风险,选项B 是问题,选项 C 是结果,选项 D 是数据。根据项目风险定义,风险包括两方面含义:一是未实现目标;二是不确定性。因此应选择 A

  • 第6题:

    Project( )is an uncertain event or condition that,if it occurs,has a positive or a negative effect on at least one project objective,such as time,cost,scope,or quality.

    A.risk
    B.problem
    C.result
    D.data

    答案:A
    解析:
    风险不是一个不确定因素或条件,如果它一旦发生,可能对至少一个项目目标,如项目进度、项目成本、项目范围或项目质量产生负面或正面的影响。选项A是风险,选项B是问题,选项C是结果,选项D是数据。根据项目风险定义,风险包括两方面含义:一是未实现目标;二是不确定性。因此应选择A。