Selected MCQ

Current Question
Which version control operation merges changes from one branch into another?
  • A. Fork
  • B. Clone
  • C. Merge
  • D. Commit
Correct Answer: C
Explanation:
Merge integrates changes from one branch into another branch.
Related Question 1
In a version control system like Git, what does "branching" allow a developer to do?
  • A. Combine two code files
  • B. Work on separate features concurrently
  • C. Prevent others from accessing the repository
  • D. Automatically merge code changes
Correct Answer: B
Explanation:
Branching creates an isolated line of development for features or experiments.
Related Question 2
In software version control, what does 'commit' generally mean?
  • A. Saving changes to the local repository
  • B. Copying code to a backup server
  • C. Deleting previous version
  • D. Merging two projects
Correct Answer: A
Explanation:
Commit means saving changes to the repository with a message describing the changes.
Related Question 3
In robot control, what does PID stand for?
  • A. Power, Integration, Discharge
  • B. Proportional, Integral, Derivative
  • C. Position, Information, Data
  • D. Process, Inhibit, Delete
Correct Answer: B
Explanation:
PID stands for Proportional-Integral-Derivative, a type of feedback controller.
Related Question 4
What does a PID controller do in robotics?
  • A. Manages power distribution
  • B. Controls position/speed by minimizing error
  • C. Encrypts communication
  • D. Processes sensor data into images
Correct Answer: B
Explanation:
PID (Proportional-Integral-Derivative) controllers use feedback to minimize the error in movement by adjusting control inputs.
Related Question 5
Which of the following is an example of an actuator commonly used in robotics for precise position control?
  • A. Stepper motor
  • B. Photodiode
  • C. Resistor
  • D. Capacitor
Correct Answer: A
Explanation:
Stepper motors move in discrete steps, enabling precise position control in robotics.