Search This Blog

Friday, 29 June 2018

ENG201 Business Communication - Solved Subjective of WaqarSidhu ScreenShot


Dear Students:


You may download the Waqar Sidhu Screen solved subject screenshots of Past Mid-Term paper of ENG 201 by just click the link download link.

ENG201 Business Communication - Solved Subjective of WaqarSidhu PastMidTerm ScreenShot

Dear Students:


You may download the Waqar Sidhu Screen solved subject screenshots of Past Mid-Term paper of ENG 201 by just click the link download link.

Thursday, 28 June 2018

ENG201 Business Communication - WaqarSidhu PastMidTerm ScreenShot


Dear Students:


You may download the Waqar Sidhu Screen Shots of Past Mid-Term paper of ENG 201 by just click the link download link.

Tuesday, 26 June 2018

Data Communication - CS601 - (Chapter 5 to Chapters 8)

Dear Students:


You may download the following pdf file that contains the Data communication updated slides from chapter 5 to chapter 8.

Download Now

Monday, 25 June 2018

MTH202 Discrete Mathematics - Today Mid - Term paper 25-06-18

 Questions

Dear Fellows:


Please download the 25-06-2018 Paper of MTH202  by just click the below Download Link:

Download Now 

Sunday, 24 June 2018

CS402 Theory of Automata - Solution of Waqar Sidhu Subjective Questions

Dear Fellows:


Please download the Solution of Waqar Sidhu past Subjective question of Theory of Automata by just click the below Download Link:

Download Now 

CS402 Theory of Automata Waqar Sidhu Subjective Questions

Dear Fellows:


Please download the Waqar Sidhu past Subjective question of Theory of Automata by just click the below Download Link:

Download Now 

Saturday, 23 June 2018

CS402 Theory of Automata Waqar Sidhu Solved MCQs

Dear Fellows:

Please download the Waqar Sidhu solved past MCQs of Theory of Automata by just click the below Download Link:

Download Now 

Thursday, 21 June 2018

CS201 Introduction to Programming - Assignment 2

// Assignment No.2
//Write a program in C++ that will ask some programming related questions ()
//from user and rank user according his / her answers in one of following categories:
//1- Beginner level
//2- Intermediate level
//3- Advanced level


#include <iostream>

using namespace std; //Allows computer to output data

const int TotQtn = 2; //define contant for total questions

char getinputs(char[]); //declare function to get input from user

int computeUserLevel(char*); //declare function to computer user level

main() //main function begins
{
//declare variables and array
int rank;
char option[TotQtn];

cout << "\t\t\"Program to Predict User Programming Level\"\n\n";

//get inputs from the user
getinputs(option);

//compute the rank of the user
rank=computeUserLevel(&option[0]);

switch (rank) //display result
{
case 3:
cout << "Your level is advanced";
break;

case 2:
cout << "Your level is Intermediate";
break;

default:
cout << "Your level is Beginner";
}
}//end of main function


//function which get the answer as inputs in the array
char getinputs(char ans[])
{
int q=0;
for(q=0;q<=TotQtn;q++)
{
if (q==0)
{
cout << "Q: Switch is a loop?\nA: ";
cin >> ans[q];
}
else if (q==1)
{
cout<<"Q: Pointer Store memory addresses?\nA: ";
cin >> ans[q];
}
else if (q==2)
{
cout<<"Q: Semicolon after for loop is an error?\nA: ";
cin >> ans[q];
}
}
return ans[q];
}

//function that compute the user level
int computeUserLevel(char *op)
{

if (*op=='f' && *(op+1) == 't' && *(op+2) == 'f')
{
return 3;
}
else if (*op == 'f' && *(op+1) == 't' && *(op+2) == 't')
{
return 2;
}
else
return 1;
}

Result of Assignments and Quiz


Wednesday, 20 June 2018

CS201 Introduction to Programming - Paper pattren/Exam Guideline


Questions - 20MCQs
Marks - 1no X 20q = 20 marks 
Time - 1min * 20q = 20minutes
--------------------------------------------------------
3 question             
Marks - 2no X 2q = 04 marks
Time - 4min X 2q = 08 minutes
--------------------------------------------------------
2 question             
Marks - 3no X 2q = 6 marks
Time - 6min X 2q = 12minutes
------------------------------------------------------
2 questions
Marks - 5 no X 2q  =  10 marks
Time - 10 min X 2q= 20 minutes
-----------------------------------------------------------
TOTAL:
27 question - 40 marks - 60 minutes

