Showing posts with label Virtual University. Show all posts
Showing posts with label Virtual University. Show all posts

CS301 Assignment no 3 Solution Fall 2016

By: // No comments:

CS301 Assignment no 3 Fall 2016

Here we have CS301- Data Structures Assignment  No. 3 Solution and discussion, Fall 2016, Total Marks: 15, Due Date: 20/01/2017.

You Can Also Download CS301 Solved Final Term Papers, CS301 Short Notes, CS301 Assignment Solutions, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quiz ,CS301 Solved Final Term Subjective Papers ,CS301 Solved Final Term Objective Papers from Virtual Study Solutions For Preparation of Final Term Papers.

Also Read: CS302 Short Notes for Final term Preparation

CS301 Assignment  Instructions

Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
  • The assignment is submitted after due date.
  • The submitted assignment is other than Ms Word 2003 file.
  • The submitted assignment does NOT open or file is corrupted.
  • The assignment is copied (from other student or ditto copy from handouts or internet).
Also Read: Write ALLAH Using C++ Program

CS301 Assignment Uploading instructions

For clarity and simplicity, You are required to Upload/Submit only Ms Word file (.doc or docx format).

Note: Use ONLY Microsoft Word

CS301 Assignment Objective

The objective of this assignment is,

To make you familiar with concept of Huffman Encoding.

For any query about the assignment, contact at cs301@vu.edu.pk

CS301 Assignment Statement:

Question 1: [Marks 15]

While transmission through network, it is always important to keep data transmission rate high so data over the network can be increased using two ways; either increases the bandwidth of communication channel or decrease the size of data (compression) to increase the bandwidth utilization.

Lossless data compression algorithms are important in network and Huffman encoding scheme can be used for lossless data compression. Suppose the following string is being transmitted over the network:

“Data Compression in data structure”

We cannot increase the bandwidth of communication channel. Instead we have to compress the given string. Use Huffman encoding scheme to encode the given string.

To encode the string:

Build a table containing the following information about the string.

Build Huffman encoding tree. The tree will be built with the help of characters and their respective frequencies which you will find in step 1.

Calculate how much bits are consumed by original and compressed string. What percentage of bits is saved by Huffman encoding scheme?

Mention step by step construction of Huffman Encoding tree from the above table.

Also ReadHOW TO TAKE QUIZ ON LMS

CS301 Assignment no 3 Solution

  • Please Wait.
  • Assignment Solution of CS301 will be updated Soon.
If You want to receive the Solution directly in your inbox. Please Subscribe below or like us on Facebook.

CS302 Short Notes for Final term Preparation

By: // No comments:

CS302 Short Notes for Final term

Question: How can a D flip-flop can be made to toggle? 
Answer: A D flip-flop can be made to toggle by connecting Q' to D. 

Question: What is the difference between a counter and shift register ?
 Answer: A counter has a specified sequence of states, but a shift register does not.

Also Read: CS101 Final Term Past Paper Collection - 1
Question: How many outputs and inputs GAL22V10 have? 
Answer: The GAL22V10 has 22 inputs and 10 outputs. 

Question: What is an equivalent representation for the Boolean expression A' + 1 ? 
Answer: From the Boolean property A + 1 = 1, let A = A'.

Also Read: CS201 Latest Solved MCQs For Final Term Papers
Question: What is K-map and why we used it? 
Answer: A Karnaugh map provides a pictorial method of grouping together expressions with common factors and therefore eliminating unwanted variables. The Karnaugh map can also be described as a special arrangement of a truth  table. 

Question: Each stage in a shift register represents how much storage capacity? 
Answer: one bit 

