0% found this document useful (0 votes)
27 views6 pages

Hy CS Xi

The document is a question paper for the Half Yearly Examination 2023-24 for Computer Science (XI) at Dalmia Public School, Sutrapada. It includes two parts: Part A with short answer and case study questions, and Part B with descriptive questions of varying lengths, all focused on Python programming. The exam is structured to assess students' understanding of computer science concepts, programming skills, and problem-solving abilities.

Uploaded by

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

Hy CS Xi

The document is a question paper for the Half Yearly Examination 2023-24 for Computer Science (XI) at Dalmia Public School, Sutrapada. It includes two parts: Part A with short answer and case study questions, and Part B with descriptive questions of varying lengths, all focused on Python programming. The exam is structured to assess students' understanding of computer science concepts, programming skills, and problem-solving abilities.

Uploaded by

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

DALMIA PUBLIC SCHOOL, SUTRAPADA.

HALF YEARLY EXAMINATION 2023-24


COMPUTER SCIENCE (XI) - 083
Time allowed: 3 hours Maximum marks: 70

General Instructions:
(i) This question paper contains two parts A and B. Each part is compulsory.
(ii) Part – A has two sections:
(a) Section-I is short answered questions, to be answered in one word or line.(15)
(b) Section-II has two case study based questions. Each case study has 4 marks. (2)
(iii) Part-B is descriptive paper. It has three sections.
(a) Section-I is short answer questions of 2 marks each. (10)
(b) Section-II is long answer questions of 3 marks each. (4)
(c) Section-III is very long answer questions of 5 marks each. (3)
(iv) Programming language: PYTHON

Part-A (Section-I)

(Attempt any 15 questions out of first 16.)

1. CPU stands for _____________________________________. [1]

2. _________ is an audio input device. [1]


(a) Speaker (b) Mouse (c) Microphone

3. What is Software? [1]

4. Which of the following is not valid string in python? [1]


(a) “good morning” (b) ‘good morning’ (c) {good morning} (d) “good morning’
5. 1 KB = ________ bytes. [1]
(a) 1024 (b) 512 (c) 1000
6. What do you mean by Operating system? [1]
7. Give full form: RAM [1]

8. What is the base value of Hexadecimal number? [1]


9. Which of the following is not a keyword? [1]
(a) continue (b) while (c) name (d) for
10. Which of the following is valid arithmetic operator in Python? [1]
(a) // (b)? (c) < (d) and
11. Which of the following is valid membership operator?
(a) in (b) not in (c) both a and b (d) none of the above [1]
12. The string indexes begin ____________ onwards. [1]
13. Statement x += y is equivalent to _____________. [1]
(a) x = x + y (b) x=x*y (c) x=y+x (d) y=y*x

Half Yearly Examination 2022


14. Which of the following is an assignment operator? [1]
(a) = (b)/= (c) *= (d) all of the above
15. >>> 14 + 2 ** 2 evaluates to _________________ [1]
(a) 256 (b) 18 (c) 28 (d) None of the above

16. Ahaana wants to make a fun program, if user enters any positive number a “Good”
or if number is negative a “funny” message will appear . She is confused that which
is the most suitable control to be used to make such program. Help her to choose
correct option. [1]
(a) if (b) if else (c) if elif (d)nested if

Part-A Section-II

18. Write a program to obtain principal amount, rate of interest and time from user
Compute Simple Interest. [4]

19. Write a program to enter a number and check if it is even or odd. [4]

Part-B (Section-I)

20. Assertion (A): The Hexadecimal system uses base 16.


Reason (R): It uses the digits 0 through 9 and letters A- F as symbols
(a) Both (A) and (R) are true and (R) is a correct explanation of Assertion
(b) Both (A) and (R) are true, but (R) is not the explanation of Assertion
(c) If the assertion is true but Reason is false.
(d) If both Assertion and Reason are false. [2]
21. What do you understand by input unit? List some input devices. [2]
22. What are data types? [2]
23. Write some advantages of python. [2]
24. What are the difference between keyword and Identifier? [2]
25. Rewrite the following code after removing errors. Underline each correction [2]
A=input(“Enter the number”)
B=input(“Enter the number”)
If(A>B)
print(“A is big”)
Else if(B>A)
print(“B is big”)
else
Print(“Both are equal”)

26. Give truth table for the Boolean expression: (X+Y’ )’. [2]
27. What do you mean by mutable datatype? [2]
28. Using truth table, Prove that AB+BC+CA’=AB+CA’ [2]
29. What are python tokens? [2]
Part-B (Section-II)

30. Convert the following decimal values to its binary equivalent: [3]
(a) 4710 (b) 20010
31. Convert following binary values to its decimal equivalent: [3]
(a) 1101 (b) 111010
Half Yearly Examination 2022
32. Convert following decimal numbers to octal equivalent: [3]
(a) 5610 (b) 161
33. Convert following Hexadecimal to decimal equivalent: [3]
(a)23D (b) A07

Part-B (Section-III)

34. Write a program to read a number n and print n2, n3 and n4. [5]

35. Write a program to check if the year entered by user is a leap year or not. [5]

OR
Write a program to check the validity of a person for voting.

36. Write a program to read 3 subjects marks and calculate its average. If the
Average is more than 70, print ‘Excellent’. [5]

All the Best

Half Yearly Examination 2022


Half Yearly Examination 2022
Half Yearly Examination 2022
Half Yearly Examination 2022

You might also like