CS201 GDB Fall 2021 – GDB – Solution VU

CS201 GDB Fall 2021 – GDB – Solution VU

CS201 – Introduction to Programming
Course Announcement Back
GDB for CS-201
Dated:Feb 10, 21

Dear students,

GDB topic has been uploaded on VLUMS. GDB interface will open for two days from 15-Feb to 16-Feb-2021. You can post you answer within given dates. Dates are according to Pakistan Standard Time.

 

GDB Statement: Modern programming languages like C/C++ support static as well as dynamic memory allocation for variable, object, structures etc. In static allocation, memory is allocated to the program during compile-time. However in the case of Dynamic allocation, memory is allocated during runtime. Both these techniques have their pros and cons and can be used in different scenarios.

Now suppose you are working in an XYZ organization as a C++ developer. Currently, the HR department of the organization is recruiting people for a vacant position in the organization. Software Team of the Organization assigns you the task of developing an application to keep track of the number and records of applicants who have applied for the post. Now keeping in mind that organization has limited number of computational resources available to them, being a C++ developer which type of memory allocation technique (Static or Dynamic) you will be using in this case? Justify your answer with valid reason in either case.

GDB Instructions:

  1. You need to provide precise and to the point answer, avoid irrelevant details.
  2. Material that is copied from the internet or another student will get zero marks.
  3. You cannot participate in the discussion after the due date via email.
  4. The GDB will open and close on specified date and time. Please note that NO grace day or extra time will be given for posting comments on GDB.

Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us ” Click here
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now

#CS201 #GDB #Fall #GDB #Query

Leave a Reply

Your email address will not be published. Required fields are marked *