Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Computer science AQA A-level Paper 1-2024

Beoordeling
-
Verkocht
-
Pagina's
16
Cijfer
A+
Geüpload op
24-02-2024
Geschreven in
2023/2024

Computer science AQA A-level Paper 1-2024 What is an integer? -ANS-A positive or negative whole number What is a Real or Float number? -ANS-A positive or negative number that can have a fractional part. What is a Boolean? -ANS-True or False What is a character? -ANS-A single letter, number or symbol What is a string? -ANS-A group of characters What is Date/Time? -ANS-A way of storing Date/Time What is a pointer? -ANS-A way of storing a memory address. What is a record? -ANS-A collection of related fields, each of which could hold a different data type. What is an array? -ANS-A finite, indexed set of related elements of the same data type. What is a user defined data type? -ANS-A data type derived from existing data types in order to create a customized data structure. What is variable declaration? -ANS-Creating a variable for the first time. giving it a name and sometimes a data type. What is constant decleration? -ANS-Creating a constant for the first time. What is assignment? -ANS-giving a constant or a variable a value.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Computer science AQA A-level Paper 1-2024
What is an integer? -ANS-A positive or negative whole number



What is a Real or Float number? -ANS-A positive or negative number that can have a fractional part.



What is a Boolean? -ANS-True or False



What is a character? -ANS-A single letter, number or symbol



What is a string? -ANS-A group of characters



What is Date/Time? -ANS-A way of storing Date/Time



What is a pointer? -ANS-A way of storing a memory address.



What is a record? -ANS-A collection of related fields, each of which could hold a different data type.



What is an array? -ANS-A finite, indexed set of related elements of the same data type.



What is a user defined data type? -ANS-A data type derived from existing data types in order to create a
customized data structure.



What is variable declaration? -ANS-Creating a variable for the first time. giving it a name and sometimes
a data type.



What is constant decleration? -ANS-Creating a constant for the first time.



What is assignment? -ANS-giving a constant or a variable a value.

,what is iteration? -ANS-repetition of a process e.g. a while or for loop. this could be definite or
indefinite.



What is selection? -ANS-comparing values and then choosing an appropriate action. e.g. an if statement.



what is a subroutine? -ANS-A named block of code containing a set of instructions designed to perform a
frequently used operation.



What is definite iteration? -ANS-the number of repititions is known before the loop starts.



What is indefinite iteration? -ANS-the number of repititions is not known before the loop starts.



What is a nested structure? -ANS-One structure is placed within another. Easily identified by
indentation.



What is meant by meaningful identifier names? -ANS-Giving constants, variables and subroutines
sensible and meaningful identifier names.



What does the real/float division operator do? -ANS-divides one number by the other.



What does the integer division operator do? -ANS-divides one number by the other but only returns the
whole number part.



What does the modulo operator do? -ANS-returns the remainder of an integer division.



What does the exponentiation operator do? -ANS-raises one value to the power of another.



What does the rounding operator do? -ANS-limits the degree of accuracy of a number. (rounds up or
down)



What does the truncation operator do? -ANS-removes the decimal part of a number. (never rounds up)

, what does the string handling function "Length" do? -ANS-Returns the number of characters in a
specified string.



what does the string handling function "position" do? -ANS-returns the position of a specified character
within a string.



what does the string handling function "concatenation" do? -ANS-joins two or more strings together to
form a new and longer string.



Is a function required to return a value? -ANS-yes



is a procedure required to return a value? -ANS-no



what can stack frames store for each subroutine? -ANS-Return addresses

Parameters

Local variables



what is a recursive subroutine? -ANS-a subroutine defined in terms of itself.



what two conditions must a recursive subroutine meet in order for the program to run correctly. -ANS-it
must have a stopping condition/base case.

this stopping condition must be met at some point.



what type of error would occur if a base case in a recursive subroutine is never met. -ANS-Stack overflow
error.



what is a data type? -ANS-a particular kind of data item, as defined by the values it can take, the
programming language used, or the operations that can be performed on it.

Geschreven voor

Vak

Documentinformatie

Geüpload op
24 februari 2024
Aantal pagina's
16
Geschreven in
2023/2024
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$9.49
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
Blessedmercy
2.0
(1)

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
Blessedmercy kenyatta university
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
3
Lid sinds
2 jaar
Aantal volgers
1
Documenten
481
Laatst verkocht
11 maanden geleden

2.0

1 beoordelingen

5
0
4
0
3
0
2
1
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen