Class XI-Sample Paper

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

VIKASH GROUP OF INSTITUTIONS, BBSR,BWP,SBP,RGR

TERM – II EXAMINATION (2023-2024)-CLASS-XI


SUBJECT: COMP.SCI (083)

Time: 90 MINS. Full Marks: 35


General Instruction.
 The question paper is divided into 5 sections – A, B, C, D and E
 Section A, consists of 6 questions (1-6). Each question carries 1 mark.
 Section B, consists of 3 questions (7-9). Each question carries 2 marks.
 Section C, consists of 3 questions (10-12). Each question carries 3 marks.
 Section D, consists of 1 question (13). Each question carries 4 marks.
 Section E, consists of 2 question (14&15). Each question carries 5 marks.

SECTION-A
1. Which of the following is used as white spaces in Python.
(a) Blank Spaces (b) Tabs (c) newline (d) All of these
2. Identifier can contain (_) underscore.
(a) True (b) False
3. A/An ............... operator works on a single operand.
(a) Binary (b) Unary (c) Both (d) None of These
4. Identify which is not a logical operator used in Python.
(a) ++ (b) && (c) || (d) !
5. Assertion and Reason based questions:
Assertion (A): Python is a case sensitive programming language.
Reason (R): It will not treat upper and lower-case character differently.
(a)Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).
(b)Both Assertion (A) and Reason (R) are true but Reason (R) is not the correct explanation of Assertion (A).
(c) Assertion (A) is true but Reason (R) is false.
(d) Assertion (A) is false but Reason (R) is true.
6. Rewrite the following code after removing all syntax error(s) if any. If No. What will be the output?
a='\My name is:\' Vikash'”
print(aType(a))
SECTION -B

7. What is String Escape Sequence? Explain at least 4 escape sequences?


OR
What is the string length for the following code.
i) Str=’’’xxxxx\\\\nnnn\b” ii) \n Chhatisgarh\n

8. Convert the following as per instruction given below.


i) convert 1948.B6 into binary number ii) Convert 7BA3.BC4 into binary number
OR
(a) Draw the truth table and its symbol for two input X-OR gate.
(b) Design a logic circuit and draw its diagram for the Boolean expression: (A+B).(A+B)=A+B
9. What is RAM? How it is differ from ROM.
OR
Write a program as per the given instruction below?
i) Display “10 Even Numbers”
ii) Define print() and len()

SECTION –C

10. What is Primary Memory? Discuss the types?


11. What is the difference between High level-Language and Low-level Language?
12. What is Floating point Numbers. How it can be represented?

SECTION -D
13. What is the difference between Interactive mode and shell mode in python

OR
What is Digital Property? Describe with example.
SECTION -E
14. What is Identifiers? Discuss each of the Identifiers used in Python.`
OR
What is Open Source Philosophy and software License.
15. Solve AB’+BC’D’ with truth table and draw its logic gates

OR
a) What is Hardware? Explain the main components CPU, Keyboard, Monitor?
b) What is Ethical Issues. Discuss?

You might also like