NIELIT O level - Programming and problem solving through python Mock Test

Exam Name
programming and problem solving through python
Student Name
Your Name
Remaining Time:
00:00:00
Question No: 1 Total Question : 100 Total Time : 90 Minutes
Report Bug


A. Flowchart
     फ़्लोचार्ट

B. Psuedocode
     स्यूडोकोड

C. Algorithm
     एल्गोरिथम

D. All of the above
     ऊपर के सभी


Report Bug


A. 55

B. 60

C. 555

D. Error
     एरर


Report Bug


A. 4.5

B. 4.6

C. 4.57

D. 4.56


Report Bug


A. 2

B. 0

C. 1

D. none of the mentioned
     उल्लेखित कोई नहीं


Report Bug


A. Graphical
     Graphical चित्रात्मक

B. Cross-Platform
     क्रॉस-प्लेटफॉर्म

C. Platform Dependent
     प्लेटफार्म पर निर्भर

D. All of these
     ऊपर के सभी


Report Bug


A. k^1

B. k**1

C. k^ ^1

D. k^*1


Report Bug


A. True
     ट्रू

B. False
     फॉल्स

C. Infinite
     इन्फाईनाइट

D. NULL
     शून्य


Report Bug


A. Append File

B. Write File

C. Read File

D. Read and Write both


Report Bug


A. >=

B. <=

C. =

D. !=


Report Bug


A. keys, keys

B. key values, keys

C. keys, key values

D. key values, key values


Report Bug


A. [‘ab’, ‘cd’]

B. [‘AB’, ‘CD’]

C. [None, None]

D. none of the mentioned
     उल्लेखित कोई नहीं


Report Bug


A. re\new

B. new

C. re new

D. re ew


Report Bug


A. More than one key isn’t allowed
     एक से अधिक key की अनुमति नहीं है

B. Keys must be immutable
     keys इम्यूटबल होनी चाहिए

C. Keys must be integers
     keys इन्टिजर होनी चाहिए

D. When duplicate keys encountered, the last assignment wins
     जब डुप्लिकेट keys का सामना करना पड़ा, तो लास्ट असाइनमेंट जीत गया


Report Bug


A. 0

B. 2

C. Error as the key-value pair of 1:’A’ is already deleted

D. 1


Report Bug


A. TRUE

B. TRUE FALSE

C. TRUE TRUE

D. FALSE TRUE


Report Bug


A. take a sequence, like a list, and arrange the items in ascending order

B. take a sequence, like a list, and reorganize the order of the items.

C. take a sequence, like a list, and arrange the items in descending

D. take a sequence, like a list, and return the same copy of sequence


Report Bug


A. Sequence value pair

B. Key value pair

C. Tuple value pair

D. Record value pair


Report Bug


A. Subroutines

B. Function

C. Files

D. Modules


Report Bug


A. Identifiers

B. Functions

C. keywords

D. Literals


Report Bug


A. \\n

B. \n

C. New line

D. Error
     एरर


Report Bug


A. print(len(a))

B. print(min(a))

C. a.remove(5)

D. a[2]=45


Report Bug


A. True
     सही

B. False
     गलत

C. Error
     एरर

D. None of the mentioned
     उल्लेखित कोई नहीं


Report Bug


A. 0 1 2 3 0

B. 0 1 2 0

C. 0 1 2

D. error
     एरर


Report Bug


A. Identifiers

B. Function

C. Keywords

D. Literals


Report Bug


A. [‘a’, ‘b’, ‘c’, ‘d’]

B. [‘a b c d’]

