wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Edexcel Computer Science- Topic 1&6 Part 1 (1 to 60)

Total questions: 80

Worksheet time: 38mins

Name
Class
Date
1.
An IDE checks programming code using a:
a)
Debugger
b)
Fault finder
c)
Breakpoint
d)
Compiler
2.
Modern IDEs assist programmers by:
a)
Automatically completing code
b)
Writing programs for the user
c)
Stopping any errors from being produced
d)
Removing the need to write any code at all
3.
IDE is the abbreviation of integrated development environment.
a)
True
b)
False
4.
When debugging a program the user can add breakdots to pause the execution of the code at a certain point.
a)
False
b)
True
5.
IDEs are useful for programming complex solutions.
a)
True
b)
False
6.
IDEs can check the contents of any variable at any time.
a)
True
b)
False
7.
All programmers only use IDEs now.
a)
False
b)
True
8.
Which of these does not use an IDE?
a)
Machine code
b)
Visual Basic
c)
C#
d)
Java
9.
There are never any free IDEs.
a)
False
b)
True
10.
IDEs are useful when designing form based applications.
a)
True
b)
False
11.

Integrated Development Environment known as a software application that provide comprehensive facilities to computer programmers for software development. True or false?

a)

True

b)

False

12.

What does IDE stand for?

a)

Intelligent Development Environment

b)

Integrated Design Environment

c)

Intelligent Development Environment

d)

Integrated Development Environment

13.

How many of the following are features that could be found in an IDE?

a)

Code Editor

b)

Image Editor

c)

Libraries

d)

Translator

14.
A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly
a)
True
b)
False
15.
When you have an error in your code what is the term to summarise finding and fixing that error?
a)
Error checking
b)
Debugging
c)
Syntax finder
d)
Error finder
16.
A syntax error in your code means:
a)
You have not used enough characters. 
b)
There was no defined index. 
c)
Python can't find a file to pass the code to. 
d)
There is an error with your typing and code structure. 
17.
A program runs and, during running, is asked to divide by zero. The program crashes. This is an example of:
a)
a logic error
b)
a run-time error
c)
a logic error
d)
a user error
18.
What's the mistake in this code?
a)
The variable "surname" needs a capital letter (first line of code)
b)
"print" needs a capital letter
c)
"input" needs a capital letter
d)
There are plus signs in the final line of code
19.

This allows you to use debugging tools to help find and fix errors in your code.

a)

Translator

b)

Run time environment

c)

Editor

d)

Error diagnostics

e)

Anti malware

20.
What is computational thinking?
a)
It allows you to break down a large / complex problem into smaller parts.
b)
It is thinking like a robot
c)
It is being able to bake a cake.
d)
It is creating a coding solution to a problem.
21.
What are the three key parts of computational thinking?
a)
Programming, flowcharts and pseudo code
b)
Abstraction, decomposition and algorithm
c)
Input, processing and output
d)
Patterns, shapes and numbers
22.
What is abstraction?
a)
A painting
b)
A programming language
c)
This means focusing on the important details and ignoring the irrelevant information
d)
Abstraction is the breaking down of a big problem into smaller parts.
23.
What does decomposition mean?
a)
focuses on the important information only, ignoring irrelevant detail
b)
Step by step instructions on solving a problem.
c)
Thinking like a computer
d)
This is the breaking down of a complex problem into smaller parts
24.
What is an algorithm?
a)
A sequence of instructions on how to solve a problem.
b)
The breaking down of a problem into smaller parts.
c)
Focusing on important parts and ignoring the irrelevant details
d)
The recipe for a cake
25.
What are the two main ways that we represent an algorithm?
a)
By drawing pictures 
b)
Using flowcharts and pseudo code
c)
Using python and small basic
d)
Using Scratch and python
26.
What is a flowchart?
a)
A visual representation of an algorithm using symbols
b)
Using 'fake code' to plan an algorithm
c)
Using a programming language to show an algorithm
d)
Uisng different types of charts to show an algorithm
27.
What does the following symbol represent in a flowchart?
a)
An input
b)
Start
c)
End
d)
A process
28.
What does the following flowchart symbol represent?
a)
A process
b)
An output
c)
A decision (choice)
d)
End
29.
What does the following flowchart symbol represent?
a)
Input / Output
b)
Start of flowchart
c)
A process
d)
End
30.
What does the following flowchart symbol represent?
a)
Process
b)
Input
c)
Start / End
d)
Sub-process
31.
What does the following flowchart symbol represent?
a)
A process
b)
Input / Output
c)
Start / End
d)
A sub-process
32.

Part of a program that does not work correctly.

a)

debugging

b)

variable

c)

algorithm

d)

bug

33.

Putting commands in correct order so computers can read the commands

a)

loop

b)

repeat

c)

debugging

d)

sequencing

34.

The action of doing something over and over again

a)

conditionals

b)

until

c)

loop

d)

constant

35.

A named group of programming instructions. They are reusable abstractions that reduce the complexity of writing and maintaining programs.

a)

function

b)

loop

c)

repeat

d)

algorithm

36.

A placeholder for a piece of information that can change.

a)

constant

b)

variable

c)

until

d)

function

37.

Computational Thinking is a _________________________ process.

a)

programming

b)

design

c)

constructionist

d)

problem-solving

38.

Finding similarities and differences between parts of a problem is known as ____________.

a)

Pattern recognition

b)

Decomposition

