Professional Documents
Culture Documents
NAME : TOTAL
STUDENT ID : MARKS
Fixes
Complete
Manipulates
Practical Skill Builds
Assessment Display
[CLO2] Lab Participation
Efficiency
Total Practical Skill Assessment
Total Practical Skill Assessment (80%) = /35 *80
Theory
Report Discussion
Assessment Conclusion
Total Report Assessment
Total Report Assessment (20%) = /15*20
Total A+B (100%)
DATE SUBMIT : DATE RETURN :
1 LEARNING OUTCOMES (LO):
1. Understand ARRAY statements.
2. Apply ARRAY statements.
2 OBJECTIVE
1. Define ARRAY statement..
2. Identify the need for ARRAY in programming.
3. Describe the structure of ARRAY..
4. Accessing Array Elements
3 THEORY
Declaring an ARRAY
4 EQUIPMENT / TOOLS
Computer, C programming language ( Dev-cpp, codeblock, onlinegdb)
Preparation before Practical Work 6 (Independent Learning (NF2F)):
[Student should prepare before Practical Work Session]
DEFINITION OF ARRAY
OUTPUT DISPLAY
#include <stdio.h>
int main ()
{
int n[ 10 ]; /* n is an array of 10 integers */
int i,j;
DISPLAY OUTPUT:
CORRECT PROGRAMMING :
DISPLAY OUTPUT :
OUTPUT:
2kΩ
5kΩ
8kΩ
FLOWCHART :
PROGRAM:
OUTPUT:
Write the program and trace the output. Understand and get output of the program.
Program:
OUTPUT:
Write the program and trace the output. Understand and get output of the program.
Program:
FLOWCHART :
OUTPUT: