Programming MCQs Feed

πŸ“Š C Programming
Q. Bitwise operators can operate upon?
  • (A) double and chars
  • (B) floats and doubles
  • (C) ints and floats
  • (D) ints and chars
πŸ’¬ Discuss
βœ… Correct Answer: (D) ints and chars
πŸ“Š C#
Q. A computer application for managing databases and pulling together
data to generate reports and make decisions is known as a(n)
  • (A) Database System (DS).
  • (B) File Manager (FM).
  • (C) Management System (MS).
  • (D) Database Management System (DBMS).
πŸ’¬ Discuss
βœ… Correct Answer: (D) Database Management System (DBMS).
πŸ“Š CSS
Q. Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?
  • (A) border
  • (B) padding
  • (C) border-collapse
  • (D) border-width
πŸ’¬ Discuss
βœ… Correct Answer: (D) border-width
πŸ“Š HTML
Q. What is HTML?
  • (A) HTML describes the structure of a webpage
  • (B) HTML is the standard markup language mainly used to create web pages
  • (C) HTML consists of a set of elements that helps the browser how to view the content
  • (D) All of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the mentioned
πŸ“Š Linux
Q. Which Linux command list the content of all sub directory?
  • (A) ls ~
  • (B) ls * /
  • (C) ls /
  • (D) ls ../
πŸ’¬ Discuss
βœ… Correct Answer: (B) ls * /
πŸ“Š CSS
Q. Which of the following property controls the horizontal overflow of a block or inline block?
  • (A) overflow-y
  • (B) overflow-k
  • (C) overflow-x
  • (D) overflow
πŸ’¬ Discuss
βœ… Correct Answer: (C) overflow-x
πŸ“Š JAVA
Q. When an array is passed to a method, what does the method receive?
  • (A) The reference of the array
  • (B) A copy of the array
  • (C) Length of the array
  • (D) Copy of first element
πŸ’¬ Discuss
βœ… Correct Answer: (A) The reference of the array
πŸ“Š C Programming
Q. What will be the output of the following C code?
Code:
        #include <stdio.h>
        int main()
        {
            int y = 10000;
            int y = 34;
            printf("Hello World! %d\n", y);
            return 0;
        }
  • (A) Compile time error
  • (B) Hello World! 34
  • (C) Hello World! 1000
  • (D) Hello World! followed by a junk value
πŸ’¬ Discuss
βœ… Correct Answer: (A) Compile time error
πŸ“Š JAVA
Q. Which data type among the following is an implementation of Objects or OOPs?
  • (A) byte
  • (B) int
  • (C) char
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) None of the above
πŸ“Š JAVA
Q. Which version of Java did start supporting String as the input data type of a SWITCH?
  • (A) JDK 5
  • (B) JDK 6
  • (C) JDK 7
  • (D) JDK 8
πŸ’¬ Discuss
βœ… Correct Answer: (C) JDK 7