测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

PROBLEM SET

题库

按难度与知识点筛选,找到适合的练习题。

共 67434 题
重置

题目列表

共 67434 题
A52127 阅读程序写结果。#include<iostream>using namespace std;int main() { int i,n; cin >>n; for(i=n; i>1; i--) { cout<< i; } return 0;}输入: 5输出:______ 电子学会-C-L1 -- 容易 -- A52128 结构化程序设计的三种基本逻辑结构是( )。 电子学会-C-L1 -- 容易 -- A52129 阅读程序写结果。#include<iostream>using namespace std;int main() { int i; for(i=1; i<=5; i++) { cout << "*"; } cout << i << endl; return 0;}输出:______ 电子学会-C-L1 -- 容易 -- A52130 变量 i 的初值为0,在下列语句中,每执行一次能使变量 i 的值在 1 、0两数值上交替出现的是( )。 电子学会-C-L1 -- 容易 -- A52131 阅读程序写结果。#include<iostream>using namespace std;int main() { int day,month,year,sum,leap; cin >>year>>month>>day; switch(month) { case 1: sum=0; break; case 2: sum=31; break; case 3: sum=59; break; cas… 电子学会-C-L1 -- 容易 -- A52132 Windows是一种( )。 电子学会-C-L1 -- 容易 -- A52133 下面信息使用时,一般情况下定义为字符串strin类型的是( )。 电子学会-C-L1 -- 容易 -- A52134 阅读程序写结果。#include<iostream>using namespace std;int main() { int x; cin >>x; if(x==10){ x++; }else{ x--; } cout <<"x=" << x << endl; return 0;}输入: 10输出:_______ 电子学会-C-L1 -- 容易 -- A52135 下列中合法的关系表达式是( )。 电子学会-C-L1 -- 容易 -- A52136 阅读程序写结果。#include<iostream>using namespace std;int main() { int x; cin >>x; if(x>100){ x-=10; } cout <<x; return 0;}输入: 110输出:______ 电子学会-C-L1 -- 容易 -- A52137 下列表达式的值为“真”的是( )。 电子学会-C-L1 -- 容易 -- A52138 阅读程序写结果。#include<iostream>using namespace std;int main() { char ch; int n; cin >>ch; n=ch; cout << ch << " " << n << endl; return 0;}输入:A输出:______ 电子学会-C-L1 -- 容易 -- A52139 为了显示本国的语言,不同的国家和地区制定了不同的标准,扩充了( ),如GB_2312字符集是目前最常用的汉字编码标准。 电子学会-C-L1 -- 容易 -- A52140 C++中,315%2的运算结果是( )。 电子学会-C-L1 -- 容易 -- A52141 阅读程序写结果#include<iostream>using namespace std;int main(){ int ans; float n; cin >>n; n*=100; n+=0.5; ans=n; cout <<"结果s是:" <<ans << endl; return 0;}输入:0.628输出:________ 电子学会-C-L1 -- 容易 -- A52142 阅读程序写结果。#include<iostream>using namespace std;int main(){ int s,a,b,c; cin >>s>>a>>b>>c; s-=a; s-=b; s-=c; cout <<"结果s是:" <<s << endl; return 0;}输入:200 10 20 30输出:________ 电子学会-C-L1 -- 容易 -- A52143 为了让计算机完成一个完整的任务而编写的一串之旅序列成为( )。 电子学会-C-L1 -- 容易 -- A52144 阅读程序写结果。#include<iostream>using namespace std;int main(){ int a,b; a = 100; b = 200; a = b - a; b -= a; a+=b; cout << "a=" << a << ",b=" << b <<endl; return 0;} 输出的结果是:_____ 电子学会-C-L1 -- 容易 -- A52145 下列计算机设备中,属于存储设备的是( )。 电子学会-C-L1 -- 容易 -- A52146 阅读程序写结果。#include<iostream>using namespace std;int main(){ int a,b,c,s; s = 0; a = 7; b = 8; c = 3; s = s + a; s = s + b; s = s + c; cout << "s=" << s <<endl; return 0;} 输出的结果是:_____ 电子学会-C-L1 -- 容易 --