Machine Learning MCQs — Computer Science
4 practice MCQs
The correct answer is marked on every question, with its full explanation.
Computer ScienceMachine Learning CSS PPSC FPSC NTSID: NWG-014
What is machine learning?
- AA type of artificial intelligence in which a computer learns from data instead of following fixed rules. ✓ Correct answer
- BA way to repair a broken computer.
- CA method of typing faster on a keyboard.
- DA program that prints documents.
✓ Correct answer: A type of artificial intelligence in which a computer learns from data instead of following fixed rules.
Full explanation
Machine learning is 'A type of artificial intelligence in which a computer learns from data instead of following fixed rules.' For example, it can learn to recognise spam emails from many examples. Why the others are wrong: 'A way to repair a broken computer.' — that is hardware repair. 'A method of typing faster on a keyboard.' — that is typing skill. 'A program that prints documents.' — that is a printer program.
Computer ScienceMachine Learning CSS PPSC FPSC NTSID: CMP-022
In machine learning, what is 'training data'?
- AData used to teach the computer to recognise patterns ✓ Correct answer
- BData that is deleted forever
- CData printed on paper
- DData stored only in a printer
✓ Correct answer: Data used to teach the computer to recognise patterns
Full explanation
Data used to teach the computer to recognise patterns. That is what training data is, so the computer can later make predictions on new data. Why the others are wrong: Data that is deleted forever — training data is kept and used, not deleted. Data printed on paper — training data is digital data fed to the computer, not a printout. Data stored only in a printer — a printer stores no data for learning.
Computer ScienceMachine Learning CSS PPSC FPSC NTSID: CMP-043
In machine learning, what is the name of the data used to test how well a trained model works?
- ATraining data
- BTest data ✓ Correct answer
- CRaw data
- DBackup data
✓ Correct answer: Test data
Full explanation
In machine learning, Test data is the data used to test how well a trained model works, after it has been trained on training data. The data used to test a trained model is Test data. Why the others are wrong: Training data — training data is used to teach the model, not to test it. Raw data — raw data is data that has not been cleaned or prepared. Backup data — backup data is a copy kept for safety, not data used to test a model.
Computer ScienceMachine Learning CSS PPSC FPSC NTSID: CMP-066
What does 'supervised learning' mean in machine learning?
- ALearning without any data
- BLearning from data that already has the correct answers marked ✓ Correct answer
- CLearning by following fixed rules
- DLearning from the Internet only
✓ Correct answer: Learning from data that already has the correct answers marked
Full explanation
Supervised learning means learning from data that already has the correct answers marked. The computer learns by comparing its own answers with the marked answers. Why the others are wrong: Learning without any data — machine learning always needs data to learn from. Learning by following fixed rules — that is an ordinary program, not learning from data. Learning from the Internet only — supervised learning can use data from any source, not only the Internet.
Practise these MCQs interactively →
← Computer Science MCQs