A: 0(LOW)或1(HIGH);0-1023
B: 0(LOW)或1(HIGH);0.1023
C: 0(LOW)或1(HIGH);0或1
D: 0(LOW)或1(HIGH);0
举一反三
- 数字口的输出只有两种情况,0(LOW)或1(HIGH),我们既可以读取数字口的值,也可以给它输入一个值(0或者1)。以LED为例,通常,LED被点亮,我们给数字口1(高电压),请问此时输出的是开关量,还是模拟量? A: 开关量 B: 模拟量
- Each time a pulse is applied to the clock input of a flip-flop, its outputs change their logic state from high (logic 1) to low (logic 0) or vice versa.
- 折半查找,完善以下程序: #include main() { int a[10]={1,3,5,7,9,11,13,15,17,19},k,low,high,mid,cnt; low=0;high=9;cnt=0; printf("请输入要查找的数:"); scanf("%d",&k); while( 空1 ) { cnt++; mid=(low+high)/2; if(k == a[mid]) break; else if(k > a[mid]) 空2 空3 }
- 1或0或0或0等于( )。 A: -1 B: -0 C: 0 D: 1
- 1或0或0或0等于( )。 A: -1 B: 0 C: -0 D: 1
内容
- 0
The aphotic zone (bottom of the ocean) will have ____ and ____ while the photic zone (surface of the ocean) will have ____ and ____. A: low temperature, low salinity; high temperature, high salinity B: low temperature, high salinity; high temperature, low salinity C: high temperature, high salinity; low temperature, low salinity D: high temperature, low salinity; low temperature, high salinity E: both have equal temperature and salinity
- 1
ENUM类型的字段level定义为(LOW、MIDDLE、HIGH),ORDER BY level asc的顺序是 A: HIGH、LOW、MIDDLE B: LOW、MIDDLE、HIGH C: MIDDLE、LOW、HIGH D: HIGH、MIDDLE、LOW
- 2
当读取数字引脚时会得到两个可能的值:( )和 ( )。 A: HIGH B: LOW C: 任意值 D: 0
- 3
()函数用于向数字引脚写入HIGH或LOW值。
- 4
代码填空【使用递归实现二分查找】 int binarySearch(int a[], int key, int low, int high) { if (low > high) return -1; int mid; mid = (low + high) / 2; if (key == a[mid]) return mid; else if (key < a[mid]) return ________(1)__________; else return ________(2)______________; }