Tuesday, 19 June 2018

CS201 Introduction to Programming - Quiz for Mid-Term

Dear Fellows:


You may download the CS201 of Mid-term Solved Quiz by just click the Download link below for your preparation.

Download Now

Thursday, 14 June 2018

CS201 Introduction to Programming - Function that copy a array into other array

//Copy a array of string into another array of string

#include <iostream>  //for input and output

using namespace std;

void copystr(char *destination, const char *source);

main()   //Main function begins
{
char str1[30]="This is the test string";
char str2[30];

cout << "Str1\n" << str1;
cout << "\nStr2" << str2;

copystr(str2,str1);

cout << "\nThe String is copied in aray 2\n" << str2;

}
//Main Program ends

void copystr(char *s1, const char *s2)
{
while (*s2!='\0')
{
*s1++=*s2++;
}
*s1='\0';
}

Wednesday, 13 June 2018

CS201 Introduction to Programming - Convert String into Lower case

////This program converts a string into an lowercase string 

#include <iostream>
#include <ctype.h>

using namespace std; //Allows computer to output data

//declaring the function prototype
void converToLowercase(char *);

main() //main function begins
{
char str[30] = "WELCOME to VIRTUAL UNIVERSIty";
//char fstr;

cout << "The string before conversion is:\t" << str;

converToLowercase(str);

cout << "\nThe string after conversion is:\t\t" << str;

}//end of main function

void converToLowercase(char *sptr)
{
while(*sptr!='\0')
{
if (isupper(*sptr))
{
*sptr=tolower(*sptr);

}
++sptr;
}
}

Tuesday, 12 June 2018

CS201 Introduction to Programming - bubble sorting by using swap fuction

// This program uses bubble sorting to sort a given array.
// We use swap function to interchange the values by using pointers

#include <iostream>

using namespace std; //Allows computer to output data

/* Prototye of function swap used to swap two values */ 
void swap(int *, int *);

main() //main function begins
{
int x[] = {1,3,5,7,9,2,4,6,8,10};
int i,j,swaps;

for (i=0;i<=10;i++)
{
swaps=0;
for (j=0;j<=10;j++)
{
// compare two values and interchange if needed
if (x[j]>x[j+1])
{
swaps++;
swap(&x[j],&x[j+1]);
}
}
}
//display the array’s elements after each comparison
for (j=0;j<=10;j++)
{
cout << x[j] << "\t\n";
if (swaps==0)
break;
}

}//end of main function


//function using pointers to interchange the values
void swap(int *a, int *b)
{
int tmp;
if (*a > *b)
{
tmp=*a;
*a=*b;
*b=tmp;
}
//cout << *a;
//cout << *b;
}

CS201 Introduction to Programming - SWAP function

#include <iostream>

using namespace std; //Allows computer to output data
void swap(int *, int *);
main() //main function begins
{
int x,y;

cout << "Value of X";
cin >> x;

cout << "\nValue of Y";
cin >> y;

swap(&x,&y);

cout << "\nValue of X" << x;
cout << "\nValue of Y" << y;

}//end of main function

void swap(int *a, int *b)
{
int tmp;

tmp=*a;
*a=*b;
*b=tmp;

cout << *a;
cout << *b;
}

Monday, 11 June 2018

CS402 Theory of Automata - Quiz of 12-06-18

Dear Fellows:


You may download the CS402 of 12-06-2018 Solved Quiz by just click the Download link below.

Download Now

CS402 Theory of Automata - todayQuiz

Dear Fellows:


You may download the CS402 today's attempted Quiz with the solution  by just click the Download.

Download Now

Sunday, 10 June 2018

CS402 Theory of Automata - Past Solved Quiz

Dear Fellows:


You may download the CS402 Past solved Quiz by just click the Download link below.

Download Now

MTH202 Discrete Mathematics - todayQuiz


Dear Fellows:


You may download the MTH202 today's attempted Quiz with the solution  by just click the Download.

Download Now

Saturday, 9 June 2018

MTH202 Discrete Mathematics - Quiz from relations and functions


Dear Fellows:

You may download the MTH202 Quiz from the chapters about relations and function  along with the solution  by just click the Download.

Download Now

Friday, 8 June 2018

MTH202 Discrete Mathematics - Quiz

Dear Fellows:

You may download the MTH202 Quiz along with the solution from of MTH201 by just click the Download.

Download Now

Thursday, 7 June 2018

