Critical Thinking QuestionsCase 4-1Brian is trying his best to understand the concept of variable scope, so he calls his friend Molly for guidance.Brian has defined another variable called strNumberOfSingers within a procedure, and he asks Molly what the lifetime of that variable is. What does she tell him?
a. It is "alive" for the entire duration of the program.c. It is "alive" until the procedure is called by the larger program.b. It is "alive" with the same contents during all executions of the procedure by the program.d. It is "alive" from the time the procedure begins executing until the procedure ends.

What will be an ideal response?

Answer: D

Computer Science & Information Technology

You might also like to view...

Which of the following exchanges could be done using an EDI system?

A) lists of goods transported B) invoices C) purchase orders D) All of the above

Computer Science & Information Technology

Which of the following typically learn about routes through manual configuration of the default gateway parameter and redirection messages?

A. Packets B. Firewalls C. Ports D. IP hosts

Computer Science & Information Technology