Subjectwise MCQ
Statewise Prepration
Andaman NicobarAndhra PradeshArunchal PradeshAssamBiharChandigarhChhatisgarhDadra & Nagar Haveli and Daman & DiuDelhiGoaGujaratHaryanaHimachal PradeshJammu & KashmirJharkhandKarnatkaKeralaLaddakhLakshadweepMadhya PradeshMaharashtraManipurMeghalayaMizoramNagalandOdishaPondicherryPunjabRajasthanSikkimTamil NaduTelanganaTripuraUttar PradeshUttarakhandWest Bengal
Govt. Examwise MCQ
4525+ MCQ Questions in english हिन्दी
Which of the following best describes the Python file extension?
When working with identifiers, does Python take case into account?
What programming languages does Python support?
Who was the Python programming language's creator?
What will happen if you run the Python expression "2 ** 3 + 5 ** 2"?
What language is written in Python?
What will the following snippet of code produce?
a = [[], "abc", [0], 1, 0]
print(list(filter(bool, a)))
How can Python assertions be turned off?
Which of the following Python string manipulation methods are legitimate?
Which of the following Python string manipulation methods are legitimate?
Which of the following list items is a legitimate Python escape sequence?
What will the following snippet of code produce?
a = [1, 2, 3, 4]
b = [3, 4, 5, 6]
c = [x for x in a if x not in b]
print(c)
Which of the following is a Python set operation that is invalid?
The following snippet of code will produce what result?
s1 = {1, 2, 3, 4, 5}
s2 = {2, 4, 6}
print(s1 ^ s2)
What will the following C++ code snippet produce?
#include
using namespace std;
int operate (int a, int b)
{
return (a * b);
}
float operate (float a, float b)
{
return (a / b);
}
int main()
{
int x = 5, y = 2;
float n = 5.0, m = 2.0;
cout << operate(x, y) <<"\t";
cout << operate (n, m);
return 0;
}
How do classes and structures differ in C++?
What will the upcoming C++ program's output be?
#include
using namespace std;
class A{
public:
A(){
cout<<"Constructor called\n";
}
~A(){
cout<<"Destructor called\n";
}
};
int main(int argc, char const *argv[])
{
A *a = new A[5];
delete[] a;
return 0;
}
What will the following C++ programme produce?
#include
#include
using namespace std;
int main ()
{
string str ("Sanfoundry");
for (size_t i = 0; i < str.length();)
{
cout << str.at(i-1);
}
return 0;
}
Which of these operators is used to reference every external variable when capturing them all?
Which of these math libraries is used by C++ when manipulating vectors?
Which of these objects' data is loaded in the locale object?
Which of these functions is used to add a specific amount to the iterator?
Which of these values will be highlighted first in a heap?
The term _____ designates equipment that might be added to a computer system to enhance its functionality
Which of the following software applications would be the most appropriate for performing numerical and statistical calculations?
What kind of relationship does inheritance model?
A ........ is approximately one billion bytes
Markup tags tell the web browser
Latest Jobs
AIIMS Non Faculty Group A, B & C Recruitment 202 ...
Apr 14, 2024
High Court of Kerala Recruitment
Last Date: Apr 26
Recruitment In Staff Selection Commission
Last Date: Apr 18
Deputy Collector Recruitment In Tamil Nadu Publi ...
Last Date: Apr 27
Kurnool District Court Jobs Notification for the ...
Last Date: Apr 11