MTH202 Discrete Mathematics - Exam/Paper Pattern Guidelines




  1. Syllabus for Mid-term exam MTH202 will be from the lectures ( 1 – 22 ).
  2. Midterm Paper:             Total time = 60 minutes)
  3. Total marks are 40
  4. There are 20 MCQs. Each MCQ carries 1 mark.
  5. 20 Marks paper will be from subjective. The short questions carry 2 and 3 marks. The long question carries 5 marks.
  6. Note: You have to do all the questions.



Wednesday, 6 June 2018

STA301 Statistics and Probability - Quiz

Dear Students:

You may download the STA301 Quiz along with the solution from Lecture no. 15 to 21 of STA301 by just click the Download.

Download Now

Tuesday, 5 June 2018

CS201 Introduction to Programming - Solution of today attempted Quiz


Dear Students:

You may download the solution of CS201 today Quiz of 05-June-2018 by just click the Download.

Download Now

MTH202 - Discrete Mathematics - Solution of Practice Question (lecture 15 to lecture 18)


Dear Students:

You may download the Solution of Practice questions along with the solution from Lecture no. 13 to 18 of MTH202 by just click the Download.

Download Now

Monday, 4 June 2018

CS201 Introduction to Programming - Quiz

Dear Students:

You may download the CS201 Quiz along with the solution from Lecture no. 1 to 20 of CS201 by just click the Download.

Download Now

STA301 Statistics and Probability - MCQ - Lecture 15 to 21 (Solved)



multiplication theorem P(AB) equals:
â–ºP(A) P(B)
â–ºP(A) + P(B)
â–ºP(A)  *  P(B|A)           (Page 159)
â–ºP(B\A) * P(B)

The probability of drawing ‘White’ ball from a bag containing 4 red , 8 black and 3 white ball is 
â–º0
â–º3/15
â–º1/12
â–º1/2

If A and B are mutually exclusive events then P(A or B) equals:
â–ºP(A) + P(B) - P(A and B)
â–ºP(A) * P(B)
â–ºP(A) + P(B)              (Page 155)
â–ºP(A|B) + P(B|A)

The simultaneous occurrence of two events is called
â–ºPrior probability
â–ºSubjective probability not confirmed
â–ºConditional probability
â–ºJoint probability           

Which one of the following measurement does not divide a set of observations into equal parts?

       â–º Quartiles
       â–º Deciles
       â–º Percentiles
       â–º Standard deviations

The height of student is 60 inch. This is an example of……? 
â–ºContinues data
â–ºQualitative data
â–ºCategorical data
â–ºDiscrete data 




Which of the statement is true regarding a sample?
â–ºIt is a part of population              (Page 13)
â–ºIt must contain at least five observations
â–ºIt refers to descriptive statistics  
â–ºIt produces true value

The probability of drawing a ‘jack card ‘from 52 playing cards is:
·        
·        
·      

If all the values fall on the same straight line and the line has a positive slope then what will be the value of the correlation coefficient ‘r’: 
       â–º 0 ≤ r ≤ 1
       â–º r ≥ 0
       â–º r = +1
       â–º r=-1

What is the Standard Deviation of 7, 7, 7, 7, 7, 7, 7

â–º49
â–º1
â–º0        Standard deviation will always be zero if all the values in data are same
â–º7

10! =………….

       â–º 362880
       â–º 3628800
       â–º 362280
       â–º 362800
     
If a player well shuffles the pack of 52 playing cards, then the probability of a black card from 52 playing cards is: 

       â–º1/52 
       â–º 13/52
       â–º4/52 
       â–º26/52 



In a regression line Y= a + bX, the value of the correlation coefficient will be zero if:

►Intercept a ≠ 0
 â–ºIntercept a = 0 (correct)
â–ºSlope b = 0
►Slope b ≠ 0

The probability of drawing a ‘jack card ‘from 52 playing cards is:
       â–º1/52 
       â–º4/52  
       â–º13/52  
       â–º26/52  
     
Which dispersion is used to compare variation of two series?
       â–º C.V.      (Page 93)
       â–º Q.D.
       â–º M.D.
       â–º S.D.

The probability of drawing a ‘jack card ‘from 52 playing cards is:
       â–º1/52 
       â–º13/52                
       â–º4/52      rep    
       â–º26/52 

In a regression line Y= a + bX, the value of the correlation coefficient will be zero if:

â–º Intercept a = 0      rep
► Intercept a ≠ 0
â–º Slope b = 0
► Slope b ≠ 0

Which one of the following measurement does not divide a set of observations into equal parts?

â–º Quartiles
â–º Deciles
â–º Percentiles
â–º Standard deviations rep

