Home / Sonali Mishra / Programming MCQs Solution
Programming Portal Solution
You will find all Programming Portal MCQs whose solution is updated by Sonali Mishra
Q. Which of these methods return description of an exception?
Q. Which of the following blocks execute compulsorily whether exception is caught or not.
Q. Which of the following classes can catch all exceptions which cannot be caught?
Q. At runtime, error is recoverable.
Q. What is the difference between "extends" and "implements" in Java?
Q. What is the purpose of the "final" keyword in Java inheritance?
Q. In Java, can a subclass override a static method from its superclass?
Q. Which of this interface is implemented by Thread class?
Q. In Java, can an abstract class have non-abstract methods?
Q. Which of the following declares an abstract method in an abstract Java class?
Q. Which of these class provides various types of rounding functions?
Q. Which of these is method for testing whether the specified element is a file or a directory?
Q. What is the purpose of method hiding in Java?
Q. In Java, which keyword is used to define an abstract method?
Q. In Java, what is the purpose of method overloading?
Q. In Java, can a method have the same name as the class?
Q. Which of the following is a method having same name as that of it's class?
Q. What would be the behaviour if one parameterized constructor is explicitly defined?
Q. Which concept of Java is achieved by combining methods and attribute into a class?
Q. Which of these data types is used by operating system to manage the Recursion in Java?
Q. What is the value of the expression 5 + 2 == 7 && 4 > 3 in Java?
Q. What is the result of the expression 5 + 3 * 2 in Java?
Q. What will be the output after compiling and running following code?
Q. Decrement operator, - -, decreases the value of variable by what number?
Q. Modulus operator, %, can be applied to which of these?
Q. Which of the following statements is true about arrays in Java?
Q. What is the default access modifier for class members in Java if no access modifier is specified?
Q. What is the access level of a class member declared as protected in Java?
Q. Which of the following is the correct way to declare a hexadecimal value in Java?
Q. What is the default value of a boolean array element in Java if it's not explicitly initialized?
Q. What is the option for specifying the executable name while compiling with gcc?
Q. What does 'C' stand for in the ACID property of transactions?
Q. The program that performs logical backups is . . . . . . . .
Q. Which program is used as a utility for MyISAM table maintenance?
Q. Which Keyword is used to remove duplicate rows in the result set?
Q. The shebang line is . . . . . . . .
Q. Which are the two languages used in Mysql?
Q. The most important configurable resource for MyISAM is . . . . . . . .
Q. The function used to convert an int to string is . . . . . . . .
Q. The option used to specify the socket file pathname is . . . . . . . .
Q. The option that specifies the data directory location at server startup is . . . . . . . .
Q. The default index type for MEMORY tables is . . . . . . . .
Q. Which variable when set to 1 would enable foreign key checking for InnoDB tables?
Q. Which of these is faster when accessing data? memory, disk
Q. What does mysql_fetch_row() return?
Q. Which of the following statements does not modify the table?
Q. Which clause is used to "Modify the existing field of the table"?
Q. Find the error in the following SQL statement? SELECT *;
Q. What is the hub of a MySQL installation?
Q. x'ffff' in decimal is . . . . . . . .
Q. What is the exec_stmt_ssl written in?
Q. Which operators test whether a subquery returns any rows?
Q. An embedded application includes the server side and client side.
Q. What will be the output of the following MySQL statement "Null AND Null"?
Q. What returns a string containing an error message?
Q. How is a delimited-text data file reloaded?
Q. The number of legal hexadecimal values among 0x0a, 0x0A, 0X0a and 0X0A is . . . . . . . .
Q. The error log file has a suffix . . . . . . . .
Q. Accessing data from which of these is faster? memory, disk
Q. PHP variables are preceded by . . . . . . . .
Q. Which mode tells cache queries that begin with SELECT SQL_CACHE?
Q. What does mysql_init() return?
Q. Character data can be stored as . . . . . . . .
Q. Which storage engine enables to access tables from a MySQL server managed by another server?
Q. What does 'A' stand for in the ACID property of transactions?
Q. In which table of INFORMATION_SCHEMA is the information about table index characteristics stored?
Q. Which of the following options tells mysql to ask for entering the password?
Q. The option which finds the startup options supported by the server through mysqld is . . . . . . . .
Q. Which column attribute provides unique numbers for identification?
Q. Usage of aggregates in WHERE clause is not allowed.
Q. How is the binary log rotated?
Q. What is the maximum collations a character set can have?
Q. What does Control-_ do in MySQL input editor?
Q. What will be the output of the following SQL statement? SELECT * FROM person WHERE person_id=1;
Q. The BIGINT precision is of bit . . . . . . . .
Q. Association between one or more MyISAM tables and the named key cache is set by . . . . . . . .
Q. INFORMATION_SCHEMA is based on the SQL standard.
Q. The case sensitive among these is . . . . . . . .
Q. Which keyword suppresses errors?
Q. What's the best way to design the layout for your slides?
Q. Microsoft Office Picture Manager is
Q. In NiFi, what is the purpose of the "EncryptContent" processor?
Q. In NiFi, what is the function of the "EncryptContent" processor?
Q. In NiFi, what is the function of the "RouteOnContent" processor?
Q. What does the term "Content Repository" refer to in Apache NiFi?
Q. What is the purpose of Hadoop's Knox Gateway in a Hadoop security setup?
Q. How does Hadoop mitigate the risk of data exposure during network transmission?
Q. How does Hadoop mitigate the risk of data tampering in HDFS?
Q. How does Hadoop's HDFS Federation contribute to security in a Hadoop cluster?
Q. What is the significance of Hadoop's Knox Gateway in securing Hadoop REST APIs?
Q. Drill also provides intuitive extensions to SQL to work with . . . . . . . . data types.
Q. . . . . . . . . transport is required when using a non-blocking server.
Q. Point out the wrong statement.
Q. . . . . . . . . is the default mode if you download Hama.
Q. Point out the correct statement.
Q. . . . . . . . . is a REST API for HCatalog.
Q. A number of . . . . . . . . source adapters give you the granular control to grab a specific file.
Q. Which of the following performs compression using zlib?
Q. The output descriptor for the table to be written is created by calling . . . . . . . .
Q. Hama was inspired by Google's . . . . . . . . large-scale graph computing framework.
Q. Mahout provides . . . . . . . . libraries for common and primitive Java collections.
Q. Hive does not have a data type corresponding to the . . . . . . . . type in Pig.
Q. What is the role of the HBase Write-Ahead Log (WAL)?
Q. In Oozie, what is the purpose of the "start" and "end" nodes in a workflow?
Q. NiFi is a dataflow system based on the concepts of . . . . . . . . programming.
Q. What is the purpose of the Hive HQL (Hive Query Language)?
Q. What is the primary role of the Hive Metastore in Apache Hive?
Q. What is the purpose of the Hive OVER() clause in a SELECT statement?
Q. In Hive, what does the term "SerDe" stand for?
Q. What is the significance of the Hive HCatalog?
Q. In Hive, what does the term "Bucket" refer to?
Q. Types that may be null must be defined as a . . . . . . . . of that type and Null within Avro.
Q. Which of the following command does not operate on tables?
Q. To force Hive to be more verbose, it can be started with . . . . . . . .
Q. HCatalog is installed with Hive, starting with Hive release is . . . . . . . .
Q. What is the purpose of the Hadoop SequenceFile format?
Q. In Hadoop, what is the primary role of the Hadoop SequenceFileOutputFormat?
Q. What does the term "SerDe" stand for in Hadoop?
Q. The HDFS client software implements . . . . . . . . checking on the contents of HDFS files.
Q. Point out the wrong statement.
Q. In Pig, what is the purpose of the Pig Latin FLATTEN operator?
Q. You can specify parameter names and parameter values in one of the ways?
Q. In Hadoop, what does the term "Rack Awareness" refer to in a Hadoop cluster?
Q. What is the primary role of the Hadoop ResourceManager in a Hadoop cluster?
Q. What is the primary function of the Flume Channel Processor in Flume?
Q. In Sqoop, what is the purpose of the "--columns" option in an import command?
Q. ZooKeeper is especially fast in . . . . . . . . workloads.
Q. Point out the wrong statement.
Q. What is the role of the Partitioner in a MapReduce application?
Q. Which of the following partitions the key space?
Q. Facebook Tackles Big Data With . . . . . . . . based on Hadoop.
Q. What was Hadoop named after?
Q. What is the primary purpose of the MapReduce "Reduce" function?
Q. What is the function of the MapReduce "OutputFormat"?
Q. Point out the correct statement.
Q. What role does the NameNode play in HDFS?
Q. In Hadoop, what is the purpose of the ResourceManager?
Q. What is the function of Hadoop ZooKeeper in the architecture?
Q. Which Apache project in Hadoop is used for workflow automation?
Q. In advanced MapReduce, what does the term "MapReduce speculative execution" refer to?
Q. Point out the wrong statement.
Q. Checkbox are used to . . . . . . . .
Q. What will the following code display in the lblSum control?
Q. What will be the output of the following Visual Basic expression? Financial.Pmt (0.05, 3, 9000)
Q. Which of the following toolbox is used to include an image on the Visual Basic form?
Q. The set of statements contained in each path is referred to as a . . . . . . . .
Q. A . . . . . . . . is a predefined procedure that performs a specific task.
Q. The . . . . . . . . is one of the controls that is used to handle graphics
Q. Designers generally use . . . . . . . . font style and . . . . . . . . font size in an interface.
Q. In vb variable name cannot be more than . . . . . . . . characters
Q. The Indexof method returns . . . . . . . . value.
Q. . . . . . . . . operator returns true, if any of the sub-condition is true.
Q. What will be the output of the following Visual Basic code, If the intnumber variable is 110?
Q. What will be in text, if Intid contains 6?
Q. . . . . . . . . are the actions to which an object can respond.
Q. . . . . . . . . are the characteristics that describe the object.
Q. in . . . . . . . . box & . . . . . . . . can edit in run time
Q. One can display a message box using the . . . . . . . . method.
Q. The value returned by the Inputbox depends on the . . . . . . . . the user chooses.
Q. In Picture box You can also load the picture at runtime using the . . . . . . . . method.
Q. . . . . . . . . prevents you from using undeclared variable in your code.
Q. What is the result of the following statements?
Q. Which logical operator does not allow us to combine two or more conditions?
Q. Press . . . . . . . . to move the focus to the text box's access key named textBlue.
Q. What will be contained in Msg if grade entered by user is 'd'?
Q. Which property in the property list is used to change the text, style or size of the control's text?
Q. Which of the following instruction tells the computer to close the current form in Visual Basic?
Q. . . . . . . . . structure can handle conditions with multiple outcomes in an easier manner
Q. A bundled package is a package that's been compressed into a . . . . . . . . file.
Q. What is the output of the following R code: for (i in 1:5) { if (i == 3) next; print(i) }
Q. . . . . . . . . function can be used to select the random sample of size 'n' from a huge dataset.