• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 33 páginas
Examen

A-Level Computer Science Paper 1

Document preview thumbnail
Vista previa 4 fuera de 33 páginas

A-level COMPUTER SCIENCE Paper 1 Time allowed: 2 hours 30 minutes Materials For this paper you must have: • a computer • a printer • appropriate software • the Electronic Answer Document • an electronic version and a hard copy of the Skeleton Program • an electronic version and a hard copy of the Preliminary Material • an electronic version of the Data Files and You must not use a calculator. Instructions • Type the information required on the front of your Electronic Answer Document. • Before the start of the examination make sure your Centre Number, Candidate Name and Candidate Number are shown clearly in the footer of every page (also at the top of the front cover) of your Electronic Answer Document. • Enter your answers into the Electronic Answer Document. • Answer all questions. • Save your work at regular intervals. Information • The marks for questions are shown in brackets. • The maximum mark for this paper is 100. • No extra time is allowed for printing and collating. • The question paper is divided into four sections. Advice You are advised to allocate time to each section as follows: Section A – 40 minutes; Section B – 20 minutes; Section C – 20 minutes; Section D – 70 minutes. At the end of the examination Tie together all your printed Electronic Answer Document pages and hand them to the Invigilator. Warning It may not be possible to issue a result for this paper if your details are not on every page of your Electronic Answer Document. Section A You are advised to spend no longer than 40 minutes on this section. Type your answers to Section A in your Electronic Answer Document. You must save this document at regular intervals. Big-O notation is used to express the time complexity of an algorithm. Table 1 contains a list of algorithms. State the Big-O time complexity of each of these algorithms. The first row has been completed for you. Table 1 Algorithm Time complexity Binary tree search O(log n) Bubble sort Linear search Merge sort Copy the contents of the unshaded cells in Table 1 into the table in your Electronic Answer Document. [3 marks] A queue data structure can be implemented as a static data structure using an array. . Describe the method that would need to be followed to attempt to remove an item from a circular queue implemented as a static data structure using an array. Your method should deal appropriately with any issues which could arise. [4 marks] . Describe three differences between dynamic and static data structures. [3 marks] Figure 1 shows data that has been stored in a stack implemented using an array S. Figure 1 [7] Top = 2 [6] [5] [4] [3] [2] Jib [1] Skye [0] Harry . What value will be returned by applying the peek operation to S? [1 mark] . What value will be returned by applying the pop operation to S? [1 mark] . Explain how a single stack can be used to reverse the order of the items in a queue. [2 marks]


Información del documento

Subido en
22 de marzo de 2023
Número de páginas
33
Escrito en
2022/2023
Tipo
Examen
Contiene
Respuestas
$10.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
45
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes

Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.