CS201 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-1 || INTRODUCTION TO PROGRAMMING || VuTech Visit Website For More Solutions www.vutechofficial.blogspot.com …
Visit Website For More Solutions www.vutechofficial.blogspot.com
KINDLY, DON’T COPY PASTE
Question No. 1
You have to create a C++ program for office task management using Stack
data structure implemented with linked list. The objective is to develop a
computer program that allows users to efficiently handle their tasks as a
Last-In, First-Out (LIFO) data structure.. The program should allow office
employees to add, remove and display tasks in a Stack.
Requirements:
You are required to implement a stack data structure using a singly linked
list. The stack should be used to manage a collection of tasks.
Implement the following operations on the output console:
1- Push a Task onto the Stack: Users should have the ability to push
a new task onto the stack. They should provide the following details:
Task name
Task ID
Description
Due date
2- Pop a Task from the Stack: Users should be able to pop and remove
the task at the top of the stack. T
3- Display the Top Task: Users can view the details of the task that
is currently at the top of the stack
4- Display the Entire Stack: The user should be able to view the
entire list of tasks, including the task name, task ID, description, and due
date.
Stack should be implemented using a linked list data structure, with each
node representing a single task in the tasks list. Each node should
contain the task name, task ID, description, and due date..
KINDLY, DON’T COPY PASTE SUBSCRIBE, SHARE, LIKE AND COMMENTS FOR MORE UPDATES SEND WHATSAPP OR E-MAIL FOR ANY QUERY 0325-6644800 kamranhameedvu@gmail.com Visit Website For More Solutions www.vutechofficial.blogspot.com
We provide Virtual University of Pakistan Study Materials such as Solution of Assignments, GDBs, Mid Term Solved Papers, Final Term Solved Papers, Mid Term Solved MCQs, and Final Term Solved MCQs. We also provide regular Semester Quizzes, Updated Handouts, and Short Questions and Answers. We help you with your research and many other educational-related topics, as far as we know. Furthermore, Share your problem with us and Please feel free to ask any related questions.