Save
...
AQA GCSE Computer Science (BBC Bitesize)
Computational thinking and problem solving
Programming
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Erin Harrod
Visit profile
Cards (120)
What are programming constructs?
Common building blocks for
programs
View source
What is the purpose of data types in programming?
To
organize
data
according to
type
View source
What is a variable in programming?
A
memory location
for storing values
View source
What does the data type determine for a variable?
What type of
value
the variable will hold
View source
What does the string data type hold?
Characters that can be
letters
and/or
numbers
View source
What are the limitations of different data types?
Integers
and
reals
cannot be
concatenated
View source
What is casting in programming?
Changing the
data type
of a
variable
View source
How would you convert an integer to a string in Python?
Using str(
68
)
View source
How would you convert a string to an
integer
in Python?
Using int("54")
View source
How do integers and real numbers differ in programming?
Integers
are
whole
numbers
,
reals
are
decimals
View source
What is the relationship between data types and variable values?
Data
types
define the kind of
values
variables hold
View source
What are the three basic programming concepts?
Sequence
,
selection
, and iteration
View source
What is the definition of sequence in programming?
A set of
instructions
that follow one another
The order in which instructions are
processed
View source
What is an instruction in computer programming?
A single action performed by a
processor
View source
What does selection determine in a computer program?
The path a program takes based on events
A
decision
point within the program
View source
What is iteration in programming?
The repetition of a block of
statements
View source
What is execution in the context of programming?
The process of a program being run
The actual
operation
of code on a computer
View source
What is definite iteration?
A
loop
that repeats a set
number
of times
View source
How is definite iteration usually implemented?
Using a
FOR loop
View source
What is indefinite iteration?
A
loop
that repeats until a
condition
is met
View source
How is indefinite iteration typically implemented?
Using a
WHILE
or
REPEAT UNTIL
loop
View source
How do programming constructs relate to program complexity?
More constructs are used in complex programs
Constructs are the building blocks of all
programs
View source
What are programming constructs?
Common building blocks for
programs
View source
What are the three basic programming concepts?
Variables
,
constants
, and iteration
View source
What is a variable in programming?
A
memory location
that holds a value
View source
What is the purpose of an identifier?
To name a
variable
in a
program
View source
What are the rules for naming a variable?
Must start with a
letter
and contain
letters
View source
What is the difference between declaration and assignment?
Declaration identifies a
variable
; assignment gives it a value
View source
How would you declare a variable in Visual Basic?
Dim
score as
Integer
View source
What is a constant in programming?
A named piece of memory with an
unchangeable
value
View source
Why are constants useful in programming?
They can be referred to
multiple times
without
change
View source
What is a global variable?
A variable accessible throughout the
whole program
View source
What is a local variable?
A variable that exists only within a
subroutine
View source
Why should global variables be avoided?
They complicate
debugging
and memory management
View source
What are the advantages of using local variables?
Easier to
debug
Memory efficiency
Limited
scope of access
View source
What are the naming conventions for constants?
Written in
uppercase
Follow similar rules as
variables
Represent values unlikely to
change
View source
What is the difference between variables and constants?
Variables can change values; constants cannot
Both are named
memory locations
Constants are often used for
fixed values
View source
What is the role of programming languages?
Used to write
software
Provide
syntax
and structure for coding
Enable communication with
computers
View source
What is the significance of data types in programming?
Define the kind of data a
variable
can hold
Include
integers
, characters, and
Boolean
Affect how data is
processed
in programs
View source
What are programming constructs?
Common building blocks for all
programs
View source
See all 120 cards