A. GESP0级模拟选择题

    客观题

GESP0级模拟选择题

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。


  1. 下面 C++ 代码运行后,输出的结果是多少?
#include <iostream>
using namespace std;
int main() {
    cout << 18 / 3;
    return 0;
}

{{ select(1) }}

  • 4
  • 5
  • 6
  • 9

  1. 小明有 32 颗糖,分给 4 个朋友,下面代码计算每人分几颗,输出是多少?
#include <iostream>
using namespace std;
int main() {
    int total = 32;
    int friends = 4;
    cout << total / friends;
    return 0;
}

{{ select(2) }}

  • 6
  • 7
  • 8
  • 9

  1. 一个正方形边长是 7 厘米,下面代码计算周长,输出是多少?
#include <iostream>
using namespace std;
int main() {
    int side = 7;
    cout << side * 4;
    return 0;
}

{{ select(3) }}

  • 14
  • 21
  • 28
  • 35

  1. 下面代码输出的结果是多少?
#include <iostream>
using namespace std;
int main() {
    cout << 5 * 6 + 4;
    return 0;
}

{{ select(4) }}

  • 30
  • 34
  • 40
  • 56

  1. 一箱苹果重 18 千克,卖出一半,下面代码计算剩下多少千克,输出是多少?
#include <iostream>
using namespace std;
int main() {
    int weight = 18;
    cout << weight / 2;
    return 0;
}

{{ select(5) }}

  • 6
  • 8
  • 9
  • 12

  1. 观察下面代码,最后输出的结果是?
#include <iostream>
using namespace std;
int main() {
    int a = 1, b = 2, c;
    c = a;
    a = b;
    b = c;
    cout << a << " " << b;
    return 0;
}

{{ select(6) }}

  • 1 2
  • 2 2
  • 1 1
  • 2 1

  1. 要让下面代码输出 8,□ 中应填什么数字?
#include <iostream>
using namespace std;
int main() {
    cout << 56 / □ ;
    return 0;
}

{{ select(7) }}

  • 6
  • 7
  • 8
  • 9

  1. 小华早上 8:20 出发,走路 25 分钟到校。下面代码模拟时间,输出是什么?
#include <iostream>
using namespace std;
int main() {
    cout << "8:" << (20 + 25);
    return 0;
}

{{ select(8) }}

  • 8:40
  • 8:45
  • 8:50
  • 8:65

  1. 下面代码计算长方形周长(长=9,宽=5),输出是多少?
#include <iostream>
using namespace std;
int main() {
    int length = 9, width = 5;
    cout << (length + width) * 2;
    return 0;
}

{{ select(9) }}

  • 14
  • 28
  • 36
  • 45

  1. 下面代码输出的结果是多少?
#include <iostream>
using namespace std;
int main() {
    int a = 100;
    int b = a - 37;
    cout << b;
    return 0;
}

{{ select(10) }}

  • 53
  • 63
  • 73
  • 83

  1. P、Q表示数,P&Q表示(P+Q)÷2,求3&(6&8)=( ),下列输出的答案哪个是正确的。

{{ select(11) }}

  • cout << 4;
    
  • cout << 5;
    
  • cout << 6;
    
  • cout << 7;
    

  1. 3 元 6 角 + 2 元 7 角等于多少?下面代码计算(单位:角),输出格式为“X元Y角”,结果是?
#include <iostream>
using namespace std;
int main() {
    int total = 36 + 27; // 角
    cout << total / 10 << "元" << total % 10 << "角";
    return 0;
}

{{ select(12) }}

  • 5元3角
  • 5元13角
  • 6元3角
  • 6元1角

  1. 下面代码输出多少?
#include <iostream>
using namespace std;
int main() {
    cout << 9 * 7;
    return 0;
}

{{ select(13) }}

  • 63
  • 64
  • 72
  • 81

  1. 根据条件判断旅游团去了A、B、C、D、E中的哪几个地方? (1)如果去A,就必须去B; (2)D,E两地至少去一地; (3)B,C两地只能去一地; (4)C,E两地要去都去,要不去都不去; (5)若去D,则A,E两地必须去。 下面选项正确的是?

