15
QUEENS’ COLLEGE, INDORE SUMMER ASSIGNMENT 2019-20 CLASS XII OPTIONALSUBJECTS COMPUTER SCIENCE I Which C++ header file(s) will be essentially required to be included to run /execute the following C++ source code (Note : Do not include any header file, which is/are not required): a) void main( ) { char Text[ ]="SomeThing"; cout<<”Remaining SMS Chars:”<<160-strlen(Text)<<endl; } b) void main( ) { cout<<”Click 2 Win”; cout<<setw(9)<<”hello”; } c) . Write the names of the header files to which the following belong: i) sqrt() ii) isalpha( ) iii) puts() iv)strcpy() v) getche ( ) vi) exit() vii). abs( ) viii). isupper( ) d) void main ( ) { char String [20]; gets (String); strcat (String, “CBSE”); puts (String); } e) void main( ) { char Text[40]; strcpy(Text,”AISSCE”); puts(Text); } f) void main( ) { intEno=123, char Ename[ ]=”Rehan Swamp”; cout<<setw(5)<<Eno<<setw(25)<<EName<<endl; } g) void main ( ) { char C, String [ ] = "Excellence Overload"; for (int I=0; String [ I ] ! = '\ 0'; I ++ ) if (String [I] ==' ') cout<<end1; else { C=toupper(String[I]); cout<<C ; } }

