100% found this document useful (1 vote)
13 views17 pages

Grade 6 ICT Notes + Past Papers Solved

The document provides notes for Grade 6 ICT covering topics on databases, robotics, and Minecraft programming. It explains key concepts such as databases, DBMS, SQL, and various programming blocks used in robotics and Minecraft. Additionally, it includes fill-in-the-blank exercises and past paper questions for practice.

Uploaded by

saima.ayub06
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
100% found this document useful (1 vote)
13 views17 pages

Grade 6 ICT Notes + Past Papers Solved

The document provides notes for Grade 6 ICT covering topics on databases, robotics, and Minecraft programming. It explains key concepts such as databases, DBMS, SQL, and various programming blocks used in robotics and Minecraft. Additionally, it includes fill-in-the-blank exercises and past paper questions for practice.

Uploaded by

saima.ayub06
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

Grade 6 ICT –Notes (2nd Term)

Chapter: Handling Database

1. Database: An organized collection of data stored on a computer, which can be easily


accessed and managed.
2. DBMS: Software used to store, organize, and manage data in a database (e.g., Microsoft
Access).
3. RDBMS: A type of DBMS that stores data in related tables.
4. Microsoft Access: A DBMS from Microsoft that allows users to create and manage
databases with forms, queries, and reports.
5. SQL: A special language used to interact with and manage data in a database.
6. Datatypes: Types of data that can be stored in a database (e.g., text, number, date).

7. Short Text: Stores short text like names or city names.


8. Long Text: Stores longer descriptions like feedback or reviews.
9. Table: A set of rows and columns used to store data.
10. Field: A column in a table that stores one type of data (e.g., Name).
11. Record: A complete row of data about one item/person.
12. Primary Key: A field that uniquely identifies each record.
13. Foreign Key: A field that links one table to another table's primary key.
14. Not Null: Means a field must have a value.

Page | 1
BY : S H A H Z A I B M E M O N
15. Unique Constraint: Ensures that all values in a field are different.
16. AutoNumber: A datatype that creates a unique number for each new record.
17. Navigation Pane: Displays all database objects (tables, queries, forms, reports).
18. Design View: Used to define structure and field properties.
19. Datasheet View: Used to enter and view data in a table.
20. Form: Used to add, edit, or view records in a user-friendly way.
21. Report: Used to display data in a printable format.
22. Query: Used to search/filter information from a table.
23. Planning a Query: 4 Steps: Pinpoint → Identify → Locate → Determine
24. Relationship: Link between tables using primary and foreign keys.
25. Excel vs Access: Excel is good for calculations; Access is better for managing related data.

Fill in the Blanks (Handling Database)

1. A __________ is an organized collection of data. (Database)


2. __________ is used to manage and store data in a database. (DBMS)
3. __________ automatically generates a unique number in MS Access. (AutoNumber)
4. A __________ in a table uniquely identifies each record. (Primary Key)
5. A __________ in one table connects it to another table’s primary key. (Foreign Key)
6. __________ view allows editing of data but not structure. (Datasheet View)
7. __________ view allows defining field types and setting relationships. (Design View)
8. __________ is a special question used to extract information. (Query)
9. __________ prevents repeated data in a field. (Unique Constraint)
10. __________ pane lists all database objects. (Navigation Pane)
11. __________ is used to input, edit, or display data. (Form)
12. __________ shows the result of a query in a printable format. (Report)
13. __________, Identify, Locate, and Determine are steps in query planning. (Pinpoint)
14. __________ is best for managing large sets of related data. (Access)
15. __________ ensures a field is never left empty. (Not Null)

Chapter: Robotics

1. Robotics: The study and design of robots—machines that follow instructions or act
smartly.
2. Robot: A machine that follows commands to perform tasks, either by human input or
automatically.

Page | 2
BY : S H A H Z A I B M E M O N
3. Edison Robot: A small programmable robot that supports block-based and Python
coding.

4. Edison's Buttons: Record (1x = download program, 3x = scan barcode), Stop, Play.
5. Line Tracking Sensor: Helps Edison follow a line using red LED and light sensor.
6. Clap Detector Sensor: Allows Edison to respond to a clap sound by performing actions.
7. EdComm Cable: Connects Edison to a computer for programming and downloading
code.

8. STEAM: Science, Technology, Engineering, Arts, Mathematics.


9. EdScratch: A drag-and-drop block-based language for Edison, based on Scratch.

Page | 3
BY : S H A H Z A I B M E M O N
10. EdScratch Interface: Includes Block Pallet, Programming Area, Menu Bar, Bug Box.

11. Bug Box: Shows code errors or warnings in EdScratch.


