New ! Computer Applications MCQ Practise Tests



Forms and Files Model Questions

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Applications

Time : 01:00:00 Hrs
Total Marks : 50
    10 x 1 = 10
  1. When you use the \$_GET variable to collect data, the data is visible to..

    (a)

    none

    (b)

    only user

    (c)

    everyone

    (d)

    selected few

  2. Which directive determines whether PHP scripts on the server can accept file uploads?

    (a)

    file_uploads

    (b)

    file_upload

    (c)

    file_input

    (d)

    file_intake

  3. What does fopen() function do in PHP?

    (a)

    It used to open files in PHP

    (b)

    It used to open Remote Server

    (c)

    It used to open folders in PHP

    (d)

    It used to open Remote Computer

  4. Which of the following functions reads the entire contents of a file?

    (a)

    fgets()

    (b)

    file_get_contents()

    (c)

    fread()

    (d)

    readfile()

  5. In the web development, user access website or web pages from ________.

    (a)

    Remote server machine

    (b)

    Remote client machine

    (c)

    Remote machine

    (d)

    All of these

  6. _____ is a process of checking the input data submitted by the user from client _machine.

    (a)

    File

    (b)

    Form

    (c)

    Validation

    (d)

    All of these

  7. Which of the following is not a Server side programming?

    (a)

    PHP

    (b)

    JSP

    (c)

    Python

    (d)

    All of these

  8. Which of the following is a back-end application?

    (a)

    CGI

    (b)

    ASP Script

    (c)

    PHP Script

    (d)

    All of these

  9. ________ is the best feature to select one file from the local machine to server machine

    (a)

    File upload

    (b)

    Files

    (c)

    Forms

    (d)

    All of these

  10. Form tag is used to mention a method as ______.

    (a)

    POST

    (b)

    GET

    (c)

    Either a or b

    (d)

    None of these

  11. 5 x 1 = 5
  12. Text

  13. (1)

    Textbox and text area

  14. Buttons

  15. (2)

    Select file

  16. Checkbox

  17. (3)

    Only one value

  18. Radio box

  19. (4)

    Submit Reset and Cancel

  20. File Select

  21. (5)

    More than one value

    5 x 2 = 10
  22. Define HTML form controls.

  23. What are the basic HTML form controls available?

  24. What are the most important concepts in PHP development process?

  25. What is the main objective of PHP and HTML form controls?

  26. What is fopen ( ) function?

  27. 5 x 3 = 15
  28. Write the features Form Handling.

  29. Write the purpose Get method and Post method.

  30. Sample PHP program to open and closing a file.

  31. An HTML code to demonstrate From and For controls (Login form)

  32. Write the Validation rules for HTML input fields.

  33. 2 x 5 = 10
  34. Explain in detail of File handling functions in PHP.

  35. Explain file uploading method in PHP.

*****************************************

Reviews & Comments about 12th Computer Science Forms and Files Model Question Paper

Write your Comment