Home / Geetam / Programming Language MCQs
You will find all MCQs which are added in Programming Portal by Geetam
Q. What will be output for the following code? Note: file is made in c drive
Q. What will be output for the following code?
Q. ___________ returns true if called on a file and returns false when called on a directory.
Q. ObjectFilter is a member of java.io package.
Q. Which method is used to write an array of byte to the current output stream?
Q. Which method is used to write a byte to the current output stream?
Q. In java, how many streams are created for us automatically?
Q. Can we perform file handling in Java by Java I/O API?
Q. Java I/O is used to process the?
Q. JDBC Driver manager loads a database-specific driver in an application to establish a connection with a database.
Q. Which interface is used to execute SQL statements in Java?
Q. Which class is used to load the JDBC driver?
Q. Which package in Java contains the JDBC classes?
Q. Java Database Connectivity is a Java API to connect and execute the query with the database.
Q. The JDBC architecture consists of _____________ to access a database.
Q. How many types of JDBC drivers there?
Q. Which of the following is used to test the operation?
Q. Which of the following is not a Components of JDBC ?
Q. What will be the output of the following C code? (Initial values: x= 7, y = 8)
Q. What will be the final value of x in the following C code?
Q. Will the following C code compile without any error?
Q. What will be the output of the following C code?
Q. What will be the output of the following C function?
Q. What will be the output of the following C code on a 64 bit machine?
Q. What will happen if the following C code is executed?
Q. What is meant by ‘a’ in the following C operation?
Q. scanf() is a predefined function in______header file.
Q. Which of the following is not an operator in C?
Q. What is the sizeof(char) in a 32-bit C compiler?
Q. In C language, FILE is of which data type?
Q. When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?
Q. The standard header _______ is used for variable list arguments (…) in C.
Q. Which of the following return-type cannot be used for a function in C?
Q. Which of the following is not possible statically in C language?
Q. How many number of pointer (*) does C have against a pointer variable declaration?
Q. How is search done in #include and #include “somelibrary.h” according to C standard?