0% found this document useful (0 votes)
3 views

11 Computer Science

This document is an annual exam paper for the Computer Science subject for Class XI, covering the session 2023-2024. It consists of 35 questions divided into five sections, with varying marks assigned to each section, and requires answers to be provided in Python. The exam includes multiple-choice questions, programming tasks, and theoretical questions related to computer science concepts.

Uploaded by

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

11 Computer Science

This document is an annual exam paper for the Computer Science subject for Class XI, covering the session 2023-2024. It consists of 35 questions divided into five sections, with varying marks assigned to each section, and requires answers to be provided in Python. The exam includes multiple-choice questions, programming tasks, and theoretical questions related to computer science concepts.

Uploaded by

shreeshpd07
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Annual Exam

Session: 2023-2024
Name: -______________________ Date: - ________
Class: - XI Time: -3 hours
Subject – Computer Science M.M- 70

General Directions:
• Please check this question paper contains 35 questions.
• The paper is divided into four sections- A, B, C, D and E
• Section A, consists of 18 questions (1 to 18). Each question carries 1 mark.
• Section B, consists of 7 questions (19 to 25). Each question carries 2 marks.
• Section C, consists of 5 questions (26 to 30). Each question carries 3 marks each.
• Section D, consists of 3 questions (31 to 33) of 5 marks.
• Section E, consists of 2 questions (34 and 35). Each question carries 4 marks.
• All programming questions are to be answered using Python language only.

Ques. No. Question Marks