12. Drive Block: Controls robot movement.
13. LED Block: Turns Edison’s lights on or off.
14. Sound Block: Controls Edison’s beep sounds or music.
15. Control Block: Includes repeat, forever, wait, and if statements.
16. Sensing Block: Uses sensors to respond to environment (e.g., light, sound, object).
17. Forever Block: Repeats commands endlessly until stopped.
18. Repeat Block: Repeats commands a certain number of times.
19. Shape Drawing: Edison can draw a square using move + turn repeated 4 times.
20. LEGO Compatibility: Edison can connect with LEGO bricks to build robotic structures.
21. Edison creating a Square shape using EdScratch after hearing the clapping sound:

Page | 4
BY : S H A H Z A I B M E M O N
Fill in the Blanks (Robotics)

1. __________ is the study and design of intelligent machines. (Robotics)


2. __________ is a programmable robot used to learn coding. (Edison Robot)
3. __________ cable is used to connect Edison to a computer. (EdComm)
4. __________ sensor helps Edison detect and follow lines. (Line Tracking)
5. _________ sensor allows Edison to react to sound. (Clap Detector)
6. Pressing Record button once on Edison __________ the program. (Downloads)
7. The __________ button is used to run the program. (Play)
8. __________ statements help the robot make decisions. (If)
9. The __________ box shows errors in EdScratch. (Bug)
10. __________ block repeats a command forever. (Forever)
11. __________ block repeats a command a fixed number of times. (Repeat)
12. Edison can draw a __________ using repeat and turn blocks. (Square)
13. Edison is compatible with __________ building blocks. (LEGO)
14. __________ language is used for block programming in Edison. (EdScratch)

Chapter: Minecraft – Hour of Code


1. Hour of Code: A fun way to learn programming by playing games like Minecraft.
2. Computer Science Principles: Basic rules that teach how computers solve problems and
make decisions.
3. Blockly: A visual tool that lets you drag and drop code blocks, which create JavaScript
behind the scenes.
4. Play Space: The area where your program runs and the character performs actions.
5. Toolbox: Contains coding blocks used to create the program.
6. Workspace: The space where blocks are arranged to build the code.
7. Run Button: Executes the program to see the output.
8. Reset (Start Over) Button: Resets the workspace to its initial state.
9. Minecraft Interface: Includes Play Space, Toolbox, Workspace, Run and Reset buttons.
10. Move: Moves your character forward or in another direction.
11. Turn: Rotates the player left or right.
12. Destroy: Breaks a block.
13. Place: Places a block like building.
14. Repeat/Loop: Repeats a task multiple times.

Page | 5
BY : S H A H Z A I B M E M O N
15. If Statement: Does something only if a condition is true.
16. Sequence: Steps done in order.
17. Loop: Repeats actions to save time.
18. Condition: Only runs code if condition is true.
19. Debug: Fixing errors in the code.

Fill in the Blanks (Minecraft: Hour of Code)


1. In Minecraft, the ___________________ is the area where program will run. (Play Space)
2. The ______ block is used to repeat a particular action for certain number of times. (Repeat)
3. A block in Minecraft can be deleted by _____________ it back to toolbox. (Dragging)
4. The ______________ space is used to build the program. (Workspace)
5. The ______________ button is used to execute the code. (Run)
6. The backend of Minecraft code is written in the _____________ language. (JavaScript)
7. The ______________ contains the command blocks used to program the player. (Toolbox)
8. The ______________ block is used to make decisions in programming. (if)
9. Moveforward() block is used to move the agent __________ steps forward. (one)
10. ____________________ is a system which uses visual blocks that you can drag and drop to write
program. (Blockly)

Page | 6
BY : S H A H Z A I B M E M O N
Past Papers – Solved
2022
Q1. Fill in the blanks.

(a) A structured set of data held in computer, especially one that is usually accessible in various ways
is called Database.
(b) An Auto Number is a function which generates unique sequential number or random number in
MS Access whenever a new record is entered.
(c) Every field in a Table has properties which define a field’s characteristics and behavior.
(d) In coding terms an action or event you want to repeat multiple times is called a Loop.
(e) IF STATEMENTS is a fundamental part of a program that helps a computer to make decisions.
(f) Minecraft creates JavaScript code with drag and drop program.

Q2. For each question below there are two options True and False. Circle the correct answer.

(i) Edison can be programmed through block based and Python. (True)
(ii) Edison is a perfect tool to help learn Robotics (True)
(iii)Access is an easy to use tool for creating business applications. (True)
(iv) Forms offer a way to view, format and summarize the information in your Microsoft Access
Database. (False)
(v) Before you start your Mine Craft, you will pick your character. (True)
(vi) A relational query works by matching the values in the primary key field of the first table with a
foreign key in the second table. (True)

