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

One Mark Test Paper

The document contains a one-mark examination for Class 12 Computer Science, consisting of multiple-choice questions related to Python programming concepts. Topics covered include Python syntax, functions, data types, algorithms, and programming constructs. It also includes instructions for submitting answer keys via email.

Uploaded by

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

One Mark Test Paper

The document contains a one-mark examination for Class 12 Computer Science, consisting of multiple-choice questions related to Python programming concepts. Topics covered include Python syntax, functions, data types, algorithms, and programming constructs. It also includes instructions for submitting answer keys via email.

Uploaded by

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

www.Padasalai.Net www.TrbTnpsc.

com

Class:12 ONE MARK EXAMINATION-2023-24


COMPUTER SCIENCE |Mak. Marks : 100

Choose the most appropriate synonyms for the words underlined in the following sentences.
1. Who developed Python?
(A) Ritche (B) Guido Van Rossum (C) BillGates (D) Sunder Pitchai
2. The Python prompt indicates that Interpreter is ready to accept instruction.
(A) >>> (B) <<< (C) # (D) <<
3. Which of the following shortcut is used to create new Python Program?
(A)Ctrl + C (B) Ctrl + F (C) Ctrl + B (D) Ctrl + N
4. Which of the following character is used to give comments in Python Program?
(A)# (B) & (C)@ (D) $
5. This symbol is used to print more than one item on asingle line.
(A)Semicolon(:) (B) Dollor($) (C) comma() (D) Colon(:)
6. The small sections of code that are used to perform a particular. task is called

et
(A)Subroutines (B) Files (C) Pseudo code (D) Modules
7. Which of the following is a distinct syntactic block?
(A) Subroutines (B) Function (C)Definition (D) Modules

i.N
8. The values which are passed to a function definition are called
(A) Arguments (B) Subroutines (C) Function (D) Definition
9. Which of the following defines what an object can do?
(A)Operating System(B) Compiler (C) Interface (D) Interpreter
10. The functions which will give exact result when same arguments are passed are called
(A) Impure functions (B) Partial Functions (C)Dynamic Functions (D) Pure functions

la
11. The proçess of binding a variable name with an object is called
(A) Scope (B) Mapping (C) late binding (D) early binding
12. VWhich of the following is used in programming languags to map the variable and object?
sa
(A):: (B) := (C)= (D)
13. Which scope refers to variables defined in current function?
(A)Local Scope (B) Global scope (C) Module scope (D) Function Scope
14. Which of the following security technique that regulates who can use resources in a
computing environment?
da

(A)Password (B) AutheDtication (C) Access control (D) Certification


15. The members that are accessible from within the class and are also available to its sub-classes is
called
(A)Public members (B) Protected members
Pa

(C)Secured members (D) Private members


16. VWhich of the following functions that retrieve information from the data type?
(A)Constructors (B) Selectors (C) recursive (D) Nested
17. A sequence of immutable objects is called
(A)Buit in (B) List (C) Tuple. (D) Derived data
18. The data type whose representation is unknown are called
w.

(A)Built in datatype (B) Derived datatype (C) Concrete datatype (D) Abstract datatype
19. Bundling two values together into one can be considered as
(A)Pair (B) Triplet (C) single (D) quadrat
20. VWhich of the following is constructed by placing expressions within square brackets?
ww

(A) Tuples (B) Lists (C)Classes (D) quadrats


21. The word comes from the name of a Persian mathematician Abu Ja'far Mohammed ibn-i Musa al
Khowarizmi is called?
(A) Flowchart (B) Flow (C) Algorithm (D) Syntax
22. Two main measures for the efficiency of an algorithm are
(A)Processor and memory (B) Complexity and capacity
(C)Time and space (D) Data and space
23. Big O is the reverse of
(A)Big O (B) Big ? (C) Big A (D) Big S
24. Binary search is also called as
(A) Linear search (B) Sequential search (C) Random search (D) Half-interval search
25. In dynamic programming, the technique of storing the previously calculated values is called ?
(A) Saving value property (B) Storing value property
(C)Memoization (D) Mapping
26. Which of the following is not a token?
(A) interpreter (B) ldentifiers (C) Keyword (D) Operators
27. VWhich of the following is not a Keyword in Python?
(A) break (B) while (C) continue (D) operators

Kindly send me your answer keys to us - [email protected]


