php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs201 current subjective paper fall 2010 on 18-02-2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
These are five papers which can be downloaded in also PDF format of cs201.Confusedmileys50:
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)
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?
Code:
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;
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)
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
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;


Attached Files
.pdf   CS403+Final+Term+Paper+-+10+Aug+2010.pdf (Size: 211.34 KB / Downloads: 226)
Reply


Messages In This Thread
cs201 current subjective paper fall 2010 on 18-02-2011 - by Xpert - 02-17-2011, 11:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Final Term Current Paper MKT501 Marketing Management 12 August 2010 viki 1 3,458 08-20-2020, 08:12 PM
Last Post: Johnnieaunders
  All Current Finalterm Papers Solved & Unsolved Held On 10 August 2010 viki 18 11,950 05-14-2012, 02:24 AM
Last Post: malik zani
  All Current Finalterm Papers Solved & Unsolved Held On 7 & 8 August 2010 viki 4 5,546 01-22-2012, 10:14 PM
Last Post: malika malik
  Final Term Current Paper CS101 Introduction to Computing 12 August 2010 viki 3 4,193 01-03-2012, 05:20 PM
Last Post: Muhammad Shahid hiraj
  Sta301 current paper 14 feb 2011 for fall 2010 Xpert 5 5,393 11-21-2011, 04:21 PM
Last Post: mahira
  current paperz of 9th class samia azhar 0 2,920 11-20-2011, 06:18 PM
Last Post: samia azhar
  Final Term Paper Current MTH101- Calculus And Analytical Geometry 10 August 2010 viki 6 6,480 11-03-2011, 10:59 PM
Last Post: rabeel
  mkt610 paper 18-7-2011 nisreenjodhpur 0 3,752 07-19-2011, 01:39 AM
Last Post: nisreenjodhpur
  Final Term Current CS401 Computer Architecture and Assembly Language 10 August 2010 viki 2 4,206 07-07-2011, 11:28 PM
Last Post: Xpert
  CS401 Final Paper kazim 1 3,233 06-09-2011, 02:47 AM
Last Post: sumaira kharal

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support