Every Book Back multiple-choice question from Forms and Files (12th Standard Computer Applications, Samacheer Kalvi) — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.
Q1
What are HTML forms used for?
- A. To collect input from usersCorrect
- B. To create server-side programming language
- C. To create a database
- D. To send emails
Explanation. HTML forms contain interactive controls such as text boxes and buttons that enable web applications to collect and gather input data from users on client machines before sending it to the server.
Q2
Which of the following is NOT a form control available in HTML forms?
- A. Text inputs
- B. Buttons
- C. Checkboxes
- D. Cropping ToolCorrect
Explanation. Text inputs, buttons, and checkboxes are standard HTML form elements used for gathering user data. A cropping tool is an image editing option commonly found in desktop publishing software like Adobe PageMaker.
Q3
Which tag is used to create an HTML form?
- A. formCorrect
- B. input
- C. textarea
- D. select
Explanation. The HTML form element is defined using the form tag. It acts as a container for various user input elements and defines where and how to send the collected form data.
Q4
What form control allows the user to select multiple values?
- A. text inputs
- B. buttons
- C. checkboxesCorrect
- D. radio buttons
Explanation. Checkboxes are standard form controls that allow users to select one or more independent options from a given set. In contrast, radio buttons restrict selection to a single choice.
Q5
What form control allows the user to select only one value at a time?
- A. text inputs
- B. buttons
- C. checkboxes
- D. radio buttonsCorrect
Explanation. Radio buttons are designed as mutually exclusive options, meaning selecting one button automatically deselects any other button in the same group. This limits the user to a single choice.
Q6
What is the purpose of validation in PHP?
- A. To check the input data submitted by the user from the client machineCorrect
- B. To display data to users
- C. To store data on the server
- D. To send data to the client
Explanation. Validation is the process of verifying that user-submitted inputs conform to required formats, such as email patterns or text limits, to ensure data integrity and protect the application from malicious input.
Q7
How many types of validation are available in PHP?
- A. One
- B. TwoCorrect
- C. Three
- D. Four
Explanation. Web applications primarily utilize two levels of validation: client-side validation, which runs on the user's browser, and server-side validation, which processes on the remote server using languages like PHP.
Q8
Which PHP function can be used to open a file?
- A. fopen()Correct
- B. fread()
- C. fclose()
- D. fwrite()
Explanation. The fopen function in PHP is used to bind a physical file resource in the server filesystem to a file handle, opening it in a specified mode such as read or write.
Q9
What PHP function can be used to read a file?
- A. fopen()
- B. fread()Correct
- C. fclose()
- D. fwrite()
Explanation. The fread function reads a specified number of bytes from an open file pointer that was previously initialized using the fopen function, returning the content as a string.
Q10
What PHP function can be used to close a file?
- A. fopen()
- B. fread()
- C. fclose()Correct
- D. fwrite()
Explanation. The fclose function takes an active file pointer resource and closes the connection to the file, freeing system memory and ensuring that any pending changes are successfully written.
About these Forms and Files questions
These are the Book Back multiple-choice questions for Forms and Files from the Tamil Nadu State Board (Samacheer Kalvi) 12th Standard Computer Applications syllabus. Each question shows the correct option and an original, step-by-step explanation so you understand the method, not just the answer. Use the answer key above to jump to any question, then take the practice test to check yourself under exam-like conditions.
Frequently asked questions
How many MCQs are there in Forms and Files?
This chapter has 10 book-back multiple-choice questions, each with the correct answer and a step-by-step explanation.
Are these 12th Standard Computer Applications MCQs free to practise online?
Yes. Every question, answer and explanation here is free, and you can also take them as a timed practice test.
Where can I find the Forms and Files book-back answers?
The correct option for each question is highlighted on this page with a worked explanation, plus a quick answer-key summary at the top.