0% found this document useful (0 votes)
266 views2 pages

GCE Advanced Level Practice Questions

1. The document describes a practice test for Grade 13 Information & Communication Technology II. It contains 6 questions related to logic gates, system design, URLs, TCP/IP, and databases. 2. Question 1 asks the student to construct a truth table and logic expression for a tea dispensing machine that accepts coins of different values. It then asks them to modify the expression for an increased tea price. 3. Question 4 asks the student to draw an Entity Relationship Diagram for a motor vehicle licensing database that issues learner's permits and driver's licenses.

Uploaded by

RishanRulz
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
0% found this document useful (0 votes)
266 views2 pages

GCE Advanced Level Practice Questions

1. The document describes a practice test for Grade 13 Information & Communication Technology II. It contains 6 questions related to logic gates, system design, URLs, TCP/IP, and databases. 2. Question 1 asks the student to construct a truth table and logic expression for a tea dispensing machine that accepts coins of different values. It then asks them to modify the expression for an increased tea price. 3. Question 4 asks the student to draw an Entity Relationship Diagram for a motor vehicle licensing database that issues learner's permits and driver's licenses.

Uploaded by

RishanRulz
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

uOHu m<d;a iNdfõ wOHdmk fomd¾;fïka;=j

kj;jpakhfhzrigapd; fy;tpj; jpizf;fsk;


DEPARTMENT OF EDUCATION, CENTRAL PROVINCE

G.C.E. (A/L) PRACTICE TEST - 2017


Grade 13 Information & Communication Technology II
Part B
Read the questions carefully. Answer four questions only.
1. A school canteen has a new tea dispensing machine which has three coin slots: one for five rupee
coins (slot A), one for one rupee coins (slot B) and one for two rupee coins (slot C). A cup of tea
costs five rupees.
a) Construct a truth table to indicate the logic function, Z, which will have the value 1 whenever
sufficient coins have been submitted to cover the cost of a cup of tea.
b) Using Boolean algebra write down an expression for the output Z.
c) Suppose the price of a cup of tea is increased into six rupees; write an expression for the
output Z.
d) Sketch a digital logic circuit making use of basic gates for the expression you derived for c).

2. Draw a context diagram to show the operations of the ‘Star Video rentals’ described below
adhering to the standards of SSADM. Clearly indicate external entities and data flows of your
diagram. State any assumptions that you have made.
‘Star Video rentals loan videos to its customers. If a customer needs to borrow a video he or she
should produce membership card, payment and the title of the video. All the payments should be
done using the credit card used to open the customer account. Customer returns the video after
watching it.
If a loaned video is overdue by a day the customer’s credit card is charged and a reminder is sent.
Until either the customer returns the video or the charges are equal to the cost of replacing the
video reminders are sent and the credit card is [Link] a person needs to become a member
he or she should fill out a form including personal details and credit card details with the
registration fee. Then the system issues a membership card.

3. A student uses the following URL to download a copy of a previous year’s exam paper of a
particular institute.
[Link]

A B C
a) Describe the three labelled parts of this URL.

1
b) In some circumstances the student’s computer will not need to contact a remote DNS server
to access a resource. Describe two situations when a DNS query will not be sent to a remote
DNS server.
c) In the process of requesting a web page, a browser will generate an HTTP GET request. In
which layer of the TCP/IP stack is the browser operating?
d) Explain why the student’s computer might need to make several HTTP GET requests to
display one web page.
e) The HTTP GET requests are being sent to port 80 on the remote machine. The browser has
been allocated a client port number. What is meant by a client port number?

4. Read the following scenario and draw the Entity Relationship diagram. Show the primary keys and
all the attributes of entities as given. If you use any assumptions write them clearly.
The Motor vehicle department in a certain country administers driving tests and issues driving
licenses. Any person who wish to obtain a driving license must first take a learner’s examination at
any Motor vehicle branch in a province. If one fails the learner’s examination he or she can take
the examination again any time after a week of the failed exam date, at any of the branches. When
one passes the exam a license is issued with a unique number called DL_Number. It belongs to the
type learner and has the dateIssued. This license expires after six months.A person who holds a
license with the type learner’s has to sit for another exam before it expires to get the driver’s
license. If one passes that exam he or she is issued with a driver’s license. Then the type is changed
into driver.

5. A student has created a file in Notepad which consists of a list of first names of his friends in grade
13. The name of the file is [Link]. The class has twenty students.
a) Write a pseudo code to read [Link] file, sort it into alphabetical order, and then write
it back to another text file again.
b) Transform the above pseudo code into a python program.
6. A certain town uses a software system for internal transportation via buses. All users are issued a
smart card. The card is valid for a year from the issued date. When a user gets on a bus he or she
should insert the smart card and key in the destination. The destinations are numbered from one to
twelve. According to the destination the bus fare is automatically calculated and deducted from the
smart card. The bus is stopped at the relevant destinations of the users.
a) Write two essential functional requirements of the above software system using IEEE
standard.
b) Write two essential non - functional requirements of the above software system.
c) Write two improvements you would suggest for the above system with justifications.
2

Common questions

Powered by AI

In the motor vehicle department system, after a candidate passes the learner's examination, they are issued a learner's license with a DL_Number that expires in six months. Before expiration, the holder must pass another examination to obtain a driver's license, which changes the license type to 'driver' .

A computer might not need to query a remote DNS server if the requested domain name is already in the local DNS cache from a previous query or if the operating system has local host file entries that resolve the domain name to the necessary IP address .

To determine if sufficient coins have been inserted, a Boolean expression can be structured based on the machine's coin slots. Define variables for each slot: A for five rupee coins, B for one rupee coins, C for two rupee coins. If each coin input is 1 when a coin is inserted, the logic function Z should be true (Z=1) whenever the total inserted equals five rupees. Using Boolean algebra, Z = A or (B and C) provides the initial expression. If the price changes to six rupees, the expression is adjusted to Z = (A and B) or (C and C) or (A and C).

Two functional requirements include: (1) The system must authenticate users via smart cards to determine if the card is valid for the ride. (2) It must calculate and deduct fares automatically based on entered destinations .

A context diagram for 'Star Video Rentals' under SSADM standards includes external entities like customers and payment processors. Key data flows involve membership registration, video loans, payment transactions, and reminders for overdue videos. The customer provides membership info and payments, while the system confirms membership and charges overdue fees via credit cards .

Pseudo code: Open 'myfriends.txt'; read names; sort names alphabetically; write to 'sorted_friends.txt'. Python code: `with open('myfriends.txt', 'r') as f: names = f.readlines(); names.sort(); with open('sorted_friends.txt', 'w') as f: f.writelines(names)` .

Assumptions may include each person having a unique ID or DL_Number and that there are time constraints associated with retaking the learner's exam. It's also assumed that the system must track dates of issuance and expiration for monitoring license status .

Multiple HTTP GET requests are needed because a web page consists of various resources such as HTML documents, CSS files, JavaScript scripts, images, and multimedia. Each resource typically requires a separate request from the browser to assemble the complete webpage .

The client port number serves as a unique identifier for a connection from a client's machine, allowing multiple applications to coexist on one device and maintaining separate sessions for different connections. When a browser sends HTTP GET requests to server port 80, the client port differentiates request origins within the TCP/IP stack .

Suggestions for improving the system could include implementing real-time tracking for more accurate timings and robust security features to protect user data. Real-time tracking enhances user experience by minimizing wait times, while improved security prevents unauthorized card usage and safeguards user information .

You might also like