18 solutions available
Question 9Find the output of the following:for i in range(20, 30, 2): print (i)1.21 22 23 24 25 2.21 23 25 27 29 3....
Question 11Observe the given code and select the appropriate output.Tuple given: tup1 = (10, 20, 30, 40, 50, 60, 70, 80, 90)What will be the output...
Question 12Select the correct output of the following string operators.str1='One' print(str1[:3] + 'Two' + str1[-3:])OneOneTwoTwoOneOneOneTwoOneError
Question 13When a list is contained in another list as a member-element, it is called ............... .Nested tupleNested listArrayList
Question 14The ............... method removes the last entered element from the dictionary.pop()remove()popitem()del
Question 15Srishti is down with fever, so she decides not to go to school. The next day, she calls up her classmate Shaurya and enquires about the...
Question 16............... are the records and traces individuals leave behind as they use the internet.Digital footprintsCookiesWebsiteURL
Question 17Assertion (A): In Python, a variable can hold values of different types at different times.Reason (R): Once assigned, a variable's data...
Question 18Assertion (A): Python lists allow modifying their elements by indexes easily.Reason (R): Python lists are mutable.Both A and R are true...
Question 24(b)What are the ways by which websites track us?
Question 25(b)Differentiate between copyright and plagiarism.
Question 27(b)Explain the given built-in string functions and provide the syntax and example of each.(a) replace()(b) title()(c) partition()
Question 29What are the characteristics of Dictionary?
Question 30What are the issues associated with disability while teaching and using computers?
Question 33(a)Draw the structure of the components of a computer and briefly explain the following.(a) Input Unit(b) Output Unit(c) Central...
Question 33(b)Write a menu-driven program to implement a simple calculator for two numbers given by the user.Solutionwhile True: print("Simple...
Question 34(b)Write a program to create a dictionary with the roll number, name and marks of n students in a class, and display the names of students...
Question 35Explain any five social media etiquettes.