C. [‘a#b#c#d’]

D. [‘abcd’]


Report Bug


A. None

B. { None:None, None:None, None:None}

C. {1:None, 2:None, 3:None}

D. { }


Report Bug


A. x | y

B. x ^ y

C. x & y

D. x – y


Report Bug


A. i i i i i i

B. a a a a a a

C. a a a a a

D. none of the mentioned
     उल्लेखित कोई नहीं


Report Bug


A. {1:’A’, 2: ‘B’,3: ‘C’}

B. {1: ‘A’, 2: ‘b’, 3: ‘c’, 4: ‘D’, 5: ‘E’}

C. Error

D. {4: ‘D’, 5: ‘E’}


Report Bug


A. Hello WordWordWordWordWord

B. Hello Word 5

C. Hello Word,Word,Word,Word,Word

D. Hello HelloHelloHelloHelloHello


Report Bug


A. >>>

B. <<<

C. #

D. <<


Report Bug


A. re

B. regex

C. pyregex

D. none of the mentioned
     उल्लिखित कोई नहीं


Report Bug


A. Returns True if any key of the dictionary is true
     यदि डिक्शनरी की कोई भी key सही है, तो रिटर्न

B. Returns False if dictionary is empty
     यदि डिक्शनरी खाली है तो गलत है

C. Returns True if all keys of the dictionary are true
     यदि डिक्शनरी की सभी keys सही हैं, तो सही

D. Method any() doesn’t exist for dictionary
     मैथड किसी भी () शब्दकोश के लिए मौजूद नहीं है


Report Bug


A. A rectangle

B. A rhombus

C. A parallelogram

D. A circle


Report Bug


A. [‘ab’, ‘ef’, ‘gh’]

B. [‘ab’, ‘ef’, ‘gh’, ”]

C. (‘ab’, ‘ef’, ‘gh’)

D. (‘ab’, ‘ef’, ‘gh’, ”)


Report Bug


A. index()

B. find()

C. Both of the above
     उपरोक्त दोनो

D. None of the above
     उपर्युक्त मे से कोई नही ।


Report Bug


A. General input symbol

B. Operation on data

C. Online use of keyboard

D. Output data screen


Report Bug


A. sqrt

B. rhombus

C. add

D. Sub


Report Bug


A. Read mode

B. Write mode

C. Append mode

D. Binary mode


Report Bug


A. Checks if two variables have the same value.
     चेक करता है कि क्या दो वैरिएबल की वैल्यू समान है।

B. Checks if two variables refer to the same object in memory.
     चेक करता है कि क्या दो वेरिएबल मेमोरी में एक ही ऑब्जेक्ट को रेफर करते हैं।

C. Assigns a value to a variable.
     किसी वेरिएबल को एक वैल्यू असाइन करता है.

D. None of the above
     इनमे से कोई भी नहीं


Report Bug


A. 4

B. 0

C. Error
     एरर

D. True
     सही


Report Bug


A. Time.altzone

B. alt.Timezone

C. zone.altTime

D. None
     कोई नहीं


Report Bug


A. //

B. %

C. &

D. None of these
     इनमें से कोई नही


Report Bug


A. delete all the trailing characters
     सभी ट्रेलिंग कैरेक्टर्स को डिलीट करने

B. delete all the leading characters
     सभी लिडिंग कैरेक्टर्स को डिलीट करने

C. delete all the leading and trailing characters
     सभी लिडिंग और ट्रेलिंग कैरेक्टर्स को डिलीट करने

D. delete upper case characters
     अपरकेस कैरेक्टर्स को डिलीट करने के लिए


Report Bug


A. Slicing
     स्लाइसिंग

B. Concatenation
     कंकटेनशन

C. Deletion of elements
     एलिमेंट्स का विलोपन

D. Iteration
     इट्रेशन


Report Bug


A. {1: ‘A’, 2: ‘B’}

B. dict([[1,”A”],[2,”B”]])

C. {1,”A”,2”B”}

D. { }


Report Bug


A. 1

B. (space)

C. ,

D. none of the mentioned
     उल्लेखित कोई नहीं


Report Bug


A. Strings

B. Characters

C. Integers

D. None of These


Report Bug


A. Effective Analysis
     प्रभावी विश्लेषण

B. Proper documentation
     उचित डॉक्युमेन्ट

C. Efficient Coding
     कुशल कोडिंग

D. All of the above
     उपर्युक्त सभी


Report Bug


A. -1

B. 4

C. 3

D. 1


Report Bug


A. Filled with Zero
     शून्य से भरा हुआ

B. Filled with Blank space
     रिक्त स्थान से भरा हुआ

C. Filled with random garbage value
     रैंडम गार्बेज मूल्य से भरा हुआ

D. Filled with One
     एक से भरा हुआ


Report Bug


A. 0 1 2 3

B. 0 1 2 2

C. 3 3 3 3

D. error
     एरर


Report Bug


A. [“john”, “peter”]

B. [“john”:40, “peter”:45]

C. (“john”, “peter”)

D. (“john”:40, “peter”:45)


Report Bug


A. int

B. float

C. str

D. list


Report Bug


A. (3,)

B. (4,)

C. 1

D. 3


Report Bug


A. ('abc’)

B. ('a', 'b', 'c’)

C. ['a', 'b', 'c’]

D. Error
     एरर


Report Bug


A. Runtime Error
     रनटाइम एरर

B. Syntax Error
     सिन्टैक्स एरर

C. Logical Error
     लॉजिकल एरर

D. None of the above
     इनमे से कोई भी नहीं


Report Bug


A. Flowchart
     फ़्लोचार्ट

B. Flow
     फ्लो

C. Algorithm
     एल्गोरिथम

D. syntax
     सिन्टैक्स


Report Bug


A. dlrowolleh

B. hello
     हेलो

C. world
     वर्ल्ड

D. helloworld
     हेलोवर्ल्ड


Report Bug


A. int

B. bool

C. void

D. None


Report Bug


A. [0]

B. 0

C. [0.00]

D. Error
     एरर


Report Bug


A. [2 4 1]

B. [2 3 1]

C. [3 4 1]

D. [2 4 3]


Report Bug


A. 2 3 4 5 6 1

B. 6 1 2 3 4 5

C. 2 3 4 5 6 6

D. 1 1 2 3 4 5


Report Bug


A. _

B. &

C. %

D. None of the above
     उपरोक्त में से कोई नहीं


Report Bug


A. 9.0

B. 9.8

C. 10

D. 10.0


Report Bug


A. algorithm
     एल्गोरिथम

B. program
     प्रोग्राम

C. Graph
     ग्रॉफ

D. None of these
     इनमें से कोई नहीं


Report Bug


A. abc

B. 5

C. {"abc":5}

D. error


Report Bug


A. (‘ab’, ‘ef’)

B. (‘abef’)

C. (‘ab’, ‘cd’, ‘ef’)

D. 2


Report Bug


A. Range
     रेंज

B. Input
     इनपुट

C. Open()
     ओपेन()

D. Pass
     पास


Report Bug


A. pop
     पॉप

B. remove
     रिमूव

C. dispose
     डिस्पोज

D. None of these
     इनमें से कोई नहीं


Report Bug


A. [2,6,5J]

B. [5J,2,6]

C. Error

D. [6,5J,2]


Report Bug


A. random

B. randrange

C. randomrange

D. rand


Report Bug


A. 11

B. 9

C. 5

D. 4


Report Bug


A. 27.2

B. 29.0

C. 14.9

D. 12.3


Report Bug


A. raw_input

B. input()

C. eval

D. accep


Report Bug


A. function

B. def

C. fun

D. define


Report Bug


A. Compiler
     कम्पाइलर

B. Debugger
     डीबगर

C. Editor
     एडिटर

D. None of the above
     इनमे से कोई भी नहीं


Report Bug


A. Block
     ब्लॉक

B. {}

C. Indentation
     इंडेशन

D. loop
     लूप


Report Bug


A. list1.remove("hello")

B. list1.remove(hello)

C. list1.removeAll("hello")

D. list1.removeOne ("hello")


Report Bug


A. Looping

B. Selective

C. Sequence

D. None


Report Bug


A. Python Visual Machine

B. Python Visual Mode

C. Python Virtual Machine

D. Python Virtual Mode


Report Bug


A. close_file()

B. file_close()

C. close()

D. end_file()


Report Bug


A. procedure
     प्रकिया

B. function
     कार्य

C. bug
     बग

D. None of these
     इनमे से कोई नहीं


Report Bug


A. oval
     अंडाकार

B. rectangle
     आयत

C. arrow
     एरो

D. diamond
     डायमंड


Report Bug


A. Only One
     केवल एक

B. 1-10

C. Any number of Times
     किसी भी नंबर में टाइम्स

D. Any number of times but one inside another only.
     कितनी भी बार लेकिन एक के अंदर ही दूसरा।


Report Bug


A. 14

B. 1

C. 3

D. 2


Report Bug


A. It supports automatic garbage collection

B. It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java

C. Both of the above

D. None of the above


Report Bug


A. 4

B. 3

C. Error
     एरर

D. 6


Report Bug


A. Python Interpreter.

B. Python compiler

C. Python Volatile machine

D. Portable virtual machine


Report Bug


A. Decision box

B. Statement box

C. Error box

D. If-statement box


Report Bug


A. f = open("data.txt", "a")

B. f = Open("data.txt", "ab")

C. f= new("data.txt", "a")

D. open("data.txt", "a")


Report Bug


A. import random
     इम्पोर्ट रैंडम

B. random.h
     रैंडम.h

C. import.random
     इम्पोर्ट.रैंडम

D. random.random
     रैंडम.रैंडम


Report Bug


A. 2017-16-19

B. 2017-06-9

C. 2017-06-29

D. Error
     एरर


Report Bug


A. Text file
     टेक्स्ट फाइल

B. Binary file
     बाइनरी फाइल

C. Both (A) and (B)
     (A) और (A) दोनों

D. None of these
     इनमे से कोई नहीं


Report Bug


A. method del doesn’t exist for the dictionary
     मैथड डेल डिक्शनरी में मौजूद नहीं है

B. del deletes the values in the dictionary
     डेल ड़िक्शनरी में वैल्यूज को डिलीट करता है

C. del deletes the entire dictionary
     डेल पूरे ड़िक्शनरी को डिलीट कर देता है

D. del deletes the keys in the dictionary
     डेल ड़िक्शनरी में keys हटाता है


Report Bug


A. 1

B. 2

C. 4

D. 5


Report Bug


A. [‘abcdefcdghcd’]

B. ‘abcdefcdghcd’

C. error
     एरर

D. none of the mentioned
     उल्लेखित कोई नहीं


Report Bug


A. A-1, B-2, C-3, D-4

B. A-3, B-4, C-1, D-2

C. A-2, B-1, C-4, D-3

D. A-4, B-3, C-2, D-1


Report Bug


A. Wed

B. Wednesday
     वेडन्सडे

C. 2

D. 3


Report Bug


A. Logical errors

B. Syntax errors

C. Both Logical and Syntax errors
     Logical और Syntax errors दोनों

D. None of these
     इनमें से कोई नहीं




Attempted 0
Not Attempted 100
Current 1
Choose Question
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad