684 MCQ Questions in english हिन्दी

Share:

What is the correct way to define a dictionary?

Dictionaries are defined using curly braces with key-value pairs.

What is the output of bool([])?

Empty lists are falsey.

Which of the following is used to define a class in Python?

Use the class keyword to define a class

What is the result of 3 == 3.0 in Python?

Python considers 3 and 3.0 equal in value.

What is the correct way to open a file for writing?

"w" mode opens the file for writing (overwrites if exists)

Which of these is not a keyword in Python?

eval is a built-in function, not a keyword.

banner ad

What is the output of: print("5" + "5")?

String concatenation results in "55".

What does range(3) produce?

range(3) gives numbers from 0 to 2.

What keyword is used to handle exceptions in Python?

except is used with try to handle exceptions.

What is the output of bool(0)?

bool(0) is False, because 0 is considered falsey

ow do you insert comments in Python?

Python uses # for comments.

What does len("Hello") return?

"Hello" has 5 characters.

What will be the output of print(2 ** 3)?

** is the exponentiation operator (2³ = 8).

banner ad

Which keyword is used to define a function in Python?

Python uses the def keyword to define functions

What is the correct file extension for Python files?

Python source files end with .py

What is the output of: print(type([]))?

[] denotes a list in Python

Which built-in method returns the character at the specified index in a string?

What is the correct syntax for a ternary operator?

What keyword is used to handle exceptions?

What will typeof [] return?

banner ad

Which of these is used to define a JavaScript class?

How to check if a is not equal to b in value and type?

Which of the following organizations is responsible for agricultural education in Bihar?

ICAR supports institutions like Bihar Agricultural University and Krishi Vigyan Kendras for agriculture research and education.

Which of the following energy sources is being promoted in Bihar under rural electrification schemes?

Through agencies like BREDA, Bihar is pushing for solar energy in off-grid and rural areas under schemes like Saubhagya and PM-KUSUM.

Which crop disease often affects paddy cultivation in Bihar during the Kharif season?

Paddy blast, caused by a fungus (Magnaporthe oryzae), frequently damages rice crops during Bihar’s monsoon-heavy Kharif season. Important for agriculture-related science questions.

What is the function of Krishi Vigyan Kendras (KVKs) in Bihar?

KVKs (agricultural science centers) train farmers, demonstrate new methods, and conduct soil/water testing, forming a backbone of rural agricultural extension in Bihar.

What does Array.prototype.map() do?

banner ad

How do you round 7.25 to the nearest integer

×
Subscribe now

for Latest Updates

Articles, Jobs, MCQ and many more!