Skip to main content

Back to the full dot-point answer

EnglandComputer ScienceQuick questions

Topic 6: Problem solving with programming

Quick questions on Validation and authentication: length, presence, range and pattern checks, and login in Python - Edexcel GCSE Computer Science

3short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.

What is validation that does not loop?
Show answer
A check should re-prompt until the input is valid, using a while loop, rather than rejecting once and continuing with bad data.
What is q1?
Show answer
State which validation check confirms a number is between a minimum and maximum. [1 mark]
What is q2?
Show answer
State what must match for authentication to grant access with an ID and password. [1 mark]

Have a question we have not covered?

This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.

All Computer ScienceQ&A pages