0% found this document useful (0 votes)
13 views2 pages

G12 OT Python Fundamentals

This document is an objective test for Grade 12 Computer Science focusing on Python fundamentals. It contains 30 questions that cover various concepts such as data types, literals, operators, and programming instructions. The test is designed to assess students' understanding of Python programming within a 30-minute timeframe.

Uploaded by

S Mukil
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)
13 views2 pages

G12 OT Python Fundamentals

This document is an objective test for Grade 12 Computer Science focusing on Python fundamentals. It contains 30 questions that cover various concepts such as data types, literals, operators, and programming instructions. The test is designed to assess students' understanding of Python programming within a 30-minute timeframe.

Uploaded by

S Mukil
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

Grade : 12 ​ ​ ​ ​ Objective Test ​ ​ ​ Computer Science (083)

Time : 30 mins.​ ​ Python Fundamentals​ ​ ​ Marks: 30​ ​ ​


S. A M
no

1 The smallest individual unit in a program is known as _______________________

2 Python is _______________________ as it treats upper and lower-case characters


differently.

3 _________________ are data items that have a fixed value.

4 Python allows two string types. They are

5 ______________ literals are whole numbers without any fractional part.

6 A ___________ literal is a sequence of characters surrounded by quotes.

7 A ____________________ is a word having special meaning reserved by programming


language.

8 Floating literals are also called ___________ literals.

9 The non-graphic characters can be represented by using _______________________

10 A sequence of digits starting with 0o is an _______________ integer.

11 A real literal in Exponent form consists of _____________ parts.

12 Python has special literal, which is _____________

13 A sequence of digits preceded by 0x or 0X is a ________________________ integer.

14 ________________ literal represents absence of value.

15 Str=’’’ a
b
c’’’
print(len(Str))

16 Str=’ a\
b\
c’
print(len(Str))

17 Str=’ a
b
c’
print(len(Str))
18 __________________ are tokens that trigger some computation / action when applied
to variables and other objects in an expression.

19 An ____________________ is any legal combination of symbols that represents a


value.

20 ________________ are the additional readable information to clarify the source code.

21 _________________ operators require one operand.

22 A = 10
15 = b
print (A, b)

23 Named variables whose values can be used and processed during program run is
called _______________________

24 A _________________ is a programming instruction that does something.

25 Comments enclosed in triple quotes or triple apostrophe are called


___________________

26 A group of statements which are part of another statement or a function are called
_______________________________ in Python.

27 a, b, c = 10
print (a,b,c)

28 a, b, c = 10,20,30
print(a+b, b+c, c+a)

29 x, x = 20,30
y, y = x+10, x+20
print(x , y)

30 The input( ) function always returns a value of ________________ type.

You might also like