GATE DA 2025 — Question 23

Programming, Data Structures and AlgorithmsProgramming in PythonMCQ1 mark · −1/3 if wrongEasy

Consider the following Python declarations of two lists.
python
1A=[1,2,3]
2B=[4,5,6]
3
Which one of the following statements results in A= [1, 2, 3, 4, 5, 6]?
  1. A
    A.extend(B)
  2. B
    A.append(B)
  3. C
    A.update(B)
  4. D
    A.insert(B)
Practise the full 2025 paper
Challenge a friend: WhatsApp Telegram
From RENYXERAPractise this subject in the exam simulatorTimed, GATE-style tests with analytics that find your weak topics.
Practise more on Programming in PythonTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group