Data Patterns interview question

The asked questions about basic components in electronics