0% found this document useful (0 votes)
18 views3 pages

11 - Computer Science - Set-A

Uploaded by

Prashant Mishra
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)
18 views3 pages

11 - Computer Science - Set-A

Uploaded by

Prashant Mishra
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/ 3

The Renaissance Academy, Tilhar

Term-I Examination
Computer Science (083)
Grade: XI
Set-A
Time: 3 Hrs.
Max. Marks: 70
----------------------------------------------------------------------------------------------------------
---------------------------
General Instructions:
1. This Question Paper is divided into 04 sections, viz., Section A, B, C, D.
2. Section A is of 10 marks and has 10 MCQ type questions.
3. Section B is of 12 marks and has 10 case study based questions. You have to attempt all the questions.
4. Section C is of 24 marks and has 08 questions. You have to attempt all the questions.
5. Section D is of 24 marks and has 06 programming based questions. You have to attempt all the questions.
6. Do as per the instructions given in the respective sections.
7. Marks allotted are mentioned against each section/question.
8. All questions must be attempted in the correct order.
------------------------------------------------------------------------------------------------------------------------------------------------

SECTION-A
Multiple Choice Questions: -

1. Which of these software is mandatory for all computer system to work? 1


a) System b) Application c) Utility d) Customised
2. Which Utility software detects and removes Computer virus? 1
a) Antivirus b) Backup Utility c) Disk Cleaner d) disk fragmeter

3. The system software that translate a source code into object code. 1
a) Assembler b) Compiler c) Interpreter d) Language
Processor
4. Which of the following Boolean operator operate on single input? 1
a) NOT b) AND c) OR d) NAND
5. Which gate returns true if both inputs are similar otherwise false? 1
a) NAND b) XNOR c) OR d) N.O.T
6. A single binary digit is abbreviated as: 1
a) Byte b) KB c) GB d) Bit
7. Flow of control can be of following types: 1
a) Sequential b) Iterative c) derivative d) a & b both
8. Which of the following are not valid string/strings in Python? 1
a) “Hello” b) ‘Hello’ c) “Hello’ d) “123”
9. What do we use to define a block of code in Python language? 1
a) Key b) Brackets c) Indentation d) N.O.T.
10. The …………… allows True/ False values. 1
a) bool b) boolean c) Boolean d) None
SECTION-B
Case Study based Question:
Read the following text and answer the following questions on the
basis of the same.

1. Data types are the classification or categorization of data items. It represents


the kind of value that tells what operations can be performed on a particular
data. Since everything is an object in Python programming, data types are
actually classes and variables are instance(object) of these classes.
a) Which statement is correct? 2
i) List is immutable & Tuple is mutable.
ii) List is mutable & Tuple is immutable.
iii) Both are Mutable.
iv) Both are Immutable.
b) Which of these in not a core data type? 1
i) Lists ii) Dictionary iii) Tuples iv) Class
c) Can tuple be used as dictionary key in Python? 1
i) True ii) False
iii) Tuple is not used in Python
iv) None of the above
d) Which one of the following is immutable data type? 1
i) list ii) set iii) int iv) dict
e) In order to store values in terms of key and value we use what core data 1
type?
i) list ii) tuple iii) class iv) dictionary
2. Variable is a name that is used to refer to memory location. Python variable is
also known as an identifier and used to hold value. In Python, we don't need to
specify the type of variable because Python is a infer language and smart
enough to get variable type. Variable names can be a group of both the letters
and digits, but they have to begin with a letter or an underscore.
a) Which one of the following is correct way of declaring and initialising a 1
variable, x with value 5?
(i) int x x=5 (ii) int x=5
(iii) x=5 (iv) declare x=5
b) Which of the following is not valid variable name in Python? 1
(i) _var (ii) var_name
(iii) var11 (iv) 11var
c) Which of the following will give error? 1
(i) a=b=c=1 (ii) a,bc=1
(iii) a,b,c=1, python, 1.5 (iv) None of the above
d) Which of the following is incorrect regarding variables in Python? 2
(i) Variable names in Python cannot start with number. However, it can
contain number in any other position of variable name.
(ii) Variable names can start with an underscore.
(iii) Data type of variable names should not be declared.
(iv) None of the above.
e) Which of the following is a valid variable? 1
(i) var@ (ii) 32var
(iii) class (iv) abc_a_c
SECTION-C
Answer the following Questions: -

1. Write a short note on literals in Python. 3

2. Write the advantages of Python. 3

3. What does radix or base signify. 3


What do you mean by Logic Gates? Explain different types of Logic Gate with
4. 3
the help of truth table and diagram.
5. Explain number system and its commonly used types. 3

6. What is an Inverter gate? 3

7. Write a short note on File Management. 3

8. Define Operating system. Give the names of any three operating system. 3

SECTION-D
Write the following Python programs: -

(a) Generate 3 random integers between 100 and 999 which is divisible by 5.
(b) Write a program to input 5 numbers from the user, if any random number
1. 4
generated by the system match with any number i.e. input by the user.
Then win the game. Otherwise display “better luck for next time for the user”.
Write a program to enter two integers and perform all arithmetic operations on
2. 4
them.

3. Write a program to swap two numbers using a third variable. 4


Write a program that asks the user to enter their name and age. Print a message
4. addressed to the user that tells the user the year in which they will turn 100 years 4
old.
5. Write a program to find whether a person is a senior citizen or not. 4

Write a program to accept a number from the user and test whether it is a
6. 4
negative, positive or zero. Display appropriate message in each case.

You might also like