PrimeGyan
Home
O Level
M1-R5
M2-R5
M3-R5
M4-R5
CCC
Programming
Online Test
Hindi
Home
Online-test
Test
Python-practice-set-2
13
Python Practice Set 2
Python Practice Set 1
Python Practice Set 2
Python Practice Set 3
Python Practice Set 4
Python Practice Set 5
Python Practice Set 6
Python Practice Set 7
Python Practice Set 8
Python Practice Set 9
Python Practice Set 2
1.
Which arithmetic operators cannot be used with strings in Python?
+
/
-
*
2.
Char is a valid data type in Python.
True
False
3.
Compound statement contains therapy statements.
True
False
4.
In Python programming, is pass a NULL statement?
True
False
5.
Variables can be removed using the del keyword.
True
False
6.
The _________ symbol is used at the beginning of a flow chart.
Circle
Rectangle
Diamond
None of these
7.
What will be the output of 2**(3**2), (2**3)**2 ,2**3**2.
64, 512, 64
64, 64, 64
512, 512, 512
512, 64, 512
8.
Python allows programming in Object-Oriented and Procedural paradigms.
True
False
9.
A tuple is a collection of objects that are ordered and immutable.
True
False
10.
A variable name must begin with a letter or underscore character.
True
False
11.
x, y, z = "Orange", "Banana", "Cherry" Is this statement false.
True
False
12.
You can use the + operator to join or concatenate two strings.
True
False
13.
Booleans have two values: True or False.
True
False
14.
Debugging is used.
Find errors from the program
Check the functionality of the program
Black box testing
All of the above
15.
A module is a set of functions that you want to include in your application.
True
False
16.
How are operators with the same precedence evaluated?
Left to Right
Right to Left
Can’t say
None of the mentioned
17.
In the passage of text, the individual words and punctuation marks are known as?
Constants
Tokens
Operators
Keywords
18.
Which of the following is not a core data type?
Lists
Tuples
Class
Dictionary
19.
Required arguments are arguments passed to a function in the correct positional order.
True
False
20.
The type of inf is …….?
Boolean
Float
Complex
Integer
21.
Pass statement allows the program to pass through a piece of code without performing any action.
True
False
22.
Python 3.0 final was released
1989
2008
2010
1991
23.
Which of the following cannot be used as identifiers?
Letters
Digits
Underscores
Spaces
24.
The operator used to join two strings is + ?
True
False
25.
The * operator does not repeat a list for a given number of items.
True
False
Submitting..
Welcome To PrimeGyan
Start test
Download