Tag: India

  • C++ Programming Questions and Answers – Design of Class Hierarchies

    C++ Programming Questions and Answers – Design of Class Hierarchies

    online C++ Multiple Choice Questions focuses on “Design of Class Hierarchies”. One shall practice these questions to improve their C++ programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can be…

  • C++ Programming Questions and Answers – Class Hierarchies and Abstract Classes

    C++ Programming Questions and Answers – Class Hierarchies and Abstract Classes

    C++ programming questions and answers focuses on “Class Hierarchies and Abstract Classes”. One shall practice these questions to improve their C++ programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive exams. These questions can be attempted by anyone focusing on learning C++ programming language. They can…

  • Python Multiple Choice Questions – Tuples

    Python Multiple Choice Questions – Tuples

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Tuples”. Q 1. Which of the following is a Python tuple?A.  [1, 2, 3]B. (1, 2, 3)C. {1, 2, 3}D.  {} Show Answer Answer:-B. (1, 2, 3) Explanation Tuples are represented with round brackets. Q 2. Suppose t = (1, 2, 4, 3), which of the…

  • Python Questions and Answers – Tuples – 2

    Python Questions and Answers – Tuples – 2

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Tuples – 2”. Q 1. What is the data type of (1)?A. TupleB.  IntegerC. ListD. Both tuple and integer Show Answer Answer:-B.  Integer Explanation A tuple of one element must be created as (1,). Q 2. If a=(1,2,3,4), a[1:-1] is _________A. [2,3]B.  (2,3)C. (2,3,4)D.  Error, tuple…

  • PHP Coding Questions and Answers – Arrays – 3

    PHP Coding Questions and Answers – Arrays – 3

    PHP Multiple Choice Questions & Answers (MCQs) focuses on “Arrays – 3”. Q 1. What will be the output of the following PHP code? <?php $age = array(“Harry” => “21”, “Ron” => “23”,”Malfoy” => “21”); array_pop($age); print_r(array_change_key_case($age, CASE_UPPER)); ?> A. Array ( [HARRY] => 21 [RON] => 23 )B. Array ( [HARRY] => 21 [RON]…

  • Current Affairs Quiz – March 2025

    Current Affairs Quiz – March 2025

    Q 1.What is the theme of International Women’s Day 2025? A. Gender equality today for a sustainable tomorrowB. DigitALL: Innovation and Technology for Gender EqualityC. Invest in women: Accelerate progressD. For ALL Women and Girls: Rights. Equality. Empowerment Show Answer Answer:-D. For ALL Women and Girls: Rights. Equality. Empowerment Explanation International Women’s Day is celebrated…

  • Python Questions and Answers – List Comprehension – 2

    Python Questions and Answers – List Comprehension – 2

    Python Multiple Choice Questions & Answers (MCQs) focuses on “List Comprehension – 2”. Q 1. Read the information given below carefully and write a list comprehension such that the output is: [‘e’, ‘o’] w=”hello” v=(‘a’, ‘e’, ‘i’, ‘o’, ‘u’) A. [x for w in v if x in v]B. [x for x in v if…

  • Python Questions and Answers – List Comprehension – 1

    Python Questions and Answers – List Comprehension – 1

    Python Multiple Choice Questions & Answers (MCQs) focuses on “List Comprehension – 1”. Q 1. What will be the output of the following Python code? l=[1,2,3,4,5] [x&1 for x in l] A. [1, 1, 1, 1, 1]B. [1, 0, 1, 0, 1]C. [1, 0, 0, 0, 0]D. [0, 1, 0, 1, 0] Show Answer Answer:-B.…

  • PHP Coding Questions and Answers – Arrays – 2

    PHP Coding Questions and Answers – Arrays – 2

     PHP Multiple Choice Questions & Answers (MCQs) focuses on “Arrays – 2”. Q 1. What will be the output of the following PHP code? <?php $cars = array(“Volvo”, “BMW”, “Toyota”); echo “I like ” . $cars[2] . “, ” . $cars[1] . ” and ” . $cars[0] . “.”; ?> A. I like Volvo, Toyota…

  • Python Questions and Answers – Matrix List Comprehension

    Python Questions and Answers – Matrix List Comprehension

    Python Multiple Choice Questions & Answers (MCQs) focuses on “Matrix List Comprehension”. Q 1. Which of the following matrices will throw an error in Python?A. A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] B. B = [[3, 3, 3] [4, 4, 4] [5, 5, 5]] C. C = [(1, 2, 4), (5,…

You cannot copy content of this page