Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 4 fuera de 75 páginas
Examen

2024 AQA AS COMPUTER SCIENCE Paper 1 Tuesday 14 May 2024 QUESTION PAPER AND MARKING SCHEME (MERGED)

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

2024 AQA AS COMPUTER SCIENCE Paper 1 Tuesday 14 May 2024 QUESTION PAPER AND MARKING SCHEME (MERGED)

Vista previa del contenido

AS
COMPUTER SCIENCE
Paper 1


Tuesday 14 May 2024 Afternoon Time allowed: 1 hour 45 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 File SimulationData.txt
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 (not the front cover) of yourElectronic 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 75.
 No extra time is allowed for printing and collating.
 The question paper is divided into three sections.

Advice
You are advised to allocate time to each section as follows:
Section A – 20 minutes; Section B – 25 minutes; Section C – 60 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.

,7516/1

, 2


Section A

You are advised to spend no more than 20 minutes on this section.

Enter your answers to Section A in your Electronic Answer Document. You must save thisdocument at
regular intervals.

Question 04 in this section asks you to write program code starting from a newprogram/project/file.

You are advised to save your program at regular intervals.


0 1 Figure 1

S1 "011101"
S2 "001100"
C "0"
R ""
FOR J = 0 TO 5X 5
- J D1 S1[X] D2
S2[X]
IF C = "0" THEN IF D1 =
D2 THEN
S "0"C
D1
ELSE
S "1"
ENDIF
ELSE
IF D1 = D2 THENS
"1"
C D1ELSE
S "0"
ENDIF
ENDIF
R CONCATENATE(S, R)ENDFOR
OUTPUT R

The function CONCATENATE(X, Y)returns the string formed by concatenating thestring Y to
the end of string X. For example, CONCATENATE("cat", "dog") returns "catdog".

The strings are zero index based.

, 3


Complete Table 1 by hand-tracing the algorithm in Figure 1.You

may not need to use all the rows in Table 1.

You do not need to indicate that C, D1, D2and Sare strings.The first

row of Table 1 has already been completed for you.


Table 1




S1 S2 C R J X D1 D2 S

"011101" "001100" "0" ""




OUTPUT:



Copy the contents of all the unshaded cells in Table 1 into your Electronic
Answer Document.
[5 marks]

Información del documento

Subido en
14 de noviembre de 2024
Número de páginas
75
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$8.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

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Vendido
16
Seguidores
13
Artículos
415
Última venta
1 año hace



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