42 solutions available
Question 1Arithmetic Logic Unit and Control Unit of a computer together are known as ............... .Central Processing UnitMemory UnitI/O...
Question 2............... is logically equivalent to an inverted XOR gate.ANDXNORORNOR
Question 3The smallest individual unit in a program is known as ............... .DigitsTokensLiteralsUnits
Question 4Which of the following is an invalid data type in Python?SetsRealIntegerNone of these
Question 5What will be the output of the following code?import math x = 100 print(x>0 and math.sqrt(x))True11010.0
Question 6............... is a network security system, either hardware-based or software-based, that controls the incoming and outgoing network...
Question 7Kritika wants to divide a number and store the result without decimal places into an integer variable. Suggest an appropriate operator from...
Question 8Which of the following methods splits the string at the first occurrence of separator and returns a tuple containing three...
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 10Which of the following functions will return the first three characters of a string named 's'?s[3:]s[:3]s[-3:]s[:-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 19Convert the following binary numbers into decimal:(a) 10010(b) 101010
Question 20Draw a logical circuit for the following equations:(A+B)CAB'+C'
Question 21Observe the code given below and answer the following questions:n = ............... #Statement 1 if ............... : #Statement 2...
Question 22Explain the membership operators in String.
Question 23(a)Differentiate between append() and extend() methods and provide examples of each.
Question 23(b)Consider the string mySubject:mySubject = "Computer Science"What will be the output...
Question 24(a)Consider the dictionary stateCapital:stateCapital = {"AndhraPradesh" : "Hyderabad", "Bihar" : "Patna",...
Question 24(b)What are the ways by which websites track us?
Question 25(a)What is IPR infringement and what are the forms of IPR infringement?
Question 25(b)Differentiate between copyright and plagiarism.
Question 26Draw a flow chart to print even numbers from 2 to 10 using the loop approach and provide its algorithm.
Question 27(a)What will be the output of the following code? Also, give the minimum and maximum values of the variable x.import random List =...
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 28(a)Write a program to count the frequency of a given element in a list of numbers.Solutionmy_list = eval(input("Enter the list: ")) c =...
Question 28(b)Write a program to check if the smallest element of a tuple is present at the middle position of the tuple.Solutiontup = (5, 9, 1, 8,...
Question 29What are the characteristics of Dictionary?
Question 30What are the issues associated with disability while teaching and using computers?
Question 31Observe the code given below and answer the following questions. A triangle has three sides — a, b and c, and the values are 17, 23 and...
Question 32Meera wants to buy a desktop/laptop. She wants to use multitasking computer for her freelancing work which involves typing and for...
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(a)Write a program that inputs a list, replicates it twice and then prints the sorted list in ascending and descending...
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.