Sponsored Links


Results 1 to 4 of 4

Thread: CS201 Current Spring 2011 Final Term VU Paper July 2011

  1. #1
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    17 CS201 Current Spring 2011 Final Term VU Paper July 2011

    Sponsored Links1


    Q52:Given blew is the code of the class named
    Weight
    Class weight{
    Private: …………no 5
    Q51: Define the buffer,explain why we r use buffer? …………..no 5
    Q 50: Defferentiate between random access and reqyentail access file?? ….no 5
    Q48: Conert the following whil loop into a for loop
    Int I =1;
    While (i<=n)} ……………..no3
    Q46 : What is an alternative of the setw mainpulatior? … no 3
    Q45: if we want to send the data by refrenceand don’t want that original data should be affected then what can we do to prevent any change?? ….. no 3


    Sponsored Links

  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    All MCQs are from i think more then 90% similarly 80% subject are also from last papers some questions are different that are
    two different method for converting the NFA to FA 5marks
    Explain the decidability and examples. 5marks
    similarity and dif b/w DFA and NFA 3 marks
    RE for Even-even 2 marks
    Infix and prefix notation tree is similar as given in old papers 5 marks

  3. #3
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    What is conversion contructor 2
    Supponse fuction having argument type U return type T correct syntax pass a variable x of type double and return a int type 2
    Declare and initiaze static data member in a class 2
    Is there any harm to declare some varibales more than once within two or more function of programe 2
    If we want to send the data by reference and don’t want that original data should be affected then what we do to prevent this 3
    Difference btw static and global variables 3
    Find error in for loop statement 3 matrix ka column teekh nai likha tha.
    Display the output of following code 3 switch statement thiee
    Systax of two way friend relationship between classes 5
    What is template function general syntax 5
    Fetch maxtrix 2x2 5
    Write a programe two variables and display oct hex dec value using setbase(5)

  4. #4
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578
    Another Paper:

    Paper Detail
    Total 80 Marks

    40 Mcqs = 40 Marks
    subjective=40 Marks
    4 Question = 2Marks
    4 Question =3 Marks
    4 Question = 4 Marks

    Q.41
    What does it happen if an object id assign to another object without overloading an assignment operator.2marks

    Q.42
    Describe the first parameter to stream insertion<<and stream extraction>> operator function? 2Marks

    Q.43
    Write the meaning of given line code where m is object of class matrix

    If (&m! = this)

    Q.44
    Why always array start with index 0(zero) ? 2Marks

    Q.45
    What will be the output of following function if we call this function by passing int 5? 3 marks
    template T reciprocal(T x) {return (1/x); }

    Q.46
    Identify all the given functions as member function of input stream or output stream
    Get, unget, and put, getline, Peek, Putline, 3Marks

    Q.47
    Write the general syntax for unary member operator 3Marks

    Q.48
    Write the output of this code 3Marks

    Main()
    {
    int x,y,z;
    x=5;
    y=3+x++;

    Q.49
    What are the advantages and disadvantages of using templates? 5Marks

    Q.50
    Find the errors in given code and correct them; also write the output of the code-5 Marks

    Q.51
    Describe the effect of an overflow condition if it occurs within a program 5 Marks

    Q.52
    Make a program instruction was given in the code 5Marks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 07-23-2011, 05:10 PM
  2. Replies: 0
    Last Post: 07-20-2011, 09:44 PM
  3. Replies: 0
    Last Post: 07-09-2011, 09:46 PM
  4. CS201 Final term 2011 July current paper
    By Vuhelper in forum Mid Term & Final Term Papers
    Replies: 0
    Last Post: 07-09-2011, 09:35 PM
  5. cs201 final term current paper solve July 2011
    By Vuhelper in forum Solved Papers
    Replies: 0
    Last Post: 07-09-2011, 09:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft