Computing Paper 6
Computing Paper 6
Text based
Blockly
Both
Java
JavaScript
Python
(c) In minecraft to run the program for some specific number of time, we can use
Repeat
Forever
Both
Repeat
Forever
IF
Problem Solving
Logic Building
Both
Q2.Fill in the blanks: [__/5]
(a) Minecraft ____________ is the area where your program will run.
(b) If you want to ___________ a block, just drag it from the stack back to the toolbox.
(d) The ________________ allows you to repeat an action certain number of times.
Q3. [__/4]
Scenario: You have been assigned the task of developing a Microsoft Access database for a travel agency
that specializes in organizing guided tours.
Question:
Describe how you would utilize the short text, long text, number, and date/time data types in Microsoft
Access to create tables for storing the following information:
4. Customer Feedback:__________________________________________________________________
Q4. [__/4]
Scenario: You and your classmates are working on a Microsoft Access project to organize information
about your favorite books and the genres they belong to.
1. Books: Contains information like book ID, title, author, and publication year.
2. Genres: Holds details about different book genres, including genre ID, genre name, and a brief
description.
3. Students: You and your classmates, each identified by a student ID, name, and grade level.
4. Ratings: A table to record your personal ratings for each book, including rating ID, student ID, book ID
and your rating.
Question:
Using the entities mentioned above, describe how you would set up relationships between the tables in
Microsoft Access for your book project. Specifically, explain:
1. How would you connect the Books and Genres tables to organize information about each book's
genre? [__/2]
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
2. Why is it important to have relationships between these tables in your database, and how does it help
in organizing and managing information effectively? [__/2]
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q5. [__/4]
Scenario: Imagine you and your classmates are running a school library and want to find specific books
quickly using Microsoft Access. Queries to help you search for information in your library database. Here
are the tables in your database:
1. Books: Includes information like book ID, title, author, and genre.
2. Borrowers: Contains details about students who borrowed books, such as borrower ID, student name,
book ID, and return date.
3. Genres: Holds information about different book genres, including genre ID and genre name.
Question:
Explain which fields you would use for the following queries:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q6. [__/4]
Imagine you have a table with information about students, and each student is assigned a unique
identification number. Explain how setting the student identification number as the primary key can be
beneficial in organizing and managing the data in the table.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Why is it important to have a primary key constraint in a database table?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q7. [__/4]
Provide an example of how constraints might affect data entry in a form. [__/1]
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
How can you use criteria to refine the results of a query? [__/2]
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q8: Look at this program which uses different conditional statements. [__/4]
Explain the working of this program. Mention how many events need to occur for the entire program to
complete successfully?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q9. [__/4]
(a) Fill in this chart. If the information is in the program, write the value of that input in the "value"
column. For example, the value of 'distance' is the answer to the question how far is this program telling
the robot to go? [__/2]
Information In the program Value
Direction
Distance
Distance Unit
Speed
(b) Does this program give the robot all the information it needs? [__/2]
Fill in this chart. If the information is in the program, write the value of that input
Direction
Distance
Distance Unit
Speed
Q10. [__/4]
(a)Look at the following programs and answer the questions about what is going to happen in program.
[__/2]
1. In program, how many times will the right LED turn on?
_____________________________________________________________________________________
2. In program, which will finish first: all of the beeps or all of the LED flashes?
_____________________________________________________________________________________
(b) For this task, you need to get Edison to drive a straight track. You can code a solution for this task
using just one block! Which block will work? Fill out the block below to match what you will use in your
successful one-block program. [__/2]
Q11. [__/4]
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q12. [__/4]
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________