Showing posts with label CS301. Show all posts
Showing posts with label CS301. Show all posts

CS301 Final term Current Paper fall 2017

CS301 FINAL TERM CURRENT PAPER FALL 2017

Dear VU Students Here We (VU KI DUNIYA) Provides Virtual University of Pakistan All Subjects Current Papers. All Current Papers of Final term fall2017. Please touch with our website (VU KI DUNIYA).
Today here you read and download CS301Current Final Term Papers fall 2017. CS301 Total Questions. 52. Total MCQS 40. Total Short Question 6. Total Long Questions 6.  All are in Past Papers. Previously We (VU KI DUNIYA) Shared All Subjects Current Mid Term Papers fall 2017.
Our website update day by day All Current papers. Click the Download Button and easily Download Final Term Current Papers Fall –2017. You can Also Like our FacebookPage, YouTubechannel and follow us On Google+ for latest Updates.

CS301 some questions of 5 marks

Question No.1: 
Making Huffman binary tree using
A, b, c, d, e, f and their frequency is 40,11,33,9,5,20.
Question No.2:  
Making Threaded binary tree using
40,34,57,70,93,23 traversal order should be Left to right.
Question No.3: 
Correct this code.
Class A
{
private:
Int c;
Public:
Int& fun (&int x) const
{
c = x;
Int y =10;
cout <return (&x);
}
}; 

Question No.4:  
Using union operation data are
3,2,4,6,9
And also define working of "-1" word in union operation.
Question No.5: 
Making skip list sketch s0 to s3
Data are 12,34,56,78

CS301 SOME QUESTIONS OF 3 MARKS

Question No.1: 
define the characteristic of skip list
Question No.2: 
tell the frequency of letter given diagram of Huffman code.
Question No.1: 
Define the Union operation of disjoint set.
Question No.1: 
By using Huffman coding how to image segmentation.

If this Final Term Current Paper CS301 fall 2017 were helpful for you. Please share it with friends.

CS301 Assignment 1 Solution Fall 2017

CS301 ASSIGNMENT 1 SOLUTION FALL 2017

Dear Virtual University Students, here you can read and download CS301assignment No.1 Solution fall 2017. CS301 Assignment Opining Date 13 November 2017 and Closing Date 20 November 2017. So, harry up Download the CS301 Assignment Solution File and submit Your Assignment Solution. Easily you can Download Solution file click the Download Button and Get Assignment Solution File. Any Question for Assignment so easily you can Contact me using Contact form. If assignment solution was helpful. Please Share It with your friends. You can also like our Facebook page, subscribe YouTube channel and follow on Google+ for Latest Update.


IMPORTANT ASSIGNMENT INSTRUCTION 

Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (marks) if:
  • The assignment is submitted after due date.
  • The submitted code does NOT compile.
  • The submitted assignment file is not in .CPP format.
  • The submitted assignment file does not open or is corrupted.
  • The assignment is copied (from other student or ditto copy from handouts or internet).
Uploading instructions:
  1. For clarity and simplicity, you are required to Upload/Submit only ONE .CPP file which will contain solution of question.
  2. Do not wait for grace day. Grace Day is given only if there is problem with LMS on due date. Submit your solution within due date.
  3. Note that no assignment will be accepted through email if there is any problem in LMS on grace day.
Note: Use only dev-C++ IDE.

Objective:
The objective of this assignment is to make you familiar with working of stack data structure and programming techniques to implement and understand the working of this data structure.
For any query about the assignment, contact at cs301@vu.edu.pk     

ASSIGNMENT QUESTION

Write a C++ program to balance three (3) stacks so the sum of numbers in each stack should be same.

Your program should fulfill following requirements.
  1. Create three (3) stacks, initially each stack will have three same numbers. Number of each stack should be different from other stack numbers. You can see in above diagram that initially each stack has same number but number is different from the numbers in other stacks.
  2. Your program should swap values between stack in the way that after balancing the stacks. Each stack should have different number as showing in above diagram.
  3. Please note that user will enter numbers into stack, not X, Y and Z.
  4. User will enter a number for each stack which will be inserted 3 times in each stack.
  5. You can implement stack through array or link list. It is your choice.
Sample output screen shot of program is given below

Solution guidelines

  • First understand the code given in handouts about stack.
  • Don’t allow popping if stack is empty and pushing if stack is full.
  • Lectures Covered:  This assignment covers Lecture # 1 - 12
Deadline:          
Your assignment must be uploaded / submitted on / before, 20 November, 2017.

DOWNLOAD COMPLETE ASSIGNMENT SOLUTION

Download CS301 Assignment Solution by Clicking the Download Button Below in just single Click.

Download

You can Also Download Midterm Solved Past Papers, Final term Solved Past Papers, GDB Solutions, Assignment Solutions, and Solved Quizzes files, PPT Slides, Handouts and Short Notes.