Q3. Fill in the blanks.

(i) The Navigation Pane is a list containing every object in your database.
(ii) A Query is a special question you apply to database to get the information.
(iii) In database, Forms allows you to add, edit or display information stored.
(iv) Edison has Sound, Light and IR sensors.
(v) EdScratch combines the ease of drag and drop Programming with powerful functionality
and versatility.
(vi) We can program Edison using EdComm cable.
(vii) In Minecraft ____Coding_______ can help you to complete level.

Q4. Answer the following questions:

(a) Define and differentiate between following:


Primary Key and Foreign Key

Page | 7
BY : S H A H Z A I B M E M O N
Primary Key Foreign Key
A foreign key is a column or group of
Primary key is used to identify record columns in a relational database that
uniquely such as driving license or provides a link between data in two tables.
telephone number or ATM PIN. A relational It acts as a cross-reference between tables
database must have primary key. It appears because it references the primary key of
as column. another table, therefore establishing a link
between them.

(b) What is the purpose of using Datatypes in MS Access? Relate your explanation using
one daily life example.
Answer: A field's data type determines what kind of data it can store. MS Access supports
different types of data, each with a specific purpose. The data type determines the kind of the
values that users can store in any given field e.g. fridge storing different eatables or drawers used
to kept different organised items or tool box used to keep different tools.

(c) How Design view is different from Datasheet view?

Datasheet View Design View


It provides a visual way to create a table. It is a
simple view which arranges the data in rows It allows you to create or change the table. You
and columns and allows to edit the data but can set or change every available properties for
does not allows to change the format of the each field and can open existing tables in Design
database other than minor changes such as View add remove or change fields.
insert or delete columns.

(d) Explain the following code and what shape will Edison draw?

Answer:
1. Both LEDs of Edison will turn on

Page | 8
BY : S H A H Z A I B M E M O N
2. Edison will move forward for 10 cm at the speed of 5 and after that turn left at an angle of 90
degrees. This will be repeated 4 times and it will make a Square
3. Both LEDs of Edson will turn off.

(e) Define Algorithm? Give one example.

1. An algorithm is a set of instructions for solving a problem or accomplishing a task.


2. One common example of an algorithm is a recipe, which consists of specific instructions for
preparing a dish or meal.
3. Waking up in the morning and following set of instructions to get ready for school.

(f) What are Computer Science principles?


It introduces students to the fundamental concepts of computer science and challenges them
to explore how computing and technology can impact the world. More than a traditional
introduction to programming. It is a rigorous, engaging and approachable course that
explores many fundamental ideas of computing, so all students understand how these
concepts are transforming the word we live in.

(g) What is the purpose of Blockly?


Blockly is a client-side library for the programming language JavaScript for creating block-
based visual programming languages (VPLs) and editors. Blockly uses visual blocks that link
together to make writing code easier, and can generate code in JavaScript.

2023

Q1. Fill in the blanks.


1. In a database a record is a unit of Information
2. A unique constraint enforces that a data entered in a field cannot be Repeated
3. A special question you ask your database to find specific data and information is called:
Query
4. Pressing the record button twice on Edison will: Do Nothing
5. The place where our program runs in Minecraft is called: Play Space
6. The repeat block in Minecraft allows the action to be repeated: Certain number of times

Q2. For each question below there are two options True and False. Circle the best
option.

(a) MS Access is used to make graphs, charts and perform complex calculations.
(False)
(b) Forms in a database allow you to add data to a table. (True)
(c) Edison is connected to the computer using the USB port. (False)
(d) Pressing the play button on Edison will run the program. (True)

Page | 9
BY : S H A H Z A I B M E M O N
(e) Loops, waits, when if-statement are found in the drive category in EdScratch.
(False)
(f) MoveForward() block in Minecraft will make the character step two spaces on the
grid. (False)
(g) If statements help the computer to make a decision. (True)

Q3. Fill in the blanks in all of the following.

(a) A structured set of data held in a computer that is accessible in various ways is
called a database.
(b) Pinpoint, identify, locate, and determine are the steps while planning a query in a
database.
(c) Press the record button on Edison once to download the program from the
computer.
(d) Edison supports blocks-based and python programming.
(e) Computer Science Principles introduces students to the foundational concepts of
computer science.
(f) The workspace in Minecraft is where we build our program.
(g) Minecraft uses block-based system called Blockly to write programs.

Q4. Consider the following table created in MS Access and the data given in it and
answer the following:

