True, The program displays 95 because the variable score is updated before it is displayed., Changing the quantity from 3 to 5 will change the value of total to 250 when the program is run again., The variable temperature demonstrates that a variable can store a value and later be updated during program execution., If hours are changed from 4 to 6, the output becomes 600, assuming rate remains 100., The output is 200 because the total is recalculated after items changes from 5 to 10., Changing the height from 5 to 10 and recalculating the area causes the output to change from 30 to 60., Using double for price and total is appropriate because the price can contain a decimal value., The four variables use appropriate data types because the values represent text, a whole number, a decimal number, and a true/false condition, respectively., False, The program is guaranteed to display 0 because an int variable automatically receives a value of zero when it is declared inside main()., The program displays 25 because y automatically changes whenever the value of x changes., Changing the length to 20 causes the program to automatically display 100, because the area depends on the length., The output is 100 because changing the bonus from 10 to 20 automatically changes the previously calculated finalScore., The declaration of average is inappropriate because an int should be used for every numerical value in C++., The program is guaranteed to display 2.5 because result is declared as a double., The declaration is appropriate because an int can accurately store the decimal value 12.75.
0%
D' C++ Programming: Variables and Data Types (TRUE OR FALSE) Activity
共享
共享
由
Epssabangan
G8
Computer Programming
Creative Technologies
ICT
Computer Programming Basics - Text-Based
编辑内容
保存
喜欢
打印
嵌入
更多
需要登录
视觉风格
显示所有
字体
活动设置
排行榜
作业
需要订阅
活动设置
排行榜
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
显示更多
显示更少
真假游戏
是一个开放式模板。它不会为排行榜生成分数。
作业
您尚未与学生分享任何活动。
要开始收集结果,请转到任何活动页面,然后选择
Set assignment(设置分配
)。
确认您的设置并与学生共享生成的链接。
设置作业
更像是这样
Reading numbers
由
Mskiffington
随机轮盘
4
Numbers up to 50 - true or false
由
Claudia432
问答游戏
3
Objects and numbers- Math 2nd grade
由
Asoto3
匹配游戏
4
4B Ch.4 Talking about amounts
由
Engwordwallp4
飞机游戏
5
QUANTIFIERS - Practice
由
Ludmilamph
随堂测验
3
W9 - Math - game - Grade 2
由
Selflearningprogram
随堂测验
2
W9 - Math - game - Grade 3
由
Selflearningprogram
随堂测验
2
Math Game Y1
由
Educationbangkok
随堂测验
2
切换模板
显示所有
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?