Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

DELHI PUBLIC SCHOOL

NAVI MUMBAI
SAMPLE PAPER-II (TERM-II) 2021-2022
Class –XII M.Marks-35
Subject - Computer Science(083) Duration-2 Hours
General instructions: The question paper is divided into 3 sections – A, B and C
 Section A, consists of 7 questions (1-7). Each question carries 2 marks.
 Section B, consists of 3 questions (8-10). Each question carries 3 marks.
 Section C, consists of 3 questions (11-13). Each question carries 4 marks.
 Internal choices have been given for question numbers 7, 8 and 12.
 Question paper has 13 questions printed in 4 pages.

1. Explain the working of stack. What is underflow condition.


2. a. Expand ARPANET , POP3
b. Mention the disadvantages of optical fibres.
3. Explain the working of the like clause in My SQL.
4. A result set is extracted from the database using cursor object with the following command.
mydata = cursor.fetchone()
What is the data type of mydata variable.
Which command is used to get the total number of records extracted from the result set.
5.
a. Identify the primary key of the table ITEM. Justify.
b. Identify the degree and cardinality of the above table.

SECTION B
8. Accept a dictionary results having student name as key and marks as values for 5 students.
Write separate functions to
push( ) to push the names of all those students who have scored less than 40 marks .
display( ) to display the stack.
OR
Accept a list of 10 numbers. Write separate functions to
push( ) all even numbers divisible by 3 into a stack
pop( ) and display .
9. a. Explain natural join with an example.
b. Categorize the following commands as DDL and DML – create table , update set , delete from
, drop table
SECTION C

12. Briefly explain Modem and Hub


OR
Explain packet switching .

13. Workalot consultants have a setup in Gurgaon with their headoffice in Mumbai.

You might also like