皮皮学,免费搜题
登录
搜题
【简答题】
下面程序运行时输出结果的第 2 行是 # include int main( ) {int a[20]={0},b[]={7,2,5,3,6,9,-1},m,i=0;; While (b[i]>-1) {m=b[i]; a[m]++; i++; } for(m=0,i=0;i<20;i++) while(a[i]) {m++; (m%3==0?printf(“%2d\n”,i):printf(“%2d”,i); a[i] -- ; } return 0; }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】If we reset a clearing document it becomes ( ).
A.
Open item
B.
Cleared item
C.
Partial item
D.
Reversed item
【简答题】What should you do if the display is showing the sign“:”? Reset ______.
【多选题】Which of the following will reset the BIOS settings?() (Select TWO).
A.
Unplug the CMOS battery.
B.
Unplug the power supply.
C.
Switch on the reset jumper.
D.
Replace the RAM.
E.
Unplug the CPU.
【单选题】What command is used to reset a database to a previous incarnation?()
A.
reset incarnation
B.
incarnation reset
C.
reset database to incarnation
D.
reset database incarnation
E.
reset databse incarnation number
【单选题】What is the condition of MCU reset?
A.
there is a high level above 1 machine cycle on the reset pin
B.
there is a high level on the reset pin with more than 2 machine cycles
C.
there is a low level above 1 machine cycle on the reset pin
D.
reset the low level on the pin with more than 2 machine cycles
【单选题】If we reset and reverse a clearing document,it becomes ( ).
A.
Cleared item
B.
Reversed item
C.
Open item
D.
Partial item
【多选题】关于以下测试程序,其说法正确的是:`timescale 1ns / 1psmodule cout_tp;reg clk,reset;wire [7:0] out;count u0(.clk(clk),.reset(reset),.out(out) );initial begin clk=0;reset=0;#4reset=1;#4reset=0;#100 reset=1;#4reset=0;end...
A.
该程序时间的基准单位是 1ns, 时间的精度是 1ps
B.
count 是模块名; u0 是例化名
C.
测试程序中,时钟的频率为 500MHz
D.
被测模块中 clk 和 reset 是输出信号
【简答题】功能复位(reset function)
【简答题】RESET信号来到后,CPU状态有哪些特点?
【简答题】____ A.'accept'和'set' B.'submit'和'set” C.'accept'和'reset' D.'submit'和'reset' A. B. C. D.
相关题目: