Thursday, 22 September 2016

C++ program for simulating job queue.


C++ program for simulating job queue.

Group D: (Assignment No:01) (SPPU Syllabus Asignment No:28) Problem Statement: Queues are frequently used in computer programming, and a typical example is the creation of a job queue by an operating system. If the operating system does not use priorities, then the jobs are processed in the order ...

Read More
data structures and algorithms
data structures and algorithms Web Developer

Monday, 19 September 2016

Pizza parlor accepting maximum M orders.


Pizza parlor accepting maximum M orders.

Group D : (Assignment No: 02) (SPPU Syllabus Assignmnet No: 31) Problem Statement: Pizza parlor accepting maximum M orders. Orders are served in first come first served basis. Order once placed cannot be cancelled. Write C++ program to simulate the system using circular queue using array. Program ...

Read More
data structures and algorithms
data structures and algorithms Web Developer

Sunday, 18 September 2016

Infix to Postfix conversion code in c++


Infix to Postfix conversion code in c++

Group C: (Assignment No: 02) (SPPU Syllabus Assignment No: 25) Problem Statement: Implement C++ program for expression conversion as infix to postfix and its evaluation using stack based on given conditions i. Operands and operator, both must be single character. ii. Input Postfix expression must ...

Read More
data structures and algorithms
data structures and algorithms Web Developer

Linked list program to store negative and positive number


Linked list program to store negative and positive number

Group B: (Assignment No:04)(SPPU Syllabus assignment No :18) Problem Statement: Write C++ program to store set of negative and positive numbers using linked list. Write functions to  a) Insert numbersb) Delete nodes with negative numbersc) Create two more linked lists using this list, one containing ...

Read More
data structures and algorithms
data structures and algorithms Web Developer

Tuesday, 6 September 2016

C++ program using stack to check whether given expression is well parenthesized or not.


C++ program using stack to check whether given expression is well parenthesized or not.

Group C: Assignment No: 01 (SPPU Syllabus Assignment No:24) Problem Statement: In any language program mostly syntax error occurs due to unbalancing delimiter such as (),{},[]. Write C++ program using stack to check whether given expression is well parenthesized or not. Program Code: //============================================================================ // ...

Read More
data structures and algorithms
data structures and algorithms Web Developer