निम्नलिखित कोड का आउटपुट क्या है?
1. What is the output of the following code?
M=['b' * x for x in range(4)]
print(M)
(A) [",'b','bb','bbb']
(B) ['b', 'bb', 'bbb', 'bbbb']
(C) ['b','bb','bbb']
(D) None of these
Ans:-
निम्नलिखित का आउटपुट क्या है?
2. What is the output of the following?
print(max([1,2,3,4] [4,5, 6], [71))
(A) [4, 5, 6]
(B) [7]
(C) [1,2,3,4]
(D) 7
Ans:-
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
3. What will be the output of the following Python code ?
example = "helle"
example.rfind('e")
(A) 1
(B) 2
(C) 4
(D) 5
Ans:-
निम्नलिखित स्यूडोकोड का आउटपुट क्या होगा?
4. What will be the output of the following pseudo code?
Integer a, b
Set a = 10, b = 5
a = a mod (a-6)
b = b mod (b-2)
print a-b
(A) 4
(B) 0
(C) 1
(D) 8
Ans:-
जब हम किसी ऐसी फाइल को राइट मोड में खोलने की कोशिश करते हैं, जो मौजूद नहीं है तो निम्न में से कौन सी एरर दिखाई देती है?
5. Which of the following error is returned when we try to open a file in write mode which does not exist?
(A) File Found Error
(B) File Not Exist Error
(C) File Not Found Error
(D) None of the above
Ans:-
Coming soon...
0 Comments