[go: up one dir, main page]

0% found this document useful (0 votes)
6 views17 pages

fundumentals-of-programming

The document outlines a formative assessment for the 'Fundamentals of Programming' unit, aimed at ICT Technician Level 6 candidates. It includes instructions for written and practical assessments, covering multiple-choice questions, short answer questions, and extended questions related to programming concepts and Java. The assessment also specifies the resources needed and the evaluation criteria for candidates' performance.

Uploaded by

Daiszy Baraka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views17 pages

fundumentals-of-programming

The document outlines a formative assessment for the 'Fundamentals of Programming' unit, aimed at ICT Technician Level 6 candidates. It includes instructions for written and practical assessments, covering multiple-choice questions, short answer questions, and extended questions related to programming concepts and Java. The assessment also specifies the resources needed and the evaluation criteria for candidates' performance.

Uploaded by

Daiszy Baraka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

lOMoARcPSD|50022974

Fundumentals OF Programming

Computer Science level 6 (Baringo Technical College)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Daiszy Baraka (daisybaraka@gmail.com)
lOMoARcPSD|50022974

TVET CURRICULUM DEVELOPMENT, ASSESSMENT AND CERTIFICATION


COUNCIL (TVET CDACC)

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

This assessment requires you to demonstrate competence against unit of competency:


Fundamentals of Programming
In this assessment, you will be required to answer oral, written questions and carry out practical
tasks.

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 [ ]

ASSESSOR ASSESSMENT TOOL-DCS L6-FUNDUMENTALS OF PROGRAMMING Page 1


Downloaded by Daiszy Baraka (daisybaraka@gmail.com)
lOMoARcPSD|50022974

SECTION A: MULTIPLE CHOICE QUESTIONS [20 marks]


Question 1 : Which of the following is not a Java features?? [1mk]
1. Dynamic
2. Architecture Neutral
3. Use of pointers
4. Object-oriented

Question 2 : What will be the output of the following program? [2mk]


public class MyFirst {
public static void main(String[] args) {
MyFirst obj = new MyFirst(n);
}
static int a = 10;
static int n;
int b = 5;
int c;
public MyFirst(int m) {
System.out.println(a + ", " + b + ", " + c + ", " + n + ", " + m);
}
// Instance Block
{
b = 30;
n = 20;
}
// Static Block
static
{
a = 60;
}
}
1. 10, 5, 0, 20, 0
2. 10, 30, 20
3. 60, 5, 0, 20
4. 60, 30, 0, 20, 0

Question 3: _____ is used to find and fix bugs in the Java programs. [2mk]
a) JVM
b) JRE
c) JDK
d) JDB

Question 4 : Which one of the following is an integer? [2mk]


a) 0.1
b) 0
c) 1.00
d) ‘one’

Question 5 : Which of the following is a reserved keyword in Java? [2mk]

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 2

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

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 9: What does the expression float a = 35 / 0 return? [2mk]


a) 0
b) Not a Number
c) Infinity
d) Run time exception

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

SECTION B: SHORT ANSWER QUESTIONS [30 marks]


1. What is the difference between a program and programming? [3marks]
2. Which are four examples of java data types? [4marks]
3. Which are three types of code? [3marks]
4. What is JDK? [2marks]
5. How would you decide which IDE to use? [3marks]
6. What is a computer programming language? [2marks]
7. Which are the steps required to install java? [5marks]

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 3

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

8. Which is a variable? [2marks]


9. What are the control statements of Java? [3marks]
10. Which are four OOP concepts? [4marks]

SECTION C: EXTENDED QUESTIONS [50 marks]

1. What are the phases of program development? Explain each of them [10Marks]

2. What is the difference between a Algorithm and Source code? [5Marks]

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 4

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

***
****

PRACTICAL ASSESSMENT [15mrks]

Instructions:

a) You have 30 minutes to Install Java.


b) You have 30 minutes to program a Java
c) You have 10minutes to perform program test.
You are provided with the following resources for the tasks:

 Computer
 Windows operating system
 Eclipse
 Internet

TVET CURRICULUM DEVELOPMENT, ASSESSMENT AND CERTIFICATION


COUNCIL (TVET CDACC)

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 5

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

FORMATIVE ASSESSMENT

Unit of FUNDAMENTALS OF
Unit Code: IT/CU/CS/CR/04/6/A
competency: PROGRAMMING

Qualification: ICT TECHNICIAN LEVEL 6

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

Candidate’s name & Registration No.


Assessor’s name & Reg. code
Unit(s) of Competency FUNDAMENTALS OF PROGRAMMING
Venue of Assessment
Date of assessment

Items to be evaluated:Tick as appropriate: YES, if the


candidate performs the task correctly, NO, if the
Yes No Comments
candidate did not perform the task correctly. Give a brief
comment for item ticked NO).

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 6

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

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:

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 7

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

