0% found this document useful (0 votes)
138 views

Computer Science - Term 2 (2020-21) Grade 10 - Advanced Stream Project Documentation

This document provides instructions for a student named Abdulla Khalid Aljassmi to complete Project Task 1 in Computer Science. The task involves collecting RGB values from 3 colors, transforming the data into 2 features, storing the new data in a CSV file, and describing the project and potential outcomes in pseudocode. The student is to submit the completed work through the school's LMS system.

Uploaded by

Abdulla Aljassmi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views

Computer Science - Term 2 (2020-21) Grade 10 - Advanced Stream Project Documentation

This document provides instructions for a student named Abdulla Khalid Aljassmi to complete Project Task 1 in Computer Science. The task involves collecting RGB values from 3 colors, transforming the data into 2 features, storing the new data in a CSV file, and describing the project and potential outcomes in pseudocode. The student is to submit the completed work through the school's LMS system.

Uploaded by

Abdulla Aljassmi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Computer Science – Term 2 (2020-21)

Grade 10 – Advanced stream


Project Documentation

Student Details:
Student ID. /‫رقم ال ّطالب‬ [email protected]
Student Name /‫اسم ال ّطالب‬ Abdulla Khalid Aljassmi
School Name ‫ اسم المدرسة‬/ Zayed Complex
Subject /‫المادّ ة‬ Computer Science
Grade & Stream /‫الصف والمسار‬
ّ 10/A/2

ّ ‫ال‬
Class / ‫شعبة‬ 2 Date/ / ‫تاريخ‬

Instructions to complete the Project Task 1 (20 marks):

 Read the questions carefully and type your answers in the given space for all the

questions.

 To complete the coding answers, you can type or copy and paste the Python code.

 There are no word limits to the answers. However, your answers must relate and

strongly justify to the questions.

 After completing, please submit this document back to your teacher through LMS for

marking.

o (LMS link: https://lms.moe.gov.ae )

G10-Project Task 1 Page 1 of 10 CS-Term 2 (2020-21)


G10-Project Task 1 Page 2 of 10 CS-Term 2 (2020-21)
G10-Project Task 1 Page 3 of 10 CS-Term 2 (2020-21)
a) Collect the RGB values for three colours. Store the data for each colour in a
separate DataFrame. There should be at least 5 readings for each colour at
different lighting positions.

b) Add labels and headers to the dataset.

G10-Project Task 1 Page 4 of 10 CS-Term 2 (2020-21)


(c) You will transform these 3 features into only 2 using the formulas below:
1) Feature 1 = R-G
2) Feature 2 = 2B - R – G

(d) Create a new dataset with Feature 1, Feature 2 and the label (colour).

G10-Project Task 1 Page 5 of 10 CS-Term 2 (2020-21)


(e) Store the new datasets in a new csv file using the to_csv() function.

features.to_csv("BGRvalues.csv",index=False)

G10-Project Task 1 Page 6 of 10 CS-Term 2 (2020-21)


This project involves ML algorithm to read center pixel from camera
and to find RGB components. Then we are converting RGB
components in Feature 1 and Feature 2, combine them in a new
DataFrame and save it in CVS file.

Note:

Complete this question in the following page.

Writing to file

Reading image from camera

Isolating only central pixel

G10-Project Task 1 Page 7 of 10 CS-Term 2 (2020-21)


2. Project design (sketches, flowcharts, descriptions, Mond Maps, pseudocode ect)
(Upload your image here by clicking the image icon below)

G10-Project Task 1 Page 8 of 10 CS-Term 2 (2020-21)


Enter more Program Program
than 6
will work crashed
different
pixels

Enter less Program Program No change


than 5 will work worked
different
pixels

Enterd any Program No change


amount of will work Program
pixels worked

G10-Project Task 1 Page 9 of 10 CS-Term 2 (2020-21)


Yes
Yes

Yes

Yes

Yes

Yes

Yes Worked !!

G10-Project Task 1 Page 10 of 10 CS-Term 2 (2020-21)

You might also like