Review every matched question before generating. Flag a wrongly categorised question to
quarantine it from both study and PPT prompts until it is corrected in CBSE Paper Analyzer.
Included in reference
ID 6480 · 2021 · 1 mark(s)
Which of the following operator cannot be used with string data type?
a) +
b) in
c) *
d) /
Find the output of the following code:
Name="PythoN3.1"
R=""
for x in range(len(Name)):
if Name[x].isupper():
R=R+Name[x].lower()
elif Name[x].islower():
R=R+Name[x].upper()
elif Name[x].isdigit():
R=R+Name[x-1]
else:
R=R+"#"
print(R)
a) pYTHOn##@
b) pYTHOnN#@
c) pYTHOn#@
d) pYTHOnN@#
Select the correct output of the code:
a = "Year 2022 at All the best"
a = a.split('2')
b = a[0] + ". " + a[1] + ". " + a[3]
print(b)
a) Year . 0. at All the best
b) Year 0. at All the best
c) Year . 022. at All the best
d) Year . 0. at all the best
Which of the following statement(s) would give an error after executing the following code?
S="Welcome to class XII" # Statement 1
print(S) # Statement 2
S="Thank you" # Statement 3
S[0]= '@' # Statement 4
S=S+"Thank you" # Statement 5
a) Statement 3
b) Statement 4
c) Statement 5
d) Statement 4 and 5
Which of the following statement(s) would give an error after executing the following code ?
S="Happy" # Statement 1
print (S*2) # Statement 2
S+="Independence" # Statement 3
S.append ("Day") # Statement 4
print (S) # Statement 5
(a) Statement 2
(b) Statement 3
(c) Statement 4
(d) Statement 3 and 4
Select the correct output of the code:
s = "Python is fun"
l = s.split()
s_new = "-".join([l[0].upper(), l[1], l[2].capitalize()])
print(s_new)
a) PYTHON-IS-Fun
b) PYTHON-is-Fun
c) Python-is-fun
d) PYTHON-Is -Fun
Consider the statements given below and then choose the correct output from the given options:
pride="#G20 Presidency"
print(pride[-2:2:-2])
a) ndsr
b) ceieP0
c) ceieP
d) yndsr
Predict the output of the Python code given below:
Text1="IND-23"
Text2=""
I=0
while I<len(Text1):
if Text1[I]>="0" and Text1[I]<="9":
Val = int(Text1[I])
Val = Val + 1
Text2=Text2 + str(Val)
elif Text1[I]>="A" and Text1[I]<="Z":
Text2=Text2 + (Text1[I+1])
else:
Text2=Text2 + "*"
I+=1
print(Text2)
Consider the statements given below and then choose the correct output from the given options :
Game="World Cup 2023"
print(Game[-6::-1])
(A) CdrW
(B) ce o
(C) puC dlroW
(D) Error
Identify the output of the following code snippet:
text = "PYTHONPROGRAM"
text=text.replace('PY','#')
print(text)
a) #THONPROGRAM
b) ##THON#ROGRAM
c) #THON#ROGRAM
d) #YTHON#ROGRAM
What is the output of the expression?
country='International'
print(country.split("n"))
a) ('I', 'ter', 'atio', 'al')
b) ['I', 'ter', 'atio', 'al']
c) ['I', 'n', 'ter', 'n', 'atio', 'n', 'al']
d) Error
Predict the output of the Python code given below :
s="India Growing"
n = len(s)
m=""
for i in range (0, n) :
if (s[i] >= 'a' and s[i] <= 'm') :
m = m + s [i].upper()
elif (s[i] >= 'O' and s[i] <= 'z') :
m = m +s [i-1]
elif (s[i].isupper()):
m = m + s[i].lower()
else:
m = m + '@'
print (m)
What is the output of the following expression ?
Sports="Paralympic Games"
print (Sports.split("m"))
(A) ['Paraly','m','pic Ga','m','es']
(B) ('Paraly','m','pic Games')
(C) ('Paraly','pic Ga','es')
(D) ['Paraly','pic Ga','es']
What is the output of the given Python code?
st='Waterskiing is thrilling!'
print(st.split("i"))
a) ['Watersk', 'ng ', 's thr', 'll', 'ng!']
b) ['Watersk', '', 'ng ', 's thr', 'll', 'ng!']
c) ['Watersk', 'i', 'ng ', 's thr', 'll', 'ng!']
d) Error
A. Predict the output of the following Python code:
s1="SQP-25"
s2=""
i=0
while i<len(s1):
if s1[i]>='0' and s1[i]<='9':
Num=int(s1[i])
Num-=1
s2=s2+str(Num)
elif s1[i]>='A' and s1[i]<='Z':
s2=s2+s1[i+1]
else:
s2=s2+'^'
i+=1
print(s2)
Pick a lecture from the panel on the left, configure the board and student level,
then click Generate Prompt. The result includes PYQ data,
frequency analysis, exam trends, and a full 15-section teaching package request —
ready to paste into any AI assistant.
ChatGPTClaudeGeminiDeepSeek
PYQ Analysis
Frequency, marks & high-yield concepts
Lecture Flow
Exact time-allocation plan
15 Sections
From objectives to ranked exam questions
Export
Copy or download as .txt
Reset All Progress?
This will clear all Done and Missed marks and rebuild the schedule from scratch.
A backup will be created automatically before resetting. You can restore it from the Backups page.