Brief feature: programming languages to be used

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Brief feature: programming languages to be used

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which statement best describes what a software development brief says about programming languages?
A It names the language(s) the solution will be built in and gives a reason for the choice
B It lists every line of code the developer will write in that language
2. A client needs an app that runs on iPhones. Which brief entry shows a language suited to the platform?
A Swift, because it is used to build native iOS apps
B Swift, because it is my favourite language name
3. Which reason links to the developer's skills?
A The team already knows Python well, so development will be faster and less risky
B Python is the oldest language so it must be the best
4. Which reason links to available libraries?
A JavaScript has a short name that is easy to type
B JavaScript has Chart.js, which saves time building graphs
5. True or false: a brief can name more than one programming language.
A False: a brief must name exactly one language
B True: for example HTML, CSS and JavaScript for a web app, each with a reason

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1Language: Swift (iOS app) ANames a language chosen because it has libraries that already do the data work needed
2Language: Python (pandas library) BNames a language chosen because it suits the platform the solution will run on
3A brief gives a reason for the language based on the developer's skills CThe language does not suit the platform, so the reason for choosing it is not valid.
4A brief names the language or languages and gives a reason for each choice DLanguage: JavaScript - the team already knows it well
5Language: Python EThe language is named but no reason is given for choosing it, such as platform, skills or libraries.
6Language: Swift (for a Windows desktop app) FLanguages: HTML/CSS for the page, Python for the server

Definitions

programming languages to be used

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
Platform: iOS app Language: _____ Reason: Suits the iOS platform
2.
Language: Python Reason: Has the pandas _______ for data
3.
Language: Java Reason: The developer's existing ______
4.
Languages: HTML, CSS and __________ Reason: Suits the web browser platform
5.
Language: Kotlin Reason: Suits the _______ platform

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A Language: Swift
B Platform: Android phone app
C Reason: Kotlin suits Android
Question 2
A Language: SQL
B Platform: web browser
C Reason: runs in every browser
Question 3
A Developer: knows Python well
B Language: Rust
C Reason: no extra training
Question 4
A Task: graph survey data
B Language: Python
C Library: pandas, matplotlib
D Reason: it is the newest
Question 5
A Project: 2D game in Unity
B Language: C#
C Reason: Unity scripts use SQL

Answer Key

Brief feature: programming languages to be used
Section A: Quick Questions
Q1
A — It names the language(s) the solution will be built in and gives a reason for the choice
Q2
A — Swift, because it is used to build native iOS apps
Q3
A — The team already knows Python well, so development will be faster and less risky
Q4
B — JavaScript has Chart.js, which saves time building graphs
Q5
B — True: for example HTML, CSS and JavaScript for a web app, each with a reason
Section B: Match the Pairs
Q1
Language: Swift (iOS app) → Names a language chosen because it suits the platform the solution will run on
Q2
Language: Python (pandas library) → Names a language chosen because it has libraries that already do the data work needed
Q3
A brief gives a reason for the language based on the developer's skills → Language: JavaScript - the team already knows it well
Q4
A brief names the language or languages and gives a reason for each choice → Languages: HTML/CSS for the page, Python for the server
Q5
Language: Python → The language is named but no reason is given for choosing it, such as platform, skills or libraries.
Q6
Language: Swift (for a Windows desktop app) → The language does not suit the platform, so the reason for choosing it is not valid.
Section C: Definitions
Q1
programming languages to be used — A brief feature naming the language(s) the solution will be built in, with a reason, such as suiting the platform, the developer's skills or the libraries available.
Section D: Fill in the Blanks
Q1
Platform: iOS app Language: Swift Reason: Suits the iOS platform
Q2
Language: Python Reason: Has the pandas library for data
Q3
Language: Java Reason: The developer's existing skills
Q4
Languages: HTML, CSS and JavaScript Reason: Suits the web browser platform
Q5
Language: Kotlin Reason: Suits the Android platform
Section E: Spot the Error
Q1
A — Swift is mainly used for Apple iOS apps, so it does not suit an Android app. The brief should name Kotlin, which matches the platform and the reason on line 3.
Q2
A — SQL is a database query language and does not run the interface in a web browser. The language should be JavaScript, which runs in every browser.
Q3
B — The reason is that the developer already has the skills, so the language must be the one they know. Choosing Rust contradicts this. It should be Python.
Q4
D — A good reason links the language to the platform, developer skills or available libraries. Being the newest is not a valid reason. It should say that libraries save time.
Q5
C — Unity scripting uses C#, not SQL. The reason must be true and support the chosen language, so it should say Unity scripts use C#.