a) State the data types for the fields “Student_Name”.


Answer: Student_Name: Short Text
b) Recommend a primary key for this table.
Answer: RollNo can be a primary key as it has unique values and will always have unique values.
c) Analyse the data given in the table and determine how many records will the query
“Age < 13” return?
Answer: It will return 0 records/ No row will be returned/ No result will be returned. (As
there is no age value entered which is less than 13).
d) State two ways of creating tables in MS Access.
Answer: Tables can be created using Design view and datasheet view.

Page | 10
BY : S H A H Z A I B M E M O N
Q6. Scenario:
Sarah is starting a small library and wants to create a database to keep track of her
books and their borrowers. She creates two tables, “Books” and “Borrowers”, with
the following columns:

“Books” table:

• Book ID • Publisher
• Title • Year Published
• Author • Number of Copies

“Borrowers” table:

• Borrower ID • Email
• Name • Book ID
• Phone Number

(a) Identify Primary key in both tables. Identify Foreign key if there is a need of it.

Answer:
Books table: Book ID PK
Borrowers table: Borrower ID PK
Borrowers table: Book ID FK

(b) What is the purpose of creating a relationship between Primary and Foreign Key?

Answer: The relationship ensures that the database is consistent and accurate, e.g if Sarah
tries to enter Book ID in the “Borrowers” table that does not exist in the “Book” table, the
database will generate an error and prevent her from creating an invalid record.
Q7. Your friend wants to write a report about databases. You can help him out by
defining Database, RDBMS, and DBMS.
Answer: A database is an organized collection of data, usually stored electronically in a
computer system. The data in a database is structured in a way that allows for efficient storage,
retrieval, and management.
A Database Management System (DBMS) is a software system that manages the storage,
organization, and retrieval of data in a database. DBMS provides a way for users to interact
with the database, allowing them to input, query, modify, and delete data.
A Relational Database Management System (RDBMS) is a specific type of DBMS that uses
a relational data model, which organizes data into tables with defined relationships between
them. RDBMS are widely used in modern applications and provide a high level of consistency,
data integrity, and reliability. Examples of popular RDBMS include MySQL, Oracle Database,
Microsoft SQL Server, and PostgreSQL.

Page | 11
BY : S H A H Z A I B M E M O N
Q8. Explain step by step what the following code will do. State the scenario in which
Edison will move.

In the start the code clears the clap


detector sensor to delete any
previously stored value. Then it waits
for a second. The “If statement” is
executed next, checking for the
condition when a clap is detected.
If a clap is detected the Edison moves
forward 1 inch at 5 speed.
In the end the clap detector sensor is
cleared again to delete any previously
stored value.

Q9. What is Edison? Suggest a programming interface for Edison and state the purpose
of EdComm cable.
Answer: Edison is a programmable robot. It is suited to learning basic concepts and complex
processes as it supports block based and python programming.
I would suggest EdScratch as a programming interface, it is a vertical block-based visual
programming language based on Scratch.
EdComm cable connects the Edison to the computer or tablet and it is used to download
programs into Edison robot.

Q10. Identify the labelled parts of Edison:

Answer:
A: Left Red LED
B: Stop Button
C: Removable Wheel

Page | 12
BY : S H A H Z A I B M E M O N
Q11. Define Repeat block and If Statements in Minecraft.
Answer:
Repeat Block: Repeat block allows to repeat a particular action certain number of times.
If Statements: If statements help a computer make decisions.
Q12. Define Blockly. In Minecraft, the character “Alex” needs to walk towards the tree and
chop the wood using the “destroy block”. Is the code correct, give supportive arguments with
respect to the code mentioned below.

Answer: Blockly is a system which uses visual blocks that you can drag and drop to write
programs in Minecraft. Under the hood, we are creating code in JavaScript.
The given code is not correct.
The code will take the character two steps ahead but then the character will turn left, which is
away from the tree, so it will not be able to chop the tree.

2024
Q1. Fill in the blanks

(a) Blockly is a system which uses visual blocks that you can drag and drop to write program.
(b) MoveForward() block is used to move the agent one steps forward.
(c) The if block is used to make decisions in programming.
(d) The Toolbox contains the command blocks used to program the player.
(e) The backend of Minecraft code is written in the JavaScript language.

Q2. Fill in the blanks

(f) In Minecraft, the play space is the area where program will run.
(g) The repeat block is used to repeat a particular action for certain number of times.
(h) A block in Minecraft can be deleted by dragging it back to toolbox.

Page | 13
BY : S H A H Z A I B M E M O N
(i) The work space is used to build the program.
(j) The Run button is used to execute the code.

