stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
AQA COMPUTING Basic Programming Concepts Flashcards | StudBud
Explore
/
AQA COMPUTING Basic Programming Concepts
AQA COMPUTING Basic Programming Concepts
20 terms
·
StudBud Administration
·
135 plays
Imported from external platform
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
Reason to use meaningful identifier names
easier to debug/ maintain code
easier to read/ understand
makes them reusable
easier to change
2
Suggest the correct data type: the price of an item
string
integer
real/ float
boolean
3
Functions can use local variables
True
False
4
44 MOD 8 =
2
1
3
4
5
13 // 5 =
3
4
1
2
6
Suggest the correct data type: the current stock available in warehouse
real/ float
integer
string
boolean
7
Procedures can use local variables
False
True
8
DIV is equivalent to which operator in python?
%
;
/
//
9
Which of the following do functions and procedures have in common?
used to return a value
used to structure code
they only use global variables
a reusable component of the code
10
Procedures in your code ...
makes it harder to debug
make it harder to read
makes it easier to program different parts of the problem in teams
make it easier to make mistakes
11
Suggest the correct data type: the telephone number of a customer
real/ float
string
boolean
integer
12
Suggest the correct data type: the customer wants emails and marketing
real/ float
boolean
string
integer
13
A feature of functions is that they ...
always return a value
are always short
always call another function
are always long
14
Loop is another way of describing ...
selection
iteration
sequence
15
23 MOD 7 =
1
4
2
3
16
Branch could be used to describe ...
selection
sequence
iteration
17
Suggest the correct data type: the number of items to be ordered.
boolean
real/ float
integer
string
18
What is a meant by the term CONSTANT?
A letter that is NOT A VOWEL
A value that CAN CHANGE while the program is running
A value ASSIGNED when the program is designed
A value that DOES NOT CHANGE while the program is runnning
19
What are the three programming constructs?
Selection, Inspection, Analysis
Sequence, Selection, Iteration
Selection, Inspection, Iteration
Sequence, Inspection, Iteration
20
Functions and procedures can use global variables
True
False