0% found this document useful (0 votes)
135 views8 pages

Computer Science Class XI Question Paper

Uploaded by

Alt account
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
135 views8 pages

Computer Science Class XI Question Paper

Uploaded by

Alt account
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
Roll No. CLASS-XI COMPUTER SCIENCE (083) ANNUAL EXAM (2020-21) Time allowed : 3 hours Maximum Marks : 70 General Instructions : 1. This question paper contains two parts A and B. Each part is compulsory 2. Both Part A and Part B have choices. 3. Part-A has 2 sections : (@) Section-I is short answer questions, to be answered in one word or one line. (b) Section-I has two case studies questions. Each case study has 4 case-based sub- parts. An examinee is to attempt any 4 out of 5 sub-parts. 4. Part-B is Descriptive paper. 5. Part-B has three sections : (@) Section-I is short answer questions of 2 marks each in which two questions have internal options. (®) Section-I1 is long answer questions of 3 marks each in which two questions have internal options. (©) Section-IIT is very long answer questions of 5 marks each in which one question has an internal option. 6. All programming questions are to be answered using Python language only. Part-A Section-I Select the most appropriate option out of the options given for each question. Attempt any 15 questions from question no. 1 to 21. J Find the valid identifier from the following : 1 (a) account#number (b) student_name (©) 5Rollnumber (@ while a word = “database” word( 072} will be s “ (a) dibs (b) data (o) dth (d) dite ‘Tho contents of the string cannot be changed after it has been rested. It means bring tn 1 (a) boolean date type (b) mutable data type (0) immutable data type (4) not a data type ‘The symbol »»> is in Python ealled- 1 (a) Relational opsrator (b) Python prompt (0) Invalid operator (4) Input operator ‘Thowe oporators can be used with numbers and strings- 1 (a) 1% (b) 4° m= *F (d) +,* units controls sequential instruction execution, interprets instructions and guides data flow. 1 Expand the following terme : 1 (a) IC (b) LSI Fill in the blanks : 1 1PB = ap print("l” + “Am” + "A" + “Patriotic” + “Person”) ‘The output of the statement 1 (a) I 4Am +A +Patriotic +Person (b) LAmAPatrioticPerson (©) lamapatrioticperron (d) 1 Am A Patriotic Person ‘The text files with small pieces of data stored on the user's computer by the web browser while browsing a website are known as ; 1 (a) Virus (b) Spam (©) Trash (d) Cookies a Convert : (2100101, to decimal 1 AX’ Prove (ABY= A+ using truth table, Z ME save: 0001011, + (10100011), _ , ‘i Observe following statements and write the output : 1 TX(19,12,56,18,9,87,34) print(min(T)) 15. Write an example of malware. 1 16. What is Intellectual Property ? 1 17. Name the built-in mathematical function / method that is used to return an absolute value of a number. 1 ‘© The output of the statement printid**3) - 1 @ 2 (b) 444 © 6 @ 27 \a8~ This fonction returns ‘True if characters ofthe given string are either alphabets or > numeric. If whitespace or special symbols are part of the given string or the string is empty it returns False. 1 (a) isspaceQ) (b) issymbol0 (© istitleO @_ isalnum() 20 The way we insert COMMENTS in Python code - if (a) // Program to add two numbers (b) * Program to add two numbers */ (©) — Program to add two numbers (@) # Program to add two numbers <2 ____ is the file extension for Python files 1 Section-II Both the Case Study based questions are compulsory. Attempt any 4 sub-parts from each question. Each question carries 1 mark. he Activity Incharge of a school wants to store the data related to all the activities assigned to the students. Aviral/Avi, a computer science student, has to write code for this purpose. Assume you are Aviral/Avi and write the code for following operations : 4 (a) Create a dictionary ‘Activity’ with activity_no as key and activity_name as value. The items of the dictionary are 1, "Yoga’, 2 “Music”, 3 “Dance”, 4 “Singing”, (b) Display the values (©) Display the items (@ Find the length of the dictionary () Retrieve the value corresponding to the key 3. _23% Ima school a new computer system is required. Name the input or output devices to be purchased for the following objectives : 4 (a) To output audio (&) To make a hard copy of a text file (© To enter audio-based command (@ To input data as photographs (@) To read barcode Part-B Section-I 24, Evaluate the following expression : OY 9*3 + 4421/5 -3 (b) 100 > 500 and 81 > 18 or not 52<=52 25. 26. 27. 28. 29. 30. Define testing and debugging in the process of problem solving, 2 OR Define algorithm and pseudocode, Write a program to calculate mode and mean of list of following values : 2 list_val = [11, 22,22,23,22] Rewrite the following code in Python after removing all syntax error(s) : 2 Underline each correction done in the code : num = 55 for val on range(0,num): if val%4 = = 0: print (num)*4 elseif val%5==0: print (num+3) else print(num+10) Write any two features of the social network, Facebook. 2 2 Write the output of the following python code : books = ["Panchatantra”,”Tenali Raman”,“Chandamama’”,“Champak”] for a in books: print(a[0}) What possible output is expected to be displayed on screen at the time of execution of the following code ? Also specify the maximum values that can be assigned to each of the variables Lower and Upper. 2 import random A=[120,230,140,250,160,270] Lower =random.randint(1,3) Upper =random.randint(2,4) for P in range(Lower, Upper +1): print (A(P],end="#4) (a) 120#230#270# (c) 120#250#160# 230#140#250# (d) 140#250#270# at 31. 32. 33. Rewrite the following code using while loop : asint(input(“Enter base”)) b=int(input(“Enter power”)) s-l for i in range(b): print(s) Write a short note on Cyber Stalking. 2 OR Write a short note on Cyber Bullying. Write the output of following code : for i in range(1,5): for j in range(2,i+2): print(@’, end="’) print() Section-II Draw the flowchart to display the first 10 multiples of a user defined number. 3 ‘The Potential Energy of an object is given by the formula : 3 P.E.= MXGXH where Mz=mass of the object Gegravitational force(9.81) Heheight of the object Write a program in Python to input mass and height of. oh Potential Energy. ject and calculate the oR - 36. 37. 38. ‘The formula E = me? statos that the equivalent energy (E) can be calculated as the mass (m) multiplied by tho apood of light (c » about 3 x 10° m/s) squared, Write a Program that accepts the mass of an object and determines its energy. Write @ program to input a string and replace all vowole in the string with a character “#. Display old string and changod string, 3 Consider the following string mySubject: 3 rmySubjoct = "Computot Sef" What will be the output of the following string operations : (a) _print(mySubject{0:lon(mySubject))) (b) print(mySubject{-7:-1)) © print(mySubjectt::2)) OR Consider the following tuples, tuple1 and tuple? : tuplel = (23,1,45,67,45,9,56,45) tuple2 = (100,200) Find the output of the following statements : (a) print(tuple1.index(45)) () _ print(tuplet.count(45)) (ce) print(tuplel + tuple2) Section-II Gaurav and his family went for a picnic. Gaurav uploaded selected images of the picnic on a social networking site so that his friend Rajat could see them. After a day, Gaurav deleted those photographs from that social networking site, 60 that no one could access them, Next day, to his surprise, he saw that one of the images which he had already deleted was available with his friends. 5 Help Gaurav to got answers for the following questions : Give justification for your answer so that Gaurav can understand it clearly. (a) How could friends accoss the image which Gaurav had already deleted ? (b) Can anybody else also accoss those deleted images ? (©) Had those images not boon deloted from Gaurav’s digital footprint ? (d) Write any two precautions ho should take, 7 39. Write a program to perform following operations using a list : Le (100, 150, 10, 80, 200) (a) Append an element (b) Insert an element (© Delete an existing element (@) Modify an existing element (e) Sort the list in descending order Display the list after every operation. Write a program to input rollno and games played by students in a class. Number of studesnts is user defined. Store the data in a dictionary as the key-value pair. Display the data in the following format : 5 RollNo Game 1 Cricket 2 Football 3 Basketball 4 Cricket OR The record of 5 students (Sno and Name) are stored in the following dictionary : 4:Sudhanshw’, 5:Rahul’l di =(1:Tanay’, 2°Ram’, Write a program to retrieve the following informatio: (a) All SNo.s and Names of the students (b) Total number of pairs of SNo and Name (©) Check the SNo 8 is presentor or not (d) The name of SNo 6 (e) Delete the data of SNo 4

You might also like