题目内容 (请给出正确答案)
[主观题]

【填空题】下面程序段的运行结果是 。 x=2; do{printf("*");x--;}while(!x==0);

暂无答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“【填空题】下面程序段的运行结果是 。 x=2; do{pri…”相关的问题

第1题

下面程序段的功能是在输入的一批整数中求出最大者,输入0结束循环。请在下划线处填空。 int a,max=-2147483648; scanf("%d",&a); while( a ) { if ( ) max=a; scanf("%d",&a) ; } printf("%d\n",max);

</4)></4);x++,y--></=3;sum++)></0)></z)?m:z;></x)?w:x;> </0)></0)&&></3&&8<=(a=10)的结果是(></='0')></='9')||(c1></=c1)></=c1<='9'></n;></n;></m;i++)></n;i++)></n;i++)></n)></=n;i++)></=29;x++)></200);<br>

11、等差数列的第一项a=2,公差d=3,下面程序段的功能是在前n项和中,输出能被4整除的所有的和。请在下划线处填空。 int a,d,sum; a=2;d=3;sum=0; do { sum+=a ; a+=d; if ( ) printf("%d\n",sum); } while(sum<200);<br>

点击查看答案

第2题

【填空题】下列程序段运行的结果为( ) x=2; switch(x%3) { case 2: printf("Are "); case 1:printf("you "); case 0:printf("right"); default: printf("?"); }
点击查看答案

第3题

【填空题】以下程序的输出结果是( )。 main() {int x=1,y=2; printf("x=%d y=%d *sum*=%d\n",x,y,x+y); printf("10 Squared is :%d\n",10*10); }
点击查看答案

第4题

【填空题】清水进料,X2= 。
点击查看答案

第5题

【填空题】1、可控秒表(按键控制)的设计,根据电路补充程...

【填空题】1、可控秒表(按键控制)的设计,根据电路补充程序 要求: 可控秒表的设计(按键控制)S1键按下启动秒表工作,秒表每间隔1S,显示加1,当加到60时,数码管显示0,从0开始继续加1。S2键按下,秒表暂停工作,/*-------------------第一部分:预处理命令-----------------*/ <reg51.h> //包含头文件reg51.h /*--------------第二部分:定义全局变量或常量----------*/ sbit com1=P3^0; sbit com2=P3^1; unsigned char dm[]={ ,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};//共阳数码管0-9对应段码 unsigned char c1,miao=50; /*-----第三部分:函数原型申明及函数定义-----*/ void ys( ) { while(t--); } void zdcsh()//中断初始化程序的编写 { TH0=(65536- )/256;//T0定时时间为10000us TL0=(65536- )%256; //设置T0为工作方式1,定时器使用 //定时器T0中断允许 EX0=1;//外部中断0中断允许 EX1=1;//外部中断1中断允许 EA=1;//总中断允许 //外部中断0中断触发方式为边沿触发方式 //外部中断1中断触发方式为边沿触发方式 PX1=1;PX0=1;PT0=0;//外部中断1、外部中断0中断优先级高,定时器T0中断优先级低 TR0=0;//T0关闭 } void xs()//显示函数 { com1=1;com2=0;//选中1号数码管 P2=dm[ ];//显示变量miao的十位 ys(1000); //关闭显示,消影 com1=0;com2=1;//选中2号数码管 P2=dm[ ];//显示变量miao的个位 ys(1000); P2=0xff;//关闭显示,消影 } void main() { //调用中断初始化函数 while( ) { xs(); } } void tozd( ) interrupt //T0中断函数 { TH0=(65536- )/ ; TL0=(65536-10000)%256; c1++;//5万us计算器加1 if( )//1S时间到 { miao++; if( ) miao=0;//当秒计数到60,回到0 } } } void wbzd0() //外部中断0对应中断函数 { //启动定时器T0 } void wbzd1() //外部中断1对应中断函数 { TR0=0;//关闭定时器T0 }

点击查看答案

第6题

【填空题】2、设P(x):x是大象,Q(x):x是老鼠,R(x,y):x比y重,则命题“大象比老鼠重”的符号化为 。
点击查看答案

第7题

【填空题】Computer (1) is an intrusive (2) that infe...

【填空题】Computer (1) is an intrusive (2) that infects computer (3) by inserting (4) of itself in those files. The copies are usually executed when the file is loaded into (5),allowing them to (6) still other files, and so on. Viruses often have damaging side effects sometimes intentional, sometimes not--such as destroying a computer's hard (7) or taking up (8) space that could otherwise be used by program. A virus is a program, made by either a (9) or not. It is not so easy to make one, but many people know how to do it, for example, you may know that you have to know some exact computer (10) to make a computer virus.

点击查看答案

第8题

【填空题】Watch the video and fill in the blanks. Eu...

【填空题】Watch the video and fill in the blanks. Europe has 12 1 , while China has 12 animals symbolising the 12 branches used to designate years. The 12 animals finish a cycle every 12 years and each of them guards one year. Chinese believe that those who are born in a certain year would inherit the 2 of the animal guarding that year. Rats are wise and cattle are hard-working. Tigers are 3 and rabbits are prudent. Dragons are rich and 4 , and snakes are romantic. Horses are fast and sheep are sincere. Monkeys are smart and 5 , while chickens are endowed with beauty. Dogs are faithful and pigs are amiable. Do you know what your symbolic animal denoting the year of your birth?

点击查看答案

第9题

【填空题】程序运行后的输出结果是() main() { char *str[]={"AA","BB","CC"}; str[1]=str[2]; printf("%s,%s,%s\n",*str,str[1],*(str+2)); }
点击查看答案

第10题

【填空题】Task2. Listen to the following dialogues a...

【填空题】Task2. Listen to the following dialogues and fill in the blanks. Chris Gardner:I’ve been sitting there for last half-hour trying to come up with a story that would explain my being here dressed like this. And I wanted to come up with a story that would 1. _________qualities that I’m sure you all admire here, like earnestness or 2. __________. Team-playing, something. And I couldn't think of anything. So the truth is...I was arrested for failure to pay parking tickets. Jay Twistle:parking 3. ________? Chris Gardner:And I ran all the way here from the Polk Station, the police station. Mr. Frohm:Jay? Jay Twistle:Yes, sir. Mr. Frohm:How many times have you seen Chris? Jay Twistle:I don’t know. One too many, apparently. Mr. Frohm:Was he ever dressed like this? Jay Twistle:No. No. Jacket and tie. Chris Gardner:Can I say something? I’m the type of person if you ask me a question, and I don't know the answer I’m gonna tell you that I don’t know. But I bet you what. I know how to find the answer, and I will find the answer. Is that 4. _______ enough? Mr. Frohm:Chris, what would you say if a guy walked in for 5. _______without a shirt on and I hired him? What would you say? Chris Gardner:He must’ve had on some really nice pants.

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信