1) Which of the following is an efficient way of holding more than one item of data of the same data type in a program? a) A variable b) A constant c) An array d) A subroutine 2) Erin wishes to store her last four 100 metre sprint times in an array. What data type should the array sotre? a) String b) Boolean c) Float d) Integer 3) What is an input ( select al correct answers.) a) gives an output b) gives back the statement given c) opposite to output d) accepts data from the user 4) What will be the result of running the code in the picture? a) 1 b) 3 c) 6 d) 8 5) Which of the following special characters are used when creating an array? a) : : b) { } c) [ ] d) ( ) 6) What is the length of the array [2, -5, 8, -15, 10] a) 5 b) 4 c) 13 d) 9 7) What is an Array a) a data structure that allows you to hold a value, all the same type, with one name b) a data structure that allows you to hold several values, all have different types, with one name c) a data structure that allows you to hold several values, all the same type, with one name d) a data structure that allows you to hold several values, all the same type, with multiple names 8) What would the following array calls would return "x" from the following array: letters = [["y", "w"], ["x", "z"], ["a", "b"]] a) letters[1][0] b) letters[2][1] c) lettersy[2][0] d) letters[1][1]
0%
GCSE.Unit2.Arrays
共享
共享
共享
由
Mrszhong
KS4
Y9
Y10
Y11
Computing
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?