<=Back

<=KNEC Diploma in ICT Module III: Internet Based Programming past paper July 2022

Explain the function of each of the following statements as used in HTML forms. (2 marks)
(i) <input type=”text”><br /> (ii) <textarea><br /> (iii) <select>

    Viewed:  307  times

  Share in:
        

Question Answer:





Questions List:

1. Explain the function of each of the following protocols in the internet: (6 marks) (i) File Transfer Protocol (ii) Network News Transfer Protocol (iii) Gopher.
2. When Amina downloaded a file from the internet, she noticed that the file had a ZIP extension. (i) Explain the term download. (ii) Explain why the document had ZIP extension.
3. Distinguish between address bar and status bar as used in a web browsing window.
4. Describe three types of files that may be used for image during the development of a website
5. Outline four attributes that may be used with <img> in HTML
6. Marion has been asked to include graphic editor when acquiring web authoring tools. (i) Explain the function of the graphic editor. (ii) List four examples of the graphic editors that she is likely to acquire.
7. Explain each of the following terms as used in the internet: (i) Web hosting (ii) thumbnail; (iv) Online chat;
8. Explain the term broken link as used in a website
9. Outline four reasons that may cause broken link in a web page
10. Outline the function of each of the following features labelled (i), (ii), (iii) on a web Browser window labelled figure 1.
11. Distinguish between a portal web page and news web page as used in the internet
12. Moses intended to navigate between web pages using links. Outline three ways that would help him identify the links on the website
13. The following is a table generated when HTML code is run on a web browser Write the code that would be used to generate table 1 with the following additional features: • Cell spacing of 1 pixel, cell padding of size 0 and border of size 3 • First row to have a height of 50 pixel and a background colour of red; • Second cell to have a width of 30% and background colour green; • The text links
14. Outline four advantages of using a dynamic webpage
15. Explain two advantages of using Common Gateway Interface (CGI) in web Development
16. John a web developer opted to use a WYSIWYG editor to develop a web site for an organization. Explain three reasons of using this type of editor
17. Write a JavaScript program that uses OnClick event to display the statement “Map of Kenya” on an alert box when the map of Kenya images is loaded on the screen. Use a function
18. Outline four advantages of having internal links in a web page
19. Explain the function of each of the following statements as used in HTML forms. (2 marks) (i) <input type=”text”> (ii) <textarea> (iii) <select>
20. Distinguish between responsive web design and adaptive web design
21. Explain three reasons for using of JavaScript as a client –side programming language
22. Explain the function of each of the following features in a web authoring tool: (i) Hyperlink; (2 marks) (ii) Frameset; (2 marks) (iii) Layer
23. In order to ensure the confidentiality, integrity and availability of information in a website, organizations are opting to use various information security control methods. Describe three such security control methods
24. Write HTML code that would display the following form when run on a web browser
25. Outline four types of HTTP method attributes used to send data when submitting a form
26. Explain the function of each of the following attributes as used in a form tag in HTML: (i) Target (2 marks) (ii) Name
27. Distinguish between response object and request object as used in Active Server Page (ASP) language.
28. Write a JavaScript program that prompts a user to enter three numbers. The program should then compare the three numbers and display on an alert box the greatest of the three
29. State the function of each of the following object methods in JavaScript programs. (i) Object.entries() (1 marks) (ii) Object.values() (1 marks) (iii) Object,assign() (1 marks) (iv) Object.freeze()
30. Andrea intends to develop a user friendliness website. Outline four considerations that he should make in order to achieve his objective
31. Write HTML code that would display the following list when run on a web browser.
32. With the aid of two examples in each case, distinguish between primitive and non-primitive data types as used in a JavaScript program