1) Select the option that can only be an example of the string data type. a) True b) 5.1 c) 5 d) "Five" 2) Select the option that can only be an example of the integer data type. a) Five b) 5 c) 5.1 d) False 3) A program needs to store the number of books a student borrows from a library. Which of the following is the correct data type? a) STRING b) BOOLEAN c) INTEGER d) REAL 4) Which of the following statements correctly assigns the value 35 to a variable named Age? a) age = 35 b) age TO 35 c) Age ← 35 d) All of the above 5) Assume score= 35 a) Pass b) Fail c) Error d) Nothing 6) Which of the following contains an error in variable declaration? a) DECLARE Age : INTEGER b) DECLARE Name : STRING c) DECLARE Temperature : BOOLEAN d) DECLARE Price : REAL 7) What will be the value of result after this pseudocode runs? a) High b) Low c) 10 d) X>5 8) Which of the following pseudocode examples contains a logical error? a) b) c) d) DECLARE Price:REAL 9) What is the value of the variable number once the code has finished executing? a) 5 b) 10 c) 8 d) 9
0%
Pseudocode basics quiz
共享
共享
共享
由
Srschooltechtoo
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?