Q3. Following is the table from Employee database.


Employee Employee Phone
Department Gender
ID Name number

5321 Ali Umer 03217649809 Sales Male

2678 Hussain Akram 04833829299 Admin Male

9812 Alina Hassan 03456785423 Admin Female

7865 Emaan 03657865432 IT Female

Identify the following in the employee table

(a) Primary Key: Employee ID


(b) Number of fields: 5
(c) Number of records: 4
(d) Data type of Department field: short text

Q4. A college database comprises of two tables: "Student Info" containing basic student
information and details about the books they have issued from library, and "Library books"
which provides details of the available books in the library.
Student Info.

Student Id Name Class Book Id

2356 Usman 7 B#125

7685 Hamza 8 B#258

9801 Shaheer 6 B#987


Library Books
Total
Book Id Title Author
pages
The Snowy
B#125 Ezra Jack 200
Day
Michael
B#258 Cat Tale 154
Hall
The Giving Shel
B#987 435
tree Silverstein

Page | 14
BY : S H A H Z A I B M E M O N
Part (a)
i- Write the name of table where Book Id is used as
Primary key: Library books
ii- Write the name of table where Book Id is used as
Foreign key: Student info

Part (b)
Explain the purpose of creating foreign key?
Answer: A foreign key is used to provide a link between data in two tables. It acts as a cross reference
between tables because it references the primary key of another table.

Q5. Part (a) What is a database? Give example where databases can be used.
Answer: It is structured set of data that is held in the computer, especially one that is accessible in
various ways is called Database.
1. Hospitals
2. Schools
3. Grocery stores

Part (b) What is the purpose to create query?


Answer: A query is a special question you apply to the database to find specific data and get the
information you want. It is used to filter specific information from databases.
Q.6 Identify the appropriate data type?
Scenario: You have been assigned the task of developing a Microsoft Access database for a
travel agency that specializes in organizing guided tours.
Describe how you would utilize the short text, long text, number, and date/time data types in
Microsoft Access to create table for storing the following information.

Field name Data type


Destination Short text
Tour Package Number
Tour Dates Date/time
Customer Feedback Long text

Q7. Match the column A with Column B and write answer in Column C

Column A Column B Column C


a) AutoNumber i. View, format and summarize information a) iii
b) Short text ii. To add, edit and display information b) v
c) report iii. A unique sequential number (incremented by 1) c) i
d) Form iv. Organizes information by type d) ii
e) v. Text or combination of text and numbers

Page | 15
BY : S H A H Z A I B M E M O N
Q8. Answer the following:
a) Explain two key features of Edison robots?

Answer: Edison is compatible with LEGO building blocks, providing unique capabilities to create new
robotics models and it is also equipped with sensors to understand environment.

b) Which application is used to program Edison robot? Write a key feature of that application.

Answer: EdScratch/Edpy/Edblocks is used to program Edison. It is a visual block-based platform


with the ease of drag and drop programming.

Q9. Write down which buttons are used to perform following task in Edison?

To download the program: “Record Button”


To run the program: “Play Button”

b. Write down the purpose of following sensors of Edison.

Line Tracking Sensor: Line tracking sensor is made up of two parts: a red LED light and a line
tracking sensor. It is used to read special barcodes and activate pre-installed programs.
Clap Detector Sensor: This sensor allows Edison to perform any action after hearing a clap sound.

Q10. Match the column A with column B and write answers in column C

Column A Column B Column C

(a) Edcomm cable (i) Robot’s motor output (a) – (iii)

(b) Drive block (ii) Shows warning messages (b) – (i)

(iii) Connects Edison with computer


(c) Sound block (c) – (iv)

(d) Bug box (iv) Robot’s audio output (d) – (ii)

(v) Sense the external interrupt

Page | 16
BY : S H A H Z A I B M E M O N
Q11. Explain the following code and write down the name of shape that Edison will draw?

In this code Edison will:

• play a beep sound


• turn on left LED
• Play beep sound again
• turn on right LED
• repeat the below two commands 4 times
• forward 20 cm at a speed of 5 then spin the robot to left at an angle of 90 degree at
speed of 5
• turn off left LED
• turn off right LED

“Edison will draw a square”

Q12. Part (a): Explain the working of following blocks of EdScratch:


Forward block: It is used to move Edison forward for given number of steps
Clear sensor data: It removes the previous data present in sensor.
Part (b): Write down the difference between Forever and repeat block.
Forever block: will repeat a set of blocks forever, never stopping until you press stop button.
Repeat block: is used to repeat a set of blocks for a specific number of times.

Page | 17
BY : S H A H Z A I B M E M O N

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy