Question: Q1. Answer the following questions concisely. A. Else-if is good selection statement that help us to solve problems in C++, mostly times same problem of

Q1.

Answer the following questions concisely.

A. Else-if is good selection statement that help us to solve problems in C++, mostly times same problem of same nature can also be solved via switch statement. Which one you prefer to use and why? (Note: please dont mention differences) [CLO-1, PLO-1]

B. We are usually using Recursion even aware that things can be sorted with the help of loops. Why? (Note: please dont mention differences) [CLO-2, PLO-2]

C. You have been through many techniques of C++. What you think which one will be the best way to solve a problem where you need to save data in a table for processing. Please justify your answer. [CLO-2, PLO-2]

D. You have read and also solved many problems related to loops. What do you think, what techniques should be used in which scenario?

[CLO-2, PLO-2]

E. You have been taught there are 2 ways you can pass array to function one is call by value and other is call by reference. What is difference? [CLO-2, PLO-2]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!