














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















22 pages
(d) Award up to [3 max]. Access control; this means that different users will have different levels of access to the Galaxy Bank database; Therefore customers will only be able to access the information that they require to carry out their transactions; Whereas other users such as the DBA will have access to more of the database; Ensuring that the sensitive information within the Galaxy Bank database is secure from unauthorized access, editing etc .; [3] Note: do not accept responses pertaining to how access rights are granted. (e) Award up to [3 max]. Row locking prevents two or more database users from updating the same data at the same time; When a row is locked it means that another database session cannot update that data until the lock is released (which unlocks the data and allows other database users to update that data; If the database as a whole is locked, then only one database session can apply any updates; Locks are done using statements; [3]
2. (a) Award up to [2 max]. Insertion; Deletion; Modification; Lost update; [2] (b) Award [1] for each method of recovery followed by [1] for brief explanation up to a maximum of [2]. Mark as [2] and [2] Do not accept generic back up responses. It must be DBMS related. System log; In the event of a disk crash (any catastrophic failure); The recovery method recovers a past copy of the database; Backed up to archival storage and reconstructs a more current state by redoing the operations of committed transactions, up to the time of failure. Deferred Update; To support ABORT and machine failure scenarios; While a transaction runs, no changes made by that transaction are recorded in the Database; On a commit, new data is recorded in a log file and flushed to the disk; New data is then recorded in the database itself; On abort, do not do anything (the database has not been changed); On a system restart after a system failure, REDO the log; Data on disk is not updated until after a transaction commits fully; [4] (c) Award up to [3 max]. Authorizing/managing access to the database; Coordinating and monitoring its use; Capacity planning; Routine backups to safeguard from data loss during crash; Tried and tested strategies to recover the database after any crash; reinstallation/overwrite of data; // Do not accept installation of new software alone Manage security; [3] (d) Award up to [3 max]. Important sensitive information like personal details such as names, social security; Number and addresses should be separated; A unique identifier should be assigned to each customer;
Note: No generic access rights issues like authorisation should be accepted. Do not accept Encryption as it is a general point and not specific to DBMS.
(d) Award up to [8 max]. Alternative 1 For a three table solution: Student table Award [ 1 ] for primary key: student_ID // Do not accept other suggestions for the primary key. Award [1] for attributes relating to student eg First_Name Family_Name Date_of_birth Note: do not penalize additional attributes such as Student_choice. School table Award [1] for primary key. Either school_Name or user defined key such as SchoolID // Do not accept a composite key. Award [1] for attributes relating to school such as: School(School_Name) School_Post_code, School_phone_no. Note: do not penalize additional attributes such as Student_choice. Student choice Table/Instrument table Award [1] for primary key. Either user-defined or a composite key. Award [1] for attributes relating to choice such as Student_choice/Instrument choice Award [1] for each foreign key up to a maximum of [ 2 max]. Example of three table solution STUDENT (Student ID, First_Name, Family_Name, Date_of_Birth) SCHOOL (School_Name, School_PostCode, School_Phone_no) STUDENT CHOICE (Choice ID, Student_ID, School_Name, Choice) Note: should candidates provide other reasonable solutions, please contact your Team Leader.
Alternative 2 For a four table solution Student table Award [1] for primary key: student_ID // Do not accept other primary keys Award [1] for attributes relating to student eg First_Name Family_Name Date_of_birth Note: do not penalize additional attributes such as Student_choice. School table Award [1] for primary key. Either school_Name or user defined key such as SchoolID // Do not accept a composite key Award [1] for attributes relating to school such as: School(School_Name) School_Post_code School_phone_no Note: do not penalize for additional second School_Phone_no field. Student choice Table/Instrument table Award [1] for primary key. Either Lesson_ID or Instrument_ID // Do not accept a composite key. Award [1] for attributes relating to choice such as Student_choice/Instrument choice. Details Table/Lessons Table Award [1] for primary key. Any ID or composite. Award [1] for the correct foreign key in this table. Note: This is the only table in which marks can be awarded for the use of a composite [primary] key. Example of four table solution STUDENT (Student_ID, First_Name, Family_Name, Date_of_Birth) SCHOOL (School_Name, School_PostCode, School_Phone_no) STUDENTCHOICE(Lesson_ID,Instrument) DETAILS (Lesson_ID, Student_ID, School_Name*) Note: should candidates provide other reasonable solutions, please contact your Team Leader. (e) 2NF allows non-prime attributes to be functionally dependent on non-prime attributes which means there are transitive dependencies at 2NF; While 3NF allows non-prime attributes to be functionally dependent only on the primary / super key and is already in 2NF; Therefore it is not possible for update anomalies to occur when a database is in 3NF; [3]
(c) Award [2 max] : Award [2] for completely correct answer (only the left or right-hand side needs to be shown). Award [1] for correctly writing just 4 factors from the left-hand side. 5 * 80 * 3 * 3 * (80/100) = $ Alternative expression for the left-hand side: 5 * (Item.IType.Initvalue) * (Item.IType.IBrand) * (Item.IVol.Percentage) * (Item.ICond.Multiplier) [2] (d) Award up to [4 max]. Award [1] for some layout design. Award [1] for each of the following elements:
5. (a) Award [4 max] : Award [1] for identifying a problem, [1] for an elaboration. Mark as [2] and [2]. There is no evidence that there are two knives to slice the bread roll; so one of them could already be delayed; There could be need of the same fillings; meaning that the two bread rolls will be prepared with a slight delay; One fork/spoon falls down and will need to be washed; there must be a policy on who will wash it; One ingredient is finished and needs replenishment; there must be a policy on who collects the new bowl; There can be concurrent access to the cash register there must be a policy on who goes first; No evidence that both persons have space/paper to wrap simultaneously on the table; There must be a policy on who goes first; Accept other reasonable answers. [4] (b) Award [3 max] : Split the job in two separate sections; one guy handles all the food, the other guy takes order, wraps, handles money; to minimize possible clashes on resources; Grouping similar tasks together: Slice several bread rolls / stockpile bread rolls; To be filled on demand; Note: do not award marks for answers related to serving [3] (c) Award [3 max] : A model is a / an accurate representation (either physical or digital) of a real- world entity; A simulation is an algorithm/method of implementing a model; By changing the various parameters/variables of the model; In order to investigate its subsequent behaviour; [3] (d) Award [3 max] : The number of utensils; Washing times; Time spent arranging the food on a plate; The amount / quantity of ingredients The number of customers/orders waiting The number of servings for the dish they are currently preparing; Accept other reasonable answers. Accept application answers – option to include/exclude ingredients [3]
6. (a) (i) Award [2 max]. Award [1] for each of the two requested elements that provide input. Accept any ATD sensor explicitly stated by name. Accept: speedometer, fuel gauge, brake pads, human pushing a button. Do not accept: temp regulation unit (or any unit that is integrated in ECU). If in doubt, please contact your Team Leader. [2] (ii) Award [2 max]. May depend on the car maker and patents may be involved; For example, internal communications protocols across different systems may not be revealed; Different vehicles have different uses; it doesn’t make sense to have the same firmware for different requirements; Different models operate at different parameters, Requiring different algorithms; Different Countries may have different regulations; Therefore country-specific ECUs for the same model/type of car; [2] (b) Award [4 max] for one example with explanations. Example answers: The quantity and/or direction of diffusion of CO 2 and fine particulates can be mapped using colour plots; Over the whole duration of the test in a 3D space; Choosing a colour in an intuitive way; To show how the density evolves over time; Examples: Plotting 3D points for CO 2 with vectors x,y,z ; // can be given BOD Where x = time; y = density of CO 2 ; z = temperature;
Option C — Web science 7. (a) Award up to [2 max]. Award [1 max] for Internet and [1 max] for WWW. Internet is a network of (networks of) computers that can communicate one with each other; To exchange/access information through the WWW; The WWW is a way to access/share/exchange information using software applications; Using the Internet as a physical medium; Internet allows the transmission of data; That constitute the information that applications on the WWW may want to share/access/exchange; The WWW provides, through hyperlinks, a level of connectivity of resources (logical connectivity); Which can be physically sparse, but connected in a network in the Internet; [2] (b) Award up to [4 max] : Award [1] for defining the term “standards” and award [1] for a development up to [2 max] ; Award [1] for defining the term “protocol(s)” and award [1] for a development up to [2 max] ; Standards are applied by the browser; For interpreting the HTML (XML); So that the all information will appear, and also (more or less) as expected; Protocols are used; To build up the communication at different levels of the architecture; All browsers will rely upon the same internet protocols (TCP/IP); That is essential for interoperability in transmission/communication; So that the IP address is retrieved (via the DNS server); [4] Award [2 max] for a generic response. (c) Award up to [2 max] : HTTPS authenticates the web site; HTTPS encrypts the data that need to be transferred; [2]
8. (a) Award up to [3 max]. Note: An expansion from the technical/computational perspective only (not sociological one) is expected about aspects of the chosen method of online interaction. Aspects that can gain credit: Editing, permissions layer, ownership, tracking of updates, security (open to vandalism/non-monitored contributors), open source (interoperability). Software for wikis provides collaborative editing sharing of information of content, directly from the browser; Updates are usually tracked in wikis (also to be removed afterwards) as they come from different authors / usually non-moderated / added content can also be removed later on (also by others); The evolution of a wiki is more immediate and spontaneous because updates are immediately visible; The wiki can easily be vandalized with incorrect/unauthoritative information, but it can also be quickly amended/corrected if this is realized quickly; [3] (b) (i) Award up to [1 max]. It specifies how to access the resource/show the path/contains domain name, with the ftp protocol; [1] (ii) Award up to [3 max] : It sends a GET/PHP request to the server tri-events.cc; To execute en/general-info (index.php); And the result of this execution is made available to the client /browser (with ftp); (It specifies to use the ftp protocol to send the request and to return the resource;) Note: Do not accept DNS. [3] (c) Award up to [4 max]. Lossy compression results in files of smaller size; It may be needed for video streaming because the server provides execution through scripting; And guaranteeing streaming without interruptions is a priority; It may be a choice for downloading video for local execution to manage outgoing traffic on popular servers/increases the speed (using smaller files); [4]
(d) Award up to [4 max]. Award [1 max] for identifying a technology that is needed award up to [3 max] for an extension describing how the technology is used and interacts with other components. Example 1: An interactive web page that has an auto-refresh/automatic update extension; So that every N seconds a script is executed to reload the page; The web page is linked to an underlined database/data source OR interrogates specific databases/news databanks; That are distributed and collectively provide regular updates; And they can be displayed back using the script; Example 2: A dynamic web page equipped with a RSS feed; That collects/aggregates news from sources that cover that live event; The feed is in form of an update in XML; Therefore, it can be used to feed an underlining (distributed) database or the web page/uses syndication/can be immediately interpreted by the browser; And it can then be processed by some script to be displayed back in the original web page; [4] 9. (a) (i) Award up to [3 max]. Award [1] for showing understanding of the need of each of the following: GPS, mapping software, underlying distributed information. The GPS of the device gives its current location (coordinates); Coordinates sent out through the Internet (with 3G/4G/5G/Wifi/using the specific features of the mobile device OS); Coordinates are linked to map software ( eg Googlemaps) to retrieve current’s device position and neighbourhood information (using thematic databases); And integrated with further annotations (relative to museums) that can be provided by third-party services; OR by information incrementally gathered from users; OR by further databases (GIS services); OR by interrogating an (incremental) database accessible from the server where the app has been downloaded from, for its first installation; [3]
Option D — Object-oriented programming 10. (a) public ; Allows access to variables from outside of the class/unlimited access; protected; Allows access to variable from within the package (project) in which they are created/subclasses; final; Prevents variables from being modified; static; Refers to variables that act on the class as a whole (and not on individual objects); Note:
11. (a) Award [1] for three compartments, [1] for correct + and – , and [1] for correct contents. Visits