0% found this document useful (0 votes)
32 views10 pages

Computing Paper 6

The document contains questions from a test about databases, Microsoft Access, and Minecraft. It asks students to identify correct answers, fill in blanks, describe how they would create tables and relationships in Microsoft Access, explain how to write queries, and discuss primary keys and constraints. It also contains questions about conditional statements, programs for robots, and the Edscratch programming interface.

Uploaded by

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

Computing Paper 6

The document contains questions from a test about databases, Microsoft Access, and Minecraft. It asks students to identify correct answers, fill in blanks, describe how they would create tables and relationships in Microsoft Access, explain how to write queries, and discuss primary keys and constraints. It also contains questions about conditional statements, programs for robots, and the Edscratch programming interface.

Uploaded by

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

Section A Objective Marks: 10

Q1.Choose the best answer. [__/5]

(a) Minecraft is basically based on ___________

Text based

Blockly

Both

(b) In Minecraft, in the background the coding is in_______________

Java

JavaScript

Python

(c) In minecraft to run the program for some specific number of time, we can use

Repeat

Forever

Both

(d) To make a decision during code, _______________ statement is in use

Repeat

Forever

IF

(e) Minecraft improves our learning skills like

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.

(c) ___________ statements helps computer to make a decision.

(d) The ________________ allows you to repeat an action certain number of times.

(e) Minecraft is a ___________ dimensional game.


Section B Subjective Marks: 40

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:

1. Destination Details: ___________________________________________________________________

2. Tour Packages: ______________________________________________________________________

3. Tour Dates: _________________________________________________________________________

4. Customer Feedback:__________________________________________________________________

5. Tour Guides Availability: _______________________________________________________________

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:

 Find All Science Fiction Books


 Check Overdue Books
 Favorite Genre Statistics

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

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]

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

Define the term "criteria" in the context of a query. [__/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

Information In the program Value

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]

(a) Mention the parts of Edscratch interface.

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

(b) what does STEAM stands for?

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

Q12. [__/4]

(a) Why is programming crucial in the field of robotics?

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

(b) How do sensors contribute to the functionality of a robot?

_____________________________________________________________________________________

_____________________________________________________________________________________

_____________________________________________________________________________________

You might also like