Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

D Question 26 1 pts Both the && and I I which CP expression on the right side of

ID: 3911518 • Letter: D

Question

D Question 26 1 pts Both the && and I I which CP expression on the right side of the operator depending on the value of the expression on the left side of the operator. operators perform in which CPU time is saved by not checking the O logical optimization short-circuit evaluation O cycle-branching O single-stage execution 1 pts D | Question 27 Theoperator is the logical NOT operator, which is a unary operator that takes a Boolean expression as its operand and reverses its logical value.

Explanation / Answer

Question 26
----------------
Answer - short-circuit evalution
------------------------------------------

Both the && and || operators perform short-circuit evalution
in which CPU time is saved by not checking the expression on the
right side of the operator depending on the value of the expression
on the left side of the operator.

-----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Question 27
--------------------
Answer - !
-------------------------

The ! operator is the logical NOT operator,which is the unary operator
that takes a boolean expression as its operand and reverses its logical
value.

-------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------
Question 28
-------------------------
Answer - bool
----------------------------

The C# language provides the bool data type that you can use to create
variables that hold true or false values..

Example--

bool b = true;

-------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
Question 29
-----------------------------------
Answer - String.Compare
------------------------------------

The String.Compare method can be used to determine whether one string is
greater than or less than another string.

This method compares two string values and returns an integer value.

Return value is

Less than zero - when first string is less then second

Zero - when both strings are equal

Greater than zero - when first string is greater then second

Example----

String.Compare(str1,str2);

-------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
Question 30
-----------------------------
Answer - Checked
----------------------------

RadioButton controls have a Checked property that determines whether the
control is selected or deselected.
Checked state is when the RadioButton has checked mark.
Checked propery is true when RadioButton in checked state.
Checked propery is false when RadioButton in unchecked state.
Example----
radio.Checked = true;