CBSE Sample Paper for Class 11 Computer Science (Solved) – Set B

CBSE Sample Paper for Class 11 Computer Science and its solutions are strictly based on the CBSE Board latest syllabus and guidelines. Set B of Solved CBSE Sample Paper for Class 11 Computer Science is given below with its solutions.

Sample Question Paper

1. Answer the following questions:

(a) Define Software. (1 mark)
(b) How many characters are supported in ASCII? (1 mark)
(c) Expand DRAM. (1 mark)
(d) Write a Python program to print table from 5 to 10. (2 marks)

2. Answer the following Questions:

(a) Name three levels of data abstraction. (1 mark)
(b) Define Network DBMS. (1 mark)
(c) Write two features of Linux Operating System? (2 marks)
(d) What is a software interrupt? Give an example. (2 marks)

3. Answer the following questions:

(a) What is the difference between c[:] and c[:-1] Assuming, c is a list ? (1 mark)
(b) Write short note on Object Oriented Programming Approach. (2 marks)
(c) What are decorators in python? (2 marks)
(d) What is the difference between lists, tuples and dictionaries? Give an example for their usage. (3 marks)
(e) What types of conditional structures are present in a programming language? How many of them are supported in Python? (3 marks)

4. Answer the following questions:

(a) What are Global Variables? What is their scope in program? (2 marks)
(b) Write the output produced by this program below.
words = ‘Hello World’
print words.title()
print words .replace(“World”, `Oswal’)
print words.upper()
print words * 2 (2 marks)
(c) What is interpreter? Draw a diagram showing working of interpreter. (3 marks)
(d) Assuming num = 125, determine the value of each of the following Python expressions:
(i) num / 125
(ii) num%100
(iii) (num==21) & (2<3)
(iv) not((num<45.9) & (6*2<=13)) (4 marks)
(e) Write a program to enter a number in python and print its octal and hexadecimal equivalent. (4 marks)
(f) Write an algorithm to enter a date in DD/MM/YYYY format and check if the date is in the correct format or not. (4 marks)

5. Answer the following questions:

(a) What will be the output of the following
def func(x):
print z=x**3
func(4)
(b) Apply trim() to the following string:
s = `aaa bbb ccc ddd’ (1 mark)
(c) If you are given the phone numbers of a class of students how would you store it and in what datatype? (2 marks)
(d) The following code is supposed to remove numbers less than 5 from list n, but there is a bug.
Fix the bug and underline each correction made by you.
n = [1,2,5,10,3,100,9,24]
for e of n:
if e>5:
n.remove(e)
print e (3 marks)
(e) Demonstrate the use of exception handling in python. (4 marks)

6. Answer the following questions:

(a) Differentiate between ceil( ) and floor( ). (1 marks)
(b) Write the output produced by this program below.
x = 3
if x!=2 :
print ‘First’
else :
print ‘Second’
if 2 > x: print ‘Third’
print ‘Fourth’
print ‘Fifth’
(c) Find the terror in the following program.
line = ‘its my world’
print “You typed”, line
line = line + “h”
num = int(line)
print “You typed the number “, num (3 marks)
(d) Draw a flowchart to calculate greatest of three entered numbers. (4 marks)

7. Answer the following questions:
(a) Write one function performed by School Management System. (1 mark)
(b) Define Booting. (1 marks)
(c) Write three differences between Bluetooth and Infrared. (3 marks)
(d) Write a short note on Third Generation of Computers. (3 marks)

Sample Question Paper Solutions

All CBSE Sample Papers for Class 11 Computer Science Class 11 All Subjects All Classes

Advertisements

comments