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

1. Without a break statement in a switch, execution falls through to the next case.
A case label can be of type double.
2."Decision step" is one way to refer to an if statement
3. Suppose you had the following if statement:
if ((a != a) && (b > c))
cout << "Yes, sir";
4. Using the short circuit evaluation method, (b > c) would be evaluated some of the time, not all the time.
5. C++ will automatically display the floating-point result of the product $1.25 x $2.35 accurately to two decimal places.

1. (True)
2. (False)
3. (True)
4. (False)
5. (False)

Computer Science & Information Technology

You might also like to view...

MAC addresses are represented in _______ numerical format

Fill in the blank(s) with correct word

Computer Science & Information Technology

You are tasked with setting up a Linux bastion host for access to Amazon EC2 instances running in your VPC. Only clients connecting from the corporate external public IP address 72.34.51.100 should have SSH access to the host. Which option will meet the customer requirement?

A. Security Group Inbound Rule: Protocol - TCP. Port Range - 22, Source 72.34.51.100/32 B. Security Group Inbound Rule: Protocol - UDP, Port Range - 22, Source 72.34.51.100/32 C. Network ACL Inbound Rule: Protocol - UDP, Port Range - 22, Source 72.34.51.100/32 D. Network ACL Inbound Rule: Protocol - TCP, Port Range-22, Source 72.34.51.100/0

Computer Science & Information Technology