(Download) CBSE Class-12 2016-17 Sample Paper And Marking Scheme (Computer Science) Posted: 24 Nov 2018 03:51 AM PST (Download) CBSE Class-12 2016-17 Sample Paper And Marking Scheme (Computer Science) Time: 3Hrs. MM: 70 Instructions: i. All Questions are Compulsory. ii. Programming Language : Section – A : C++ iii. Programming Language : Section – B : Python iv. Answer either Section A or B and Section C is compulsory Section – A 1 (a) Explain conditional operator with suitable example? 2 (b) Which C++ header file(s) are essentially required to be included to run/execute the following C++ code : void main() { char *word1="Hello",*word2="Friends"; strcat(word1,word2); cout<<word1; } 1 (c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. #include<conio.h> #include<iostream.h> #include<string.h> #include<stdio.h> class product { int product_code,qty,price; char name[20]; public: product() { product_code=0;qty=0;price=0; name=NULL; } void entry() { cout<<"\n Enter code,qty,price"; cin>>product_code>>qty>>price; gets(name); } void tot_price() {return qty*price;} }; void main() { p product; p.entry(); cout<<tot_price(); } (d) Write the output of the following C++ program code: Note: Assume all required header files are already being included in the program. void change(int *s) { for(int i=0;i<4;i++) { if(*s<40) { if(*s%2==0) *s=*s+10; else *s=*s+11; } else { if(*s%2==0) *s=*s-10; else *s=*s-11; } cout<<*s<<" "; s++; } } void main() { int score[]={25,60,35,53}; change(score); } |
(Download) CBSE Class-10 2016-17 Sample Paper (French) Posted: 24 Nov 2018 03:46 AM PST (Download) CBSE Class-10 2016-17 Sample Paper (French) |
(Download) CBSE: Class XII Bodo Question Paper - 2018 Posted: 24 Nov 2018 12:30 AM PST Question Papers For Board Examinations 2018 Class – XII Subject – Bodo Subject :- Bodo Class : XII Year : 2018 General Instructions : - Please check that this question paper contains 8 printed pages.
- Code number given on the right hand side of the question paper should be written on the title page of the answer-book by the candidate.
- Please check that this question paper contains 12 questions.
- Please write down the Serial Number of the question before attempting it.
- 15 minute time has been allotted to read this question paper. The question paper will be distributed at 10.15 a.m. From 10.15 a.m. to 10.30 a.m., the students will read the question paper only and will not write any answer on the answer-book during this period.
Courtesy: CBSE |
CBSE Class-10 Exam 2018 : All India Scheme Question Paper-Gujarati Posted: 24 Nov 2018 12:29 AM PST CBSE Class-10 Exam 2018 : All India Scheme Question Paper-Gujarati Subject :Gujarati Time allowed : 3 hours Maximum Marks : 80 General Instructions : - Please check that this question paper contains 14 printed pages.
- Code number given on the right hand side of the question paper should be written on the title page of the answer-book by the candidate.
- Please check that this question paper contains 9 questions.
- Please write down the Serial Number of the question before attempting it.
- 15 minute time has been allotted to read this question paper. The question paper will be istributed at 10.15 a.m. From 10.15 a.m. to 10.30 a.m., the students will read the question paper only and will not write any answer on the answer-book during this period.
Courtesy: CBSE |
No comments:
Post a Comment