Also Read: Write ALLAH Using C++ Program
Question: what are PLD's?How are the classified. 
Answer: The programmable logic devices (PLD's) are used in a lot of applications, and replace SSI and MSI circuits, due the space saving and reduce the number of devices in a certain design. 
A PLD is made of a matrix of AND and OR gates, that can be programmed to obtain certain logic functions. There are four types of devices that can be clasified as PLD's: 
a)The Programmable Read-Only Memory, PROM. 
b)The Programmable Logic Array , PLA. 
c)The Programmable Array Logic, PAL. 
d)The Generic Array Logic, GAL. 

Question: What are Flip-flops? 
Answer: The memory elements in a sequential circuit are called flip-flops. A flip-flop circuit has two outputs, one for the normal value and one for the complement value of the stored bit.

Also Read: CS402 Assignment no. 3 Solution Fall 2016
Question: If an S-R latch has a 0 on the S input and a 1 on the R input and then the R input goes to 0, then what the latch will be? 
Answer: The latch wil be in reset condition. 

CS304 Assignment no 3 Solution Fall 2016

By: // No comments:

CS304 Assignment no 3 Fall 2016

Here we have CS304 - Object Oriented Programming Assignment No. 03 Solution and Discussion Fall 2016 , Total Marks: 20, Due Date: 13th Jan, 2017.

You Can Also Download CS304 Solved Final Term Papers, Short Notes, Assignment Solutions, Lecture Wise Questions Answers Files, CS304 Solved MCQs, Solved Quiz ,CS304 Solved Final Term Subjective Papers ,CS304 Solved Final Term Objective Papers from Virtual Study Solutions For Preparation of Final Term Papers.


Also Read: CS402 Assignment no. 3 Solution Fall 2016

CS304 Assignment Objectives:

To get a hands on experience in implementing member initialization list, Inheritance and overriding functions in Object oriented Programming

Also Read: CS601 Assignment no 3 Fall 2016

CS304 Assignment Instructions:

Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date.
  • The assignment is submitted via email.
  • The assignment is copied from Internet or from any other student.
  • The submitted assignment does not open or file is corrupt.
  • It is in some format other than .cpp (Code File).

Note: All types of plagiarism are strictly prohibited.
For any query about the assignment, contact at CS304@vu.edu.pk

CS304 Assignment Problem Statement:

Consider the following part of class diagram in continuation of previous assignments.
Class Diagram
The distance from the sun for all the planets is calculated as the distance from the Earth to the Sun (the AU), where AU is the unit of distance and 1 AU = 150,000,000 km
Following table shows distance of planets from the Sun in AU.
Planet Distance from the sun
Mercury 0.38 AU
Venus 0.723 AU
Earth 1.000 AU
Mars 1.524 AU
Jupiter 5.204 AU
Saturn 9.582 AU

Distance of planet from sun in Kilometer (KM) can be calculated by multiplying distance with the value of AU. For example, If you want to calculate the distance of earth from sun in KM then;
Distance = 1*150,000,00 = 150,000,000

Also Read: CS101 Assignment no 3 Solution Fall 2016

Tasks you have to do:

1. Keeping in view the above given class diagram and scenario, you have to write code for the below mentioned classes and implement their relationship with each other.
2. As Cal_Distance() function will implement the same formula for all inner and outer planets, so you are required to implement this function in Planet class only.
3. You are also required to calculate the distance of Mercury from Sun in Kilometers.
4. 1. Class Planet:

Attribute:
Name: string
Radius: double
Distance: double
Methods/Operations/Getters/Setters:
Print: void
Cal_Distance: double
2. Class Inner_Planet:
Methods/Operations/Getters/Setters:
Print: void
Cal_Distance: double
3. Class Mercury:
Methods/Operations/Getters/Setters:
Print: void
Cal_Distance: double

Also Read: All Subjects Final term Papers

Important points:
• Your program should be able to create an object for Mercury class having a Name, Radius and Distance without creating an explicit object of Planet class.
• All Planet attributes should be directly accessible to Inner_Planet and Mercury and should not be accessible publically.
• Definition of both functions, Print() and Cal_Distance(), should be included in Planet class. Override these functions in Inner_Planet and Mercury classes.
• Display the values of attributes and calculated distance as shown in sample output.

