CICT PART II SECTION 3: STRUCTURED PROGRAMMING WEDNESDAY: 5 JUNE 2013: TIME ALLOWED: 3 HOURS. Answer ALL questions. Marks allocated to each question are shown at the end of the question. Show ALL your workings. ALL programs written should be in C programming language. QUESTION ONE (a) Describe the uses of the following terms in the context of structured programming environment: (i) Compilation (2 marks) (ii) Linking (2 marks) (iii) Build (2 marks) (iv) IDE (2 marks) (b) Citing suitable examples in each case, describe three types of declarations in structured programming. (9 marks) (c) Below is a programming declaration. Int *ptv1,} (i), x, } (ii), a[10]; } (iii) Required: Identify the parts labeled (i) to (iii). (3 marks) QUESTION TWO (a) (i) Distinguish between “declaring a function” and “defining a function”. (4 marks) (ii) Write a C language function that calculates and returns the square of an integer number. (4 marks) (b) Use illustrations to exp
DICT LEVEL III PRINCIPLES OF WEB DEVELOPMENT MAY 2018 TUESDAY: 22 MAY 2018 TIME ALLOWED: 3 HOURS QUESTION ONE a) Explain four new features inbuilt in HTML5 differentiate between canvas and SVG as used in HTML5 for graphics b) Using HTML code illustrate the font tag for Arial font showing eight different sizes of font each with its own colour c) Write down HTML code that would create a table with the following data : Community Male Female OBC 35 40 SC/ST 23 12 GEN 12 10 QUESTION TWO a) Describe the following types of positions as used in HTML pages: i) Static positioning ii) Relative positioning iii) Absolute positioning iv) Fixed positioning b) Write the HTML code that would display the following content on being rendered by a browse I love my county * I buy food freely * I exercise my rights * I c
Comments
Post a Comment