CBSE Class 11 Computer Science Conditional Operator Assignment

CBSE Class 11 Computer Science Conditional Operator Assignment. Students are advised to refer to the attached assignments and practice them regularly. This will help them to identify their weak areas and will help them to score better in examination. Parents should download and give the assignments to their children for practice.

 

1. Write a program to input a number. If it is even, double and print the number otherwise print its half.

2. Write a program to input a character. Print whether it is an alphabet or not using conditional operator.

3. Write a program to input co-efficients of a, b and c of a quadratic equation ax2 + bx + c = 0 ,where a = 0. Discriminant, D = b2- 4ac.If discriminant is 0 then print there is exactly one real root, if discriminant is positive then print there are two distinct roots, if discriminant is negative then print then there are no real roots.

4. Write a program to input income of a person. Calculate tax using following criteria. If income is more than 20000, tax is 15%. Else if income is in the range 5000-20000, tax is 10%. If income is less than 5000, tax is nil.

5. Write program to input three numbers. Print the largest of the three.

 

Please click the link below to download CBSE Class 11 Computer Science Conditional Operator Assignment

Tags: 

 


Click to View or Download pdf file
Click for more Computer Science Study Material

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

Board Exams helpline by CBSE

According to the recent announcement of CBSE, the pending Class 10 and 12 Board exams are going to be held from 01 July to 15 July 2020 in India. Along with this, it has also been decided to resume the free of cost tele-counseling service for students from 9.30 am to 5...

CBSE advisory on student marks

CBSE has issued a public advisory for all students to be careful from unscrupulous persons impersonating themselves as officers/officials of CBSE. These people have been contacting parents and have been telling them that they have access to student marks data for Board...

Board Exams Class 10 and Class 12 Datesheet 2020

CBSE has announced the datesheet for the remaining exams of class 10 and class 12 exams. The exams are going to start in July. The class 10 and 12th board exams will be conducted for the remaining 29 papers from July 1 to July 15, 2020, at various centers nominated by...

Class 10 Board Exams to be held

The CBSE board has announced that there is no change in the decision of conducting the CBSE board exams for the 29 subjects, which were canceled due to coronavirus crisis. So when the lockdown gets relaxed completely, the board will conduct the exams for the students,...

CBSE Board Exams in July Press Release

CBSE has released press note for the dates for the CBSE Board exams for Class 10. CBSE said “With regards to conduct of Class X examinations several queries are being received by the CBSE. In this context, it is once again reiterated that remaining examinations of...

Checking of Boards Answer sheets starts today

CBSE has instructed almost 3000 schools to start the evaluation work for class 10th and class 12th board exam answer sheets from today. The checking of answer sheets for class 10th and class 12th was stopped earlier due to covid crisis in the country. Now in order to...

×
Studies Today