Home / Vishal Gupta / Programming Language MCQs
Total questions: 199
Q. Which method in thread class causes the currently executing thread object to temporarily pause and allow other threads to execute?
Q. Which package is used for GUI?
Q. Which method causes the current thread to wait for the specified milliseconds, until the another thread notifies? (invokes notify() or notifyAll() method)?
Q. What are the main subclasses of the Exception class?
Q. If there is no constructor in a class, compiler automatically creates a default constructor.
Q. Which method is used to invoke the garbage collector to perform the cleanup processing?
Q. If a subclass has the same method as declared in the parent class it is known as ______.
Q. Which type of inheritance one super-class have more than one sub-class?
Q. Which stream does Java application uses to read data from a source, it may be a file, an array, peripheral device or socket?
Q. Which method is used in thread class to starts the execution of the thread?
Q. Which packages are also termed as Java API Packages?
Q. Which symbol is used to contain the values of automatically initialized arrays. Also used to define a block of code, for classes, methods, and local scopes?
Q. PatternSyntaxException Class Methods is an unchecked exception that indicates a syntax error in a regular expression pattern.
Q. What is the advantage of Method Overloading?
Q. Garbage Collection is the process of reclaiming the runtime unused memory automatically.
Q. An abstract class has no use when it is extended by some other class.
Q. Which provides a new way for your programs to interface with code libraries written in other languages?
Q. Which classes has Sun Microsystem suggested not to use for read and write the textual information?
Q. Can we start a thread twice?
Q. Who is also called father of Java Programming Language?
Q. Which of the following is TRUE about TCL?
Q. Select the correct statement.
Q. The records and structure of a table may be removed or deleted from the database using which command?
Q. Which command will remove the records from the table, but not affect the structure of the table?
Q. The table records can be retrieved using which command?
Q. Which of the following statement(s) is/are TRUE about DCL?
Q. Difference between GRAND & REVOKE command is/are?
Q. Following the completion of a transaction, it must be executed to save all the operations performed in the transaction. Here we are talking about which command?
Q. What is TRUE about SAVEPOINT?
Q. Commands that come under TCL is/are -
Q. Full form of TCL is
Q. Command that comes under DCL is/are -
Q. Full form of DCL is
Q. Select the correct statement
Q. Command that comes under DML is/are –
Q. Which of the following is/are TRUE about DDL command?
Q. Full form of DML is
Q. Commands that comes under DDL is/are –
Q. Full form of DDL is
Q. Types of SQL Commands are
Q. Getting data from a cell located in a different sheet is called:
Q. Gabriel needs to create a formula that does not change when it is copied to cell B2. Which formula should he create?
Q. Data can be arranged in a worksheet in a easy to understand manner using
Q. What is the shortcut key to insert new sheet in current workbook?
Q. Which option allows you to Bold all the negative values within the selected cell range:
Q. To center worksheet titles across a range of cells, you must
Q. The box that displays a formula when the cell of a worksheet contains a calculated value.
Q. Which command on the Insert Ribbon inserts a graphic from the Microsoft Office collection into a worksheet?
Q. Which of the following is invalid statement?
Q. How should you print a selected area of a worksheet, if you’ll want to print a different area next time?
Q. Formulas in Excel start with
Q. Peter wants to replace a specifc text in a text string in his spreadsheet. What function should he use?
Q. What is the difference between a function and a formula?
Q. In a report, you need to show the monthly rainfall in NepaThe best way to do this is to insert a
Q. Each excel file is a workbook that contains different sheets. Which of the following can not be a sheet in workbook?
Q. To copy cell contents using drag and drop, press the
Q. Logan needs to transfer a worksheet in the current workbook to a different workbook. Which command should he choose?
Q. A ___________ is an equation that performs calculations, such as addition, subtraction, multiplication and division.
Q. Which of the following function will return a value of 8?
Q. When integrating Ms-Word and Excel, Word is usually the
Q. Which of the following is not a term of MS-Excel?
Q. Excel probably considers the cell entry January 1, 2000 to be a
Q. Which language is used to create macros in Excel?
Q. If you begin typing an entry into a cell and then realize that you don’t want your entry placed into a cell, you:
Q. Which of the following shortcuts can be used to insert a new line in the same cell?
Q. Bella would like to remove a worksheet from his workbook. Which option would she choose?
Q. Mollie would like the data in Row 1 to remain stationary on the screen while she scrolls. Which option should he select?
Q. What is the symbol for multiplication in an Excel function?
Q. You can open the Highlight Changes dialog box by choosing Track Changes from the …. Menu.
Q. What is the process of viewing a PivotTable report for a subset that meets the criterion only?
Q. What is the default format for the data type “Date”?
Q. The place where the server stores its databases and status files is called “data”?
Q. The maximum value for FLOAT is ___________?
Q. Which of the following value displays an error when stored in “float(4,2)”?
Q. Are “Datetime” and “Timestamp” the same data type?
Q. What is the default format for the data type “Time”?
Q. What is the default format for the data type “Year”?
Q. Which of the following is the correct representation of “float(5,0)”?
Q. Which of the following is the correct representation of “float(4,2)”?
Q. The size of the BIT type is _____ ?
Q. What statement is used to show the definition of an existing database?
Q. Which clause is used to modify the existing field of the table?
Q. Which of the following is not a query clause?
Q. The keyword “MODIFY” is used with which query clause?
Q. Which clause is used to sort the result by one or more columns?
Q. Which clause is used to filter groups?
Q. Which clause is used to group rows by common column values?
Q. Which clause is used to filter the data?
Q. Which clause is used to identify the table?
Q. Which clause is used to determine which column to include in the query sets?
Q. The file created by the server to store the database attributes is _____?
Q. What keyword is used to create a database?
Q. What keyword is the synonym for DATABASE?
Q. Which statement is used to select a database?
Q. What represents an attribute in a relational database?
Q. What is a tuple in a relational database?
Q. How the communication is established with MySQL server?
Q. MySQL is available for free? Is it open source?
Q. What is the data in a MySQL database?
Q. MySQL is a(n) _________ database management system ?
Q. Default size of H2 bootstrap heading
Q. Which class should be used for creating page navigation with Previous and Next.
Q. Large devices are defined as having a screen width from
Q. Which is default for a form
Q. Change the order of the grid columns with
Q. Default size of H1 bootstrap heading
Q. In the width=device-width part sets
Q. Default size of H6 bootstrap heading
Q. Can we create badges inside buttons?
Q. .col-lg provides
Q. The bootstrap class xs means for
Q. The bootstrap class md means for
Q. The bootstrap class lg means for
Q. What is aspect ratio?
Q. .input-lg provides
Q. The bootstrap class sm means for
Q. Default size of H4 bootstrap heading
Q. The Bootstrap grid system has four classes which defines screen size
Q. Which of the following class makes thumbnail image
Q. .btn-group class will make button group as
Q. Inthe initial-scale=1 part sets
Q. Which class to be used to create a button as a link in bootstrap
Q. Which class should be used to indicate a button group?
Q. Bootstrap’s global default font-size is
Q. What is the button class to indicate danger
Q. Which of the following class makes circle image
Q. The Carousel plugin is a component
Q. In Bootstrap we can addfor
Q. Stacked-to-horizontal grid becomes
Q. Which of the following class indicates a warning that might need attention?
Q. Which of the following bootstrap style of image makes the entire image round by adding border-radius:500px?
Q. The autofill feature
Q. Right clicking something in Excel
Q. You can edit a cell by
Q. You want to track the progress of the stock market on a daily basis. Which type of chart should you use?
Q. Excel probably considers the cell entry January 1,2000 to be a
Q. You can use the format painter multiple times before you turn it off by
Q. Rounding errors can occur
Q. Text formulas
Q. Comments put in cells are called
Q. Excel files have a default extension of
Q. Which of the following is the oldest spreadsheet package?
Q. When you link data maintained in an excel workbook to a word document
Q. Multiple calculations can be made in a single formula using
Q. How can you find specific information in a list?
Q. How do you select an entire column?
Q. Which of the following will not cut information?
Q. Which of the following bootstrap styles are used to create a justified tabs navigation?
Q. Which of the following bootstrap style is used to add standard links to .navbar?
Q. Which of the following is correct about bootstrap wells?
Q. In Grid move columns to the right using
Q. Bootstrap is a free front-end framework
Q. Bootstrap is developed by
Q. Bootstrap’s global default line-height
Q. Which class creates list of items?
Q. In Bootstrap Small devices are defined as having a screen width from
Q. The auto calculate feature
Q. Tab scrolling button
Q. How many characters can be typed in a single cell in Excel?
Q. What is the result of the following program?
Q. Which of the following modifiers can be used for a variable so that it can be accessed by any thread or a part of a program?
Q. If a thread goes to sleep
Q. If three threads trying to share a single object at the same time, which condition will arise in this scenario?
Q. In character stream I/O, a single read/write operation performs _____.
Q. What is the default encoding for an OutputStreamWriter?
Q. How many threads can be executed at a time?
Q. Which of the following code segment would execute the stored procedure "getPassword()" located in a database server?
Q. Find the value of value[i]?
Q. What is meant by the classes and objects that dependents on each other?
Q. What will be the output of the following program?
Q. Which of the following is a mutable class in java?
Q. What is the initial quantity of the ArrayList list?
Q. Which of the following is a valid syntax to synchronize the HashMap?
Q. Given that Student is a class, how many reference variables and objects are created by the following code?
Q. Which of the given methods are of Object class?
Q. What is the use of \w in regex?
Q. Which of the following is false?
Q. The function definitions in JavaScript begins with
Q. Consider the following code snippet. What will the above code snippet result ?
Q. When does the function name become optional in JavaScript?
Q. What is the purpose of a return statement in a function?
Q. What will happen if a return statement does not have an associated expression?
Q. A function with no return value is called
Q. Consider the following code snippet. What will be the result of this code?
Q. Which of the following is the correct code for invoking a function without this keyword at all, and also too determine whether the strict mode is in effect?
Q. Which is an equivalent code to invoke a function fun of class opt that expects two arguments p and q?
Q. Consider the following code snippet. Which is an equivalent code for the above code snippet?
Q. Consider the following code snippet :
Q. Do functions in JavaScript necessarily return a value?
Q. Consider the following code snippet : will this code work?
Q. The one-liner code that concatenates all strings passed into a function is
Q. If you have a function f and an object o, you can define a method named m of o with
Q. For the below mentioned code snippet: The equivalent statement is
Q. What is the difference between the two lines given below ?
Q. Consider the following code snippet : The state stored in q is :
Q. Consider the following code snippet : What does the last statement return ?