首页 > 外贸类考试
题目内容 (请给出正确答案)
[主观题]

阅读判断Running: sport or way of life?You go through the channels several times and find

阅读判断

Running: sport or way of life?

You go through the channels several times and find that once again there’s nothing on TV that interests you. Not a problem! Just put on some running shoes and comfortable clothes and go for a run.

One of the best things about the sport of running is that you don’t need expensive equipment. All you need is a good pair of running shoes and a safe environment. But don’t be fooled into thinking the sport of running is easy. It requires discipline and concentration.

Running is good for you both physically and mentally. It strengthens your heart, lungs, and muscles. It makes you more aware of your body. Running also improves your body so that you don’t get sick as easily. It can even help you to stay more focused in school because exercise helps you to think more clearly.

How do you get engaged in the sport if you don’t know much about it? Most schools offer running programs. A simple Internet search can help you find some in your area. The programs show you how running can offer competition or just be for fun. They also teach runners to set practical goals and take care of their bodies.

Runners have great respect for each other because they know how difficult the sport can be. If you go to a race, you’ll see people cheering for all the runners. Running isn’t always about how fast you are running or how far you’re going. It’s about getting out there and doing it. Participation is more important than competition, and effort is recognized over talent.

It you’re looking for more than just a sport, running may be the perfect choice for you.

1. You may find it interesting to go for a run.

A. True

B. False

C. Not Given

2. The sport of running is easy.

A. True

B. False

C. Not Given

3. It’s hard to find a safe environment for running.

A. True

B. False

C. Not Given

4. Running is good to people’s body and mind.

A. True

B. False

C. Not Given

5. A long-distance run is good in many ways.

A. True

B. False

C. Not Given

6. You can find running programs online.

A. True

B. False

C. Not Given

7. Running programs set goals for you.

A. True

B. False

C. Not Given

8. You should go for a run every day.

A. True

B. False

C. Not Given

9. Runners respect one another as they love the sport.

A. True

B. False

C. Not Given

10. Running means more than a sport.

A. True

B. False

C. Not Given

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“阅读判断Running: sport or way of l…”相关的问题
第1题
试题五(共 15分) 阅读以下说明和C++代码,将应填入 (n) 处的字句写在答题纸的对应栏内。 【说明】

试题五(共 15分)

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

【说明】

已知类 LinkedList 表示列表类,该类具有四个方法:addElement()、lastElement()、umberOfElement()以及removeLastElement()。四个方法的含义分别为:

void addElement(Object): 在列表尾部添加一个对象;

Object lastElement(): 返回列表尾部对象;

int numberOfElement(): 返回列表中对象个数;

void removeLastElement(): 删除列表尾部的对象。

现需要借助LinkedList来实现一个Stack栈类,C++代码1和C++代码2分别采用继承和组合的方式实现。

【C++代码 1】

class Stack :public LinkedList{

public:

void push(Object o){ addElement(o); }; //压栈

Object peek(){ return (1) ; }; //获取栈顶元素

bool isEmpty(){ //判断栈是否为空

return numberOfElement() == 0;

};

Object pop(){ //弹栈

Object o = lastElement();

(2) ;

return o;

};

};

【C++代码 2】

class Stack {

private:

(3) ;

public:

void push(Object o){ //压栈

list.addElement(o);

};

Object peek(){ //获取栈顶元素

return list. (4) ;

};

bool isEmpty(){ //判断栈是否为空

return list.numberOfElement() == 0;

};

Object pop(){//弹栈

Object o = list.lastElement();

list.removeLastElement();

return o;

};

};

【问题】

若类LinkedList新增加了一个公有的方法removeElement(int index),用于删除列表中第index个元素,则在用继承和组合两种实现栈类Stack的方式中,哪种方式下Stack对象可访问方法removeElement(int index)? (5) (A. 继承 B. 组合)

点击查看答案
第2题
试题六(共 15分) 阅读以下说明和Java代码,将应填入 (n) 处的字句写在答题纸的对应栏内。 【说明】

试题六(共 15分)

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

【说明】

已知类 LinkedList 表示列表类,该类具有四个方法:addElement()、lastElement()、umberOfElement()以及removeLastElement()。四个方法的含义分别为:

void addElement(Object): 在列表尾部添加一个对象;

Object lastElement(): 返回列表尾部对象;

int numberOfElement(): 返回列表中对象个数;

void removeLastElement(): 删除列表尾部的对象。

现需要借助LinkedList来实现一个Stack栈类, Java代码1和Java代码2分别采用继承和组合的方式实现。

【Java代码1】

public class Stack extends LinkedList{

public void push(Object o){ //压栈

addElement(o);

}

public Object peek(){ //获取栈顶元素

return (1) ;

}

public boolean isEmpty(){ //判断栈是否为空

return numberOfElement() == 0;

}

public Object pop(){ //弹栈

Object o = lastElement();

(2) ;

return o;

}

}

【Java代码2】

public class Stack {

private (3) ;

public Stack(){

list = new LinkedList();

}

public void push(Object o){

list.addElement(o);

}

public Object peek(){//获取栈顶元素

return list. (4) ;

}

public boolean isEmpty(){//判断栈是否为空

return list.numberOfElement() == 0;

}

public Object pop(){ //弹栈

Object o = list.lastElement();

list.removeLastElement();

return o;

}

}

【问题】

若类LinkedList新增加了一个公有的方法removeElement(int index),用于删除列表中第index个元素,则在用继承和组合两种实现栈类Stack的方式中,哪种方式下Stack对象可访问方法removeElement(int index)? (5) (A. 继承 B. 组合)

