Class 11 Question Bank Computer Science Chap 7 (2024-25)
Class 11 Question Bank Computer Science Chap 7 (2024-25)
CLASS - XITH
SUBJECT – COMPUTRR SCIENCE
CHAPTER – 7 FUNCTIONS
2. Case Study:
In a hotel booking system, a function is used to check the availability of rooms.
The function receives a check-in date and a check-out date. The system needs to
determine if the rooms are available for the entire duration of the stay. The
function returns True if rooms are available, otherwise, it returns False.
Question: Write the function that checks room availability based on check-in and check-
out dates.
Answer:
3. Case Study:
A company wants to calculate the total salary of its employees. The company has
a basic pay and an overtime pay rate. A function needs to take both the basic pay
and overtime hours worked as parameters and return the total salary.
Question: Write a function that calculates the total salary based on basic pay and
overtime hours worked.
Answer:
4. Case Study:
A company is working on an order system. The system has a function to calculate
the discount for a customer. The discount rate depends on the total amount of the
order: if the order amount is more than $500, a 10% discount is applied; otherwise,
no discount is applied.
Question: Write the function to calculate the discount based on the order amount.
Answer:
5. Case Study:
A store wants to calculate the final price of an item after applying a discount. The
function should take the original price and the discount percentage as parameters
and return the final price.
Question: Write a function to calculate the final price after applying the discount.
Answer:
Dear Teachers and Students,
Join School of Educators' exclusive WhatsApp, Telegram, and Signal groups for FREE access
to a vast range of educational resources designed to help you achieve 100/100 in exams!
Separate groups for teachers and students are available, packed with valuable content to
boost your performance.
Additionally, benefit from expert tips, practical advice, and study hacks designed to enhance
performance in both CBSE exams and competitive entrance tests.
Don’t miss out—join today and take the first step toward academic excellence!
Access to Previous Years' Question Papers and Topper Answers: The group
provides access to previous years' question papers (PYQ) and exemplary answer
scripts of toppers. This resource is invaluable for exam preparation, allowing
individuals to familiarize themselves with the exam format, gain insights into scoring
techniques, and enhance their performance in assessments.
Free and Unlimited Resources: Members enjoy the benefit of accessing an array of
educational resources without any cost restrictions. Whether its study materials,
teaching aids, or assessment tools, the group offers an abundance of resources
tailored to individual needs. This accessibility ensures that educators and students
have ample support in their academic endeavors without financial constraints.
Instant Access to Educational Content: SOE WhatsApp groups are a platform where
teachers can access a wide range of educational content instantly. This includes study
materials, notes, sample papers, reference materials, and relevant links shared by
group members and moderators.
Timely Updates and Reminders: SOE WhatsApp groups serve as a source of timely
updates and reminders about important dates, exam schedules, syllabus changes, and
academic events. Teachers can stay informed and well-prepared for upcoming
assessments and activities.
Access to Expert Guidance: SOE WhatsApp groups are moderated by subject matter
experts, teachers, or experienced educators can benefit from their guidance,
expertise, and insights on various academic topics, exam strategies, and study
techniques.
Join the School of Educators WhatsApp Group today and unlock a world of resources,
support, and collaboration to take your teaching to new heights. To join, simply click
on the group links provided below or send a message to +91-95208-77777 expressing
your interest.
Best Regards,
Team
School of Educators
Join School of Educators WhatsApp Groups
You will get Pre- Board Papers PDF, Word file, PPT, Lesson Plan, Worksheet, practical
tips and Viva questions, reference books, smart content, curriculum, syllabus,
marking scheme, toppers answer scripts, revised exam pattern, revised syllabus,
Blue Print etc. here . Join Your Subject / Class WhatsApp Group.
Entrepreneurship French IT
Artificial Intelligence
You will get Pre- Board Papers PDF, Word file, PPT, Lesson Plan, Worksheet, practical
tips and Viva questions, reference books, smart content, curriculum, syllabus,
marking scheme, toppers answer scripts, revised exam pattern, revised syllabus,
Blue Print etc. here . Join Your Subject / Class WhatsApp Group.
Artificial Intelligence
Entrepreneurship French IT
AI IIT/NEET CUET
Groups Rules & Regulations:
To maximize the benefits of these WhatsApp groups, follow these guidelines:
Additional notes:
1. Avoid posting messages between 9 PM and 7 AM.
2. After sharing resources with students, consider deleting outdated data if necessary.
3. It's a NO Nuisance groups, single nuisance and you will be removed.
No introductions.
No greetings or wish messages.
No personal chats or messages.
No spam. Or voice calls
Share and seek learning resources only.
Join our premium groups and just Rs. 1000 and gain access to all our exclusive
materials for the entire academic year. Whether you're a student in Class IX, X, XI, or
XII, or a teacher for these grades, Artham Resources provides the ultimate tools to
enhance learning. Pay now to delve into a world of premium educational content!
Class 12
📣 Don't Miss Out! Elevate your academic journey with top-notch study materials and secure
your path to top scores! Revolutionize your study routine and reach your academic goals with
our comprehensive resources. Join now and set yourself up for success! 📚🌟
Best Wishes,
Team
School of Educators & Artham Resources
SKILL MODULES BEING OFFERED IN
MIDDLE SCHOOL
Artificial Intelligence Beauty & Wellness Design Thinking & Financial Literacy
Innovation
Digital Citizenship Life Cycle of Medicine & Things you should know What to do when Doctor
Vaccine about keeping Medicines is not around
at home
Application of Photography
Satellites
SKILL SUBJECTS AT SECONDARY LEVEL (CLASSES IX – X)
Food Production Front Office Operations Banking & Insurance Marketing & Sales
Artificial Intelligence
Physical Activity Trainer Electronics & Hardware
Data Science
(NEW)
Mass Media Studies Library & Information Fashion Studies Applied Mathematics
Science
You will get Pre- Board Papers PDF, Word file, PPT, Lesson Plan, Worksheet, practical
tips and Viva questions, reference books, smart content, curriculum, syllabus,
marking scheme, toppers answer scripts, revised exam pattern, revised syllabus,
Blue Print etc. here . Join Your Subject / Class signal Group.
Class 2 Class 3
Class 1
Class 5 Class 6
Class 4
Hindi-B
English Hindi-A
IT Artifical intelligence
IT Code-402
Biology Accountancy
Mathematics
BST History
Economics
Geography Sociology Hindi Elective
IP
Vocal Music Comp. Science
IIT/NEET
Entrepreneurship French
Kindergarten