{{ select(14) }}

  • B、D、E
  • C、E
  • C、D、E
  • A、B、D

  1. 从上午 10:00 到下午 1:00,经过几小时?下面代码计算:
#include <iostream>
using namespace std;
int main() {
    cout << 13 - 10; // 下午1点是13点
    return 0;
}

{{ select(15) }}

  • 2
  • 3
  • 4
  • 5

  1. 一盒蜡笔有 12 支,买了 4 盒,下面代码计算总数,输出是多少?
#include <iostream>
using namespace std;
int main() {
    cout << 12 * 4;
    return 0;
}

{{ select(16) }}

  • 36
  • 40
  • 44
  • 48

  1. 下面哪句话能用这段代码表示?
cout << "1000克=1千克";

{{ select(17) }}

  • 1 千克比 1000 克重
  • 1000 克等于 1 千克
  • 1 米等于 100 厘米
  • 1 小时等于 60 秒

  1. 23 个苹果,每袋装 5 个,至少需要几袋?下面代码计算:
#include <iostream>
using namespace std;
int main() {
    int apples = 23;
    int bags = apples / 5;
    if (apples % 5 != 0) {
        bags = bags + 1;
    }
    cout << bags;
    return 0;
}

{{ select(18) }}

  • 4
  • 5
  • 6
  • 7

  1. 下面哪段代码输出 48?

{{ select(19) }}

  • cout << 6 * 8;
    
  • cout << 50 - 3;
    
  • cout << 40 + 18;
    
  • cout << 96 / 3;
    

  1. 用 32 厘米铁丝围成正方形,边长是多少?下面代码计算:
#include <iostream>
using namespace std;
int main() {
    cout << 32 / 4;
    return 0;
}

{{ select(20) }}

  • 6
  • 7
  • 8
  • 9

  1. 下面哪些代码输出的是偶数?

{{ multiselect(21) }}

  • cout << 14;
    
  • cout << 25;
    
  • cout << 33;
    
  • cout << 40;
    

  1. 下面哪些代码输出的是长度单位?

{{ multiselect(22) }}

  • cout << "5米";
    
  • cout << "3千克";
    
  • cout << "80厘米";
    
  • cout << "200克";
    

  1. 下面哪些图形一定有直角?

{{ multiselect(23) }}

  • 正方形
  • 圆形
  • 长方形
  • 普通三角形

  1. 下面哪些月份有 31 天?

{{ multiselect(24) }}

  • 四月
  • 五月
  • 六月
  • 八月

  1. 下面哪些算式结果大于 60?

{{ multiselect(25) }}

  • cout << 25 + 36;
    
  • cout << 100 - 39;
    
  • cout << 8 * 8;
    
  • cout << 70 / 2;
    

  1. 下面代码输出 0 吗?
#include <iostream>
using namespace std;
int main() {
    cout << 0 * 123;
    return 0;
}

{{ select(26) }}

  • 正确
  • 错误

  1. 下面代码是否说明“正方形是特殊的长方形”?
cout << "正方形有四个直角和对边相等";

{{ select(27) }}

  • 正确
  • 错误

  1. 两个相同的数相减,结果一定是 0。下面代码验证:
#include <iostream>
using namespace std;
int main() {
    int x = 50;
    cout << x - x;
    return 0;
}

{{ select(28) }}

  • 正确
  • 错误

  1. 1 千米 = 1000 米,比 200 米长。下面代码输出 1(表示 true)吗?
#include <iostream>
using namespace std;
int main() {
    cout << (1000 > 200);
    return 0;
}

{{ select(29) }}

  • 正确
  • 错误

  1. 在除法中,余数一定比除数小。下面代码是否体现这一点?
#include <iostream>
using namespace std;
int main() {
    int r = 14 % 4; // r = 2
    int d = 4;
    if (r < d) {
        cout << "Yes";
    }
    return 0;
}

{{ select(30) }}

  • 正确
  • 错误

GESP零级模拟测试

未参加
状态
已结束
规则
乐多
题目
3
开始于
2025-11-22 0:00
结束于
2025-11-22 20:00
持续时间
20 小时
主持人
参赛人数
57