QUEENS’ COLLEGE, INDORE SUMMER ASSIGNMENT 2019-20 …queenscollegeindore.org/wp-content/uploads/2018/04/XII-Optional-Sum… · QUEENS’ COLLEGE, INDORE SUMMER ASSIGNMENT 2019-20

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

  • QUEENS’ COLLEGE, INDORE

    SUMMER ASSIGNMENT 2019-20

    CLASS – XII

    OPTIONALSUBJECTS

    COMPUTER SCIENCE

    I Which C++ header file(s) will be essentially required to be included to run /execute the

    following C++ source code (Note : Do not include any header file, which is/are not

    required):

    a) void main( ) {

    char Text[ ]="SomeThing";

    cout

  • h) void main () {

    char Text, [20] , C;

    cin>>Text;

    C=tol-ower (Text [0] ) ;

    cout

  • coutacno;

    }

    };

    void Main( )

    {

    bank b;

    input.b( );

    }

    d) # include Structure Swimmingclub

    {

    intmemnumber;

    char memname[20];

    char memtype[ ] = “LIG”;

    };

    void main( )

    {

    Swimmingclub per1,per2;

    cin>>”Member number”;

    cin>>memnumber.per1:”;

    cout>per1. Member name;

    per1.memtype=”HIG”;

    per2=per1;

    cin>> “Member number: “”Member name:”” Member number :”

  • Numbers = { 20, 50,10, 30,40 } ;

    for (Loc= Max-1 ; Loc > = 0 ; Loc - -)

    cout>>Numbers [Loc];

    }

    (

    h) #include constint Size 5;

    void main()

    {

    int Array[Size];

    Array = {50,40,30,20,10};

    for(Ctr=0; Ctr>Array[Ctr];

    }

    i) include class TRAIN

    {

    long TrainNo;

    char Description[25];

    public

    void Entry ( )

    {

    cin>>TrainNo; gets(Description);

    }

    Void Display ( )

    {

    cout

  • ***********

    III Give the output of the following program codes :

    a) #include

    #include

    #define constvalue 3.14557

    int a=3;

    void func (int&x, int y, int *z)

    {

    cout

  • INFORMATICS PRACTICES

    Q.1 Answer the following questions in short :

    (a) How many times the following while loop get executed? 1

    int p=5;

    int q=36;

    While (p

  • break;

    default:

    jLable2.setText(“error”);

    break;}

    Q.3 Prepare a Program File as per the program list given below :

    1. Program to calculate Simple Interest. 2. Program to print Addition, Subtraction, Multiplication or Division of two numbers on users choice. 3. Program to create Login Id & Password without saving on MYSQL Table. 4. Program to choose any one option & print result accordingly. 5. Program to calculate the factorial of a number given by user. 6. Program to print the following structure of stars. 7. Program to print the following structure of @.

    @

    @ @

    @ @ @

    @ @ @ @

    8. Program to print the following structure of numbers. 1 1 1

    2 2 2

    3 3 3

    9. Program to calculate bill on the basis of ticked items , price & quantity.

    10. TeachWell Public School wants to computerize the employee salary section. The School is having two

    categories of employees : Teaching and Non Teaching. The Teaching employees are further categorized into

    PGTs, TGTs and PRTs having different Basic salary. The School gives addition pay of 3000 for employees who

    are working for more than 10 years.

    Employee

    Type

    Basic

    Salary

    DA (% of

    Basic Sal)

    HRA (% of

    Basic Sal)

    Deduction

    s

    Non

    Teaching

    12500 31 30 12% of

    Basic

    PGT

    TGT

    PRT

    14500

    12500

    11500

    30

    21

    20

    30

    30

    25

    12% of

    Basic for

    all

  • 11. Radhika is a programmer at Alpha Builders. To calculate wages to be paid to labours, she has developed the

    following GUI in Netbeans.

    12. ABC School uses the following interface built in java to check the eligibility of a student

    for a particular stream from Science, Commerce and Humanities. The user first enter the total

    percentage and select the desired stream by selecting the appropriate option button. An additional 5%

    marks are given to the student of NCC category. Write Java Code for the following situations :

    a) On Action Event of close button the application gets closed.

    b) On Action Event of clear button all the text fields and the check boxes should be clear.

    c) On Action Event of „Calc Per‟ button, Net Percentage of the student should be calculated

    and displayed in the appropriate text filed. Net percentage is same as that of the actual

    percentage if the student doesn‟t opts for NCC otherwise 5% is added to actual percentage.

    d) On Action Event of the button „Result‟, the application checks the eligibility of the student &

    display result in the appropriate text field. Minimum Percentage for Science is 70, for

    Commerce 60 and for Humanities 40.

  • 13. Write Database Connectivity Program to insert, select, delete, update and display records into table

    from employee table having fields Code, Name, Post and Salary.

    Q.4 Students are supposed to prepare a soft copy of java project on the topic discussed with them. The

    Project should include : Login ID Form, Main Menu, Database Structure, Form Designs & Code related

    to Insert, Update, Delete , Select operations on database.

    ***************

    CAPITAL MARKET OPERATION (CMO)

    Guidelines for Capital Market Operation Project

    1. Cover Page

    2. Certificate

    3. Acknowledgement

    4. Index

    Sr. No.

    Description Page No. Remarks and Signature of Teacher- In -charge

    From To

    5. Meaning and Objective of the project

    6. Contents of Project:

    a) Chart Showing classification of Financial Market.

    b) Name of all stock exchanges of India along with their city names

    c) Name of ten world stock exchanges along with their city and country names.

    d) Chart showing parties involved in Primary Market along with their main functions.

    e) Chart Showing companies included in NIFTY and SENSEX.

    f) Price of shares of any four companies on 1st of every week from 1 April 2018 to 31st July 2018 and

    plotting them on graphs.

    g) Making portfolio of these four shares and calculating profit and loss.

    h) Chart showing trading network system at NSE.

    i) Chart showing corporate hierarchy in capital market.

    j) Chart showing types of market of NEAT System with brief description.

    k) Welcome screen of NEAT with brief description of user ID trading member ID and Password.

    l) Chart showing various segments of NEAT Screen with description.

    m) Chart Showing order types.

    n) Flow chart showing following functions:

    1. Order modification

    2. Order cancellation

    o) Chart showing specimen of order book.

    p) Chart explaining rules for circuit barkers in Exchanges of India.

    q) Chart explaining types of settlement (Account Period and Rolling).

    r) Chart explaining transaction cycle.

  • s) Chart showing settlement process of trades.

    t) Chart showing statutory charges imposed on trades.

    u) Chart showing grouping of securities to fix margins.

    v) Chart explaining about international securities identification number.

    w) Chart for process of Dematerialization (also attach Dematerialization slip).

    x) Chart showing settlement of off market trades and market trades.

    y) Filled De- Mat Account opening form.

    In Summer Assignment you are required to cover 1-6 points of the project.

    ********************

    PSYCHOLOGY

    Students have to prepare a Case Study Report on any one of the given topics as per the discussed format :

    1. Anxiety

    2. Phobia

    3. Stress

    4. Substance abuse

    5. Learning disorder

    6. Dyslexia

    7. Emotional Intelligence

    8. Depression

    9. Mood swings

    10. Study on the impact of Locus of control on decision making

    11. Mood freezing

    ********************

  • ENTERPRENEURSHIP

  • LEGAL STUDIES

    1. The age of retirement of a District Court Judge is determined by

    a) The President of India

    b) Chief Justice of High Court of that state

    c) Their respective state governments

    d) The Chief Justice of India

    2. In the year 1950, the Constitution of India envisaged a Supreme Court with one Chief Justice and ____ judges.

    a.) Eight b.) Seven c.) Twelve d.) Twenty-four

    3. Rakesh plans a get together of friends at his home. Ravi, one of his friends, promised to make a special

    dish for the guests. On the day of get together Ravi did not come nor did he arrange for the dish. Since it

    was the only starter planned in the menu, Rakesh had to face embarrassment. He sues Ravi for the

    breach of contract. Will Rakesh succeed in his action?

    a) Rakesh will succeed because Ravi failed to keep his promise.

    b) Rakesh will succeed because his reputation was affected due to of negligent behaviour of Ravi.

    c) Rakesh will not succeed because there is no consideration for Ravi to keep his promise.

    d) Rakesh will not succeed because Court doesn‟t entertain such petty issues.

    4. Vikas, a 16-year-old offer to sell their plot in NOIDA to Arshad (aged 24) for Rs. 10 lacs. Vikas took an

    advance of Rs. 1 lac from Arshad. Vikas‟s father was annoyed with him at the transaction and did not

    allow the transfer. Arshad brought a suit for specific performance against Vikas. Will he succeed?

    a) Arshad will succeed as Vikas entered into the contract with his own free will

    b) Arshad will succeed as there is consideration and it is valid

    c) Arshad will not succeed as Vikas‟s father did not approve the transfer

    d) Arshad will not succeed as Vikas does have the capacity to contract

    5. Aadwik sells his bike for a consideration of Rs. 50,000 to his friend Sandeep, whereas the market price

    of the said bike is Rs. 75,000. The above agreement is

    a. not enforceable as Aadwik cannot sell his bike below the market price.

    b. enforceable as the consideration need not be adequate, but should be real.

    c. not enforceable as it is an unlawful consideration.

    d. enforceable as the consideration is adequate and reasonable as the bike is not brand new.

    6. How has the adversarial system followed by India made access to justice difficult?

    7. HaircarePvt Ltd advertised that usage of its shampoo „Tresses‟ leads to long and shiny hair. It claimed

    that it would give a reward of Rs. 2000 who would face hair fall after using the shampoo. Riya after

  • using the shampoo, suffered from a severe hair fall. She claimed the reward of Rs. 2000. The company

    refused the reward stating that the offer was not made to her. Decide whether Ms. Riya can claim the

    reward or not. Also refer the relevant case law.

    8. A property situated in Indore is under Litigation. Archana being the Plaintiff and Anuj being the

    Defendant. Archana wants to sell the property to Rekha. Can Archana sell the property? State Reasons.

    (4 Marks)

    9. Who is the first law officer of country? What are his qualifications and duties?

    10. "The State shall not make any law which takes away or abridges the rights conferred by the Part III –

    Fundamental Rights." Comment?

    11. Mr. Nakul wanted to sell his property at Cochin worth Rs. 30 Lakhs to Ms. Sheetal and by the same

    instrument another property at Delhi for Rs. 50 Lakhs. As Ms. Sheetal can stay at only one place among

    the two, she wants to retain the property at Cochin and reject the property at Delhi. Can she do it?

    Explain

    12. Distinguish between Attorney General and Advocate General.

    13. Explain the process of impeachment of Judges of the Supreme Court.

    14. Explain the reasons for granting an independent status to the judiciary.

    15. „The Indian Constitution contains several provisions to serve the twin functions of Independence and

    Impartiality of Indian Judiciary.‟ Explain the features of the constitution for the independence and

    impartiality of the judiciary.

    16. Why is it essential that the judicial branch of government be kept separate from the executive and

    legislative branches?

    17. State the characteristics of Public Interest Litigation

    18. What qualifications are required to become a High Court Judge in India? How are High Court Judges

    appointed in India?

    19. „„The decision in the landmark 1973 Supreme Court case of KesavanandaBharati V. State of Kerala was

    an answer to the 24th Amendment Act to the Constitution affecting Article 13 and Article 368.‟‟

    Explain.

    20. Express your views on the following topics-

    (i) Academic Dishonesty

    (ii) Social media like Whatsapp and Facebook present a great challenge to democracy.

    ******************

  • PHYSICAL EDUCATION

    Write the following practicals in the Practical File :

    Aapher Test ( Including all 6 tests )

    1. Volleyball - Rules , Terminology , Volleyball Court Marking Diagram, Latest Award Winners in

    Volleyball, Different Types of Skills

    ******************