Skip to main content

Posts

BLUE PRINT- HALF YEARLY EXAM CLASS XI COMPUTER SCIENCE 2016

BLUE PRINT FOR HALF YEARLY EXAMINATION 2016-17 SUBJECT: COMPUTER SCIENCE CLASS: XI CHAPTERS/UNIT VSA (1 MARKS) SA-2 (2 MARKS) SA-II (3 MARKS) LA (4 MARKS) TOTAL UNIT-1 1. Comp Fundamentals 1(1) - - 4(1) 5(2) 2. Software Concepts - 2(1) 3(1) - 5(2) 3. Data Representation 1(1) 4(2) - - 5(3) 4. Microprocessor and Memory Concepts - 2(1) 3(1) - 5(2) 2(2) 8(4) 6(2) 4(1) 20(9) UNIT-2 1. Flowchart/Algorithm 1(1) 2(1) 9(3) 4(1) 10(4) 2. Programming. Methodologies 1(1) 6(3) 3(1) 4(1) 14(6) 2(2) 8(4) 6(2) 8(2) 24(10) UNIT-3 1. Getting Started with C+ And Data Handling ...

Assignment - Classes AND Objects XII CS

Q1. Differentiate between public & private visibility modes in context of Object Oriented Programming using suitable examples. Q2. What do you understand by a member function? How does a member function differ from an ordinary function? Q3. What are the advantages and disadvantages of inline functions. Q4. What are static class members? Q5. Rewrite following code after removing syntax errors.UNderline each correction. class TRAIN{ long TrainNo; Char Description[25]; public: void Entery(){ cin>>TrainNo; gets(DEscription); } void Display(){ cout<<TrainNo<<":"<<Description<<endl; } }; void main(){ TRAIN T; Entry.T(); DIsplay.T(); } Q6. Define a class Flight in C++ with the following specification: Private Members: • A Data Member Flight Number of type integer • A Data Member Destination of type String • A Data Member Distance of Float Type • A Data Member Fuel of type float A Member Function CalFuel( ) to ...

HOLIDAY HOME WORK FOR CLASS XII B 2016-17 (SUMMER VACATION)

Q1.  Observe  the  following  C++  code  and  write  the  name(s)  of  the header  file(s),  which  will  be  essentially  required  to  run  it  in  a C++ compiler :                                 void main() { char CH,STR[20]; cin>>STR; CH=toupper(STR[0]); cout<<STR<<”starts with”<<CH<<endl; } Q2.  Rewrite  the  following  C++  code  after  removing  all  the  syntax error(s),  if   present  in  the  code.  Make sure that you  underline each correction done by you in the code.                  ...

SQL Practical Question

Create table “EMP” as per the following specification: COLUMN NAME DATATYPE SIZE CONSTRAINTS Emp_No Integer 4 Primary Key Emp_Name Varchar2 20 Not Null Job Varchar2 10 Hiredate Date dd-mm-yyyy Salary Float 10,2 Salary>10000 Commission Integer 4 DeptNo Integer 2 10,20 or 30 Job Types are: ·          President ·          Manager ·          Clerk ·          Salesman Commission given only to ‘salesman’. QUESTIONS 1)       Create the above table including its constraints. 2)     ...

HOLIDAY HOMEWORK - Winter Vacation 2015-16 XI CS

Q1. Find the output of the code given below : #include<iostream.h> void main( ) { int x = 3; switch(x) { case 1 : cout<< “One”; break; case 2 : cout<< “Two”; break; case 3 : cout<< “Three” case 4 : cout<< “Four”; case 5: cout<< “Five”; break; } } Q2. Find error in following code : #include<isotream.h> void main() { int a = 10; int b = 10; int c = 20; switch ( a ) { case b: cout<<”Hurray B”; break; case c: cout<<”Hurray C”; break; default: cout<<”Wrong code”; break; } } Q3. Write a program to find the roots of a quadratic equation. Q4. What do you mean by literals? What are the different kind of literals. Q5. Write the header file for the given function abs(), isdigit(), sqrt(), setw() Q6. Expand the following: i)CPU ii) ROM iii)MICR Q7. Write a program to find either given no is prime or not. Q8. Define the terms Polymorphism & Inheritance. Q9. Distinguish between...

Assignments - XII Computer Science

POINTERS ASSIGNMENT Assignment Date: 09/09/15 Submission Date: 14/09/15 Q1. What will be the output of the following program: int main() { int x [ ] = { 50, 40, 30, 20, 10}: int *p, *t; p = x; t = x + 1; cout << *p << “,” << *t++; return 0; } Q2. What will be the output of the program( Assume all necessary header files are included) void print (char * p ) { p = "Comp"; cout<<"value is "<<p<<endl; } int main( ) { char * x = "Class XII"; print(x); cout<<"new value is "<<x<<endl; return 0; } Q3. Identify errors on the following code segment, and underline the error. float c[ ] ={ 1.2,2.2,3.2,56.2}; float *k,*g; k=c; g=k+4; k=k*2; g=g/2; cout<<”*k=”<<*k<<”*g=”<<*g; Q4. Write the output of the following program. void print (char * p ) { p = "Comp"; cout<<"valu...