Sharecodepoint

We are proud to announce the launch of the new brand of sharecodepoint.




Wednesday, 22 November 2017

CSE202 : Object Oriented Programming Mid Term Exam Question paper


Question 1 :
How many times "programming" gets printed?
void main()
{ int x
for(x=-1x>-9x)
{ if(x>-4)
{ continue
cout<<"programming"
}
else
break
}
getch()
}

Question 2 :
Find errors in the following codes?
#include
#include
void main()
{ char ch
int v=o,c=o
cout<<"enter character"
while((ch>=a&&ch<=z)||(ch>=A&&ch<=Z))
{ switch(ch)
{ casea:
casee:
casei:
caseo:
caseu:
caseA:
caseE:
caseI:
caseO:
caseU:++V
break
default:++c }
cout<<"vowels"<cout<<"consonants"<getch()
}

Question 3 :
Write a program to print permutation of all the strings?

Question 4 : Write a program to remove duplicate elements from an array?

Question 5 :
Is it possible to integrate the concepts of inline functions and recursion in c++?Explain why or why not? 

0 comments:

Post a Comment

 

ShareCodePoint : Version 17.1.2 - 2016 - 2018 - © Sachin Yadav Production Made in India.