试题与答案

下列哪种仓储战略的成本最低()A、私有仓库 B、公共仓库 C、合同仓库 D、都一样

题型:单项选择题

题目:

下列哪种仓储战略的成本最低()

A、私有仓库

B、公共仓库

C、合同仓库

D、都一样

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0324/a0ddf78f471b947182f312f36887fcba.html

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

参考答案:碎纸机是由一组旋转的刀刃、纸梳和驱动马达组成的。纸张从相互咬合的刀刃中间送入,被分割成很多的细小纸片,以达到保密的目的。

试题推荐
题型:填空题
用方框内的连词填空。
both…and…     so that    so...that...    either…or…    as…as…
so…as…    neither…nor…    as soon as
1. After climbing the hill, I was ________ tired _______ I couldn't walk any more.
2. ________ this hat ________ that one is fit for you. They are too big.
3. Mr Klip bought a car ________ he could travel around.
4. ________ Alan ________ I have made the same mistakes in the physics exam.
5. ________ you do your homework here, ________ you take it home.
6. The grey jacket costs ________ much ________ the green one.
7. Miyoko gave her family a call ________ she arrived in Beijing.
8. A train journey is not ________ expensive ________ an air trip.
查看答案
题型:问答题


阅读以下说明和C语言代码,回答问题1至问题4,将解答填入对应栏内。
【说明】
在嵌入式操作系统设备管理的实现上,常使用到C语言的函数指针变量,由统一的管理函数调用不同的设备驱动程序。下面的一段C语言代码是驱动管理程序 manage_device调用4个不同设备驱动程序,但没有用到函数指针变量。
【C语言代码】
/*变量与类型说明*/
#include "stdio.h"
#include "stdlib.h"
extern int sys_status;
extern int Dev_drv1(int arg1, int arg2);
extern int Dev_drv2(int arg1, int arg2);
extern int Dev_drv3(int arg1, int arg2);
extern int Dev_drv4(int arg1, iht arg2);
#define NOERROR 0

type struct {
int _fd;
} TYP_DEV_TAB;
TYP DEV_TAB dev_tab[50]= {101,99, 80, 120,};

/*程序代码*/
void manage_device(int devid, int arg1, int arg2)
{ int place ;
int ret;
for(place=0 ; place<50 ; place++)
if dev_tab [place]. fd == devid) break;
if(place>=50)
printf(" NO DEVICE fd = %d\n ",devid);
switch(dev_tab [place]._fd) {
case 80:
ret = Dev_drv3(int arg1,int arg2);
break;
case 99:
ret = Dev_drv2(int arg1,int arg2);
break;
case 101:
ret = Dev_drv1(int arg1,int arg2);
break;
case 120:
ret = Dev_drv4(int arg1,int arg2);
break;
}
if (ret!=NOERROR)
printf(" DEVICE %d error!\n ", devid);
}

int Dev_drv1(int arg1,int arg2)
{
/*局部变量声明,略*/
/*驱动程序代码,略*/
}

int Dev_drv2(int arg1,int arg2)
{
/*局部变量声明,略*/
/*驱动程序代码,略*/
}

int Dev_drv3(int arg1,int arg2)
{
/*局部变量声明,略*/
/*驱动程序代码,略*/
}

int Dev_drv4(int arg1,int arg2)
{
/*局部变量声明,略*/
/*驱动程序代码,略*/

【问题3】
函数的参数存放在什么地址空间中说明其作用范围。将答案填入对应栏内。

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