点击查看答案
第3题
阅读以下说明和Java代码,回答问题1和问题2,将解答填写在对应栏内。【Java代码】 class usethread im

阅读以下说明和Java代码,回答问题1和问题2,将解答填写在对应栏内。

【Java代码】

class usethread implements (1) {

int num

usethread(int n){

num=n;

}

public void (2) {

for(int i=0;i<3;i++)

System.out.println("running:"+num);

System.out.println("finished:"+num);

}

public class multhread{

public static void main(String args[]) (3) InterruptedException{

Thread m1=new Thread(new usethread(1));

Thread m2=new Thread(new usethread(2));

m1.start();

m2.start();

m1.join();

m2.join();

}

}

【问题1】

补充完整上面Java代码中(n)处。

【问题2】

写出上面Java代码运行的结果。

点击查看答案
第4题
User programs interact with the kernel through a set of standard(71). They request service

User programs interact with the kernel through a set of standard(71). They request services to be provided by the kernel. Such services would include accessing a file: open close, read, write, link, or execute a file; starting or(72)accounting records; changing ownership of a file or(73); changing to a new directory; creating,(74), or killing a process; enabling access to hardware devices; and setting limits on system resources. Unix is a multi -user, multi -tasking operating system. You can have many users logged into a system simultaneously, each running many programs. It's the kernel's job to keep each process and user separate and to regulate access to(75), including cpu, memory, disk and other L/O devices.

A.system commands

B.system transfer

C.system calls

D.system rings

点击查看答案
第5题
I/O端口独立编址的优点是_______。

A.I/O地址空间独立

B.专门的I/O指令使I/O程序容易阅读

C.不需要专门的I/O指令

D.不占用存储空间

E.I/O数据存取与存储器数据存取一样灵活方便

点击查看答案
第6题
阅读下面代码 if(x= =0){System.out.println("冠军");) elseif(x>一3){System.Out.println(

阅读下面代码 if(x= =0){System.out.println("冠军");) elseif(x>一3){System.Out.println("亚军");} else{System.out.println("季军");} 若要求打印字符串”季军”,则变量X的取值范围是()。

A.x=d&x<=-3

B.x>O

C.x>-3

D.x<=-3

点击查看答案
第7题
根据本讲,法治思维一般包括哪些层次?()

A.认知判断层次

B.阅读理解层次

C.逻辑推理层次

D.综合决策层次

E.建构制度层次

点击查看答案
第8题
阅读以下程序,采用逻辑覆盖进行测试,下列测试用例(a,b,c)的输入值,可以达到条件覆盖的是______。

阅读以下程序,采用逻辑覆盖进行测试,下列测试用例(a,b,c)的输入值,可以达到条件覆盖的是______。

Int func(int a, b, c)

{

Int k=1:

If((a>O)|| (b<0)||(a+c>0))k=k+a;

Else k=k+b:

If(c>0)k=k+c:

Return k'

}

A) (1,1,1),(-1,1,1)

B) (1,1,1),(-1,-1,-1)

C) (1,1,-1),(1,1,1)

D) (1,1,-1),(-1,1,1)

点击查看答案
第9题
阅读以下说明和C程序代码,将应填入______处的语句写在答题纸的对应栏内。 [说明] 函数MultibaseOu

阅读以下说明和C程序代码,将应填入______处的语句写在答题纸的对应栏内。

[说明]

函数MultibaseOutput(long n,int B)的功能是:将一个无符号十进制整数n转换成 B(2≤B≤16)进制数并输出。该函数先将转换过程中得到的各位数字入栈,转换结束后再把B进制数从栈中输出。有关栈操作的诸函数功能见相应函数中的注释。C代码中的符号常量及栈的类型定义如下:

define MAXSIZE 32

typedef struct{

int * elem; /* 栈的存储区 */

int max; /* 栈的容量,即栈中最多能存放的元素个数 */

int top; /* 栈顶指针 */

}Stack;

[C代码]

int InitStack(Stack * S,int n) / * 创建容量为n的空栈 */

{ S->elem=(int *)malloc(n * sizeof(int));

if(S->elem==NULL)return-1;

S->max=n; (1)=O;return 0;

}

int Push(Stack * S,int item) / * 将整数item压入栈顶 * /

{ if(S->top==S->max){ printf(“Stack is full! \n”);return-1;}

(2)=item;return 0;

}

int StackEmpty(StackS) {return (! S.top)? 1:0;} / * 判断栈是否为空 * /

int Pop(Stack *S ) / * 栈顶元素出栈 * /

{ if(! S->top){printf(“Pop an empty stack! \n”);return-1;}

return (3);

}

void MultibaseOutput(long n,int B)

{ int m;StackS;

if (InitStack(&S,MAXSIZE)){printf(“Failure! \n”);return;}

do {

if(Push(&S, (4) )){printf(“Failure! \n”);return;}

n=(5);

}while(n!=0);

while(! StackEmpty(S)){ / * 输出B进制的数 * /

m=Pop(&S);

if(m<10)printf(“%d”,m); / * 小于10,输出数字 * /

else printf(“%c”,m+55); / * 大于或等于10,输出相应的字符 * /

}

printf(“\n”);

}

点击查看答案
第10题
阅读(),使对工程规模有一个量的认识,判断有否有新材料使用,为采取新工艺作思想准备。

A.设备材料表

B.标注的图例

C.标题栏

D.图例符号

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改