NCERT Book Exercise of Class 11 Computer Science 1. After practicals, Atharv left the computer laboratory but forgot to sign off from his email account. Later, his classmate Revaan started using the same computer. He is now logged in as
Read Morechapter 10. Tuples and Dictionary 1. Consider the following tuples, tuple1 and tuple2: tuple1 = (23,1,45,67,45,9,55,45)tuple2 = (100,200) Find the output of the following statements: i. print(tuple1.index(45)) Answer: 2 ii. print(tuple1.count(45)) Answer: 3 iii. print(tuple1 + tuple2) Answer: (23, 1, 45, 67, 45,
Read MoreClass 11 Computer Science – NCERT Book question answers Chapter 9. Lists 1. What will be the output of the following statements? i. Find the output list1 = [12,32,65,26,80,10]list1.sort()print(list1) Answer: [10, 12, 26, 32, 65, 80] ii. Find the output list1 =
Read MoreVery Short Answer type Questions [1 mark each] Question 1:Explain capitalize( ) method in Python.Answer:The method capitalize( ) returns a copy of the string with only its first character capitalized. Question 2:Write the syntax for capitalize( ) method.Answer:Following is the
Read MoreQuestion 1: Observe the following programs carefully, and identify the error: a) def create (text, freq): for i in range (1, freq): print text create(5) #function call b) from math import sqrt,ceil def calc(): print cos(0) calc() #function call c) mynum =
Read More1. What is the difference between else and elif construct of if statement? Answer: – else statement does not allow to check the condition, while elif allow to check the condition. elif is use to handle the multiple situations. 2. What is the
Read More1. Which of the following identifier names are invalid and why? (i) Serial_no. (ii) 1st_Room (iii) Hundred$ (iv) Total Marks (v) Total_Marks (vi) total-Marks (vii) _Percentage (viii) True Answer: – Valid Identifiers are : (v) Total_Marks and (vii) _Percentage Invalids Identifiers
Read MoreIntroduction to Problem Solving Class 11 Questions and Answers 1. Write pseudocode that reads two numbers and divide one by another and display the quotient.Answer –Input num1Input num2Calculate div = num1 / num2Print div 2. Two friends decide who gets
Read MoreEmerging Trends Class 11 Questions and Answers 1. List some of the cloud-based services that you are using at present.Answer – Some of the cloud based services area. Infrastructure as a Service (IaaS) – The IaaS providers can offer different kinds of
Read MoreEncoding Schemes and Number System Class 11 important Terms Encoding Schemes A computer can only understand binary (0s and 1s) numbers. As a result, whenever a key is touched on a keyboard, is internally translated into a special code known
Read More