题目内容

管理信息系统的层次的功能是【 】、控制组织行为、帮助组织实现目标。

查看答案
更多问题

阅读以下说明和C++程序,将应填入(n)处的字句写在对应栏内。
【说明】
设计希赛IT教育研发中心的工资管理系统,该中心主要有3类人员:经理、销售员和销售经理。要求存储这些人员的编号、姓名和月工资,计算月工资并显示全部信息。月工资计算办法是:经理拿固定月薪8000元;销售员拿固定工资1000元,然后再按当月销售额的4%提成;销售经理既拿固定月工资也领取销售提成,固定月工资为5000元,销售提成为所管辖部门当月销售总额的5‰。
按要求设计一个基类employee,销售员类salesman,经理类manager,销售经理类 salesmanager。
程序5-1是类employee的模块内容,程序5-2是类salesman的类模块内容,程序5-3是类manager的模块内容,程序5-4是类salesmanager的模块内容。在主测试程序中,输入张三所管部门月销售量10000后的输出结果如下:
张三所管部门月销售量:10000
销售经理:张三
编号:1001
本月工资:5050
include <iostream.h>
include <string.h>
class employee
{
protected:
int no;
char *name;
float salary;
public:
employee(int num,char *ch)
{ no=num;
name=ch;
salary=0; }
virtual void pay()=0;
virtual void display()
{ cout<<"编号:"<<no<<endl;
cout<<"本月工资:"<<salary<<endl; }
};
【程序5-2】
class salesman: (1)
{
protected:
float commrate, sales;
public:
salesman(int num,char *ch):employee(num,ch)
{ commrate=0.04; }
void pay()
{ cout<<name<<"本月销售额:";
cin>>saies;
salary=sales*commrate+1000; }
void display()
{ cout<<"销售员:"<<name<<endl;
employee::display(); }
};
【程序5-3】
class manager: (1)
{
protected:
float monthpay;
public:
manager(int num,char *ch):employee(num,ch)
{ monthpay=8000; }
void pay()
{ salary=monthpay; }
void display()
{ cout<<"经理:"<<name<<endl;
employee::display(); }
};
【程序5-4】
class salesmanager: (2)
{
public:
salesmanager(int num,char *ch): (3)
{ monthpay=5000;
commrate=0.005;}
void pay()
{ cout<<name<<"所管部门月销售量:";
cin>>sales;
(4) }
void display()
{ cout<<"销售经理:"<<name<<endl;
(5) }
};
void main() //主测试函数
{ salesmanager p1 (1001,"张三");
p1.pay();
p1.display();
}

阅读以下函数说明和C语言函数,将应填入(n)处的字句写在对应栏内。
【说明】
有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数。
【函数】
main()
{
int number[20],n,m,i;
printf("the total numbers is:");
scanf("%d",&n);
printf("back m:");
scanf("%d",&m);
for(i=0;i<=n-1;i)
scanf("%d,",&number[i]);
(1);
for(i=0;i<=n-1;i)
printf("%d,",number[i]);
}
move(array,n,m)
int n,m,array[20];
{
int *p,array_end;
array_end=(2);
for(p=array[n-1];(3);p--)
*p=(4);
*array=array_end;
m--;
if(m>0) (5);
}

以下程序的功能是:借助指针变量找出数组元素中的最大值及其元素的下标值。请填空。
inculde <stdio.h>
main()
{ int a[10],*p,*s;
For(p=a;p-a<10;p++) scanF(“%d”,p)
For(p=a;s+a;p-a<10;p++) iF(*p>*s)s=【 】;
printF(“index=%d\n”,s-a);
}

A—trade preference B—technical barriers to trade
C—state trading D—Schedules of concessions
E—Regional trade F—pre-shipment inspection
G—customs valuation H—bar code
I—blue box policies J—bound tariff rates
K—Cairns Group L—effective rate of protection
M—special and differential treatment N—peace clause
O—mid-term review P—cultural exception
51. () 贸易优先 () 国有贸易
52. () 蓝箱政策 () 区域贸易
53. () 和平条款 () 中期审议
54. () 装船前检验 () 海关估价
55. () 凯恩斯集团 () 文化例外

答案查题题库