Home / Durgesh / Programming Language MCQs
Total questions: 61
Q. Which one of the following has the same precedence level?
Q. The expression Int(x) implies that the variable x is converted to integer.
Q. Which one of the following has the highest precedence in the expression?
Q. What is the output of this expression, 3*1**3?
Q. Operators with the same precedence are evaluated in which manner?
Q. Mathematical operations can be performed on a string.
Q. What is the answer to this expression, 22 % 3 is?
Q. What is the order of precedence in python? i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addition vi) Subtraction
Q. Which one of these is floor division?
Q. Which is the correct operator for power(x to y)?
Q. Why are local variable names beginning with an underscore discouraged?
Q. Which of the following is not a keyword?
Q. Which of the following is an invalid statement?
Q. Which of the following cannot be a variable?
Q. Which of the following is an invalid variable?
Q. Which of the following is invalid?
Q. What is the maximum possible length of an identifier?
Q. What will be the output of the following Python code?
Q. The process of pickling in Python includes ____________
Q. Which attribute allows to show an image while downloading a video?
Q. codecs is used with
Q. What can’t be the value of a quality attribute?
Q. Which is the best format to use in Firefox?
Q. Full screen support will not work in
Q. Which of the following is not a browser-specific versions of linear-gradient()?
Q. Which of the following argument is not accepted by radial-gradient() function?
Q. Which of the following function creates a CSS gradient image that can be used anywhere an image URL is required, including background-image, border-image, and list-style properties?
Q. Which of the following option best explain this code “background-image: repeating-radial-gradient(circle at 50% 100%, #FFEB79, #D9CC3C 5%);”?
Q. Which of the following option best explain this code “background-image: repeating-linear-gradient(-45deg, #426A77, #FFF 6px);”?
Q. Which of the following option best explain this code “background-image: repeating-linear-gradient(to right, #D9CC3C, #FFEB79 5%, #D9CC3C 10%);”?
Q. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line?
Q. Which of the following CSS Gradient Functions creates a circular or elliptical gradient, and optionally sets its shape, size, and position?
Q. Which of the following CSS Gradient Functions Creates a radial gradient that repeats infinitely?
Q. Find out the correct output of the following given piece of code from the given options:
Q. What will be the output of the following JavaScript code?
Q. See the given code of JavaScript and choose the correct output from the following:
Q. Suppose we have a text "human" that we want to convert into string without using the "new" operator. Which is the correct way from the following to do so:
Q. Choose the correct snippet from the following to check if the variable "a" is not equal the "NULL":
Q. In JavaScript the x===y statement implies that:
Q. Which of the following function of the String object returns the character in the string starting at the specified position via the specified number of characters?
Q. Which of the following number object function returns the value of the number?
Q. Which of the following givenfunctions of the Number Object formats a number with a different number of digits to the right of the decimal?
Q. In the JavaScript, which one of the following is not considered as an error:
Q. When there is an indefinite or an infinite value during an arithmetic computation in a program, then JavaScript prints______.
Q. Which of the following option is used as hexadecimal literal beginning?
Q. Which of the following type of a variable is volatile?
Q. Which one of the following is the correct way for calling the JavaScript code?
Q. Which of the following variables takes precedence over the others if the names are the same?
Q. Which of the following is the correct output for the following JavaScript code
Q. Which of the following is the correct output for the following JavaScript code:
Q. What will happen, if the following JavaScript code is executed?
Q. In the following given syntax of the switch statement, the Expression is compared with the labels using which one of the following operators?
Q. The "function" and " var" are known as:
Q. When interpreter encounters an empty statements, what it will do:
Q. In JavaScript, what is a block of statement?
Q. Which one of the following also known as Conditional Expression:
Q. Javascript is an _______ language?