Home / Ram Avtar Sharma / Programming MCQs Solution
Programming Portal Solution
You will find all Programming Portal MCQs whose solution is updated by Ram Avtar Sharma
Q. What is the purpose of the "throws" keyword in Java method declaration?
Q. What is an exception in Java?
Q. In Java, can a "finally" block have a "return" statement?
Q. Which of these is a super class of all exceptional type classes?
Q. What will be the output of the following Java code?
Q. Which exception is thrown when divide by zero statement executes?
Q. What is a superclass in Java?
Q. All classes in Java are inherited from which class?
Q. Static members are not inherited to subclass.
Q. Which of the following is used for implementing inheritance through an interface?
Q. Which of these methods initiates garbage collection?
Q. Which of the following exceptions is thrown by every method of Runtime class?
Q. What is the purpose of the "extends" keyword in Java?
Q. Which of these class encapsulate the runtime state of an object or an interface?
Q. Which of the following is not a segment of memory in java?
Q. Which of these packages contain all the Java's built in exceptions?
Q. Which environment variable is used to set java path?
Q. Which of the following is the correct way of implementing an interface A by class B?
Q. Math.random() guarantees uniqueness?
Q. In Java, what is the return type of a method that does not return any value?
Q. What happens when a subclass tries to override a static method from the superclass in Java?
Q. Which of these keywords can be used to prevent Method overriding?
Q. What does the "void" keyword indicate in a method declaration?
Q. What is the purpose of method parameters in Java?
Q. What is method hiding in Java?
Q. Which of these statement is incorrect?
Q. What is use of interpreter?
Q. What is -Xms and -Xmx while starting jvm?
Q. What is the result of the expression 1 << 3 in Java?
Q. Which of these statements are incorrect?
Q. What will be the output of the following Java code?
Q. Which method is used to extract a substring from a string in Java?
Q. In Java, how do you find the maximum element in an array?
Q. Which method is used to add an element to the end of an ArrayList in Java?
Q. Which of these is necessary to specify at time of array initialization?
Q. Which of the following is not a primitive data type in Java?
Q. Which method returns the elements of Enum class?
Q. What is the replacement of joda time library in java 8?
Q. Which of these occupy first 0 to 127 in Unicode character set used for characters in Java?
Q. How to identify if a timezone is eligible for DayLight Saving?
Q. Which of these is not an exact numeric type?
Q. Which feature is used for the automatic increment of the column?
Q. The value of recently generated sequence number can be obtained by . . . . . . . .
Q. Which statement exits a labeled flow-control construct?
Q. What does mysql_query() return on failure?
Q. The server sets its default time zone by examining its environment.
Q. Which Clause is used to select a particular table in Mysql?
Q. The variable that returns code from operations that return true or false is . . . . . . . .
Q. Which of the following statements is/are correct?
Q. There is a startup penalty for a standalone interpreter.
Q. INT3 maps to MySQL type . . . . . . . .
Q. The event scheduler does not run by default.
Q. Foreign keys cannot handle deletes and updates.
Q. MySQL Enterprise Backup records details of each backup in . . . . . . . .
Q. Without LOCAL, LOAD DATA is . . . . . . . .
Q. If $a represents an array with numeric indices in PHP, the first element accessed by . . . . . . . .
Q. The MySQL server is poorly configurable.
Q. How is a stored procedure invoked?
Q. The protocol CGI is . . . . . . . .
Q. MySQL works with spatial values in 3 formats.
Q. What loads data files into tables?
Q. The system variable to maintain InnoDB log buffer size is . . . . . . . .
Q. What is the facility that allows nesting one select statement into another?
Q. If a column is expected to store values up to 2 million, the best datatype for it is . . . . . . . .
Q. The argument to the function mysql_error() is . . . . . . . .
Q. To determine whether query cache is supported by the server the variable is . . . . . . . .
Q. To reload a delimited text data file use . . . . . . . .
Q. REPAIR TABLE does not work for . . . . . . . .
Q. If ANSI_QUOTES is enabled, MySQL treats the double quotes as . . . . . . . .
Q. REGEXP takes collation into account.
Q. Which among the following are the correct representation of "float(4,2)"?
Q. mysql_fetch_row() returns . . . . . . . .
Q. The bit-field values are prefixed with . . . . . . . .
Q. The search mode that uses natural language search as a subroutine is . . . . . . . .
Q. The date and time datatype that stores time value in 'hh:mm:ss' format is . . . . . . . .
Q. Which of the following is an illegal unquoted identifier name?
Q. Which status indicator assesses how effective the table cache is?
Q. What is a synonym for CHARACTER SET?
Q. The Perl DBI is . . . . . . . .
Q. DBI scripts are located in the directory . . . . . . . .
Q. Which type of database management system is MySQL?
Q. The functions in Perl DBI called?
Q. The hub of a MySQL installation is . . . . . . . .
Q. What is the use of "VIEW" in Mysql?
Q. Which privilege must be given to the database to create a stored function or procedure?
Q. The maximum number of elements allowed in SET() is . . . . . . . .
Q. Which of the following functions are not performed by "ALTER" clause?
Q. Microsoft Office Document Scanning is
Q. A personal information manager and e-mail communication software in MS Office is
Q. Microsoft Office Suite spreadsheet program is
Q. What is the primary role of NiFi's "Processor Group"?
Q. In NiFi, what does the term "Back Pressure" refer to in the context of data flow?
Q. What does the term "SSLContextService" represent in the context of NiFi's security configuration?
Q. What does the term "NiFi Provenance" refer to in Apache NiFi?
Q. What is the purpose of Hadoop's Ranger in the context of security?
Q. What is the significance of Hadoop's Authentication Proxy in a secure Hadoop environment?
Q. How does Hadoop's Ranger KMS (Key Management Service) contribute to securing encryption keys?
Q. Which of the following is a more compact binary format?
Q. Point out the wrong statement.
Q. . . . . . . . . does not restrict contributions to Hadoop based implementations.
Q. Which of the following Uses JSON for encoding of data?
Q. HCatalog is built on top of the Hive metastore and incorporates Hive's is . . . . . . . .
Q. Apache Hama provides complete clone of . . . . . . . .
Q. Drill provides a . . . . . . . . like internal data model to represent and process data.
Q. What is HBase in the context of Hadoop?
Q. What is the primary role of the HBase Compaction Policy?
Q. What is the primary role of the Oozie Action Executor?
Q. In Oozie, what is the primary purpose of a coordinator?
Q. In Oozie, what is the function of the "sla:info" property in a workflow action?
Q. A fully secure Hadoop cluster needs . . . . . . . .
Q. Knox provides perimeter . . . . . . . . for Hadoop clusters.
Q. A . . . . . . . . is a hosted, live, concurrent data structure for rich communication.
Q. . . . . . . . . is a columnar storage format for Hadoop.
Q. In Hive, what is the purpose of the GROUP BY statement?
Q. What is the purpose of the Hive TRANSACTIONAL keyword in a CREATE TABLE statement?
Q. What is the significance of the Hadoop OutputFormat?
Q. The . . . . . . . . is a directory that contains two SequenceFile.
Q. Point out the correct statement.
Q. Point out the wrong statement.
Q. In Pig, what does the term "Bag" refer to?
Q. In Pig, what is the role of the SPLIT statement?
Q. What is the primary function of the Pig Latin RANK() function?
Q. Which of the following is shortcut for DUMP operator?
Q. . . . . . . . . is a standard Java API for monitoring and managing applications.
Q. Point out the wrong statement.
Q. What is the role of the Flume Interceptor in the Flume architecture?
Q. In Flume, what is the function of a Flume Source?
Q. What is the primary role of the Flume Sink Processor in Flume?
Q. What is the significance of the Flume Source Selector in Flume?
Q. Which of the guarantee is provided by Zookeeper?
Q. The underlying client-server protocol has changed in version . . . . . . . . of ZooKeeper.
Q. Sqoop has been tested with Oracle . . . . . . . . Express Edition.
Q. What does the term "InputFormat" represent in the context of a MapReduce job?
Q. . . . . . . . . specifies the number of segments on disk to be merged at the same time.
Q. . . . . . . . . is the main configuration file of HBase.
Q. In Hadoop, what does the term "JobTracker" refer to?
Q. . . . . . . . . is a framework for performing remote procedure calls and data serialization.
Q. Hive also support custom extensions written in . . . . . . . .
Q. What does the Shuffle phase in MapReduce involve?
Q. Point out the correct statement.
Q. To set an environment variable in a streaming command use . . . . . . . .
Q. Which Hadoop component is responsible for task coordination and scheduling?
Q. What is the function of the Hadoop ResourceManager?
Q. What is the purpose of the Hadoop JobTracker in MapReduce?
Q. In Hadoop, what is the purpose of the DataNode?
Q. What is the primary function of the Hadoop MapReduce "Map-side Aggregation" technique?
Q. . . . . . . . . is the output produced by TextOutputFor mat, Hadoop default OutputFormat.
Q. Point out the correct statement.
Q. When you delete a groupbox the controls inside it are . . . . . . . .
Q. . . . . . . . . must be the last clause in the Select Case statement.
Q. Errors are called as . . . . . . . . in a program.
Q. . . . . . . . . Executes the timer events at specified intervals of time
Q. . . . . . . . . can be used instead of a Structure statement.
Q. The . . . . . . . . is used to code both pretest and posttest loops.
Q. A . . . . . . . . web page is not interactive and is used to display information only.
Q. A form's . . . . . . . . determines the border style of the form.
Q. While printing, the . . . . . . . . need to be active.
Q. You can use . . . . . . . . to override the order of precedence.
Q. How many default buttons can a form have?
Q. The . . . . . . . . keyword is necessary only in a dual-alternative selection structure.
Q. The extension of class module is . . . . . . . .
Q. Objects are . . . . . . . . from a class.
Q. . . . . . . . . uses standardized symbols to describe the steps of a procedure.
Q. The name of the button control is changed using . . . . . . . .
Q. What output will be returned if the following Visual Basic code is executed?
Q. When you group together related variables, the group is referred to as . . . . . . . .
Q. The number of choices the user can select is controlled by the list box's . . . . . . . .
Q. A timer control is instantiated using . . . . . . . .
Q. . . . . . . . . means adding a number to the value stored in the accumulator or counter.
Q. A . . . . . . . . allows you to select from a list of choices.
Q. By which button you can display the additional items?
Q. if condition is end by . . . . . . . .
Q. Which is used to check one among both the conditions in a given if statement?
Q. status bar is display at the . . . . . . . . of the mdi forms.
Q. How many times will the MessageBox.Show method in the following code be processed?
Q. What does the 'pch' option to par() control?