Trending ▼   ResFinder  

CBSE Class 12 Board Exam 2020 : Computer Science (Series C New)

12 pages, 74 questions, 8 questions with responses, 8 total responses,    0    0
cbse12
  
+Fave Message
 Home > cbse12 >   F Also featured on: gayathiripadma

Instantly get Model Answers to questions on this ResPaper. Try now!
NEW ResPaper Exclusive!

Formatting page ...

Code No. 91/C Candidates must write the Code on the Roll No. title page of the answer-book. Please check that this question paper contains 12 printed pages. Code number given on the right hand side of the question paper should be written on the title page of the answer-book by the candidate. Please check that this question paper contains 5 questions. Please write down the Serial Number of the question in the answer-book before attempting it. 15 minute time has been allotted to read this question paper. The question paper will be distributed at 10.15 a.m. From 10.15 a.m. to 10.30 a.m., the students will read the question paper only and will not write any answer on the answer-book during this period. COMPUTER SCIENCE (NEW) Time allowed : 3 hours Maximum Marks : 70 General Instructions : (i) All questions are compulsory. (ii) Question paper is divided into four sections A, B, C and D. .91/D Section A : Unit-1 30 Section B : Unit-2 15 Section C : Unit-3 15 Section D : Unit-4 10 1 P.T.O. SECTION A 1. (a) (b) Which of the following is not a valid variable name in Python ? Justify reason for it not being a valid name. (i) 5Radius (ii) Radius_ (iii) _Radius (iv) Radius Which of the following are keywords in Python ? (i) break (ii) (iii) (iv) (c) (d) 1 1 check range while Name the Python Library modules which need to be imported to invoke the following functions : (i) cos() (ii) randint() Rewrite the following code in Python after removing all syntax error(s). Underline each correction done in the code. input('Enter a word',W) 1 2 if W = 'Hello' print('Ok') else: print('Not Ok') (e) Find and write the output of the following Python code : def ChangeVal(M,N): for i in range(N): if M[i]%5 == 0: M[i] //= 5 if M[i]%3 == 0: M[i] //= 3 L=[25,8,75,12] ChangeVal(L,4) for i in L : print(i, end='#') .91/D 2 2 (f) Find and write the output of the following Python code : 3 def Call(P=40,Q=20): P=P+Q Q=P Q print(P,'@',Q) return P R=200 S=100 R=Call(R,S) print (R,'@',S) S=Call(S) print(R,'@',S) (g) What possible output(s) are expected to be displayed on screen at the time of execution of the program from the following code ? Also specify the minimum and maximum values that can be assigned to the variable End. 2 import random Colours = ["VIOLET","INDIGO","BLUE","GREEN", "YELLOW","ORANGE","RED"] End = randrange(2)+3 Begin = randrange(End)+1 for i in range(Begin,End): print(Colours[i],end="&") (i) (ii) VIOLET&INDIGO&BLUE& INDIGO&BLUE&GREEN& (iii) BLUE&GREEN&YELLOW& 2. (a) .91/D (iv) GREEN&YELLOW&ORANGE& Write the names of the immutable data objects from the following : (i) (ii) List Tuple (iii) (iv) String Dictionary 3 1 P.T.O. (b) (c) Write a Python statement to declare a Dictionary named ClassRoll with Keys as 1, 2, 3 and corresponding values as 'Reena', 'Rakesh', 'Zareen' respectively. 1 Which of the options out of (i) to (iv) is the correct data type for the variable Vowels as defined in the following Python statement ? 1 Vowels = ('A', 'E', 'I', 'O', 'U') (i) List (ii) Dictionary (iii) Tuple (iv) Array (d) Write the output of the following Python code : for i in range(2,7,2): print(i * '$') 1 (e) Write the output of the following Python code : def Update(X=10): X += 15 print('X = ', X) 1 X=20 Update() print('X = ', X) (f) (g) Differentiate between w and r file modes used in Python. Illustrate the difference using suitable examples. 2 A pie chart is to be drawn (using pyplot) to represent Pollution Level of Cities. Write appropriate statements in Python to provide labels for the pie slices as the names of the Cities and the size of each pie slice representing the corresponding Pollution of the Cities as per the following table : 2 Cities Mumbai Delhi Chennai Bangalore Pollution 350 475 315 390 OR .91/D 4 Write the output from the given Python code : 2 import matplotlib.pyplot as plt Months = ['Dec','Jan','Feb','Mar'] Marks = [70, 90, 75, 95] plt.bar(Months, Attendance) plt.show() (h) Write a function Show_words() in Python to read the content of a text file 'NOTES.TXT' and display the entire content in capital letters. Example, if the file contains : 2 "This is a test file" Then the function should display the output as : THIS IS A TEST FILE OR Write a function Show_words() in Python to read the content of a text file 'NOTES.TXT' and display only such lines of the file which have exactly 5 words in them. Example, if the file contains : 2 This is a sample file. The file contains many sentences. But needs only sentences which have only 5 words. Then the function should display the output as : This is a sample file. The file contains many sentences : (i) Write a Recursive function in Python RecsumNat(N), to return the sum of the first N natural numbers. For example, if N is 10 then the function should return (1 + 2 + 3 + ... + 10 = 55). 3 OR .91/D 5 P.T.O. Write a Recursive function in Python Power(X,N), to return the (j) result of X raised to the power N where X and N are non-negative integers. For example, if X is 5 and N is 3 then the function should return the result of (5)3 i.e. 125. 3 Write functions in Python for PushS(List) and for PopS(List) for performing Push and Pop operations with a stack of List containing integers. 4 OR Write functions in Python for InsertQ(Names) and for RemoveQ(Names) for performing insertion and removal operations with a queue of List which contains names of students. 4 SECTION B 3. Fill in the blanks from questions 3(a) to 3(d). (a) (b) (c) (d) (e) .91/D Computers connected by a network across different cities is an example of ___________ . 1 ___________ is a network tool used to test the download and upload broadband speed. 1 A ____________ is a networking device that connects computers in a network by using packet switching to receive, and forward data to the destination. 1 ___________ is a network tool used to determine the path packets taken from one IP address to another. 1 Write the full form of the following abbreviations : 2 (i) POP (ii) VoIP (iii) NFC (iv) FTP 6 (f) Match the ServiceNames listed in the first column of the following table with their corresponding features listed in the second column of the table : Technology 1G 2 Feature IP based Protocols (LTE) True Mobile Broadband Improved Data Multimedia Mobile Broadband Basic Voice Services Analog-based Protocol Better Voice Services Basic Data Services First Digital Standards (GSM, CDMA) 2G 3G 4G (g) Services with What is a secure communication ? Differentiate between HTTP and HTTPS. (h) 3 Helping Hands is an NGO with its head office at Mumbai and branches located at Delhi, Kolkata and Chennai. Their Head Office located at Delhi needs a communication network to be established between the head office and all the branch offices. The NGO has received a grant from the national government for setting up the network. The physical distances between the branch offices and the head office and the number of computers to be installed in each of these branch offices and the head office are given below. You, as a network expert, have to suggest the best possible solutions for the queries as raised by the NGO, as given in (i) to (iv). .91/D 7 P.T.O. Distances between various locations in Kilometres : Mumbai H.O. to Delhi 1420 Mumbai H.O. to Kolkata 1640 Mumbai H.O. to Chennai 2710 Delhi to Kolkata 1430 Delhi to Chennai 1870 Chennai to Kolkata 1750 Number of computers installed at various locations are as follows : Mumbai H.O. 2500 Delhi branch 1200 Kolkata branch 1300 Chennai branch 1100 (i) (ii) .91/D Suggest by drawing the best cable layout for effective network connectivity of all the Branches and the Head Office for communicating data. 1 Suggest the most suitable location to install the main server of this NGO to communicate data with all the offices. 1 8 (iii) Write the name of the type of network out of the following, which will be formed by connecting all the computer systems across the network : 1 (A) WAN (B) MAN (C) LAN (D) PAN (iv) Suggest the most suitable medium for connecting the computers installed across the network out of the following : 1 (A) Optical fibre (B) Telephone wires (C) Radio waves (D) Ethernet cable SECTION C 4. (a) Which SQL command is used to add a new attribute in a table ? 1 (b) Which SQL aggregate function is used to count all records of a table ? 1 Which clause is used with a SELECT command in SQL to display the records in ascending order of an attribute ? 1 Write the full form of the following abbreviations : 1 (c) (d) (e) (i) DDL (ii) DML Observe the following tables, EMPLOYEES and DEPARTMENT carefully and answer the questions that follow : 2 TABLE : EMPLOYEES TABLE : DEPARTMENT ENO ENAME .91/D DOJ DNO DNO DNAME E1 NUSRAT 2001-11-21 D3 D1 ACCOUNTS E2 KABIR D1 D2 HR D3 ADMIN 2005-10-25 9 P.T.O. (i) What is the Degree of the table EMPLOYEES ? What is the cardinality of the table DEPARTMENT ? (ii) What is a Primary Key ? Explain. OR (f) (g) Differentiate between Selection and Projection operations in context of a Relational Database. Also, illustrate the difference with one supporting example of each. 2 Write whether the following statements are True or False for the GET and POST methods in Django : 2 (i) POST requests are never cached. (ii) GET requests do not remain in the browser history. Write outputs for SQL queries (i) to (iii), which are based on the following tables, CUSTOMERS and PURCHASES : Table : CUSTOMERS CNO CNAME CITIES C1 SANYAM DELHI C2 SHRUTI DELHI C3 MEHER MUMBAI C4 SAKSHI CHENNAI C5 RITESH INDORE C6 RAHUL DELHI C7 AMEER CHENNAI C8 MINAKSHI BANGALORE C9 ANSHUL MUMBAI SNO S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 .91/D Table QTY 15 10 12 7 11 10 5 20 8 15 6 : PURCHASES PUR_DATE 2018-12-25 2018-11-10 2018-11-10 2019-01-12 2019-02-12 2018-10-12 2019-05-09 2019-05-09 2018-05-09 2018-11-12 2018-08-04 CNO C2O C1 C4 C7 C2 C6 C8 C3 C9 C5 C7 (i) SELECT COUNT(DISTINCT CITIES) FROM CUSTOMERS; (ii) SELECT MAX(PUR_DATE) FROM PURCHASES; (iii) SELECT CNAME, QTY, PUR_DATE FROM CUSTOMERS, PURCHASES WHERE CUSTOMERS.CNO = PURCHASES.CNO AND QTY IN (10,20); 10 3 (h) Write SQL queries for (i) to (iv), which are based on the tables : CUSTOMERS and PURCHASES given in the question 4(g) : 4 (i) To display details of all CUSTOMERS whose CITIES are neither Delhi nor Mumbai. (ii) To display the CNAME and CITIES of all CUSTOMERS in ascending order of their CNAME. (iii) To display the number of CUSTOMERS along with their respective CITIES in each of the CITIES. (iv) To display details of all PURCHASES whose Quantity is more than 15. SECTION D 5. (a) (b) (c) .91/D An organisation purchases new computers every year and dumps the old ones into the local dumping yard. Write the name of the most appropriate category of waste that the organisation is creating every year, out of the following options : (i) Solid Waste (ii) Commercial Waste (iii) E-Waste (iv) Business Waste Data which has no restriction of usage and is freely available to everyone under Intellectual Property Rights is categorised as (i) Open Source (ii) Open Data (iii) Open Content (iv) Open Education What is a Unique Id ? Write the name of the Unique Identification provided by Government of India for Indian Citizens. 11 1 1 2 P.T.O. (d) Consider the following scenario and answer the questions which follow : 2 A student is expected to write a research paper on a topic. The student had a friend who took a similar class five years ago. The student asks his older friend for a copy of his paper and then takes the paper and submits the entire paper as his own research work. (i) (ii) (e) Which of the following activities appropriately categorises the act of the writer ? (A) Plagiarism (B) Spamming (C) Virus (D) Phishing Which kind of offense out of the following is made by the student ? (A) Cyber Crime (B) Civil Crime (C) Violation of Intellectual Property Rights What are Digital Rights ? Write examples for two digital rights applicable to usage of digital technology. (f) .91/D 2 Suggest techniques which can be adopted to impart Computer Education for (i) Visually impaired students (someone who cannot write). (ii) Speech impaired students (someone who cannot speak). 12 2

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Sha Ro

(8)

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : cbse, cbse papers, cbse sample papers, cbse books, portal for cbse india, cbse question bank, central board of secondary education, cbse question papers with answers, prelims preliminary exams, pre board exam papers, cbse model test papers, solved board question papers of cbse last year, previous years solved question papers, free online cbse solved question paper, cbse syllabus, india cbse board sample questions papers, last 10 years cbse papers, cbse question papers 2017, cbse guess sample questions papers, cbse important questions, specimen / mock papers 2018.  

© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us

 

cbse12 chat