MODEL ANSWERS FOR THE ORAL TEST


Note to Assessor: These are suggested answers to act as guidelines

S/No. Question Model answers Marks


1 5
What are the best ways  Keep your software up to date.
to protect your  Don't click on links within emails.
computer softwares  Use free antivirus software.
 Back up your computer.
 Use a strong password.
 Use a firewall.
 Minimize downloads.

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.

4 Various programming  C++ 5


languages used to  JAVA
Fundamentals of  Object oriented programming
Programming.  HTML
 Javascript
 C Programming
 C#

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 8

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

MODEL ANSWERS FOR THE WRITTEN TEST


Note to Assessor: These are suggested answers to act as guidelines

SECTION A: MULTIPLE CHOICE QUESTIONS [20 marks]


Question 1 : Which of the following is not a Java features?? [2mk]
5. Dynamic
6. Architecture Neutral
7. Use of pointers
8. Object-oriented

Question 2 : What will be the output of the following program? [2mk]

public class MyFirst {


public static void main(String[] args) {
MyFirst obj = new MyFirst(n);
}
static int a = 10;
static int n;
int b = 5;
int c;
public MyFirst(int m) {
System.out.println(a + ", " + b + ", " + c + ", " + n + ", " + m);
}
// Instance Block
{
b = 30;
n = 20;
}
// Static Block
static
{
a = 60;
}
}
5. 10, 5, 0, 20, 0
6. 10, 30, 20
7. 60, 5, 0, 20
8. 60, 30, 0, 20, 0

Question 3: _____ is used to find and fix bugs in the Java programs. [2mk]
e) JVM
f) JRE
g) JDK
h) JDB

Question 4 : Which one of the following is an integer? [2mk]


e) 0.1

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 9

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

f) 0
g) 1.00
h) ‘one’

Question 5 : Which of the following is a reserved keyword in Java? [2mk]


e) object
f) strictfp
g) main
h) system

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 9: What does the expression float a = 35 / 0 return? [2mk]


e) 0
f) Not a Number
g) Infinity
h) Run time exception

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

SECTION B: SHORT ANSWER QUESTIONS [30 marks]


11. What is the difference between a program and programming? [3marks]
12. Which are four examples of java data types? [4marks]
ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 10

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

13. Which are three types of code? [3marks]


14. What is JDK? [2marks]
15. How would you decide which IDE to use? [3marks]
16. What is a computer programming language? [2marks]
17. Which are the steps required to install java? [5marks]
18. Which is a variable? [2marks]
19. What are the control statements of Java? [3marks]
20. Which are four OOP concepts? [4marks]

SECTION C: EXTENDED QUESTIONS [50 marks]

1. What are the phases of program development? Explain each of them [10Marks]

2. What is the difference between a Algorithm and Source code? [5Marks]

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

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

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

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 12

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

ORAL TEST ASSESSMENT MARKS SHEET

Candidate’s name & Registration No.

Assessor’s name & Reg. code

Unit of Competency FUNDAMENTALS OF PROGRAMMING

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

(The candidate is competent if s/he gets 50% or higher)


Comments by Assessor:

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 13

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

WRITTEN TEST ASSESSMENT MARKS SHEET

Candidate’s name & Registration No.

Assessor’s name & Reg. code


FUNDAMENTALS OF PROGRAMMING
Unit of Competency

Venue of Assessment

Date of assessment:

Marks Marks
Question
Available Obtained

SECTION A (MULTIPLE CHOICE QUESTIONS)


QUESTION 1-10 20
SECTION B(STRUCTURED QUESTIONS)
Question 1 3
Question 2 5
Question 3 5
Question 4 5
Question 5 5
Question 6 10
Question 7 5
Question 8 4
Question 9 4
Question 10 4
Question 11 4
Question 12 4
Question 13 2
TOTAL: 50 `
The candidate was found to be: Competent Not yet competent

(The candidate is competent if s/he gets 50% or higher)


Comments by Assessor:

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 14

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

ASSESSMENT RECORDS

Qualification & Level ICT TECHNICIAN LEVEL 6

Unit(s) of competency FUNDAMENTALS OF PROGRAMMING

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

Assessment outcome (Please tick (√) as appropriate)


(Tick as appropriate. Competent
Candidate is competent if
found competent in each of Not yet competent /
the assessment tasks in this
assessment)
Feedback from candidate:

Date: Candidate Signature:


Feedback to candidate:

Date: Assessor Signature:

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 15

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)


lOMoARcPSD|50022974

Feedback from verifier

Date: Verifier Signature:

ASSESSOR ASSESSMENT TOOL-DCS L6- DEVELOP COMPUTER SOFTWARE Page 16

Downloaded by Daiszy Baraka (daisybaraka@gmail.com)

You might also like