问题 单项选择题

对配电所的无功功率同时系数可取( )。

A.0.85~1.

B.0.65~0.8.

C.0.95~1.

D.0.75~0.9

答案

参考答案:C

阅读理解

PT INSTRUCTOR Looking for a sports minded person to teach children ages 3-10 gymnastics and sports in a non-competitive environment. Fun, rewarding job with competitive wages. Must be available nights and weekends. 865-583-1166 to apply or email tlgknoxvilletn@thelittlegym. com.

 
Join the Dillard’s team of Sales Associates in our Men’s Shoe Department. Enjoy selling top brands of classic, trendy and casual shoes. Knowledge of men’s shoe trends plus a background in sales is a requirement for success in this high traffic area.
 
Airport Terminal Service is currently looking for Full & Part time Passenger. Ramp, Baggage, and Cabin Service agents at our Washington DC (DCA) Location. We are also looking for a full time GSE Mechanic (with diesel experience) at our Baltimore Location (9 am-5am shift-Mon-Fri off).
We offer competitive benefits, paid training and uniforms.
Candidates who are interested in positions must apply by logging onto www. Workatats. com
 
LOCAL DELIVERY drive/warehouse person needed for a fast paced printing company. Good driving record and customer service skills are a must. Competitive salary and benefits. Call 865-524-9881 to apply.
 
 

 
小题1: If Mr Black has a desire to be a sports teacher, he should contact _______.
A.Airport Terminal ServicesB.www. Workatats. com
C.865-524-9881D.tlgknoxvilletn@thelittlegym. com.
小题2:As a driver in Local Delivery, John has to _______.
A.work hard to earn moneyB.have printing skills
C.have interest in the positionD.be offered paid training
小题3:Mr Smith can find a job as a mechanic at _______.
A.Washington DC Location.B.Baltimore Location
C.a fast paced companyD.Dillard
小题4: What is a must when one hopes to be a member of Dillard’s team?
A.He must be able to work in the evening and on weekends.
B.He must have experience.
C.He must have a good knowledge of shoe fashion and sales.
D.He must like top brands of shoes.
填空题

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

[说明]

某饭店在不同的时段提供多种不同的餐饮,其菜单的结构图如图18-27所示。

现在采用组合(Composition)模式来构造该饭店的菜单,使得饭店可以方便地在其中增加新的餐饮形式,得到如图18-28所示的类图。其中MenuComponent为抽象类,定义了添加(add)新菜单和打印饭店所有菜单信息(print)的方法接口。类Menu表示饭店提供的每种餐饮形式的菜单,如煎饼屋菜单、咖啡屋菜单等。每种菜单中都可以添加子菜单,例如图18-27中的甜点菜单。类MenuItem表示菜单中的菜式。

[C++代码]

#include<iostream>

#include<list>

#Include<string>

using namespace std;

class MenuComponent

protected:string name;

public:

MenuComponent(String name)(this->name=name;

string getName()return name;

(1) ; //添加新菜单

virtual void print()=0; //打印菜单信息

class Menultem:public MenuComponent

private:double price;

public:

Menultem(string name,double price):MenuComponent(name)(this->price=price;

double getPrice()return price;

void add(MenuComponent *menuComponent)retum;//添加新菜单

void print()cout<<" "<<getName0<<","<<getPrice0<<end1;

class Menu:public MenuC0mponent

private:list< (2) >menuComponents;

public:

Menu(string name):MenuComponent(name)

void add(MenuComponent *menuComponent)//添加新菜单

(2)

VOid print()

cout<<"\n"<<getNameO<<"\n---------------"<<end1;

Std::list<MenuComponent*>::iterator iter,

for(iter=menuComponents.begin0;iter!=menuComponents.end0;iter++)

(4) ->print();

void main()

MenuComponent *al IMenus=new Menu("ALL MENUS");

MenuComponent *dinerMenu=new Menu("DINER MENU");

……∥创建更多的Menu对象,此处代码省略

alIMenus->add(dinerMenu); ∥将dinerMenu添加到餐厅菜单中

……∥为餐厅增加更多的菜单,此处代码省略

(5) ->printO; ∥打印饭店所有菜单的信息

(1)处填()。