Home / Pooja / Programming MCQs Solution
Programming Portal Solution
You will find all Programming Portal MCQs whose solution is updated by Pooja
Q. What is the result of the following code snippet?
Q. Which exception is thrown when an array element is accessed beyond the array size?
Q. The class at the top of exception class hierarchy is .................
Q. Which of these method of Object class can clone an object?
Q. Which of these method of Object class is used to obtain class of an object at run time?
Q. Which of these method return a pseudorandom number?
Q. Which of the following is not a memory classification in java?
Q. Which of the following is the correct way of importing an entire package 'pkg'?
Q. Which of the following constant are defined in Boolean wrapper?
Q. Which of these method can set the out stream to OutputStream?
Q. In Java, can an abstract class have private methods with implementations?
Q. Which of these exceptions is thrown by compareTo() method defined in a double wrapper?
Q. How to use environment properties in the class?
Q. Which of the following is the correct way of implementing an interface salary by class manager?
Q. Which keyword is used to define an abstract method in Java?
Q. In Java, what is the purpose of the "super" keyword in a constructor?
Q. What is the difference between a method declaration and a method definition in Java?
Q. What is the stored in the object obj in following lines of Java code? box obj;
Q. What is it called if an object has its own lifecycle and there is no owner?
Q. What will be the output of the following Java program?
Q. What is true about a break?
Q. What will be the output of the following Java code?
Q. What will be the output of the following Java code?
Q. What method is used to convert an integer to a string in Java?
Q. In Java, what is the purpose of the endsWith() method of a String object?
Q. What could be output of the following fragment of code?
Q. What will be the output of the following Java code?
Q. What will s2 contain after following lines of Java code?
Q. What will be the output of the following Java code?
Q. What would be the result of attempting to compile and run the following code?
Q. Which keyword is used to explicitly specify that a method cannot be overridden in a subclass?
Q. What will be the output after compiling and running following program code?
Q. What is the range of values that can be stored in a short variable in Java?
Q. Which of the following is not a valid way to declare a long variable in Java?
Q. Which data type is used to represent integer values in Java?
Q. The following fraction of code
Q. How is Date stored in database?
Q. What is the generic handle whose meaning depends on context?
Q. "MODIFY" is used with which "Query clause"?
Q. abc in the following MySQL statement is . . . . . . . . DELETE FROM xyz WHERE abc = 5;
Q. Stored programs degrade database security.
Q. What is the best datatype for a column that is expected to store values up to 2 million?
Q. The exec_stmt_ssl is written in . . . . . . . .
Q. How many of the following do not return rows? SELECT, SHOW, DESCRIBE
Q. On Unix, 'mysql' client writes a record of executed statements to a history file.
Q. Which among the following is not a "query clause"?
Q. The keyword used with UNION that retains duplicate rows is . . . . . . . .
Q. Which function returns reference to array of row values?
Q. Which value of event_scheduler enables checking status but not changing it at runtime?
Q. To see the table structure, which of the following SQL commands is issued?
Q. What can be used in place of MYSQL_SERVER_VERSION?
Q. Which clause is used to display information that matches a given pattern?
Q. Which type stores the longest length of strings?
Q. The module that links DBI to the web is . . . . . . . .
Q. What will be the output of the following MySQL statement "Null OR Null"?
Q. Which of these has a smaller memory footprint? Perl, PHP
Q. Which of the following characters is illegal in naming an unquoted identifier in SQL?
Q. By default, MySQL does not clip out of range numeric values to the nearest fit value.
Q. In oracle database variable length column is declared by . . . . . . . .
Q. A procedure that involves REPAIR TABLE with the USE_FRM option must be done before upgrading.
Q. Which datatype is used for a fixed length binary string?
Q. The function that returns reference to hash of row values is . . . . . . . .
Q. What is the maximum non zero value for FLOAT?
Q. Which line of the following statements will produce error?
Q. The file created by the server to store the database attributes is . . . . . . . .
Q. Find the odd one out in terms of scheduling policies.
Q. Which of the following does not return a value? mysql_close(), mysql_init, mysql_real_connect
Q. A FULLTEXT index can be created for multiple columns.
Q. SELECT on a MERGE table is like . . . . . . . .
Q. Which statement on the master expires binary log files?
Q. How many of the following implement the default scheduling property of MySQL? MyISAM, MERGE, MEMORY
Q. In which context is the privilege 'CREATE TABLESPACE' applied?
Q. Which of the following statements is/are correct?
Q. The escape sequence for carriage return is . . . . . . . .
Q. Which mode exists at both global level and session-specific level?
Q. Which keyword is used to delete all the rows from the table?
Q. Which option is necessary to compile a C program havin math functions?
Q. To measure the length of a string in bytes, the operator used is . . . . . . . .
Q. The header that should be included first is . . . . . . . .
Q. In PHP, how is the first element accessed if $a represents an array with numeric indices?
Q. Which of the following is more efficient? LOAD DATA, INSERT
Q. What is the meaning of "Range Conditions"?
Q. Which compiler is used to execute the structured query language?
Q. The general term for information about databases and the objects in MySQL is . . . . . . . .
Q. A View can be used to select a subset of the table columns.
Q. The system variable in MySQL server that enables to configure the SQL mode is . . . . . . . .
Q. The variable which represents the default time zone of the MySQL server is . . . . . . . .
Q. How many of the following return rows? SELECT, SHOW, DESCRIBE
Q. The system variable controls the size of the table cache . . . . . . . .
Q. For which language is the engine specific interface PDO defined?
Q. Perl scripts are text files.
Q. Which of the following is an example for automatic text formatting
Q. Microsoft Office Communicator is
Q. A competitor to the dominant Lotus 1-2-3 is
Q. In NiFi, what is the primary function of the "MergeContent" processor?
Q. What is the significance of NiFi's "PutHDFS" processor?
Q. What is the purpose of NiFi's "TailFile" processor?
Q. In NiFi, what is the purpose of the "ConsumeKafka" processor?
Q. In NiFi, what is the primary function of the "UpdateRecord" processor?
Q. What is the purpose of Hadoop's HDFS Access Control Lists (ACLs) in securing data access?
Q. Which of the following Hive commands is not supported by HCatalog?
Q. Users can easily run Spark on top of Amazon's . . . . . . . .
Q. Hama requires JRE . . . . . . . . or higher and ssh to be set up between nodes in the cluster.
Q. In HBase, what is the purpose of the HFile?
Q. What is the purpose of the HBase Shell in HBase?
Q. In HBase, what is the significance of the HBase Coprocessors?
Q. In HBase, what is the significance of the HBase Increment feature?
Q. What is the purpose of the HBase Multi-Table feature?
Q. What is the significance of the HBase Write Pipeline in HBase architecture?
Q. What is the primary function of the HBase RegionServer Lease Management?
Q. What is the significance of the Oozie Subworkflow in workflow automation?
Q. . . . . . . . . is an IaaS ("Infrastracture as a Service") cloud orchestration platform.
Q. Apache . . . . . . . . is a lightweight server for ActivityStreams.
Q. What is the purpose of the Hive HBase Storage Handler?
Q. What is the primary role of the Hive SerDe (Serializer/Deserializer)?
Q. What is the role of the Hive EXPLAIN statement?
Q. Which of the following statement will create a column with varchar datatype?
Q. What is the purpose of the Hadoop FileInputFormat?
Q. In Hadoop, what is the purpose of the Hadoop NLineInputFormat?
Q. What does the term "SerDe" stand for in the context of Hadoop?
Q. What is the primary purpose of the Hadoop MapFileOutputFormat?
Q. In Hadoop, what does the term "OutputCommitter" refer to?
Q. Apache . . . . . . . . is a serialization framework that produces data in a compact binary format.
Q. Point out the correct statement.
Q. What is the primary function of the Pig Latin LOAD statement?
Q. What is the role of the Pig Latin SPLIT statement in Apache Pig?
Q. Point out the correct statement.
Q. Point out the wrong statement.
Q. Point out the correct statement.
Q. In Hadoop, what does the term "Decommissioning" refer to in the context of a Hadoop cluster?
Q. In Flume, what is the role of an Event?
Q. In Sqoop, what does the term "Free-form query import" refer to?
Q. Sqoop is an open source tool written at . . . . . . . .
Q. What is the purpose of the Mapper class in a MapReduce application?
Q. In a MapReduce program, what is the purpose of the Hadoop Mapper.Context?
Q. What is the significance of the Hadoop JobClient in a MapReduce job?
Q. Point out the wrong statement.
Q. Point out the correct statement.
Q. In Hadoop, what is the purpose of a NameNode?
Q. What is Hadoop primarily designed for?
Q. Point out the correct statement.
Q. What is the role of the Hadoop JobTracker in MapReduce?
Q. What is the function of the MapReduce "Shuffle" phase?
Q. Point out the wrong statement.
Q. What is the function of Hadoop MapReduce in the architecture?
Q. . . . . . . . . gives site-specific configuration for a given hadoop installation.
Q. . . . . . . . . is used for writing blocks with single replica in memory.
Q. Which of the following storage policy is used for both storage and compute?
Q. . . . . . . . . will clear the RMStateStore and is useful if past applications are no longer needed.
Q. The . . . . . . . . in a flowchart is called input/output symbol.
Q. . . . . . . . . are collections of small iconic button that resides in a Menu- bar
Q. The . . . . . . . . is for displaying a list of drives available in your computer
Q. In VB the . . . . . . . . function converts a string to a number.
Q. What output will be returned if the following Visual Basic code is executed?
Q. Which button is used to save a solution?
Q. . . . . . . . . is used to close both the code from code editor and control from the form.
Q. What will be the content of Text after the code is executed with id=4?
Q. And operator checks both the sub-conditions whereas OrElse operator does . . . . . . . .
Q. In VB, . . . . . . . . is the function that returns the absolute value of a number.
Q. A . . . . . . . . is an example that accepts user input and is determined by a label control.
Q. To declare the variable in vb . . . . . . . .-this key word is used
Q. After defining a class you can instantiate one or more . . . . . . . .
Q. The items in a list box belong to a collection called the . . . . . . . .
Q. Object respond to an event by writing . . . . . . . .
Q. . . . . . . . . ensures every variable and named constant is declared with a data type.
Q. . . . . . . . . data types hold either a true or false value
Q. Which property specifies the position of the upper left corner of the control?
Q. A . . . . . . . . computer requests web pages from the server.
Q. . . . . . . . . is the process of putting two string together.
Q. How many times will the MessageBox.Show method in the following code be processed?
Q. Which of the following applications can be developed using Visual Basic tool?
Q. Who developed Visual Basic?
Q. . . . . . . . . is for displaying a list of directories or folders in a selected drive
Q. In most applications, the code to define a user-defined data type is entered in the form's.
Q. Which setting gives the control a 3-dimensional appearance?