Also Read: CS101 Final Term Past Paper Collection - 1

CS304 Assignment Note:

1. Radius of Mercury is 2440 KM.
2. Use Member Initialization list where needed.
3. You main function should look like this;

CS304 Assignment no 3 Solution Fall 2016


CS304 Assignment no 3 Solution

Here is the Complete Solution file of CS304 Assignment no 3 of fall 2016. Click on the link below to Download the solution file.

CS304_Assignment_3_Solution.cpp 2 KB

CS101 Assignment no 3 Solution Fall 2016

By: // No comments:

CS101 Assignment no 3 Fall 2016

Here we have CS101 Assignment No. 03 (Graded) and its Solution for Fall 2016, Due Date of CS101 Assignment is 17/01/2017 with Total Marks of 20.

CS101 Assignment no 3

CS101- Introduction to Computing
Total Marks: 20
Due Date: 17/01/2017 

You Can Also Download CS101 Solved Final Term Papers, CS101 Short Notes, CS101 Assignment Solutions, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quiz , CS101 Solved Final Term Subjective Papers ,CS101 Solved Final Term Objective Papers from Virtual Study Solutions For Preparation of Final Term Papers.

Aslo Read: CS101 Introduction to Computing Final term Papers

CS101 Assignment Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:
  • The assignment is submitted after due date.
  • The submitted assignment is other than Excel file.
  • The submitted assignment does NOT open or file is corrupted.
  • The assignment is copied (from other student or ditto copy from handouts or internet).
Also Read: CS201 Solved Final Term Past Papers Collection

CS101 Assignment Uploading instructions

For clarity and simplicity, you are required to Upload/Submit only Excel file.

CS101 Assignment Objective

The objective of this assignment is:
  • To understand the basics of Microsoft Excel
  • Enable students to apply different formulas in the MS Excel
For any query about the assignment, contact at cs101@vu.edu.pk

CS101 Assignment Note:

No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

Aslo Read: CS101 Latest Final Term Paper

CS101 Assignment

Suppose you are working as a data analyst in ABC organization. The following data is provided in the Excel file:

CS101 Assignment no 3 Solution

Here is the Complete CS101 Assignment 3 solution for fall 2016. You can download Solution file in Excel format from the Link below.

HEC Launched New Education Testing Service From Spring 2017

By: // No comments:

HEC - New Education Testing Service

Dear Students, HEC has Launched New Education Testing Service For Admissions, Scholarships From Spring 2017 . Now say , Bye to NTS - HEC Launched Education Testing Service For Admissions, Scholarships From Spring 2017.

Also Read: Distribution of Laptops to Students - Rules and Merit Criteria

New Testing Service For Admissions, Scholarships

According to Daily Times, Higher Education Commission (HEC) has warned all the Pakistani recognized universities not to approach the NTS for conducting tests for admissions and scholarships.

The universities have been asked to conduct the Education Testing Service (ETC)for conducting tests for admissions and student scholarships.

ETC (Education Testing Service) is a testing service launched by the HEC and will be functioning from next year – 2017. 

Also Read: Virtual University of Pakistan Jobs - 21/12/2016

Most important part is, there will be no fees to pay for appearing in the tests.

The service will be introduced to facilitate students as it will be free of cost whereas NTS charges a fee from the students to appear in tests. This would be a great motivation for all students

Initially the council would conduct the test for undergraduate students and later for MS and PhD admissions as well”, Dr.Ahmed.

HEC Launched New Education Testing Service From Spring 2017
HEC  New Education Testing Service
You Can Also Download Solved Mid Term Papers, Short Notes, Assignment Solutions, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quiz , Solved Mid Term Subjective Papers , Solved Mid Term Objective Papers From Virtual Study Solutions For Preparation of Mid Term/Final Term Papers.