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
Sdílet
Sdílet
podle
Epssabangan
G8
Computer Programming
Creative Technologies
ICT
Computer Programming Basics - Text-Based
Upravit obsah
Tisk
Vložit
Více
Přiřazení
Výsledková tabule/Žebříček
Zobrazit více
Zobrazit méně
Tento žebříček je v současné době soukromý. Klikněte na
Share
chcete-li jej zveřejnit.
Tuto výsledkovou tabuli vypnul majitel zdroje.
Tento žebříček je zakázán, protože vaše možnosti jsou jiné než možnosti vlastníka zdroje.
Možnosti vrácení
Pravda nebo lež
je otevřená šablona. Negeneruje skóre pro žebříček.
Vyžaduje se přihlášení.
Vizuální styl
Fonty
Je vyžadováno předplatné
Možnosti
Přepnout šablonu
Zobrazit vše
Otevřené výsledky
Kopírovat odkaz
QR kód
Odstranit
Obnovit automatické uložení:
?