Series ARSP/01 Set ~ 1
Roll No. Q.P Code 15/1/1
Candidates must write the Q.P Code
on the title page of the answer-book.
x Please check that this question paper contains 06 printed pages.
x Q.P. Code given on the right hand side of the question paper should be written
on the title page of the answer-book by the candidate.
x Please check that this question paper contains questions.
x Please write down the serial number of the question in the answer-book
before attempting it.
x 15 Minute times has been allotted to read this question paper. The question
paper will be distributed at 10:15 a.m. From 10.15 a.m to 10.30 a.m, the students
will read the question paper only and will not write any answer on the answer –
book during this period.
&20387(56&,(1&(
Time allowed: 3 hours Maximum Marks:
Time Allowed: 3 hours Maximum Marks: 70
General Instructions:
1. This question paper contains 37 questions.
2. All questions are compulsory. However, internal choices have been provided in some questions.
Attempt only one of the choices in such questions
3. The paper is divided into 5 Sections- A, B, C, D and E.
4. Section A consists of 21 questions (1 to 21). Each question carries 1 Mark.
5. Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
6. Section C consists of 3 questions (29 to 31). Each question carries 3 Marks
7. Section D consists of 4 questions (32 to 35). Each question carries 4 Marks
8. Section E consists of 2 questions (36 to 37). Each question carries 5 Marks.
9. All programming questions are to be answered using Python Language only.
10. In case of MCQ, text of the correct answer should also be written.
Section A
1. State whether the given statement is True or False: [1]
Word processing software helps us in maintaining a document in a presentable manner.
2. A single binary digit is abbreviated as [1]
a) GB b) Bit
c) Byte d) KB
3. Which language is understood to computer easily? [1]
a) Assembly b) Natural
c) Machine d) High level
4. In which year was the Python 3.0 version developed? [1]
a) 2008 b) 2010
c) 2005 d) 2000
5. Find the 1's complement of 110001? [1]
6. Flow of control can be of the following types: [1]
a) iterative b) derivative
c) sequential d) both sequential and iterative
7. ________ occurs when each statement of the block does not have the same indentation. [1]
a) Run time error b) Syntax error
c) Indentation error d) Logical error
8. The complementary Law states that: [1]
a) ? =X b) X+X=X
X.X=X
c) X+ ? =1 d) X+Y = Y + X
X.
? =0 X.Y = Y.Z
9. The tuple that is returned by the partition() method contains: [1]
i. Part of the string to be searched
ii. The search string
iii. The sorted string
iv. Part of the string after the search string.
a) i, ii, iii b) ii, iv
c) i, ii d) i, ii, iv
10. Fill in the blanks: [1]
Dictionary = { } creates a/an ________ dictionary.
11. State whether the given statement is True or False: [1]
The curriculum need not be so designed so as to help the specially abled.
12. Which of the following is a collection of Python objects separated by commas and represent as [1]
(,)?
a) Dictionary b) String
c) Tuple d) List
13. When does mosaic plagiarism occurs? [1]
14. Which of the following is/are advantage(s) of Python? [1]
a) Object oriented b) Portability
c) All of these d) Easy to use
15. In India, E-Waste management assumes greater significance because: [1]
a) dumping of e-waste from developed b) lack of awareness
countries
c) All of these d) generation of own e-waste
16. What will be the output of the following Python code snippet? [1]
d1 = {"Neha":86, "Yash":92}
d2 = {"Neha":86, "Yash":88}
d1 > d2
a) True b) False
c) None d) Error
17. The choice of algorithm is made on the basis of [1]
a) ease of development b) pseudocode
c) time & space complexity d) user's choice
18. Which function can increase the number of elements of a list by more than one? [1]
a) insert() b) pop()
c) append() d) extend()
19. How to create empty tuple? [1]
20. Assertion (A): To use a function of a module, the respective module must be imported. [1]
Reason (R): The function code is defined in .py files and these files are stored in the respective
module folders.
a) Both A and R are true and R is the b) Both A and R are true but R is not the
correct explanation of A. correct explanation of A.
c) A is true but R is false. d) A is false but R is true.
21. Assertion (A): Complement of 1 is 0 in Boolean Algebra. [1]
Reason (R): In Boolean Algebra, the complement of a variable is the negation of that variable.
a) Both A and R are true and R is the b) Both A and R are true but R is not the
correct explanation of A. correct explanation of A.
c) A is true but R is false. d) A is false but R is true.
Section B
22. Write a Python program to solve the following mathematical expression: [2]
" #
# $ $
23. Define clear( ) method in dictionary. [2]
24. Write a short note on while loop. [2]
OR
Write a program to display a menu for calculating area or perimeter of a circle.
25. What is the use of len( ) method in dictionary? [2]
26. Explain the mixed data types tuple with an example. [2]
27. What is coding? [2]
OR
Write an algorithm to compute factorial of a given number.
28. Write the output of these codes: [2]
i. m = 60
if m > 40 or (m < 100 and m == 120):
print("I am in if")
else:
print("I am in else")
ii. m, n = 6,18
if (m - n == 15):
print("Equal")
else:
print("Not equal")
iii. m = 15
n = 1 while m > n:
m=m-2
n += 2
print(m, end=" ")
iv. m = 0
while m < 20:
m=m+2
if m == 10:
break
print(m, end=" ")
v. for m in range(3):
for n in range(2):
print(m, n, m * n)
vi. m = 10
n = 15
for j in range(m * 4 - n * 2):
print(j, end=" ")
OR
Write a program to display sum of all even numbers up to a given number entered by the user.
Section C
29. What do you understand by Net Ettiquetes? Explain any two such ettiquetes. [3]
OR
Ms. Samtha has many electronic gadgets which are not usable due to outdated hardware and
software. Help her to find any three best ways to dispose the used electronic gadgets.
30. Differentiate between a logical error and syntax error. Also, give suitable examples of each in [3]
Python.
OR
Write a program to accept an alphabet from the user and display whether it is a vowel or a
consonant.
31. Import statement takes two forms, one is import <module> and second is from < module> [3]
import <object>. Why is it possible to use the objects of the imported module without dot
notation in second form and not in first one.
OR
How are modules useful in a programming language?
Section D
32. Read the text carefully and answer the questions: [4]
If someone comes out with a new idea, this original idea is that person’s intellectual property.
Intellectual Property (IP) is a legal concept, which refers to creation of the mind for which
exclusive rights are recognised. Under intellectual property law, owners are granted certain
exclusive rights to a variety of intangible assets such as musical, literary and artistic works,
discoveries and inventions, words, phrases, symbols and designs. IPR are the rights given to
persons over the creations of their minds. Common types of intellectual property rights include
copyright, trademarks, patents, industries design rights, trade dress and in some jurisdictions
trade secrets.
(a) What is the full form of IPR?
(b) Some artistic work such as novels, poems etc are come in which type of IPR?
(c) How to control intellectual property rights?
(d) For how many years, patent protects an invention?
OR
Word, name, design etc., used for brand included by which rights of IPR?
33. Write a program that takes a string with multiple words and capitalizes the first letter of each [4]
word and forms a new string out of it.
34. Read the text carefully and answer the questions: [4]
Memory is one of the most important element in a computer system, which is the internal or
external storage area and holds the data and instructions during the processing in the form of
binary numbers. It also relates to many devices and components that are responsible for storing
data and applications on a temporary or a permanent basis.
Computer memory can be classified into two types - Primary memory and Secondary memory.
(a) How many types of memory does a computer have?
(b) Primary storage is what as compared to secondary storage?
(c) Write key features of internal memory.
(d) Give another name for internal storage.
OR
Which memory is used as temporary memory?
35. Write a python program to find the third largest number in a entered list. [4]
y = []
num = int(input("Enter number of elements: "))
for i in range(1, num + 1):
x = int(input("Enter element: "))
[Link](x)
[Link]()
print("Third largest element is:", y[num - 3])
Section E
36. What are the features of Python? [5]
37. How open data is useful? [5]
OR
How to apply netiquettes?
Section A
1. (a) True
Explanation:
True
2. (b) Bit
Explanation:
To convert an octal number to its binary equivalent each of its digits are converted to a 3 bit binary
number.
3. (c) Machine
Explanation:
Machine
4. (a) 2008
Explanation:
Python 3.0 version was developed on December 3,2008.
5. 1's complement of 110001 is 001110
6. (d) both sequential and iterative
Explanation:
both sequential and iterative
7. (c) Indentation error
Explanation:
Indentation error
8.
(c) X+ ? =1
X. ? =0
Explanation:
X+ ? =1
X. ? =0
9. (d) i, ii, iv
Explanation:
i, ii, iv
10. 1. empty
11. (b) False
Explanation:
False
12. (c) Tuple
Explanation:
Tuple
13. Mosaic plagiarism occurs when a student borrows phrases from a source without
using quotation marks.
14. (c) All of these
Explanation:
All of these
15. (c) All of these
Explanation:
All of these
16. (d) Error
Explanation:
Error
17. (c) time & space complexity
Explanation:
time & space complexity
18. (d) extend()
Explanation:
The extend() method increases the length of the list by the number of elements that are provided to
the method, so if you want to add multiple elements to the list, you can use this method.
19. Empty tuple can be created in Python using ().
e.g. >>>t=tuple()
>>>print(t)
()
20. (a) Both A and R are true and R is the correct explanation of A.
Explanation:
Both A and R are true and R is the correct explanation of A.
21. (a) Both A and R are true and R is the correct explanation of A.
Explanation:
Both A and R are true and R is the correct explanation of A.
Section B
22. import math
x = float (input ("Enter x:"))
y = float (input ("Enter y:"))
z = float (input ("Enter z:"))
C = [Link]([Link](x) + [Link](y,3))/([Link](y,z) - [Link](z))
print ("Value of C is", C)
23. clear( ) method is used to remove the elements of the dictionary. It produces an empty dictionary. It will
only delete elements not a dictionary. It does not take any parameter and does not return any value.
Syntax
dictionary_name. clear()
For example,
>>>dic = {1 : 'One', 2 : 'Two'}
>>>[Link]( )
>>>dic
{ }
24. While loop is used to repeat the set of instructions till the test condition is true. The condition for
execution of loop is checked after every repetition, else statement is executed when the condition
becomes false, syntax
while <condition>:
set 1 of statements
else:
set 2 of statements
OR
radius = float(input("Enter radius of the circle: "))
print("1. Calculate area")
print("2. Calculate perimeter")
choice = int(input("Enter your choice (1/2): "))
if choice == 1:
area = 3.141 * radius ** 2
print("Area of the circle is", area)
else:
perim = 2 * 3.141 * radius
print("Perimeter of the circle is", perimeter)
25. len( ) method is used to return the total length of the dictionary.
Syntax
len(dictionary_name)
For example,
>>>dic = {1 : 'One' , 2 : 'Two', 3 : 'Three', 4 :'Four'}
>>>len(dic)
4
26. Mixed data types can be created to place different data types such as integers, strings, double etc into
one tuple. For example,
tuple=('English', 90, 'Rahul', 'Meerut', '99.5')
27. The algorithm that is selected as the best solution for a problem needs to be written in executable form.
This is done using any of the available programming languages. This is called coding.
OR
The algorithm is
1. Start
2. Read a number N
3. fact = 1
4. i = 1
5. while (i<=N)
fact = fact * i
i = i+1
6. Print fact
7. Stop
28. i. I am in if
ii. Not equal
iii. 13 119 7
iv. 24 6 8
v. 000
010
100
111
200
212
vi. 0 1 2 3 4 5 6 7 8 9
OR
e=0
i = int(input("Enter the maximum value of range: "))
for j in range(i + 1):
if j%2 == 0:
e += j
print(e)
Section C
29. Net ettiquetes refer to the proper manners and behaviour we need to exhibit while being online.
These include:
i. No copyright violation: We should not use copyrighted materials without the permission of the
creator or owner. We should give proper credit to owners/creators of open source content when
using them.
ii. Avoid cyber bullying: Avoid any insulting, degrading or intimidating online behaviour like repeated
posting of rumours, giving threats online, posting the victim's personal information, or comments
aimed to publicly ridicule a victim.
OR
i. Give your electronic waste to a certified e-waste recycler
ii. Donate your outdated technology
iii. Give them back to your electronic companies and drop off points.
30. Differences between a logical error and syntax error are as follows:
Logical Error Syntax Error
It occurs because of wrong implementation of It occurs when statements are wrongly written
logic. violating rules of the programming language.
With logical errors, the code is syntactically correct With syntax errors, the code is not syntactically
and compiler will not show any error message. correct and compiler will show the error messages.
It produces the output, but undesired. It does not produce any output.
For example, if in place of
For example, if in place of if
(c = a * b); if by mistake
(a = = b): if by mistake if (a = = b),
(c = a + b); is written, it will
is written, it will be a syntax error.
be a logical error.
OR
alpha = input("Enter an alphabet:")
if alpha == 'a' or alpha == 'A':
print(alpha, "is a vowel")
elif alpha == 'e' or alpha == 'E':
print(alpha, "is a vowel")
elif alpha == 'i' or alpha == 'I':
print(alpha, "is a vowel")
elif alpha == 'o' or alpha == 'O':
print(alpha, "is a vowel")
elif alpha == 'u' or alpha == 'U':
print(alpha, "is a vowel")
else:
print(alpha, "is a consonant")
31. When import <module> statement is used a new namespace is created for the objects of the imported
module so to refer to any object of the imported module we have to use the dot operator. While in the
second case no new namespace is created rather the imported objects are added to the existing
namespace so these can be referred without using dot notation.
OR
Modules are organized groups of code. When we write programs and need to perform some complex
task, it’s better to import the code from a module (if such a module exists) rather than reinventing the
wheel. We can also use modules to divide our code into different parts with each part having its own
specific use. e.g. if we need to do some task many times in our programs, we can create a module for
this and use it in our code whenever we need it.
Section D
32. Read the text carefully and answer the questions:
If someone comes out with a new idea, this original idea is that person’s intellectual property.
Intellectual Property (IP) is a legal concept, which refers to creation of the mind for which exclusive rights
are recognised. Under intellectual property law, owners are granted certain exclusive rights to a variety
of intangible assets such as musical, literary and artistic works, discoveries and inventions, words,
phrases, symbols and designs. IPR are the rights given to persons over the creations of their minds.
Common types of intellectual property rights include copyright, trademarks, patents, industries design
rights, trade dress and in some jurisdictions trade secrets.
(a) Intellectual Property Rights
(b) Copyright
(c) Avoid joint ownership
Get exact match domains
(d) 20 years
OR
Trademark
33. str = input("Enter a string")
lent = len(str)
a=0
end = lent
newstr = ""
while a < lent:
if a ==0:
newstr + = str[0].upper()
elif str[a] =='' and str[a+l] !=” :
newstr + = str[a]
newstr += str[a+l].upper()
a=a+l
else:
newstr + = str[a]
a + =1
print ("original string", str)
print ("new string:", newstr)
34. Read the text carefully and answer the questions:
Memory is one of the most important element in a computer system, which is the internal or external
storage area and holds the data and instructions during the processing in the form of binary numbers. It
also relates to many devices and components that are responsible for storing data and applications on a
temporary or a permanent basis.
Computer memory can be classified into two types - Primary memory and Secondary memory.
(a) Two
(b) Fast and inexpensive
(c) i. Limited storage capacity
ii. Temporary storage
iii. Fast access and high cost
(d) Main Memory
OR
Volatile memory
35. Output
Enter number of elements: 5
Enter element: 76
Enter element: 45
Enter element: 98
Enter element: 90
Enter element: 23
Third largest element is: 76
Section E
36. Python's features include -
Easy-to-leam: Python has few keywords, simple structure, and a dearly defined syntax. This allows
the student to pick up the language quickly.
Easy-to-read: Python code is more clearly defined and visible to the eyes
Easy-to-maintain: Python’s source code is fairly easy-to-maintain.
A broad standard library: Python's bulk of the library is very portable and cross-platform
compatible on UNIX, Windows, and Macintosh.
Interactive Mode: Python has support for an interactive mode which allows interactive testing and
debugging of snippets of code.
Portable: Python can run on a wide variety of hardware platforms and has the same interface on
all platforms. • Extendable: You can add low-level modules to the Python interpreter. These
modules enable programmers to add to or customize their tools to be more efficient.
Databases: Python provides interfaces to all major commercial databases.
GUI Programming: Python supports GUI applications that can be created and ported to many
system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window
system of Unix.
Scalable: Python provides a better structure and support for large programs than shell scripting.
37. Open data is data that can be freely used, re-used and redistributed by anyone-subject only, at most, to
the requirement to attribute and share alike.
i. Availability and Access: The data must be available as a whole and at no more than a reasonable
reproduction cost, preferably by downloading over the Internet. The data must also be available in a
convenient and modifiable form.
ii. Reuse and Redistribution: The data must be provided under terms that permit re-use and
redistribution including the intermixing with other data sets.
iii. Universal Participation: Everyone must be able to use, re-use and redistribute, there should be no
discrimination against fields of endeavor or against a person or groups. For example, 'non-
commerdal' restrictions that would prevent 'commercial' use or restrictions of use for certain
purposes (e.g., only in education,) are not allowed.
OR
Netiquettes plays vital role while communicating online. Online communication is non verbal so your
messages could be misunderstood if you don't apply netiquettes carefully. Keep following things in mind
while applying netiquettes.
i. Always use netiqutters to express your emotions because if you don't use netiquettes it becomes
difficult for the other person to understand it correctly because of the nonverbal communication.
ii. When you are cracking a joke or creating humour then you should be careful because if you don't
make clear that you are creating a joke then your message could be taken on other way. Without
netiquettes understanding humour is not easy. But you can do this easily by using netiquettes. You
can use emotions, you can add lots of laughter (LOL) at the end.
iii. Don't send same message again and again it create negative impact and irritate the other person no
matter how good this messages is and how much netiquettes you applied.
iv. Always take permission of the other person before sharing their personal information, photos etc. If
you don't take permission before sharing the information of other person then it's bad netiquettes.
v. Never make bad comments about anyone on social media it will degrade your reputation and don't
catch into fight on social media even try to avoid such situation.
vi. Never post abusive content on social media it will create difficulty for you. Even your account can be
terminated.