阅读以下说明和C++程序,将应填入(n)处的字句写在对应栏内。【说明】下面程序的功能

题型:问答题

问题:


阅读以下说明和C++程序,将应填入(n)处的字句写在对应栏内。
【说明】
下面程序的功能是计算并输出某年某月的天数,函数IsLeap Year()能够判断是否是闰年。
【C++程序】
# include < iostream >
using namespace std;
(1) Month {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec };
class Date {
public:
Date( int year, Month m_ month) {
this→year = year;
if( (2) ) month: Jan;
else month = m_ month;
};
~Date(){};
bool IsLeap Year( ) {
return ((year%4= =0 &&year% 100 ! =0)|| year%400= =0);
};
int CaculateDays( ) {
switch(m_month ) {
case (3) ;{
if (4) return 29;
else return 28;
}
case Jan: case Mar: case May: case Jul: case Aug: case Oct: case Dec: return 31;
case Apr: case Jun: case Sop: case Nov: return 30;
}
}
private:
int year;
Month month;
};
void main( ) {
Date day(2000,Feb);
cout < <day. (5) ( );
}

考点:计算机软件水平考试初级程序员程序员
题型:问答题

2的5倍、50倍、500倍分别是(    )、(    )、(    )。

题型:问答题

用括号中所给单词的适当形式填空.

1. That music sounds very __   __ (relax) to me.

2. —Where is Jim?

    —He __   __ (lie) on the floor.

3. Thank you for __   __ (take) photos for me.

4. Look! There are a group of boys __   __ (play) beach volleyball there.  

5. You can't leave now. It __   __ (rain) outside.

题型:问答题

简述蛹的类型有哪些,各举例说明。

题型:问答题

起升速度是指起升机构电动机在额定转速下()的速度。

A.大小车上升;

B.小车下降;

C.取物装置上升;

D.以上都不对。

题型:问答题

《中华人民共和国义务教育法》规定,具体负责义务教育实施工作的是()。

A.乡镇以上人民政府教育行政部门

B.县级以上人民政府教育行政部门

C.市级以上人民政府教育行政部门

D.省级以上人民政府教育行政部门

更多题库