SECTION - A
1 E=mc is equivalent to python code…………..
2
1
a. E=m*c**2 b. E=m*math.pow(c,2) c. E=m*c*c d. E=m*pow(c,2)
2 The expression for the Absorption law is given by……….. 1
a. A+AB=A b. A+AB=B c.AB+AA’=A d. A+B=B+A
3 The involution of A is equal to_______ 1
a. A b. A’ c. 1 d. 0
4 The output of a two-input OR Gate is high when 1
a. Both inputs are low c. Both inputs are high
b. Any one input is high d. Only one input is high
5 This software library provides an abundance of useful features and functions for 1
operations on numeric arrays and matrices in python.
a. NumPy b. SciPy c.Panda Library d. Tinker
6 This is a high speed memory available inside CPU in order to speed up access to data 1
and instructions stored in RAM memory.
a. Registers b. Cache c. Flash drive d. None of these
7 Kind of ROM in which the contents are programmed by the IC manufacturer 1
a. EPROM b. EEPROM c.Flash EEPROM d. Mask ROM
8 How many bytes are there in 1011 1001 0110 1110? 1
a. 1 b. 4 c. 2 d. 8
9 Which of the following is not the valid encoding scheme for characters? 1
a. ASCII b. ISCII c. Unicode d. ESCII
10 Which of these is not a characteristic of Good Algorithm? 1
a. Precision b. Uniqueness c. Infiniteness d. Input / Output
11 Storage of 1 GB means the following number of bytes: 1
a. 1064 MB b. 964 MB c.1024 MB d. 1000 MB
12 input( ) always return this data type value 1
a. String b. List c.None d. Tuple
13 Escape sequences are treated as: 1
a. Strings b. Characters c. Integers d. None of these
14 What is the binary equivalent of (1948.B6)16? 1
a. (14510.554)8 b. (14500.554)8 c.(14510.553)8 d. None of these
15 Find the output of the following code: 1
a , b =3+5/8 , int(3 + 5/8)
c=3+float(5/8)
d=3+float(5)/8
e=3+5.0/8
f=int(3+5/8.0)
print(a , b , c , d , e , f)
a. Error in the program c. 3.625 3 3.625 3.625 3.625 3
b. 3 3 3.625 3.625 3.625 3 d. 3.625 3 3 3.625 3.625 3
16 Function range(3) will yield an iteratable sequence like……….. 1
a. [0,1,2] b. [0,1,2,3] c.[1,2,3] d. [0,2]
Q.No 17 and 18 are Assertion and Reason based Questions. Choose the most
appropriate answer.
17 Assertion (A): Lists are mutable. 1
Reason (R): We can update single or multiple elements of the list.
a. Both A and R are true and R is the correct explanation of A.
b. Both A and R are true but R is not the correct explanation of A.
c. A is true but R is false.
d. A is false but R is true
e. Both A and R are false.
18 Assertion (A): The pop( ) method can be used to delete elements from a dictionary. 1
Reason (R): The pop( ) method deletes the key-value pair and returns the value of
deleted element.
a. Both A and R are true and R is the correct explanation of A.
b. Both A and R are true but R is not the correct explanation of A.
c. A is true but R is false.
d. A is false but R is true.
e. Both A and R are false.
SECTION - B
19 Suppose d={“John”:40,”Peter”:45}, to delete the entry for “John”, what command 2
do we use?
20 Convert the following: 2
a. (6BE0)16 into binary number system.
b. (7654321)8 into decimal number system.
21 What is the dual of: 2
a. A+(BC)+(0(D+1))
b. F=AB(C+(D’LG(B’+A+E)))(H+(J’A’B’))
c. (A+C)(A’+B)=AB+AC’
d. (AB)’+A’+AB=0
22 What will be the output of the following code and why? 2
D1={“abc”:5,”def”:6,”ghi”:7}
print(D1[0])
23 What is the difference between algorithm and pseudocode? 2
24 Explain the functions: random( ), id( ) 2
25 How can one update and manipulate lists in python? 2
SECTION - C
26 Explain the difference between append( ) and extend( ) methods with the help of 3
examples.
27 Find the output of the following codes: 3
a. >>>L=[‘w’,’e’,’l’,’c’,’o’,’m’,’e’]
>>>print(max(L))
b. >>>L=[1,2,3,4,5,[6,7,8]]
>>>print(L[5])
c. >>>T=(“Amit”,”Sumit”,”Naina”)
>>>print(T*4)
28 Write a program in python to: 3
a. Find the factorial of 56.
b. Check whether the number input by the user is Armstrong or not.
29 Answer the following: 3
a. Define slicing in tuples.
b. Explain the Unicodes.
c. What are augmented assignment operators?
30 Solve the following questions: 3
a. (11100011101-101010101)2
b. (1110101+1101011)2
c. (101011*1110)2
d. 101011÷110
SECTION – D
CASE / SOURCE BASED QUESTIONS:
31 In python, dictionary is an unordered collection of data values that stores key: value 5
pair instead of single value as an element.
Each key is separated from its value by a colon (:). The items are separated by
commas, and the whole thing is enclosed in curly braces. An empty dictionary
without any items is written with just two curly braces like this:{}
a. Which of the following methods returns a sorted sequence of the keys in the
dictionary?
A. sorted() B. fromkeys() C.update() D. items()
b. Predict the output:
Dic={“Ansh”:25,”Ritu”:30}
print(Dic[“Ritu”])
A. 25 B.30 C.55 D. 27
B. 30
c. State True / False:
clear() method is used to remove the elements of the dictionary, also it will
delete both elements and a dictionary.
d. Which of the statements create a dictionary?
A. D={} C.d={“Rajan”:40,”Akshay”:45}
B. D={40:”Somya”,45:”Sanchi”} D. All of these
e. What should be the data type of keys in dictionary?
32 Based on the following code answer the questions: 5
import _____________#statement 1
AR=[20,30,40,50,60,70]
FROM=______________ . randint(1,3)#statement 2
TO=random . randint(2,4)
for K in range(FROM,TO + 1):
print(AR[K],end=”#”)
print(“=====EXIT=====”)
a. What module should be imported to execute the above code in statement1?
A. math B. random C. pickle D. csv
b. What will be the maximum value of the variables FROM and TO?
A. 3,4 B.4,3 C.2,4 D. 4,2
c. What will be the minimum value of the variables FROM and TO?
A. 2,1 B.1,2 C.1,3 D. 4,2
d. What possible output(s) are expected to be displayed on screen at the time of
execution of the program?
A. 10#40#70# B. 30#40#50# C. 50#60#70# D. 40#50#70#
e. What is the data type of AR?
A. List B. Tuple C. String D. Dictionary
33 Reena Trivedi has purchased a new system with 2 TB hard disk, 8 GB RAM, 64-bit 5
microprocessor, keyboard, mouse, printer cum scanner, speakers. She configured it
for work. Now answer the following questions based on this case study.
A. Where is OS located in computer system?
a. RAM b. ROM c.Hard disk d. DVD
B. The recorded instructions and programs that govern computer working are:
a. Software b. Firmware c.Hardware d. Humanware
C. Which one is the input device?
a. Printer b. Monitor c.Scanner d. All of these
D. Which free of cost OS can be installed in the system?
a. UBANTU b. LINUX c.UNIX d. None of these
E. Falsh memory is
a. Volatile b.Non-volatile c.Both a and c d. None of these

SECTION – E
34 Answer the following questions: 4
a. Find the output in the following program and debug error if any.
Tp1=(15,11,16,17,12)
Tp1=pop(12)
print(Tp1)
t=(5,)
t=t*2
print(len(t))

b. Write the code snippets to do the following:


• Add two lists
• Display only the keys of a dictionary

35 Solve the following: 4


a. Write a Python program to calculate the sum of the series:
S=(1)+(1+2)+(1+2+3)+……………….+(1+2+3+…..+n)
b. Draw logic circuit and truth table for the following expression:
Y = (ABC + B’C + C’A’)’

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy