Home / Rajeev Malhotra / Programming MCQs Solution

Programming Portal Solution

You will find all Programming Portal MCQs whose solution is updated by Rajeev Malhotra

Q. Which of these statements are incorrect?

Q. What is the output of this program?

Q. What is the output of this program?

Q. Which of these is returned by “greater than”, “less than” and “equal to” operators?

Q. Which of the following operators can operate on a boolean variable?

Q. Which of these operators can skip evaluating right hand operand?

Q. Which of these statement is correct?

Q. What is the output of this program?

Q. What is the output of this program?

Q. Which of these statements are incorrect?

Q. Which of the below is not a javascript framework for UI?

Q. Which of the below can be used to debug front end of a web application ?

Q. What type of protocol is HTTP?

Q. What does MIME stand for?

Q. How constructor can be used for a servlet?

Q. Can servlet class declare constructor with ServletConfig object as an argument?

Q. What is the difference between servlets and applets? i.Servlets execute on Server; Applets execute on browser ii.Servlets have no GUI; Applet has GUI iii.Servlets creates static web pages; Applets creates dynamic web pages iv.Servlets can handle only a single request; Applet can handle multiple

Q. Which method is used to get three-letter abbreviation for locale’s country in servlets?

Q. Which of the following code retrieves the body of the request as binary data?

Q. Which of the following is true about servlets?

Q. How is the dynamic interception of requests and responses to transform the information done?

Q. Which are the session tracking techniques? i. URL rewriting ii. Using session object iii.Using response object iv. Using hidden fields v. Using cookies vi. Using servlet object

Q. Which of the below is not a session tracking method?

Q. Application is instance of which class?

Q. What will be the output of this code?

Q. What will be the output of this code?

Q. What will be the output of this code?

Q. What will be the output of this code?

Q. What will be the output of this code?

Q. Determine Output

Q. Determine Output

Q. Determine Output

Q. Determine Output

Q. Determine Output

Q. Determine Output

Q. Determine Output

Q. Determine Output

Q. Determine Output

Q. What is the output of the following code?

Q. What is the output of the following code?

Q. What is the output of the following code?

Q. What is the output of the following code?

Q. What is the output of the following code?

Q. What is the output of the following code

Q. What is the output for 'python' [-3]?

Q. In python, what is the correct method to load a module?

Q. Which function inserts an object at a given index into a list?

Q. What is the output of the following code?

Q. Suppose t = (1, 2, 4, 4), which of the following statements is incorrect?

Q. What is the output of the following code?

Q. What is the output, if set1 = {1, 2, 3}?

Q. What is the output of the following code?

Q. Which of the following operators in python evaluates to “true” if it does not find a variable in the specified sequence otherwise “false”?

Q. In python, what keyword is used to start a function?

Q. Which of the following function is used to open a file for reading in Python?

Q. Which of the following functions returns the smallest character in the string str?

Q. Python is a(n) _______ language?