fundumentals-of-programming
fundumentals-of-programming
Fundumentals OF Programming
FORMATIVE ASSESSMENT
Unit(s) of FUNDAMENTALS OF
Unit Code: IT/CU/CS/CR/04/6/A
competency: PROGRAMMING
Qualificatio
ICT TECHNICIAN LEVEL 6
n:
Qualification Code:
CANDIDATE INSTRUCTIONS
WRITTEN ASSESSMENT
Instructions:
i. You have one (2) hour to answer all the questions.
ii. You are provided with a separate answer booklet.
iii. Write your Name, Identification Number, Date and Signature.
iv. Do not write on the question paper.
v. Marks for each question are indicated in the brackets [ ]
Question 3: _____ is used to find and fix bugs in the Java programs. [2mk]
a) JVM
b) JRE
c) JDK
d) JDB
a) object
b) strictfp
c) main
d) system
Question 6 Which keyword is used for accessing the features of a library? [2mk]
1. package
2. import
3. extends
4. export
Question 7 : Given, ArrayList list = new ArrayList(); What is the initial quantity of the ArrayList
list? [2mk]
1. 5
2. 10
3. 0
4. 100
Question 8: Which one of the following cannot be used to write java code?
a) Note Pad [2mk]
b) Eclipse
c) Visual Studio Code
d) None of the above
Question 10: Evaluate the following Java expression, if x=3, y=5, and z=10:
++z + y - y + z + x++ [2mk]
a) 24
b) 23
c) 20
d) 25
1. What are the phases of program development? Explain each of them [10Marks]
3.What are the Java syntax, with brief explana琀椀on list 5 of them? [10Marks]
4.If r is radius and pi = 3.14 ,Write a program to calculate area of a circle? [10Marks]
5. Which Five common errors that can occur in a program during program development
[5Marks]
6.With the use of looping statements, write a program that prints the following [10Marks]
****
***
**
*
*
**
***
****
Instructions:
Computer
Windows operating system
Eclipse
Internet
FORMATIVE ASSESSMENT
Unit of FUNDAMENTALS OF
Unit Code: IT/CU/CS/CR/04/6/A
competency: PROGRAMMING
Qualification Code:
ASSESSOR INSTRUCTIONS
This assessment requires the candidate to demonstrate competence against unit of competency:
Fundamentals of Programming.
In this assessment, the candidate will be required to answer oral, written questions.
.
a) Allocate 10 minutes to the candidate to answer oral questions
b) Allocate 11/2 hour to the candidate to answer written questions
c) Allocate have 30 minutes to Install Java.
d) Allocate 30 minutes to program a Java
e) Allocate 10minutes to perform program test.
The following resources will be required during the assessment:
Computer
Windows operating system
Eclipse
Internet
OBSERVATION CHECKLIST
1. Installed Java
2. Written correct code for task
3. Generated maintenance report as per the internal
policy
The candidate was found to be:
Competent Not yet competent
(Please tick as appropriate)
(The candidate is competent if s/he gets 4 (80%) of the 6 items on the observation checklist, with items
(1-4) on the observation checklist being critical (candidate must get YES for each of these items), and
all the dimensions in item no 6, on the product checklist correct.)
Feedback from candidate:
Feedback to candidate:
Candidate’s signature:
Date:
Assessor’s signature:
Date:
2 5
What is software Software maintenance is a part of
maintenance and its Software Development Life Cycle. Its
various types main purpose is to modify and update
software application after delivery to
correct faults and to improve performance
Four general types of maintenance
philosophies can be identified, namely
corrective, preventive, risk-based and
condition-based maintenance
3 Characteristics of a Good Program 5
What are the features Effective and efficient code. The program
of a good program? should be faster and it should provide
correct output within the given memory
space and limited time.
User friendly. The program should have
an interaction with the user.
Self-documenting code.
Reliable.
Portable.
Question 3: _____ is used to find and fix bugs in the Java programs. [2mk]
e) JVM
f) JRE
g) JDK
h) JDB
f) 0
g) 1.00
h) ‘one’
Question 6 Which keyword is used for accessing the features of a library? [2mk]
5. package
6. import
7. extends
8. export
Question 7 : Given, ArrayList list = new ArrayList(); What is the initial quantity of the ArrayList
list? [2mk]
5. 5
6. 10
7. 0
8. 100
Question 8: Which one of the following cannot be used to write java code?
e) Note Pad [2mk]
f) Eclipse
g) Visual Studio Code
h) None of the above
Question 10: Evaluate the following Java expression, if x=3, y=5, and z=10:
++z + y - y + z + x++ [2mk]
e) 24
f) 23
g) 20
h) 25
1. What are the phases of program development? Explain each of them [10Marks]
3.What are the Java syntax, with brief explana琀椀on list 5 of them? [10Marks]
4.If r is radius and pi = 3.14 ,Write a program to calculate area of a circle? [10Marks]
5. Which Five common errors that can occur in a program during program development
[5Marks]
6.With the use of looping statements, write a program that prints the following [10Marks]
****
***
ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 11
**
*
*
**
***
****
Venue of Assessment
Date of assessment:
Marks Marks
Question
Available Obtained
Question 1 5
Question 2 5
Question 3 5
Question 4 5
TOTAL: 20 `
The candidate was found to be: Competent Not yet competent
Venue of Assessment
Date of assessment:
Marks Marks
Question
Available Obtained
ASSESSMENT RECORDS
Candidate details:
Candidate Name:
Candidate registration
no.:
Candidate Signature: Date (dd/mm/yy)
Assessor details: Assessor Name:
Assessor Reg. Code:
Assessor Signature: Date (dd/mm/yy)
Verifier details: Verifier name:
Verifier Reg. Code:
Verifier signature: Date (dd/mm/yy)
OUTCOME
ASSESSMENT TASKS (Please tick (√) as appropriate)
Competent Not yet competent
a) Oral Assesment
b) Written Assessment
c) Practical assessment