IBDP Computer Science

Chatbot Case Study - Exam Questions

Question 1: Latency and Performance Optimization (6 marks)

a) Explain why latency is a critical issue for chatbots. (2 marks)

b) Describe two strategies that could be implemented to reduce the chatbot’s latency. (4 marks)

Mark Scheme

Latency affects user experience. Strategies include optimizing NLP pipelines and using powerful hardware.

Question 2: Machine Learning Architecture (8 marks)

a) Explain one major limitation of RNNs in chatbot performance. (3 marks)

b) Compare how LSTM and Transformer models address these limitations. (5 marks)

Mark Scheme

RNNs suffer from vanishing gradients. LSTMs improve memory, while Transformers enhance efficiency using self-attention.

Question 3: Dataset Quality and Bias (10 marks)

a) Define three characteristics of a high-quality training dataset. (3 marks)

b) Explain how dataset bias can impact chatbot performance. (3 marks)

c) Describe two strategies to improve dataset quality and diversity. (4 marks)

Mark Scheme

High-quality datasets are domain-specific, diverse, and unbiased. Bias can lead to discrimination. Strategies include using synthetic data and audits.

Question 4: Ethical Challenges in AI Chatbots (6 marks)

a) Identify and explain two ethical concerns associated with chatbot deployment. (4 marks)

b) Suggest one method to address each concern identified. (2 marks)

Mark Scheme

Concerns: Data privacy and bias. Solutions: Encryption for privacy, bias testing for fairness.