c)

Algorithm design

d)

Abstraction

39.
A logical way of getting from the problem to the solution. If the steps you take to solve a problem follow an algorithm then they can be reused and adapted to solve similar problems in the future.
a)
Decomposition
b)
Abstraction
c)
Programming
d)
Algorithmic Thinking
40.
What data type would be best used to record the number of people at a party?
a)
Integer
b)
Real
c)
String
d)
Boolean
41.
What data type would be best to record the exact length of a piece of string in meters?
a)
Real
b)
Boolean
c)
Decimal
d)
Integer
42.
Integers cannot store negative numbers.
a)
False
b)
True
43.
Data types of variables can never be changed.
a)
False
b)
True
44.
What data type would be best used to record an email address?
a)
String
b)
Integer
c)
Real
d)
Character
45.
What data type would be the answer to the expression x < 5?
a)
Boolean
b)
Character
c)
Real
d)
String
46.

What would you store using the Char data type?

a)

A cartoon character such as Daffy Duck

b)

A string such as PIG

c)

An integer such as 17

d)

A single character such as T

47.

Choose all that could be stored as a string

a)

PIG

b)

p!g

c)

123.4

d)

False

48.

Choose all that are iteration

a)

For z = 1 to Pigs.length - 1

Print(Pig(z))

Next

b)

Do While Pigs(z) <> "grunter"

Print(Pig(z))

z += 1

Loop

c)

If Pigs(z) = "scratcher"

Print("found")

End If

d)

Pigs(z + 1) = console.readline()

49.

Choose all that are true about variables

a)

They must have a type

b)

They must have an identifier

c)

They cannot be changed during runtime

d)

They occupy a fixed amount of memory

50.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
51.

How do we get user input from the keyboard?

a)

input = (What is your name?)

b)

input = What is your name?

c)

output = ("What is your name?")

d)

input("What is your name? ")

52.

Which data type is the most suited to store a telephone number in a variable?

a)

string

b)

integer

c)

float

d)

boolean

53.
Converts a number to a string
a)
str()
b)
int()
c)
parseInt()
d)
convert
54.

What does the print command do?

a)

Outputs a hard copy of a program to a printer

b)

Outputs a message on screen

c)

Print a hard copy of a flow chart to a printer

d)

Prints out the the commands line by line on the screen

55.

What is Coercian in terms of variable data type conversion?

a)

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

b)

It automatically converts an existing variable name without intervention e.g from num to number

c)

It is where a program crashes when a data type changes from real to string

56.

What is Conversion in terms of variable data type changes?

a)

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

b)

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

57.
Variable names can't start with a number.
a)
True
b)
False
58.
Variable names can include spaces.
a)
False
b)
True
59.
Which of the following variables names is an example of camel case?
a)
totalScore
b)
TOTALSCORE
c)
TotalScore
60.
Which of the following statements can be used to extend selection from a single IF statement?
a)
ELSE
b)
DO
c)
CHOICE
d)
ELK
61.

What symbol must you place at the end of an if statement?

a)

)

b)

:

c)

;

d)

}

62.

What is an indentation in Python?

a)

A line of code that returns a value

b)

A subroutine

c)

A block of code that creates a variable

d)

A code block (body of a function, loop etc.) starts with indentation and ends with the first unintended line.

63.

1==0

a)

True

b)

False

64.

5 >= 5

a)

True

b)

False

65.

What will this code display?

a = 6

if a => 6:

print("pass")

else:

print("fail")

a)

pass

b)

fail

c)

nothing because there will be an error

d)

passfail

66.

How do you write an 'else if' in Python?

a)

elseif

b)

elif

c)

elife

d)

else

67.

what does != mean

a)

not

b)

swap value

c)

not equal

d)

equal

68.

What will this code print?

a)

access denied

b)

access granted

c)

error

d)

password

69.
What is this operator? +
a)
addition
b)
subtraction
c)
multiplication
d)
division
70.
What is this operator? -
a)
addition
b)
subtraction
c)
multilplication
d)
division
71.
What is this operator? /
a)
addition
b)
subtraction
c)
remainder
d)
division - only the whole number
72.
What is this operator? =
a)
Equal to
b)
Used in a calculation for equals
c)
and
d)
or
73.
What is this operator? >
a)
Greater than
b)
Less than or equal to
c)
Less than
d)
Greater than or equal to
74.
What is this operator? <
a)
Greater than
b)
Less than or equal to
c)
Less than
d)
Greater than or equal to
75.
What is this operator? >=
a)
Greater than
b)
Less than or equal to
c)
Less than
d)
Greater than or equal to
76.
What is this operator? %
a)
Concatenation
b)
Remainder or mod
c)
Division - only the whole number
d)
Escape character
77.

With a NOT operator...

a)

The condition must be true

b)

The condition must be false

c)

Either condition must be true

d)

All conditions must be true

78.

With an AND operator...

a)

Both conditions must be false

b)

Either condition must be true

c)

Both conditions must be true

d)

Both numbers are added together

79.

With an OR operator...

a)

Both conditions must be true

b)

Either, not both, conditions must be true

c)

Either or both conditions must be false

d)

Either or both conditions must be true

80.

Which of the following is an operator that compares values with symbols such as '<' or '='

a)

Comparison Operator

b)

Relational Operator

c)

Archimedes Operator

d)

Arithmetic Operator

e)

Numerical Scale Operator (NSO)