logo

Crowdly

Browser

Add to Chrome

COMPX101-25A (HAM) - Introduction to Programming

Looking for COMPX101-25A (HAM) - Introduction to Programming test answers and solutions? Browse our comprehensive collection of verified answers for COMPX101-25A (HAM) - Introduction to Programming at elearn.waikato.ac.nz.

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

What is the size in bits of the Color datatype in C#?

❌
❌
❌
✅
View this question

What is displayed in the MessageBox window if the following code is executed?

int grade = 72;

if (grade >=80)

{

MessageBox.Show("A");

}

else if (grade >=70)

{

MessageBox.Show("B");

}

else if (grade >=60)

{

MessageBox.Show("C");

}

else if (grade >=50)

{

MessageBox.Show("D");

}

else

{

MessageBox.Show("F");

}
0%
0%
0%
0%
View this question

What value does integer x have after the statement "x = 2 + 12 / (3 +3 )"?

0%
0%
0%
0%
View this question

What is displayed in the MessageBox window if the following code is executed?

int temp = 90;

if (!(temp > 90))

{

MessageBox.Show("cold");

}

else

{

MessageBox.Show("hot");

}
❌
❌
❌
✅
View this question

What value does string s have after these statements:

string a="10"; 

int b=10;

string s = a + b.ToString();
❌
❌
✅
❌
View this question

Which is the expression that means “size is equal to width or size is equal to height” in C#?

✅
❌
❌
❌
View this question

Which is an illogical expression?

0%
0%
0%
0%
View this question

The integer variable y has value 4.  What of the following statements could not have caused this?

❌
❌
❌
✅
View this question

Want instant access to all verified answers on elearn.waikato.ac.nz?

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

Browser

Add to Chrome