阶段测试一(01-05)
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
主观题
第 1 题 在C++中,下列不可做变量的是( )。
{{ select(1) }}
- five_star
- fiveStar
- _fiveStar
- five-Star
第 2 题 C++表达式 3 - 3 * 3 / 5 的值是( )。 {{ select(2) }}
- 2
- -1.2
- 1
- 0
第 3 题 下面关于整型变量int x的赋值语句不正确是( )。 {{ select(3) }}
- x=3.16 int;
- x=(3.16);
- x=3.16;
- x=int(3.16);
第 4 题 在C++中,假设N为正整数10,则 cout <<(N / 3 + N % 3) 将输出( )。 {{ select(4) }}
- 4
- 6
- 4.3
- 2
第 5 题 在C++中,假设N为正整数,则表达式 cout << (N % 3 + N % 7) 可能输出的最大值是( )。 {{ select(5) }}
- 6
- 9
- 8
- 10
华业C++一班 阶段测试(01-05)
- Status
- Done
- Rule
- IOI
- Problem
- 3
- Start at
- 2024-11-7 18:00
- End at
- 2024-11-7 21:00
- Duration
- 1 hour(s)
- Host
- Partic.
- 4