Docsity

AQA A Level Computer Science Exam Prep Q&A Pascal, Algorithms, Data Types & FSMs Verified, Exams of Computer Science

Toggle sidebar
bg1
AQA A Level Computer Science Exam Prep Q&A Pascal,
Algorithms, Data Types & FSMs Verified Solutions 2026-
2027
What type of language is Pascal? This type of language helps to reduce run
time errors by forcing declaration of variables & data types, & captialisation.
- Correct Answers ✅Strongly Typed
An item of data whose value DOESN'T change - Correct Answers
✅Constant
An item of data whose value COULD change, while being run - Correct
Answers ✅Variable
A sequence of steps that can be followed to complete a task in a finite number
of steps, always terminates. - Correct Answers ✅Algorithm
A single value within an array (list) - Correct Answers ✅Element
One line of a text file - Correct Answers ✅Record
Principle of choosing what action to take, based on certain criteria
(conditions) - IF & CASE STATEMENTS - Correct Answers ✅Selection
Placing one set of instructions inside another set of instructions - Correct
Answers ✅Nesting
pf3
pf4
pf5

Partial preview of the text

Download AQA A Level Computer Science Exam Prep Q&A Pascal, Algorithms, Data Types & FSMs Verified and more Exams Computer Science in PDF only on Docsity!

Algorithms, Data Types & FSMs Verified Solutions 2026-

What type of language is Pascal? This type of language helps to reduce run time errors by forcing declaration of variables & data types, & captialisation.

  • Correct Answers ✅Strongly Typed An item of data whose value DOESN'T change - Correct Answers ✅Constant An item of data whose value COULD change, while being run - Correct Answers ✅Variable A sequence of steps that can be followed to complete a task in a finite number of steps, always terminates. - Correct Answers ✅Algorithm A single value within an array (list) - Correct Answers ✅Element One line of a text file - Correct Answers ✅Record Principle of choosing what action to take, based on certain criteria (conditions) - IF & CASE STATEMENTS - Correct Answers ✅Selection Placing one set of instructions inside another set of instructions - Correct Answers ✅Nesting

Algorithms, Data Types & FSMs Verified Solutions 2026-

Principle of repeating processes - FOR, WHILE, REPEAT UNTIL - Correct Answers ✅Iteration Process that repeats a set number of times - FOR LOOP - Correct Answers ✅Definite iteration Process that repeats until a certain criteria is met - WHILE - Correct Answers ✅Indefinite Iteration Principle of putting the correct instructions in the right order within a program - Correct Answers ✅Sequence Process of cutting off a number after a certain number of characters or d.p - Correct Answers ✅Truncating A unique binary representation of a particular letter, number etc. - Correct Answers ✅Character Code A named block of code designed to carry out a specific task - Correct Answers ✅Subroutine More readable code Allows code to be reused

Algorithms, Data Types & FSMs Verified Solutions 2026-

A diagram that shows the design of a system from the top down - Correct Answers ✅Hierarchy chart Start at the top of the process and work your way down into smaller and smaller sub processes - Correct Answers ✅Top down approach Good practice, makes more sense, makes program easier to read, easier to debug, helps all different programmers work together on projects etc. - Correct Answers ✅Why is giving meaningful identifiers good? Creating a computer model of a real life situation and putting it into action - Correct Answers ✅Automation Using a given set of facts to determine whether new facts are true or false - Correct Answers ✅Logical Reasoning Process of removing unnecessary details so that only information that is required to solve the problem remains - Correct Answers ✅Representational abstraction Concept of reducing problems by putting similar aspects of a problem into hierarchical categories - Correct Answers ✅Generalisation abstraction Breaking own a complex problem into a series of reusable functions - Correct Answers ✅Functional Abstraction

Algorithms, Data Types & FSMs Verified Solutions 2026-

Hiding how data is represented so that it is easier to build a new kind of data object - Correct Answers ✅Data Abstraction Removing unnecessary details in a problem until the underlying problem is identified to see if this is the same as a problem that has already been solved - Correct Answers ✅Problem Abstraction Hiding all details of an object that do not contribute to its essential characters

  • Correct Answers ✅Information Hiding Breaking down a large task into a series of subtasks - Correct Answers ✅Decomposition Building up a whole system from smaller units - Correct Answers ✅Composition Any device that stores it current status and whose status can change as the result of an input. Shown as a state diagram - Correct Answers ✅Finite State Machine A conceptual model to deign and describe system. Useful at the design stage as force designer to think about every possible input. - Correct Answers ✅State Transition Diagram