试题与答案

带磁性的物品对微波炉都没有影响。

题型:判断题

题目:

带磁性的物品对微波炉都没有影响。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0729/4f7da37136614846cdfab52d9633fe9e.html

下面是错误答案,用来干扰机器的。

答案:D题目分析:本题主要考查学生运用所学知识解决问题的能力,抓住材料中时间特征“1960年”联系当时中国时代背景可知此时正值国民经济发展遭遇严重困难时期(1959-1961年),造成当时中国经济困难的原因在于...

试题推荐
题型:填空题

阅读下列说明和C++代码。

[说明]

某大型商场内安装了多个简易的纸巾售卖机,自动出售2元钱一包的纸巾,且每次仅售出一包纸巾。纸巾售卖机的状态图如图5-1所示。

采用状态(State)模式来实现该纸巾售卖机,得到如图5-2所示的类图。其中类State为抽象类,定义了投币、退币、出纸巾等方法接口。类SoldState、SoldOutState、NoQuarterState和HasQuarterState分别对应图5-1中纸巾售卖机的4种状态:售出纸巾、纸巾售完、没有投币、有2元钱。

[C++代码]

#include <iostream>

using namespace std;

//以下为类的定义部分

class TissueMachine; //类的提前引用

class State

public:

virtual void insertQuarter()=0; //投币

virtual void ejectQuarter()=0; //退币

virtual void turnCrank()=0; //按下“出纸巾”按钮

virtual void dispense()=0; //出纸巾

;

/*类SoldOutState、NoQuarterState、HasQuarterState、SoldState的定义省略,

每个类中均定义了私有数据成员TissueMachine* tissueMachine;*/

class TissueMachine

private:

(1) *soldOutState, *noQuarterState, *hasQuarterState,*soldState,

*state;

int count; //纸巾数

public:

TissueMachine (int numbers);

void setState (State* state);

State* getHasQuarterState();

State* getNoQuarterState()j

State* getSoldState();

State* getSoldOutState();

int getCount()j

//其余代码省略

;

//以下为类的实现部分

void NoQuarterState ::insertQuarter()

tissueMachine->setState( (2) );

void HasQuarterState ::ejectQuarter()

tissueMachine->setState( (3) );

void SoldState ::dispense()

if (tissueMachine->getCount()>0)

tissueMachine->setState( (4) );

else

tissueMachine->setState( (5) );

//其余代码省略

(4)处应填()。

查看答案
题型:阅读理解

This booklet is designed to help you and your family plan for and survive a major earthquake. By taking action to be prepared, you can lessen the impact of an earthquake on your family. Set aside some emergency supplies, and teach your family what to do at home during and after a disaster. You could be without help for up to 72 hours, so learn to cope for at least that long.

Movement of the ground is seldom the actual cause of death or injury. Most casualties(意外) result from partial building collapse and falling objects and debris, like toppling chimneys, falling bricks, ceiling plaster, and light fixtures. Many of these conditions are easily preventable.

Because earthquakes occur without warning, it’s important to take steps now to prepare, so that you know what you can do and how to respond — constructive, protective action is possible.

Have on hand for Any Emergency – Ideas for Home, Workplace, and Car.

Because you don’t know where you will be when an earthquake occurs, prepare a disaster supplies.

59.Who is the passage mainly written for ?

A.scientists B.parents     C.the public        D.teachers

60.How can we lessen the impact of an earthquake on our family?

A.Stay at home

B.Keep away from high buildings

C.learn some knowledge about the cause of earthquakes

D.know what to do in a disaster

61.What will the writer talk about next?

A.emergency supplies        B.first aid

C.toppling chimneys      D.ceiling plaster

62.which can be the best title of this passage?

A.Are You Prepared for the Next Earthquake 

B.Earthquakes Occur without Warning

C.How to prevent earthquakes           

D.Cause of Earthquakes

查看答案
微信公众账号搜索答案