题库 第6461页
使用random模块的函数randint(1, 100)获取随机数时,有可能会得到100。
使用random模块的函数randint(1, 100)获取随机数时,有可能会得到100。 ~@[](2)答案:TRUE…
To implement a binomial queue, left-child-next-sibling structure
To implement a binomial queue, left-child-next-sibling structure is used to represent each binomial tree. ~@[](1)答案:TRUE…
break statement can be only used in loop body.
break statement can be only used in loop body. ~@[](1)答案:FALSE…
In nested loop, a break statement only could exit to next layer.
In nested loop, a break statement only could exit to next layer. ~@[](1)答案:TRUE…
Commonly, in nested loop, different loop variables will be used
Commonly, in nested loop, different loop variables will be used in different loops to avoid disturbing each other. ~@[]…
Using break statement in inner loop, it could exit the inner loo
Using break statement in inner loop, it could exit the inner loop within the iteration of the outer loop. That means it…
**Point p = new Point** is uses the correct syntax to
**Point p = new Point** is uses the correct syntax to instantiate a class. 分值为3分。 ~@[](3)答案:FALSE…
`protected` member can be visited by extended class only.
`protected` member can be visited by extended class only. ~@[](1)答案:FALSE…
以下叙述是正确的。
以下叙述是正确的。 函数内部定义的变量(静态变量、寄存器变量等特殊变量除外)的内存在栈空间中,所以在定义函数内部的变量的时候一定要栈不能够溢出。如果临时变量占用的空间较大,应该使用内存申请的方式,这样该变量指向的内存就在堆内存中了。 ~…
C语言在函数调用时,若形参实参都是普通变量,实参和形参可以共用存储单元。
C语言在函数调用时,若形参实参都是普通变量,实参和形参可以共用存储单元。 ~@[](2) 答案:FALSE…