Question 6

OCR Computer Science June 2025 Computer systems (H446-01)A level20 marks

On the specification

(a)
1.2 Software and software development
(b)(i)
1.2 Software and software development
(b)(ii)
1.2 Software and software development
(b)(iii)
1.2 Software and software development
(c)(i)
1.3 Exchanging data
(c)(ii)
1.3 Exchanging data
Question text

6 DCC Software is a company that creates a wide range of software products for home computers. Its products include image, video and sound editing software. (a) DCC Software makes significant use of software libraries. Explain the benefits of using software libraries to create software. [4] (b) Once DCC Software has written a piece of software, they use translators to translate the programming code. (i) The table shows different stages of code compilation labelled A, B, C and D. A Lexical analysis B Syntax analysis C Code generation D Code optimisation In each box write the letter of the stage that matches each description. Converts the high level code into low level instructions Examines the code and improves the efficiency of it without affecting the functionality Removes comments and whitespace and then converts the high level code into tokens Identifies syntax errors and creates an abstract syntax tree [4] (ii) DCC Software is considering the benefits of both an interpreter and a compiler. State two benefits of using an interpreter. Benefit 1 Benefit 2 [2] (iii) State two benefits of using a compiler. Benefit 1 Benefit 2 [2] (c) DCC software uses a database table called TblSoftware to store details about all of their products. ProductID Name Type Price DCC01 DCCPhotos Image £129.99 DCC02 DCCDraw Image £119.99 DCC03 DCCAnimate Image £99.99 DCC04 DCCMovie Video £189.99 DCC05 DCCEffects Video £99.99 DCC06 DCCAudio Sound £119.99 TblSoftware (i) Write an SQL statement to insert this new product into TblSoftware: ProductID: DCC07 Name: DCCCast Type: Sound Price: £89.99 [3] (ii) Write an SQL statement to return the Name of products that have a Price that is less than the Price of the product with the Name "DCCDraw". You should use a nested SELECT statement in your answer. [5]