0% found this document useful (0 votes)
87 views4 pages

Xi CS - QP - 083 Hye 2022-23

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)
87 views4 pages

Xi CS - QP - 083 Hye 2022-23

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/ 4

Kendriya Vidyalaya Sangathan, Raipur Region

HALF YEARLY EXAMINATION (2022-23)

Class XI Sub: Computer Science (083)

M Marks: 70 Time: 3 Hr

General Instructions:

1. This question paper has 4 pages and is divided into 3 sections A, B, C and D.
2. Section A (10 Marks): Consists of 1 question with 10 sub parts (i-x).
3. Section B (14 Marks): Consists of 2 questions. Each question has sub parts.
4. Section C (18 Marks): Consists of 2 questions. Each question has sub parts.
5. Section D (28 Marks): Consists of 2 questions. Each question has sub parts.
6. All the programming questions must be answered in Python language only.

Section B (Very Short Answer/MCQ type questions)

Q1. i. ______ gate has only one input and it complements an input signal. (1)

ii. Write given memory size in ascending order : 20MB, 200KB, 2GB,1024 KB (1)

iii. What is the full form of ASCII and ISCII? (1)

iv. Which number system is used by computers? (1)

v. State Absorption law of Boolean algebra. (1)

vi. Which one is valid logical operator in Python. (1)


a) / b) = = c) and d) >>
vii. Which of the following can be used as valid variable identifiers in Python?? (1)
a) 1_File b) number# c) salary_1 d) 1@salary
viii. Identify the term which is not a token in python. (1)
a) string b) operator c) identifier d) expression
ix. Which type of error occur when you execute following statement (1)
>>> 2=6
a) Syntax Error b) Name Error c) Value Error d) Type Error
x. What is the value of expression 22%3 (1)
a) 7 b) 1 c)3.142857 d) 1.0

pg. 1
Section B (Short Answer I type questions)

Q. 2 i Differentiate between RAM and ROM (2)

ii State and prove De Morgan’s Laws using truth table. (2)

Q. 3 i. What do you mean by indentation? What is its role in python? (2)

ii Find error in the following code (if any) and correct code by rewriting code and underline (2)
the correction; -

250 = Number
WHILE Number<=1000:
if Number=>750
print (Number)
Number=Number+100
else
print (Number*2)
Number=Number+50

iii Find error in the following code (if any) and correct code by rewriting code and underline (2)
the correction; -

iv Predict the output of the following code (2)

v Predict the output of the following code (2)

pg. 2
Section C (Short Answer II type questions)

Q. 4 i. Briefly explain the various functions of an operating system. (3)

ii. Draw a flow chart to perform the following: (3)


Ask a user to enter a number. If the number is between 5 and 15, write the word GREEN.
If the number is between 15 and 25, write the word BLUE. if the number is between 25
and 35, write the word ORANGE. If it is any other number, write that ALL COLOURS
ARE BEAUTIFUL.
Q. 5 i. Write a program to enter two integers and perform all arithmetic operations (+, -, *, / ) on (3)
them.
ii. Write a program to input the value of x and n and print the sum of the following series: (3)
1+ x + x2 + x3 + x4 + x5 +………..+ xn

iii. Write a python program to input a number and check if the number is a prime or (3)
composite number.

iv. What do you mean by an error? Differentiate between syntax errors and runtime errors (3)
with example.

Section D (Long Answer type questions)

Q. 6 i. As humans, we typically represent numbers in the decimal system. However, Data in digital (4)
circuits and computers is stored and transmitted as a series of zeros and ones. Given that
digital logic and memory devices are based on two electrical states (on and off), it is natural
to use a number system, called the binary number system, which contains only two symbols,
namely 0 and 1. Similarly various other numbering systems such as octal and hexadecimal
are used to represent the data.
a. What do you mean by ‘base’ in a number system?
b. Convert decimal number 250 to binary, octal and hexadecimal number system.

ii. For the logic circuit shown in the figure (4)


a. What is the Boolean expression for Z?
b. Draw the truth table for this logic circuit.

pg. 3
Q. 7 i. What is an algorithm? Enlist the characteristics of a good algorithm. (4)

ii. Who created python language? Also enlist few features of python language. (4)

iii. What is IDLE? What are the two modes of programming supported by python IDLE, (4)
differentiate between them.

iv. What do you mean by python token? Briefly explain different python tokens. (4)

v. Your Schools uses “Student Marks Reporting System” (SMRS) to manage student- (4)
marksheet data. The software should calculate the grade of student on the basis of marks
secured by the students.
You are required to Write a program to accept the marks of the student in five subjects and
find the grade of the student as per the following criteria

Criteria Grade
percentage > 85 A
percentage < 85 and percentage >= 75 B
percentage < 75 and percentage >= 50 C
percentage > 30 and percentage <= 50 D
percentage <30 Reappear

pg. 4

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