40. 39. 38. 37. 36. 35. 34. 33. 32. 31. 30. 29. 28.
50. 49. 48. 47. 46. 45. 44. 43. 42. 41.
Required Lambda A) (A): (fAor) False(A) True: i=1(A)Arithmetic
do.while
while(C)Relational (A) Statements A) (A) elif(A)3Ternary And(A) Which
(A) x%2=0(A) Pick(C)I (A)l ()
defineWhich (semicolon)
() (A) (A);While
Read In define Which
(A) Which (A) Which (A) (A) Loop(A Which Which T=1What (A)12
while T: What Which The Which
(A) (What How (A)Arithmetic
Which
(A) Which
Python define Built-in
Functionnamed A ==0:
i%3 if continue
is is In which print(i,end=") t=1 i condition
nested can
twrong
hecorrectPython, the break is many
of if defining of function of punctuation
amongstprint(True) is of statement plays
be operator operator of
correct arguments else:
the the the if the
the keywords following the the which blocks if break considered
output output
ww
and and you
following <condition>.
aimportant following
following a following following oror in vital
function is of is Logical
Relational the is is
calls
print(x," :one Il ll don't is
called statements-block 1
statements-block2 not of role also
is is should of generally also
www.Padasalai.Net

pasS(B) (B) correct towrongstatement . (B) Recursion


can Keyword(B) the(dot)(B) return (fBor) (B) Branching(B) (B)code (B) : goto(B) True(B) th e 123(B) thwhile
e (B) if(BControl (B) 4 (B) Relational
) (B) if..else(B) control (B) (B)
keyword execute have keywordkeyword itself a statement
is in to
Recursion jump expression
w.
x%4==0 is be correct which anonymous that following following known break Python Relational
be
called ORiscalled
not
be expression
a used to is structuresare
year")
leap and called are used
statement? usedabbreviation aslogical as
is the mention of is is as
Pa
aspositional designed should
programming? ConditionalComparative
used choose the used used blank?the in snippet? snippet?definite as
given function un-named as operator?
following a
to the to to be
placeholder? of
da
define statement the order exit begin do
to
def(C) x/4=0(C) (B)
specitic
(D) name. Default(C)(colon)(C): finally(C) finally,Funcion (C) (C) (C):: (C) (C) 0 1234(C) loop?
Arithmetic
f(Cor) (D) (B) pass in
Structure
(C) (C) else(C) ifPython? (Cthere
) 5in
Logical (c) NOT(CLogical ) (C)
correct
(aC) (C) Function th e operator? operator?
Both Both symbol
is function function? Lambda continue
the the specificonejob Arithmetic form
passed
sa
successfully. are are data function
function statement(s). is of
wrong
correct types block?
toused.
la or
estpythono2 a block? Logical
while(Dx%4=0
) (D) Variable-length whilefunction? (D(dolar) D)
def
) (D) $ def(D) define(D) return(D) Block(D) (D) ! break(D) output(D)no 124(D) if.elif(D) Indentation
goto(D) (D) if.elif (DAssignment) 6 (DAssignment
) (DAssignment ) (D) (D)
calledas is
i.N
defining expression
www.TrbTnpsc.com

Kindly send me your answer keys to us - [email protected]


et
function.
74. 73. 72. 71. Let70. 69. 68. 67. 66. 65.list1=[2,4,6,8,10],
64. 63. Let62. 61. 60. 59. 58. 57. 56.
5 . 54. 53. 52. 51.
Error(A) class_name:
(C)class
class_name class
(A)
(A)_object(
Which print(setA|setB)
(A)_
(A){3,6,9,1,3,9) ). (C)The (D) (A)A
listis
(A)[0,1,2,4,5] (A)[35,10,20,30,40,50]
append( (A)
(C)[10,20,35,40,50]) count((A)
Which) (A) Positive
Li
(As)t (A) (A){} (A%e
) (A)indexX
(C)second (A){}
What
Changeable (A)Single
(A) (A)
Chennai
Which str=TamilNadu
(A) (A)
print(str1[::-1)
What Which
Which Which VWhich Which What What Which (A) If If Pick function?
RO Theformat(
Which) Which vWhichStringsDefiníng + Tamilnadu
The List-[10,20,30,40,50j
List=[17,23,41,10] [32, 10
init setA={3,6,9}, know subscript
odd is
"1aaml Student:
class of append()
of of extend() of isS=x**2 wil17,23,41of of of striehools
in of str1will
print(S)
the create
one
of ofvalue stride? line the
of
init_(self,def the th e
ofthe the mutable the be the the e the
thargument thepython:strings =be the
self.name=name the use the
following
print(nanme) following following followingfollowing following a for following in of following
following tooe) of Stringsfollowing"Chennai the following
function
function ,1 connection Tuple slide within
data of result
x 0]
setB={1,3,9}. a output
(B) type type(0 in string Tmlau(B)
(B) (B) (3,9}(B) append_more()
[0,1,4,9,16] (B)(C)extend( (B)
Python (Bthen
) ( B) (B) Tuple
8
then (B)
Negative (B) (B)<> (B%E (BChenna-School
) (B) (B) & (B)
is class method statement range(5)] of function operation
is
formatting
) sliceof Mutable is triple
operator is
the method is is [17,23,41,10,32] then
find() 1 Mutiline
Schools of
name): of
function the may used slicing
the the the
ww
dest()del_() usedused python List.append(32) print(List1[-2])
with operation
output
declaration followingfuncion List[2]=35 quotes output
is is What in is be: as following
used
automatically to is is
character
www.Padasalai.Net

in used collection placeholders Strings used


of tuple add object
not python? operator? allows of
the wilbe can
w.
as tocorect? Python wil to code? folkowingthe
is an be for
destructor?
following correct? count wil data
name(C) class_
(Dclass
(C)_renm_()) (B)
(C)_func_()
(D)init_() ({1}C) element.
the
add (B)
D)(C)[10,17,23,32,41] [10,35,30,40,50]
used wil (D) result
(C) [10,20,30,40,50,35] (C)4
(B) (C) Dictionary (C)Both
(C) (C)++ (C%g Immutable
) is(D) (B)(C)<> concatenation?
(C) creating:
(C) (C)* errorType(C) udanlimaT(C)
resutt
Pa
class executed
whenanelements To code? result used
result tuple A TO
[0,1,4,9,16,25] len() the type or thirdfirst Double
Create know to replacement
program? add number in (a) to
argumet
argument python
class_name[ theof is print
da
in more) and line
immutable. athe
name<> a list type of Strings code?
following list. (b) exponential of
self(D) del() (D) {1,3,6,9}(D) (D) more((D)than) elements
index((D) ) (D) 6Loop(D) (D) fields
M (D)%n of flexible(D) (D)() (D) =
Chennai(D) udaNlimaT(D)
sa
] created?
objectis of sicéslice
[1,4,9,16,25] an one (D) (D)
(D)
snippet?
la element element
[41,32,23,1 in Either
which operation
operation
notation Multiple
a get
list? (a)
i.N
in within replaced
tuple or in Strings
www.TrbTnpsc.com

7,10] upper

Kindly send me your answer keys to us - [email protected]


an (b)
existing
et
along case?

with
list?
*98. 88. 86. 85. 84. 83. 82. 81. 78: 76. 75.
99. 100. 97. 96. 95. 94. 93. 92. 91. 90. 89. 87, 80. 79. 77.
Cs(AV) csv(A)
Matplotlib Execute() module(A)OS (A)Editing mode )
(A(A)Control (SELECT
A)BY (A) DROPSELECT
(A) The (A) schemas?relation (A) Who Which Management
A)(C)DataBase
((A)tuple )
SystemA (AWhat
Whichldentify(A)DistinctWhi
(A) chMAXO (A) The (C)Hierarchical
) Savedatabase
(AWhich (A) (A)wrapping
(A) AnysystemSQLite The
(A)JavaScript
Importing TextWhich
Which. Makingnext((A) )The(C)Control The FlFi(Aa)let SORTA The Queries DDL(A) Which (A)sWhat Relational
Flat CSV Which Chris
Date table
DataBase
segments.
straightline clause command
command expansion is is
is
function changes file module file
symbol database
of the of of falls ofsome of can command commands called the
the known
is
thefollowing the database C++ the the Return
Router is acronym
also used be Management
fype a packagefollowing thfollowing at made under which following following to
isFather
program changes used of generated used as
and and
CRLF known to delete lets model
returns in which allows provide
ww
of (BPI)P
getopt(B) manager RemoveLARGE)
(B) (B) Key()(B) Save(B) As system Downloading
module s(By)s (B) Appending
PHP(B) (B) skip((B) Binary
)mode
to(B) Fi(Bl3D
)eORDER(B)ORDERBY ) BY(B) ORDER(B)BY
sort (BDELETE DML(B)
to (BDarween
) ?foHugh B) (B)
) of(attribute
r (BNetwork of
chart(BPi)e chart
module clause executes the is in skip mode Lin e Lin e DBMS?
is as data a
change SELECTRelational represents
the values table definitions Symbol
a using
database you ina not the a Feed Feed
www.Padasalai.Net

which Python a data row is


to in
used
w.
should for avoid largest the scripting a including the
displays Python of interface of in database statement? Database
the value SQL the system? program a when structure parent-child
be the CSV for
Pa
duplicate? record with language? the creating
information imported modules.
(C)packages,
chartBar(C) mysqlplt.show( or
Where
(C)
command
of (D) Interconnecting
(B) (C ) Perl
(C)
existing filedealing
(C) omit(
(C) ) is
mode
(Cxl
)s (B) GROUP
(C) BY
MODIFY
(CDELETE
) ALL
(C)
MODIFY(C) DCL
(C )
(C) ) HIGHÌ(CCursor()
) the (C) Commit(C) module(Ccs)v is (D) String(FiC)le structure of
(C) X (C) from (C) relation(C) (D) (B)
shouldObject
Relational the called Carriage
Carriage Hierarchical
Edgar Database
the relationship?DataBasic
da Modification file
to selected Windows with table the
to or table?
visualize
as perform oriented be is following?
Frank
adding non-text Return Return structure,
Managing
a saved
sa Management
column Database
series operating
(D)matplotlib (D)package
datpython
a GroupBy
(D) MAXIMUM) ) Oblige(D)
(D) (D) run()(Dsome module
getopt(D) HTML(D) (D)bounce( ) le (D) ALTER(D) ALTER
TABLE(D) ALTER(D) DQL(D) (D) OCodd (D) entity(D)
Database by more (D) )mode(CSVD) files and andRandom(DFiSELECT
is
la Parsing(D) Alteration deleting
All of and the system
data like LineForm (D) Object System
the data action? system
command image Edgar System
information
i.N
above points system is Feed Feed relations,
called
www.TrbTnpsc.com

is

Kindly send me your answer keys to us - [email protected]


or 7 Frank
connected exe
et
in and Cadd
Python? files?
moditying
by

You might also like