wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

City & Guilds Level 3 Apprenticeship Coding and Logic

Total questions: 20

Worksheet time: 15mins

Name
Class
Date
1.
Which one of the following is the correct scripting when using the file extension .sh?
a)
A Windows batch file.
b)
A Windows PowerShell file.
c)
A Linux shell script file.
d)
A Linux batch script file.
2.
Which one of the following file extensions indicates a PowerShell script?
a)
PS1
b)
PSD
c)
PSS
d)
PSH
3.
Which one of the following best describes the use of a shell script in Linux server administration?
a)
It manages the allocation of memory resources.
b)
It manages routine tasks and file management.
c)
It manages the processor job queue and prioritisation.
d)
It manages the allocation of remote syslog messages.
4.
Which one of the following best describes the use of a PowerShell script in Windows server administration?
a)
It is used for local task management.
b)
It is used for remote terminal access.
c)
It is used for running a syslog.
d)
It is used for authenticating encryption.
5.
Which one of the following describes the typical use of a batch script in server administration?
a)
It is used for remote terminal access.
b)
It is used for running a syslog.
c)
It is used for authenticating encryption.
d)
It is used for file duplication.
6.
Which one of the following best describes the function of a batch file?
a)
For the completion of routine tasks.
b)
For remote system administration.
c)
For the logging of system messages.
d)
For memory process management.
7.
Which one of the following is a benefit of coding in a low level language such as Assembler?
a)
It has backwards hardware compatibility.
b)
It can be re-used on different technologies.
c)
It can be easily encrypted by hardware.
d)
It fits with a specific hardware architecture.
8.
Which term is specifically associated with code re-use within an object oriented programming language?
a)
Polymorphism.
b)
Inheritance.
c)
Classification.
d)
Overloading.
9.
What is the main purpose of establishing requirements during the 'application development' phase of application lifecycle management?
a)
To establish project costs and projected expenditure.
b)
To establish customer expectations and project scope.
c)
To establish a specific project development baseline.
d)
To establish a methodology for the design process.
10.
Which one of the following correctly describes the purpose of the 'service management' phase of application lifecycle management?
a)
Developing additional application features post project.
b)
Designing v2 of the software after customer feedback.
c)
Designating a specialist patch management service.
d)
Deploying the software into the customers’ environment.
11.
Why is branching used in coding?
a)
To make a decision.
b)
To repeat a task.
c)
To complete a loop.
d)
To return a value.
12.
Which one of the following is an example of an algorithm?
a)
To patch operating systems.
b)
To run batch files.
c)
To ‘ping’ remote networks.
d)
To sort data alphabetically.
13.
Which data structure is required to store numbers from 1 down to 0.0000001?
a)
Numerical Object.
b)
Positive Integer.
c)
Floating Point.
d)
Complex Array.
14.
Which data structure is used to store a large sequence of values?
a)
Array.
b)
Integer.
c)
Character.
d)
Float.
15.
Which one of the following describes the main benefit of using a local web server for web development?
a)
It ensures less distance between database and site.
b)
It offers a faster local connection for large uploads.
c)
It ensures a higher level of site development security.
d)
It offers a safe sandbox development environment.
16.
What is the main advantage of coding webpages using text files?
a)
The Unicode standard is more current than ASCII.
b)
It reduces the potential for typographical errors.
c)
A reduced file size allows efficient downloads.
d)
Availability of open standards based editors.
17.
What is CSS used for?
a)
Maintaining common formats across multiple web pages within a site.
b)
Controlling the HTML and XML standards used with a set domain.
c)
Converting pages created in different HTML formats to HTML5.
d)
Supporting different image formats for web browser optimisation.
18.
Why is JavaScript typically used?
a)
To ensure that HTML5 is backward compatible.
b)
To provide a more secure connection using SSL.
c)
To offer server side control of the local webpage.
d)
To add client side coding to a markup language.
19.
Why is a website certificate used?
a)
To prove that the website security is legitimate.
b)
To prove that the domain is registered with Nominet.
c)
To prove that the company owning the site is legal.
d)
To prove that the IPv6 address has no conflicts.
20.
Which one of the following is created to enable Secure Sockets Layer (SSL)?
a)
A certificate.
b)
A DNS entry.
c)
A bitlocker.
d)
A cryptopass.