Sponsored Links


Results 1 to 1 of 1

Thread: cs201 all current papers in download able form fall 2010

  1. #1
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,239

    cs201 all current papers in download able form fall 2010

    Sponsored Links1


    CS 201 LATEST PAPER 2011

    Q # 1
    Identify each of the following as system software and application software.
    LINUX, DISK CLEANUP, WORD PROCESSOR, WINDOWS, STUDENT INFORMATION (marks 5)
    Q# 2
    Write the explanation of this program. See program from book pg no534. (mark5)
    Q# 3
    Write a program which defines three variables of type double which store three different values including decimal points, using set precision manipulators to print all these values with different numbers of digits after the decimal number.(marks5)
    Q# 4
    Define static variable also explain life time of static variable? (Marks3)
    Q# 5
    what do you know about run time error? (3)
    Q# 6
    what are limitation of the friendship between classes? (marks3)
    Q# 7
    Read the code and explain the functionality of this program? See page 535 for cod (marks3)
    Q# 8
    write down the meanings of given below line of code, where m is an object of the class matrix. If (& m = this) (marks 2)
    Q# 9
    write the general syntax for the definition of the user defined function? (marks2)
    Q# 10
    what is the source and destination of cin?(marks2
    Q# 11
    write the general syntax of allocation memory dynamically to an array using new operator? (marks2)
    ----------------------------------------------------------------------------
    Q: define buffer?explain its usage? 5 MARKS
    Q: why binary search algorithm is efficient than linear search algorithm? 5 marks
    Q: perator function ka syntex(3 marks)
    Q: post increment and pre increment k syntex btana thay(2 marks)
    Q:what is language translator?(2 marks)
    Q: write somethiing something about testing in designing program? 3 MARKS
    Q:Read the given below code and explain what task is being performed by this function 5 MARKS

    Sponsored Links

    Code:
    Matrix :: Matrix ( int row , int col ) 
    {
    numRows = row ;
    numCols = col ;
    elements = new ( double * ) [ numRows ] ;
    for ( int i = 0 ; i < numRows ; i ++ )
    {
    elements [ i ] = new double [ numCols ] ;
    for ( int j = 0 ; j < numCols ; j ++ )
    elements [ i ] [ j ] = 0.0 ; 
    }
    }
    
    
    
    Hint : This function belong to a matrix class, having 
    Number of Rows = numRows
    Number of Columns = numCols
    Which one (copy constructor or assignment operator) will be
    called in each of the following code segment?
    1) Matrix m1 (m2);
    2) Matrix m1, m2;
    m1 = m2;
    3) Matrix m1 = m2;
    ----------------------------------------------------------------------
    1.what is diffrent between pointer and variable?
    2.What is difference between Unary and binary operators and how they can be overloaded?
    3.how many types of templates?
    4.What will be the output of following function if we call this function by passing int 5?
    template T reciprocal(T x) {return (1/x); }
    5. Identify the errors in the following member operator function and also correct them.
    math * operator(math m);
    math * operator (math m)
    {
    math temp;
    temp.number= number * number;
    return number;
    Answer:
    The errors are in the arguments of the member operation function and also in the body of operator member function.
    Correct function should be
    math *operator(math *m);
    math *operator (math *m)
    {
    math temp;
    temp = m;
    temp.number= number * number;
    return temp.number;
    --------------------------------------------------------
    cs502 current final term papers fall 2010 dated 11 feb,2011

    Fibonacci sequence 2mark

    Clique cover problem 2mark

    Make Adjacency list from the given table 3marks

    Communication design problem (MST).

    Strong connected component problem

    Heapify proof..... 5marks

    Dijkstra Algorithmn

    Define Floyd Marshall 5marks

    Floyd Marshall 3marks
    runtime
    space used

    DFS algoritmn 3marks
    ------------------------------------------------


    Q # 1
    Identify each of the following as system software and application software.
    LINUX, DISK CLEANUP, WORD PROCESSOR, WINDOWS, STUDENT INFORMATION (marks 5)
    Q# 2
    Write the explanation of this program. See program from book pg no534. (mark5)
    Q# 3
    Write a program which defines three variables of type double which store three different values including decimal points, using set precision manipulators to print all these values with different numbers of digits after the decimal number.(marks5)
    Q# 4
    Define static variable also explain life time of static variable? (Marks3)
    Q# 5
    what do you know about run time error? (3)
    Q# 6
    what are limitation of the friendship between classes? (marks3)
    Q# 7
    Read the code and explain the functionality of this program? See page 535 for cod (marks3)
    Q# 8
    write down the meanings of given below line of code, where m is an object of the class matrix. If (& m = this) (marks 2)
    Q# 9
    write the general syntax for the definition of the user defined function? (marks2)
    Q# 10
    what is the source and destination of cin?(marks2
    Q# 11
    write the general syntax of allocation memory dynamically to an array using new operator? (marks2)


    Question 1:
    Identify each of the following as system software and application software.
    LINUX, DISK CLEANUP, WORD PROCESSOR, WINDOWS, STUDENT INFORMATION (mark 5)
    Q2:
    Write the explanation of this program. See program from book pg no534. (mark5)
    Q3: Write a program which defines three variables of type double which store three different values including decimal points, using set precision manipulators to print all these values with different numbers of digits after the decimal number.(5)
    Q4 define static variable also explain life time of static variable? (3)
    Q5 what do you know about run time error? (3)
    Q6 what are limitation of the friendship between classes? (3)
    Q7: read the code and explain the functionality of this program? See page 535 for cod (3)
    Q8: write down the meanings of given below line of code, where m is an object of the class matrix. If (& m = this) (2)
    Q9: write the general syntax for the definition of the user defined function? (2)
    Q10: what is the source and destination of cin?(2)
    Q11: write the general syntax of allocation memory dynamically to an array using new operator? (2)
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. cs201 current subjective paper fall 2010 on 18-02-2011
    By Xpert in forum Current Papers 2010
    Replies: 0
    Last Post: 02-17-2011, 10:45 PM
  2. cs201 current midterm paper fall 2010 4 december
    By Xpert in forum Current Papers 2010
    Replies: 1
    Last Post: 12-04-2010, 02:52 AM
  3. mgt401 midterm papers download fall 2010
    By Xpert in forum Unsolved Papers
    Replies: 0
    Last Post: 12-03-2010, 10:19 PM
  4. cs201 current midterm paper fall 2010 december
    By Xpert in forum Current Papers 2010
    Replies: 1
    Last Post: 12-03-2010, 02:27 PM
  5. cs101 midterm papers fall 2010 download
    By Xpert in forum Unsolved Papers
    Replies: 0
    Last Post: 11-30-2010, 03:46 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