An element in the WBS was estimated to require 1 month for completion with 1000 hours of labor and a burdened cost of $50K. The task was completed in 1000 hours but a burdened cost of $60K. The most likely reason for the increase would be:
A . Higher salaried employees were assigned.
B . Overtime was required.
C . The overhead rate increased.
D . Employee salaries had increased.
E . Any of the above
第1题:
在下面程序的横线处填上适当的内容,使程序执行后的输出结果为1/2005。
include <iostream.h>
using namespace std:
class Date
public:
Date (int m=1,int y=0):month(m .year(y}{}
void Print() {cout<<month<<"/"<<year<<end1;}
______operator+(const Date& d1,const Date&d2;
private:
int month year;
};
______operaror+(const Date&d1,const Date& d2)
int year, month;
year=d1.year+d2.year;
month=d1.month+d2.month;
year+=(month-1)/12;
month=(month-1)%12+l;
return Date{month, year}:
}
void main()
{
Date d1(3,2004),d2,d3(10);
d2=d3+d1;
d2.Print();
}
第2题:
在下向程序和横线处填上适当的内容,使程序执行后的输出结果为1/2005。
include <iostream>
using namespace std;
class Date
{
public:
Date(int m=1,int y=0):month(m),year(y){}
void Print() {cout<<month<<"/"<<year<<end 1; }
【 】 operator+(eonst Date& d1, const Date& d2);
private:
int month,year;
};
【 】 operator+(const Date& d1, const Date& d2)
{
int year,month;
year=d1.year+d2.year;
month=d1. month+d2.month;
year+=(month-1 )/12;
month=(month-1 )% 12+1;
return Date(month,year);
}
void main()
Date d1 (3,2004),d2,d3(10);
d2=d3+d1;
d2,Print();
}
第3题:
(单选)已知一个顺序存储的循环队列Q定义如下: #define MAXSIZE 50 typedef struct { QueueElementType element[MAXSIZE]; int front; //队头指示器 int rear; //队尾指示器 }SeqQueue; 则该非空队列取队头元素操作的语句是() A. Q->element[0]; B. Q->element[1]; C. Q->element[Q->front]; D. Q->element[Q->rear];
第4题:
有以下程序 #include<iostream> using namespace std; static int days []={31,28,31,30,31,30,3l,31,30,31,30,31}; class date { private: int month,day,year; public: date(int m,int d,int y) { month=m; day=d; year=y; } date() {} void disp() { cout<<year<<"-"<<month<<"-"<<day<<end1; } date operator+(int day) { date dt=*this; day+=dt.day; while(day>days[dt.month-1]) { day-=days[dt.month-1]; if(++dt.month==13) { dt.month=1; dt.year++; } } dt.day=day; retrn dt; } }; int main() { date d1(6,20,2004),d2; d2=d1+20; d2.disp(); return 0; } 执行后的输出结果是
A.2004-7-10
B.2004-6-20
C.2004-7-20
D.程序编译时出错
第5题:
第6题:
若有以下定义,则对变量student1中“生日”的正确赋值方式是()。 struct student { int num; char name[20], sex; struct { int year, month, day; } birthday; } ; struct student student1;
A.student1.birthday.year = 2003; student1.birthday.month = 5; student1.birthday.day = 1;#B.year = 2003; month = 5; day = 1;#C.birthday.year = 2003; birthday.month = 5; birthday.day = 1;#D.student1.year = 2003; student1.month = 5; student1.day = 1;