Trending ▼   ResFinder  

CBSE Class 12 Pre Board 2020 : Computer Science - Prelim 2 (Delhi Public School (DPS), Jammu)

7 pages, 31 questions, 0 questions with responses, 0 total responses,    0    0
CBSE 12 Pre Boards
  
+Fave Message
 Home > cbse12_pre_boards >   F Also featured on: School Page cbse12

Formatting page ...

DELHI PUBLIC SCHOOL JAMMU PRE-BOARD-II ASSIGNMENT 2019-2020 SUB: COMPUTER SCIENCE (283) Class:XII General: (i) Programming Language: C++ 1. (a) What is the difference between Object Oriented Programming and Procedural Programming? (b) Write the names of the header files to which the following belong: (i) frexp() (ii) isalnum() (c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. #include <iostream.h> struct Pixels { int Color,Style;} void ShowPoint(Pixels P) { cout<<P.Color,P.Style<<endl;} void main() { Pixels Point1=(5,3); ShowPoint(Point1); Pixels Point2=Point1; Color.Point1+=2; ShowPoint(Point2); } (d) Find the output of the following program: #include <iostream.h> void Changethecontent(int Arr[], int Count) { for (int C=1;C<Count;C++) Arr[C-1]+=Arr[C]; } void main() { int A[]={3,4,5},B[]={10,20,30,40},C[]={900,1200}; Changethecontent(A,3); Changethecontent(B,4); Changethecontent(C,2); for (int L=0;L<3;L++) cout<<A[L]<< # ; cout<<endl; for (L=0;L<4;L++) cout<<B[L] << # ; cout<<endl; for (L=0;L<2;L++) cout<<C[L] << # ; } (e) Find the output of the following program: #include <iostream.h>

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : cbse pre boards, prelims 2015 - 2016, preliminary examinations, central board of secondary education, india schools, free question paper with answers, twelfth standard, xiith std, board exams, mock, model, sample, specimen, past, free guess papers.india, delhi, outside delhi, foreign, cbse class xii, cbse 12, 12th standard, cbse papers, cbse sample papers, cbse books, portal for cbse india, cbse question bank, cbse question papers with answers, pre board exam papers, cbse model test papers, solved board question papers of cbse last year, previous years solved question papers, free online cbse solved question paper, cbse syllabus, india cbse board sample questions papers, last 10 years cbse questions papers, cbse important questions, specimen / mock papers.  

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

cbse12_pre_boards chat