Font size
WorksheetsEdexcel Computer Science- Topic 1&6 Part 1 (1 to 60)
Total questions: 80
Worksheet time: 38mins
Integrated Development Environment known as a software application that provide comprehensive facilities to computer programmers for software development. True or false?
True
False
What does IDE stand for?
Intelligent Development Environment
Integrated Design Environment
Intelligent Development Environment
Integrated Development Environment
How many of the following are features that could be found in an IDE?
Code Editor
Image Editor
Libraries
Translator
This allows you to use debugging tools to help find and fix errors in your code.
Translator
Run time environment
Editor
Error diagnostics
Anti malware
Part of a program that does not work correctly.
debugging
variable
algorithm
bug
Putting commands in correct order so computers can read the commands
loop
repeat
debugging
sequencing
The action of doing something over and over again
conditionals
until
loop
constant
A named group of programming instructions. They are reusable abstractions that reduce the complexity of writing and maintaining programs.
function
loop
repeat
algorithm
A placeholder for a piece of information that can change.
constant
variable
until
function
Computational Thinking is a _________________________ process.
programming
design
constructionist
problem-solving
Finding similarities and differences between parts of a problem is known as ____________.
Pattern recognition
Decomposition
Algorithm design
Abstraction
What would you store using the Char data type?
A cartoon character such as Daffy Duck
A string such as PIG
An integer such as 17
A single character such as T
Choose all that could be stored as a string
PIG
p!g
123.4
False
Choose all that are iteration
For z = 1 to Pigs.length - 1
Print(Pig(z))
Next
Do While Pigs(z) <> "grunter"
Print(Pig(z))
z += 1
Loop
If Pigs(z) = "scratcher"
Print("found")
End If
Pigs(z + 1) = console.readline()
Choose all that are true about variables
They must have a type
They must have an identifier
They cannot be changed during runtime
They occupy a fixed amount of memory
How do we get user input from the keyboard?
input = (What is your name?)
input = What is your name?
output = ("What is your name?")
input("What is your name? ")
Which data type is the most suited to store a telephone number in a variable?
string
integer
float
boolean
What does the print command do?
Outputs a hard copy of a program to a printer
Outputs a message on screen
Print a hard copy of a flow chart to a printer
Prints out the the commands line by line on the screen
What is Coercian in terms of variable data type conversion?
It automatically converts an existing data type without intervention e.g if there was an integer added to a real/float the data type changes to float/real
It automatically converts an existing variable name without intervention e.g from num to number
It is where a program crashes when a data type changes from real to string
What is Conversion in terms of variable data type changes?
When code is changed automatically to change a variable data type to another e..g int(cost) will automatically change the cost variable into an integer
When code is added manually to change a variable data type to another e..g int(cost) will change the cost variable into an integer
What symbol must you place at the end of an if statement?
)
:
;
}
What is an indentation in Python?
A line of code that returns a value
A subroutine
A block of code that creates a variable
A code block (body of a function, loop etc.) starts with indentation and ends with the first unintended line.
1==0
True
False
5 >= 5
True
False
What will this code display?
a = 6
if a => 6:
print("pass")
else:
print("fail")
pass
fail
nothing because there will be an error
passfail
How do you write an 'else if' in Python?
elseif
elif
elife
else
what does != mean
not
swap value
not equal
equal
What will this code print?
access denied
access granted
error
password
With a NOT operator...
The condition must be true
The condition must be false
Either condition must be true
All conditions must be true
With an AND operator...
Both conditions must be false
Either condition must be true
Both conditions must be true
Both numbers are added together
With an OR operator...
Both conditions must be true
Either, not both, conditions must be true
Either or both conditions must be false
Either or both conditions must be true
Which of the following is an operator that compares values with symbols such as '<' or '='
Comparison Operator
Relational Operator
Archimedes Operator
Arithmetic Operator
Numerical Scale Operator (NSO)
