Home / Ritu Singhal / Programming MCQs Solution
Programming Portal Solution
You will find all Programming Portal MCQs whose solution is updated by Ritu Singhal
Q. In Java, can a "try" block have multiple "catch" blocks?
Q. What will be the output of the following Java code?
Q. What will be the output of the following Java code?
Q. Which of these Exceptions is thrown by loadClass() method of ClassLoader class?
Q. Which of these class holds a collection of static methods and variables?
Q. Which of the following is an incorrect statement about packages?
Q. Which of these methods can be used to check whether the given value is a number or not?
Q. In Java, can an abstract class extend another class?
Q. Which of the following is a correct interface?
Q. Which of the following statements regarding abstract classes are true?
Q. Which of these classes encapsulate runtime environment?
Q. Which of these coding techniques is used by method isDefined()?
Q. Which of the following constant are defined in Character wrapper?
Q. Which keyword is used to declare a method that cannot be overridden in Java?
Q. In Java, can a method be overloaded by changing only the return type?
Q. What is a parameterized constructor in Java?
Q. The implicit return type of a constructor is
Q. When Overloading does not occur?
Q. Which operator is used for bitwise NOT in Java?
Q. What would be the output of the following code snippet if variable a=10?
Q. How do you convert a string to lowercase in Java?
Q. What is the purpose of the substring() method of a String object in Java?
Q. What is the purpose of the toLowerCase() method of a String object in Java?
Q. Which of these is an incorrect statement?
Q. What will be the output of the following Java code?
Q. toString() method is defined in
Q. Which of the following is a valid way to declare a constant in Java?
Q. What is the default value of a double variable in Java if it's not explicitly initialized?
Q. An expression involving byte, int, and literal numbers is promoted to which of these?
Q. Which of these is an incorrect string literal?
Q. Can we create an instance of Enum outside of Enum itself?
Q. The mysql client writes a record of executed statements to a history file on Unix.
Q. Which of the following is used on Solaris?
Q. Which table in INFORMATION_SCHEMA stores information about storage engines and server plugins?
Q. What does the expression '12 DIV 5? evaluate to?
Q. Illegal values converted to the appropriate 'zero' value for . . . . . . . .
Q. Which option executes all SQL statements in a SQL script irrespective of the number of errors?
Q. To reactivate indexes the command used is . . . . . . . .
Q. Which clause is mandatory with clause "SELECT" in Mysql?
Q. Which clause is used to rename the existing table?
Q. Before MySQL 5.1.6 which privilege was required to create and drop triggers?
Q. Which table stores information about the threads executing within the server?
Q. Is it necessary to insert the value in each column of the table?
Q. Which mode of search is the search string parsed into words and the search looks for rows?
Q. What is the maximum number of characters allowed for a database name to have?
Q. What is the join where all possible row combinations are produced?
Q. Which of these returns a string containing an error message?
Q. Execution on a time activated basis according to a schedule is done by . . . . . . . .
Q. What does the expression '2 BETWEEN 2 AND 5' result in?
Q. To create or drop events for a database, which privilege should be granted?
Q. Which clause is used to remove a foreign key constraint?
Q. What is the clause that filters JOIN results called?
Q. The datatype INT stores . . . . . . . .
Q. The storage engine in MySQL that provides foreign key support is . . . . . . . .
Q. The recovery of data changes made since a given point in time is called . . . . . . . .
Q. Which variable is used as a handle to an open file?
Q. To disallow zero month or day parts in dates, the option used is . . . . . . . .
Q. Which value will show an error when stored in float(4,2)?
Q. For which language is the PEAR module used?
Q. Encrypted connections can be established using . . . . . . . .
Q. How is communication established with MySQL?
Q. Which among the following is the correct representation of "float(1,1)"?
Q. Which operator is used to check the expression is not "NULL"?
Q. The variable used as a handle to an open file is . . . . . . . .
Q. To perform consistency checks on a MyISAM table the statement is . . . . . . . .
Q. The locking statements LOCK TABLES and UNLOCK TABLES are not permitted in stored routines.
Q. The TRIGGER privilege is used for the table to be able to create and drop triggers for it.
Q. A binary string is not associated with a character set.
Q. What is the property of InnoDB that enforces foreign key relationships stay intact?
Q. Select the sequence for how the query mechanism works?
Q. What can be used interchangeably with MYSQL_VERSION_ID?
Q. In which file are the statements entered in 'mysql' saved?
Q. A popular presentation program for Windows and Mac in Microsoft Office is
Q. What is the significance of NiFi's "SplitText" processor?
Q. What is the purpose of NiFi's "ConvertRecord" processor?
Q. What is the significance of NiFi's "UpdateAttribute" processor in a data flow?
Q. What is the role of Hadoop's HDFS Encryption Zone in terms of security?
Q. The HCatalog . . . . . . . . supports all Hive DDL that does not require MapReduce to execute.
Q. . . . . . . . . uses memory for I/O in Thrift.
Q. . . . . . . . . is a human-readable text format to aid in debugging.
Q. What is the primary purpose of the HBase Bloom Filters?
Q. What is the significance of the HBase ZooKeeper integration?
Q. In HBase, what is the primary function of the HBase Increment Column Value?
Q. In HBase, what does the term "HBase Data Block" refer to?
Q. What is the role of the Oozie Coordinator EL functions in a coordinator workflow?
Q. . . . . . . . . are the Chukwa processes that actually produce data.
Q. Point out the wrong statement.
Q. In Hive, what is the significance of the WHERE clause in a SELECT statement?
Q. HBase supports a . . . . . . . . interface via Put and Result.
Q. Apache HBase is a non-relational database modeled after Google's . . . . . . . .
Q. What is the function of the Hadoop MultipleOutputs class?
Q. Point out the correct statement.
Q. We can declare the schema of our data either in a . . . . . . . . file.
Q. Avro schemas describe the format of the message and are defined using . . . . . . . .
Q. What is the primary role of the Pig UDF (User Defined Function)?
Q. What is Apache Pig in the context of Hadoop?
Q. Which of the following will run pig in local mode?
Q. Which of the following is an entry in jobconf?
Q. In Hadoop, what is the purpose of the Hadoop ResourceManager "Node Decommissioning" feature?
Q. In Hadoop, what is the role of the Hadoop ResourceManager "Resource Profiles" feature?
Q. Which of the following is a configuration management system?
Q. In Sqoop, what does the term "Import" refer to?
Q. What is the primary function of the Flume Channel Selector in Flume?
Q. Helprace is using ZooKeeper on a . . . . . . . . cluster in conjunction with Hadoop and HBase.
Q. ZooKeeper's architecture supports high . . . . . . . . through redundant services.
Q. Point out the wrong statement.
Q. What does the term "Combiner" represent in the context of MapReduce?
Q. Point out the wrong statement.
Q. Mapper implementations are passed the JobConf for the job via the . . . . . . . . method.
Q. What is the core storage layer in the Hadoop architecture?
Q. In Hadoop architecture, what is the function of the Hadoop NameNode?
Q. What is the primary function of the Hadoop MapReduce "Secondary Sort"?
Q. . . . . . . . . is an input format for reading data from a relational database, using JDBC.
Q. An . . . . . . . . is responsible for creating the input splits, and dividing them into records.
Q. Point out the wrong statement.
Q. The functions header and footer contains the . . . . . . . . keyword.
Q. How is a default button designated?
Q. What will be contained in Msg if grade entered by user is 'd'?
Q. Which is used to change the name of the picture?
Q. The main property of Image Control is stretchable,
Q. Letter . . . . . . . . is the Exit menu's access key.
Q. You should assign access keys to each of the control in the interface that contain . . . . . . . .
Q. . . . . . . . . in the syntax gives the format you want to use.
Q. The condition must be a . . . . . . . . expression.
Q. The . . . . . . . . is used to concat to Strings.
Q. Variables are used to temporarily store data during execution of application.
Q. Which of the following returns a value after performing its specific task in Visual Basic?
Q. The position of an item in a list box depends on the value stored in the list box's . . . . . . . .
Q. Microsoft ActiveX Data Control 6 is insert from component , it is used to load ADO control.
Q. The . . . . . . . . indicates the purpose of the menu element.
Q. In VB, the. . . . . . . . is the function that computes the square root of a number.
Q. What is the comparison operator to find if two values are equal?
Q. Which of the following is a principle of analytic graphics?
Q. In R, what is the role of the ifelse() function?
Q. Unlike filters queries can be saved as in a database ?
Q. ROLLBACK in a database is ________ statement ?
Q. Each excel file is called a work book because ?
Q. The view that puts a blue line around each page that would be printed is the ...... ?
Q. The advantage of using a spreadsheet is ?
Q. You can create only a horizontal page break by first selecting ?
Q. When you are typing an equation into a cell the first thing that must be entered is ?
Q. When the formula bar is active, you can see ?
Q. Which of the following is a popular DOS based spreadsheet package ?
Q. You can use the format painter multiple times before you turn it off by ?