Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.


Decision Structures
Question Description

Suppose you are required to write a C/C++ program for a bank in which all transactions of a day will be compared. Keep in mind a huge volume of transactions per day:

Your code should have following features:

  • The processing speed must be high.
  • The logic of the program must be simple.

Which decision structure (if-else and switch statement) would you choose to achieve above mentioned features of code, and also mention reasons in favor of your choice.

[Note: Answer must be comprehensive with logical reasoning. Confine your answer within 3 to 5 lines]

Views: 5774

Replies to This Discussion

Please Discuss here about this GDB.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

 

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.

&

.•°How to Download past papers from study groups°•.

 

Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

where is discussion about gdb topic?

ammara ap ney kr lia gdb?

ni

help please

its very easy guys. 

bank ki transaction ko kis structure k zariyre simply and fastly compare kiya ja skta h uska ans dena h. n thora logically b define krna h. 

if else me kaam fastly hota h but us me case km hone chahye

switch me kaam iteratively hota h so ye slow h

logically dono hi simple hen 

past lec se ans diya ja skta h

Well, I'm confused about those Transactions... Can someone please give examples of such transactions?

I know we don't have to write the whole procedure of each transaction, as it is about decision structure and usage of data types efficiently... 

But which/what transactions?

if/else will not use in this program see lecture 8 page no 67 And Read all the lecture no 8 plz

switch statement is lot more simple and clear than if/else statement

have you any structure or any help?

any source code with comments?

Well, I'm confused about those Transactions... Can someone please give examples of such transactions?

I know we don't have to write the whole procedure of each transaction, as it is about decision structure and usage of data types efficiently... 

But which/what transactions?

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service