If all the values fall on the same straight line and the line has a positive slope then what will be the value of the correlation coefficient ‘r’: 
       â–º 0 ≤ r ≤ 1
       â–º r ≥ 0
       â–º r = +1 (Page 129)
       â–º r=-1
If a=4 b=2 estimate line (i.e y=a+bx) and independent variable has value 3 the value of dependent variable
â–º 6  
â–º 9
â–º 10  4+2(3)=10
â–º 11

The number of ways in which 4 books can be arranged
â–º 4
â–º 6
â–º 12
â–º 24 (Page 142)

The simultaneous occurrence of two events is called
â–º Descriptive probability
â–º Subjective probability 
â–º Conditional probability
â–º Joint probability

When coin tossed we get only
â–º1 outcome
â–º2 outcomes
â–º3 outcomes
â–º4 outcomes

When mean is 25 and S.D is 5 then CV is

â–º 100%
â–º 25%
â–º 20%
â–º 10%

A set that contains all possible outcomes of a system is known as 
       â–º  Finite Set
       â–º Infinite Set
       â–º Universal Set           (Page 134)
       â–º No of these
    
If X and Y are independent, then Var(X-Y) is equal to:

       â–º Var(X)Var(Y) Var(X)Var(Y)
       â–º           
Var(X Y)
       â–º           
       â–º Zero

A coin is tossed 3 times then, the number of sample points ii the sample space is:

3
8
6
4

What is the difference between a permutation and a combination:

â–ºIn a permutation order is important and in a combination it is not
â–ºIn a permutation order is not important and in a combination it is important
â–ºA combination is based on the classical definition of probability
â–ºA permutation is based on the classical definition of probability

What we consider in simple correlation analysis:
â–ºSeveral independent variables
â–ºStrength of the association between two variables        (Page 128)
â–ºIntercept with the X-axis
â–ºIntercept with the Y-axis

If all the values fall on the same straight line and the line has a positive slope then what will be the value of the correlation coefficient ‘r’:
â–º0 = r = 1
â–ºr = 0
â–ºr = +1              (rep)
â–ºr=-1

The dispersion which is calculated from all observed values is:
â–ºStandard deviation          (Page 87)
â–ºQuartile deviation
â–ºRang
â–ºCoefficient of Rang

For any number k ……….1, at least 1 – 1/k2 of the data-values fall within k standard deviations of the mean:
â–ºGreater than 1         (Page 97)
â–ºLess than 1
â–ºGreater or equal to 1
â–ºLess or equal to 1

If Mean = 25 & S.D is 5 then C.V is
â–º100%
â–º25%
â–º20%            (Page 93)rep
â–º10%
When E is an impossible event,then P(E) is:
â–º0         (Page 146)
â–º0.5
â–º1
â–º2

When two dice are rolled, the numbers of possible sample points are:
â–º6
â–º12
â–º24
â–º36         (6*6=36)

The correlation of coefficient lies between :
â–º0 to 1
â–º 0 to ï‚¥
â–º- 1 to +1          (Page 128)
►1 to 

How many elements are in the sample space of rolling one die:
â–º6
â–º12
â–º24
â–º36

When two coins are tossed the probability of at most one head is:
â–º1/4
â–º2/4
â–º3/4
â–º4/4

If A and B are mutually exclusive events then P(A or B) equals:
â–ºP(A) + P(B) - P(A and B)
â–ºP(A) * P(B)
â–ºP(A) + P(B)        (Page 155)
â–ºP(A|B) + P(B|A)

Positive square root of variance of a distribution is:
â–ºRang
â–ºQuartile deviation
â–ºStandard deviation       (Page 91)

The probability of drawing a king of spade from a pack of 52 cards is:

â–º1/4
â–º1/13
â–º1/26
â–º1/52

5C5   Equals :
â–º1
â–º5
â–º10
â–º25

we toss a coin , we get only:
â–º1 outcome
â–º2 outcomes
â–º3 outcomes
â–º4 outcomes

Standard deviation is affected by the change of________:
â–ºOrigin & scale
â–ºOrigin only
â–ºScale only      Click here for detail
â–ºNot origin & scale

A die is rolled. What is the probability that the number rolled is greater than 2 and even:
â–º1/2
â–º1/3
â–º2/3            (greater than 2 = 3,4,5,6 = 4 numbers , 4/6=2/3)
â–º5/6

The probability of drawing any one spade card is:
â–º1/52
â–º4/52
â–º13/52
â–º52/52