C.S New Half Yearly-XI
Class : XI Subject: Computer Science (083)
Time Allowed : 3 Hours Maximum Marks: 70
General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
8. All programming questions are to be answered using Python Language only.
| SECTION – A | ||
| 1. | Find the invalid identifier(s) from the following-my_name_mynamemy-namemy2name | 1 |
| 2 | Flash memory is a type of ……………….memory i) primary ii) RAM iii)secondary iv) all of these | 1 |
| 3 | Which of the following are keywords in Python:Printinnot(iv) While | 1 |
| 4 | Expand the following terms:DVDPROM | 1 |
| 5 | Name any two operating system. | 1 |
| 6 | Which of the following is not a octal number: i) 435 ii) 786 iii)542 iii) 236 | 1 |
| 7 | If the following code is executed , what will be the output- st = “Mera#Bharat#Mahan” print(st[ -12 :-6]) | 1 |
| 8 | What will be the result of following Python expression:2**3**2//20 | 1 |
| 9 | Find the output of following code: (if 8 is entered for x and 3 is entered for y )x= input(‘Enter First Number ‘)y=int(input(“Enter second number”)) print(x*y) | 1 |
| 10 | Find the output of following expression-5* len(“2.25”) % 5 | 1 |
| 11 | According to boolean law : X+1 =?i) X ii ) 1 iii) 0 iv) X | 1 |
| 12 | The hexadecimal digits are 0 to 9 and A to ………….i) E ii) F iii) G iv) D | 1 |
| 13 | Which of the following are jump statement :i) break ii) while iii) if iv)for | 1 |
| 14 | if L= [“These”, [“are”,”a”,”few”,”words”],”that”,”we”,”will”,”use”] what does following expreseeion evaluate to?: L[1:2] | 1 |
| 15 | MS-Office is an example of-i) System Software ii) Application Software iii) Utility Software iv) Customized Software | 1 |
| 16 | What is the role of ALU in Computer . | 1 |
| Q17 and 18 are ASSERTION AND REASONING based questions. Markthe correct choice as(a) Both A and R are true and R is the correct explanation for A(b)Both A and R are true and R is not the correct explanation for A(c) A is True but R is False(d)A is false but R is True | ||
| 17 | Assertion: In Boolean algebra, the OR operation is commutative.Reasoning: The commutative property of addition holds true in Boolean algebra, which means that A + B is equal to B + A for any two Boolean variables A and B. | 1 |
| 18 | Assertion(A): List is an immutable data typeReasoning(R): When an attempt is made to update the value of an immutable variable, the old variable is destroyed and a new variable is created by the same name in memory. | 1 |
| SECTION – B | ||
| 19 | Explain infinite loop with example . | 2 |
| 20 | What do you understand by variable. Write a statement for variable assignment. | 2 |
| 21 | Convert the following from given number system to required number system:(123)8 = (?)16 (ii) (ABC)16 = ( ?)8 | 2 |
| 22 | Sonu has written the code but the code is showing errors. Help Sonu and rewrite the code after making all necessary correction or change and underline each correction. | 2 |
| 23 | Explain break statement with example. OrExplain type casting with example . | 2 |
| 24 | Write Boolean expression for the following circuit | 2 |
| 25 | Re-write the following FOR Loop code using WHILE Loop to get same output- for i in range ( 20 , 10, -3) : print( “hello”) | 2 |
| SECTION – C | ||
| 26 | Draw the logic circuit diagram for: AB + ((B+C). BC) | 3 |
| 27 | Explain the identity operators in python with example ? | 3 |
| 28 | Explain internal and external memory . | 3 |
| 29 | Write a program to input radius of a circle and find its area and perimeter . | 3 |
| 30 | Write a program in Python to check whether a string is Palindrome or not. A string is said to be a palindrome if the reverse of the string is the same as the string. For example, “radar” is a palindrome. | 3 |
| SECTION – D | ||
| 31 | What is list? Explain the difference between append () and extend() function with suitable example. | 2+2+1=5 |
| 32 | Write a Python program to print the following pattern.543214321321211 | 5 |
| 33 | Write a python program which accept two times (in hour and minute) as input and displays the total time after adding both the entered times. Sample Input:Enter Time 1 :Hour : 2Minute : 40Enter Time 2 :Hour : 1Minute : 35 Output: Total Time : 4 Hour & 16 Minute and 25 Second | 5 |
| SECTION – E | ||
| 34 | State and Prove DeMorgans Theorem using Truth Table. | 4 |
| 35 | Write the output of following Python StatementsS=”GOOD MORNING”print(S.capitalize(),S.title()) L=[ ]for I in range(4): L.append(2*i+1)print(L) | 4 |
******************************************************************************

