History & Inspection interview questions

15 History & Inspection questions from the Git bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Log?

Junior
  1. A.a binary search across history to locate the commit that first introduced a defect
  2. B.annotating each line of a file with the commit and author that last modified it
  3. C.viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.applying the changes from one specific commit onto the current line as a new node

Answer + AI explanation with Pro

2. Which term means: "viewing past snapshots from newest to oldest with their messages, authors, and hashes"?

Junior
  1. A.Cherry-pick
  2. B.Diff
  3. C.Blame
  4. D.Log

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Log — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  2. B.Log — a binary search across history to locate the commit that first introduced a defect
  3. C.Log — applying the changes from one specific commit onto the current line as a new node
  4. D.Log — showing the line-level changes between two states such as the index, a snapshot, or the working tree

Answer + AI explanation with Pro

4. What is Diff?

Junior
  1. A.showing the line-level changes between two states such as the index, a snapshot, or the working tree
  2. B.annotating each line of a file with the commit and author that last modified it
  3. C.viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.a binary search across history to locate the commit that first introduced a defect

Answer + AI explanation with Pro

5. Which term means: "showing the line-level changes between two states such as the index, a snapshot, or the working tree"?

Junior
  1. A.Diff
  2. B.Log
  3. C.Blame
  4. D.Bisect

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Diff — annotating each line of a file with the commit and author that last modified it
  2. B.Diff — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  3. C.Diff — showing the line-level changes between two states such as the index, a snapshot, or the working tree
  4. D.Diff — a binary search across history to locate the commit that first introduced a defect

Answer + AI explanation with Pro

7. What is Blame?

Mid
  1. A.applying the changes from one specific commit onto the current line as a new node
  2. B.annotating each line of a file with the commit and author that last modified it
  3. C.showing the line-level changes between two states such as the index, a snapshot, or the working tree
  4. D.viewing past snapshots from newest to oldest with their messages, authors, and hashes

Answer + AI explanation with Pro

8. Which term means: "annotating each line of a file with the commit and author that last modified it"?

Mid
  1. A.Blame
  2. B.Bisect
  3. C.Cherry-pick
  4. D.Log

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Blame — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  2. B.Blame — a binary search across history to locate the commit that first introduced a defect
  3. C.Blame — applying the changes from one specific commit onto the current line as a new node
  4. D.Blame — annotating each line of a file with the commit and author that last modified it

Answer + AI explanation with Pro

10. What is Bisect?

Senior
  1. A.a binary search across history to locate the commit that first introduced a defect
  2. B.applying the changes from one specific commit onto the current line as a new node
  3. C.annotating each line of a file with the commit and author that last modified it
  4. D.viewing past snapshots from newest to oldest with their messages, authors, and hashes

Answer + AI explanation with Pro

11. Which term means: "a binary search across history to locate the commit that first introduced a defect"?

Senior
  1. A.Blame
  2. B.Cherry-pick
  3. C.Diff
  4. D.Bisect

Answer + AI explanation with Pro

12. Which statement is correct?

Senior
  1. A.Bisect — showing the line-level changes between two states such as the index, a snapshot, or the working tree
  2. B.Bisect — a binary search across history to locate the commit that first introduced a defect
  3. C.Bisect — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.Bisect — annotating each line of a file with the commit and author that last modified it

Answer + AI explanation with Pro

13. What is Cherry-pick?

Senior
  1. A.showing the line-level changes between two states such as the index, a snapshot, or the working tree
  2. B.a binary search across history to locate the commit that first introduced a defect
  3. C.viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.applying the changes from one specific commit onto the current line as a new node

Answer + AI explanation with Pro

14. Which term means: "applying the changes from one specific commit onto the current line as a new node"?

Senior
  1. A.Blame
  2. B.Diff
  3. C.Bisect
  4. D.Cherry-pick

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.Cherry-pick — a binary search across history to locate the commit that first introduced a defect
  2. B.Cherry-pick — applying the changes from one specific commit onto the current line as a new node
  3. C.Cherry-pick — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.Cherry-pick — annotating each line of a file with the commit and author that last modified it

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every History & Inspection question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers