logo

Crowdly

Browser

Add to Chrome

1142南山高中資訊科技3

Looking for 1142南山高中資訊科技3 test answers and solutions? Browse our comprehensive collection of verified answers for 1142南山高中資訊科技3 at 103.226.213.97.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

執行下列程式碼後,p 值為何?

p = 0;

while (p < 5)

     p++;

0%
0%
0%
View this question

執行下列敘述後,sum = ?

sum = 0;

for (i=1; i<=10; i++)

     sum = sum + i;

0%
0%
0%
View this question

執行下列敘述後,sum = ?

sum = 0;

for (i=1; i<=10; i = i + 3)

    sum = sum + i;

0%
0%
0%
View this question

要判斷 n 為奇偶數時,下列敘述的空格內應填入下列何者?

if (               )

    cout << "奇數" << endl;

else

     cout << "偶數";

0%
0%
0%
View this question

若以下方框內均為 C/C++ 程式碼,執行下列程式片段後,a + b = ?

int a = 3, b = 6;

a = b;

b = a;

0%
0%
0%
View this question

若 a = 2, b = 5,則 C/C++ 運算式 b / a 之值為何?

0%
0%
0%
View this question

下列何者不是 C/C++ 正確的敘述?

0%
0%
0%
View this question

若 x = 5, y = 4, z = 3,執行下列敘述後,z 值為何?

if (x >= y)

     z = x - y;

else

     z = y - x;

0%
0%
0%
View this question

若 a = 3, b = 3, c = 6,下列那一個不是 C/C++ 正確的關係運算式?

0%
0%
0%
View this question

敘述 a = 5; a++; 執行後,a 的值為何?

0%
0%
0%
View this question

Want instant access to all verified answers on 103.226.213.97?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome