Welcome
CS201 TODAY FINAL TERM PAPERS SPRING 2020

CS201 TODAY FINAL TERM PAPERS SPRING 2020

CS201 TODAY CURRENT FINAL TERM PAPERS SPRING 2020

CS201 Today Final term papers 2020

CS201 at 11:00 am 5 to 7 mcqs from Finalterm past papers of Waqar Siddhu

Q1: difference between default and parameterized constructors.

Q2: use three variable to expose the dec, hex, and oct.

Q3, write c++ programs with three variable salary, no. Of days and rate and salary account by the formula Salary= no.days*rate Take out of no of days with the daily rate of 1000 per day.

Q4: write c++ program with 2 variable 1- calculate rows and columns 2- calculate transpose of matrix

Q5_ function of default function

Q6_ if you agree prototype of ordinary function and special function of a class are same. Justify with comment.

3 questions error find

2 questions output btane wale

2 programs

R 3 ese he short short question the Kn knse operator overload ni ho skte wo btayen Kese pta chlega k new function se memory allocate hue h ya ni

Today paper cs201 17-02-20 30 to 40% From past papers of Moaaz And Waqar Bhatti

2 Question on Finding Errors in code

1 question was on incrementing Date through class

1 question from pointers i.e getting input from user and reverse the order through pointer

Write a program for array of 10 numbers using float data type and initialize the first 4 numbers at 1.0,2.0,3.0,4.0 (3 marks) We use Malloc or Calloc to allocate memory chuck, what should we check against to know if the allocation of the memory chunk was successful or not. (3 Marks)

Why do we use delete to free memory? write the code to free memory in the following code (Code consisted new operator but no delete operator to free it just had to enter that in the code) (3 marks)

Suppose an object in Class A is made an object of Class B(don’t exactly remember the wording) For which class the constructor is called for first For which class the destructor is called for first (3 marks)

Find mistakes in the given code, give a reason for the mistakes and also write the correct code. (the program was about Teacher ID and coding consisted of class and constructor) (5 Marks)

Suppose we want to write a Macro that swaps 2 numbers, what problems can we come across and how do we avoid them? Give 5 effects (5 marks)

CS201 Today Final term papers 2020 Help you for preparation of your Final term Exam.

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
%d bloggers like this: