disscussions question
Week 2 Discussion 1
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Variables" Please respond to the following:
· Provide one (1) example of a variable name that is acceptable to the compiler but is not recommended according to variable naming conventions. Explain one (1) reason why the variable name in question is acceptable but not recommended, and provide an alternative name that would both satisfy the compiler and be recommended according to variable naming conventions. Justify your response.
· Identify a specific type of variable that stores a number. Compare the variable type that you selected to at least one other type of variable that also stores numbers.
Week 2 Discussion 2
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Modules" Please respond to the following:
· Provide (1) example of a module name that is acceptable to the compiler but not recommended according to the features of good program design. Explain one (1) reason why the module name is acceptable but not recommended, and provide an alternative name that would both satisfy the compiler and be recommended based on the features of good program design. Justify your response.
· Provide one (1) example of a prompt that is unclear. Explain why the prompt is unclear, and suggest the changes you would make to the prompt to make it clearer. Provide a rationale for your response.
Week 3 Discussion 1
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Sequence and Selection Structures" Please respond to the following:
· Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a sequence structure could resolve. Justify your response.
· Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a selection structure could resolve. Justify your response.
Week 3 Discussion 2
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Loop Structure" Please respond to the following:
· Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a loop structure could resolve. Justify your response.
· Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a selection structure nested inside of a loop structure could resolve. Justify your response.
Week 4 Discussion 1
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Compound and Nested If Statements" Please respond to the following:
· Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a compound if statement could resolve. Justify your response.
· Determine whether you believe a compound if statement or a nested if statement is more efficient for your suggested situation / scenario in the first part of this discussion. Provide a rationale for your response.
Week 4 Discussion 2
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Booleans" Please respond to the following:
· Suggest one (1) example of a problematic programming situation or scenario that a Boolean variable could at least partially resolve. Justify your response.
· Suggest one (1) example of a problematic programming situation or scenario that a Boolean expression could at least partially solve. Justify your response.
Week 5 Discussion 1
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Definite versus Indefinite Loops" Please respond to the following:
· Describe one (1) scenario not mentioned in the textbook in which it would be advantageous for you to use a definite loop as opposed to an indefinite loop when developing a program. Provide a rationale for your response.
· Describe one (1) scenario not mentioned in the textbook in which it would be advantageous for you to use an indefinite loop as opposed to a definite loop when developing a program. Provide a rationale for your response.
Week 5 Discussion 2
Click the link above to respond to the discussion. If you need help with completing discussions please click here for more information.
"Loops and Nested Loops" Please respond to the following:
· Suggest one (1) example of a problematic programming situation or scenario that nested loops could at least partially resolve. Justify your response.
· Imagine you are tasked with tracking the orders that an online store ships out. Suggest the type of loop (i.e., definite, indefinite, a combination of loops and nesting loops) you would use for querying the database. Provide a rationale for your response.