0% found this document useful (0 votes)
12 views4 pages

Dynamic Memory Allocation Lab Report

The document outlines an open-ended lab experiment focused on dynamic memory allocation in C++. The objectives include practicing memory management skills and fostering creativity in designing optimal memory allocation solutions. The lab report includes assessments on experiment conduct, data presentation, and conclusions drawn from the tasks performed.

Uploaded by

Usama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Dynamic Memory Allocation Lab Report

The document outlines an open-ended lab experiment focused on dynamic memory allocation in C++. The objectives include practicing memory management skills and fostering creativity in designing optimal memory allocation solutions. The lab report includes assessments on experiment conduct, data presentation, and conclusions drawn from the tasks performed.

Uploaded by

Usama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

AIR UNIVERSITY

DEPARTMENT OF MECHENICAL AND AEROSPACE


ENGINEERING
EXPERIMENT NO 14

Lab Title Open Ended Lab


Student Name: Osama Sattar Khan Reg. No: 220844

Objective: Practice and demonstrate understanding of dynamic memory allocation


concepts. Develop efficient memory management skills using dynamic memory allocation

Techniques. Foster creativity and innovation in designing optimal memory allocation

Solutions.

LAB ASSESSMENT:
Excellent Good Average Satisfactory Unsatisfactory
Attributes (5) (4) (3) (2) (1)
Ability to Conduct
Experiment
Ability to assimilate the
results
Effective use of lab
equipment and follows
the lab safety rules

Total Marks: Obtained Marks:

LAB REPORT ASSESSMENT:


Excellent Good Average Satisfactory Unsatisfactory
Attributes
(5) (4) (3) (2) (1)

Data presentation

Experimental results

Conclusion
Air University, Islamabad

Total Marks: Obtained Marks:

Date: 25-MAY-2023 Signature:


Computer Programming Lab

Lab Tasks
Task # 1

Design a C++ program that allows the user to dynamically create 1D and 2D arrays
at runtime based on the size provided by the user through the console.

Computer Programming Lab

2
Air University, Islamabad

3
Air University, Islamabad

Computer Programming Lab

Conclusion:

The following are the conclusions:


• In this lab we learn about of dynamic memory allocation.
• In dynamic memory allocation.
• We learn how to print a matrix of any order.
• We learn how we take adjoint of a matrix.
• In this lab we also learn 1D and 2D dynamic memory allocation.

You might also like