Computer Science Sumita Arora Class 11 <SECURE>

The book covers a range of topics, including:

Until the CBSE exam pattern changes, the book will remain the undisputed king. But every great programmer who survived Class 11 knows the secret: you use Arora to pass the test, and then you forget her syntax to learn the art.

a) Define a list in Python. Is it mutable or immutable? b) What is a tuple? How is it different from a list? c) What is a dictionary? How are dictionary keys different from values? d) What is slicing in the context of Python strings? e) Write the function of len() and type() functions. computer science sumita arora class 11

a) Write a Python program to find the sum of all elements in a list. Example: [10, 20, 30] sum is 60 . b) What is the difference between append() and extend() methods of a list? c) Write a program to accept 5 numbers from the user and store them in a list. Print the largest number.

a) Write a Python program to create a dictionary storing Country names as keys and their Capitals as values. Print all keys. b) Write the output of the following code: The book covers a range of topics, including:

Output: Valid, 5, 5. 6. b) i) Sumita, ii) Arora, iii) 11. 7. b) append() adds a single element to the end; extend() adds elements of an iterable (like another list) to the end. 8. b) No, tuples are immutable. We must delete the whole tuple using del .

If you're a Class 11 student or a teacher looking for a reliable textbook, "Computer Science with Python" by Sumita Arora is an excellent choice. Is it mutable or immutable

Write a Python program that acts as a simple calculator.

x = 10 y = 5 if x > 5 and y < 10: print("Valid") x = x - y else: print("Invalid") print(x, y)