Subjectwise MCQ
Statewise Prepration
Andaman NicobarAndhra PradeshArunchal PradeshAssamBiharChandigarhChhatisgarhDadra & Nagar Haveli and Daman & DiuDelhiGoaGujaratHaryanaHimachal PradeshJammu & KashmirJharkhandKarnatkaKeralaLaddakhLakshadweepMadhya PradeshMaharashtraManipurMeghalayaMizoramNagalandOdishaPondicherryPunjabRajasthanSikkimTamil NaduTelanganaTripuraUttar PradeshUttarakhandWest Bengal
Govt. Examwise MCQ
2887+ MCQ Questions in english हिन्दी
How do you add days, months, years, hours, minutes, and seconds to a date using PHP?
The timestamp is modified by which PHP function?
What PHP function is employed to retrieve the most recent Unix timestamp with microsecond precision?
The current time in seconds since the Unix Epoch (January 1, 1970 00:00:00 GMT) is obtained using this PHP function?
What distinguishes PHP's include and require statements?
What does the PHP "include" statement look like?
What does the "require" statement in PHP look like?
To open a file, which PHP function is used?
Which PHP function is employed in the closing of a file?
What PHP function is used to read a file's content?
What function in PHP reads a single line from a file?
What PHP function reads one character at a time from a file?
What are the advantages of using C++ input and output over C input and output?
What will the following C++ code produce?
#include
using namespace std;
int main ()
{
int a, b, c;
a = 2;
b = 7;
c = (a > b) ? a : b;
cout << c;
return 0;
}
How do structures and classes vary in C++?
What would 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;
}
Which concept in C++ allows you to reuse previously written code?
What will the following C++ programme produce?
#include
using namespace std;
int main()
{
try
{
try
{
throw 20;
}
catch (int n)
{
cout << "Inner Catch\n";
throw;
}
}
catch (int x)
{
cout << "Outer Catch\n";
}
return 0;
}
Using Perl, the DBI API is
Which of the following constructors are provided by the C++ compiler if they are not defined in a class?
For how many of the following do interfaces exist for implementing direct native client-server protocol? Java, PHP, Ruby
What exactly is an abstract class in C++?
How many of these languages support MySQL's C API through interfaces? Perl, PHP, Python
What will the C++ programme below produce?
#include
using namespace std;
int main()
{
int n = 5;
void *p = &n;
int *pi = static_cast(p);
cout << *pi << endl;
return 0;
}
What will the result of the following C++ application be?
#include
#include
using namespace std;
int main ()
{
std::string str ("Sanfoundry.");
str.back() = '!';
std::cout << str << endl;
return 0;
}
Which command in the Mysql command line tool is used to display the current date and time?
What exactly is a polymorphism in C++?
Which kind of authentication are necessary to access the MySQL command-line tool?
Latest Jobs
AIIMS Non Faculty Group A, B & C Recruitment 202 ...
Apr 13, 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