The ____ operator is written as the exclamation point ( ! ).

A. equality
B. AND
C. assignment
D. NOT


Answer: D

Computer Science & Information Technology

You might also like to view...

Which function would be the most useful for determining if a certain word is contained in a string representing a sentence?

a. strcspn. b. strchr. c. strstr. d. strrchr

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1. Void functions may have arguments. 2. Functions are executed in the order in which they are defined. 3. A precondition is a condition that must be true before the function is called. 4. The values in the function data area are kept after the function ends. 5. In the following program outline the name var1 is visible (can be referenced) in the function fun. int fun (int a, int b); int main () { int var1; … } int fun (int a, int b) { … }

Computer Science & Information Technology

Most desktop and laptop computers run some version of Windows

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following pseudocode statements expresses the condition below?A hotel customer gets a 10% discount for showing a hotel club card or a travel club card.

A. If showsHotelClubCard And showsTravelClubCard Then    discount = 0.10 Else    discount = 0.00 End If B. If showsHotelClubCard Or showsTravelClubCard Then    discount = 0.00 Else    discount = 0.10 End If C. If showsHotelClubCard Or showsTravelClubCard Then    discount = 0.10 Else    discount = 0.00 End If D. If showsHotelClubCard And showsTravelClubCard Then    discount = 0.00 Else    discount = 0.10 End If

Computer Science & Information Technology