Class 11 Cs Question Paper
Class 11 Cs Question Paper
2.The track on the Hard Disc surface are divided into invisible segments known as _____
a. Electrical Numeric Input accessing Component c. Electronic Numbers Input accessing Computer
b. Electrical Numbers Integrated and Characters d. Electronic Numeric Integrated and Calculator
8. A dictionary operation that takes a key and finds the corresponding value, is called
11.Bootstrap is a _________.
16. Assertion (A): We cannot access more than one element of Series without slicing .
Reason (R): More than one element of series can be accessed using a list of positional index or labeled index.
a) Both A and R are true and R is the correct explanation of A.
a.T1=3,4,5 b.T3=(3,4,5)
T2=(3,4,5) T4=((3,4,5))
18. Given a list of integers , L , write code to add the integers and display the sum.
19. Prove the absorption law of Boolean algebra with the help of truth table .
Dict = {‘Pavi’:9,’Kaviya’:2,’Maha’:0,’Meenu’:7}
a=’Pavi
v=-9
if i in Dict:
Dict[k]=v
Print Dict
SECTION~C(3 Marks)
23. Prove the following using Truth Table.
i. A(B+B’C+B’C’)=A ii.A+A’B’=A+B’
25.What is meant by tautology and fallacy ? Prove that 1+Y is a tautology and 0.Y is a fallacy.
26.Write a program that reads a string and then prints a string that capitalizes every other characters in the string .
d=dict()
d[‘left’]=’<’
d[‘right’]=’>’
d[‘end’]=’ ‘
print(‘end’)
b.
x=[‘3’,’4’,’5’]
y=’ ‘
while x:
y=y+x[-1]
x=x[:len(x)-1]
print(y)
print(x)
print(type (x),type(y))
28. Write a python program to receive the numbers from user through keyboard until user gives 0 (to end the input
process), then the program calculate and display the sum of given odd numbers and even numbers respectively.
SECTION~D(5 Marks)
29. Write an algorithm to find: [5]
(i) Factorial of a number
(ii) Print Fibonacci series upto n. Fibonacci number is the sum of previous 2 numbers in the series. Series is: 0, 1, 1, 2, 3,
5,…
Above 90% A
80% to 90% B
70% to 80% C
60% to 70% D
32. a.Write a program to read a list of n integers (positive as well as negative). Create a dictionary with the numbers as
keys and store the square of the number if it is negative or cube of the number if it is positive.
b. Write a program to check if a number is palindrome without converting to string or any other data-structure, i.e., the
reverse of the number is the number itself.
SECTION ~E(Case Study)
33.Suppose a list is given as Example = [‘h’,’e’,’l’,’l’,’o’] Answer the questions based on the list.
a) 5 b) 4 c) None d) Error
ii.What is Example[-1]
iii. Which function can be used to add one more element at the end of the list ?