e kjxx ee z module title module code academic year semester department
Search for question
Question
E
KJxx
EE
Z
Module Title:
Module Code:
Academic Year / Semester:
Department of Computer & Information Sciences
ASSESSMENT BRIEF
Programming
KV4012
2023-2024/Semester 2
Module Tutor / Email (all queries):
kv4012-support@northumbria.ac.uk
Andy Dow
% Weighting (to overall module):
Assessment Title:
25%
Date of Handout to Students:
Mechanism for Handout:
Deadline for Attempt Submission by
Students:
Mechanism for Submission:
Submission Format / Word Count
Date by which Work, Feedback and
Marks will be returned:
Mechanism for return of Feedback
and Marks:
Assessment #2
March15 2024
Module Blackboard
Friday, April 19th 2024, 4pm
Document upload to Module Blackboard Site
Please fill in the assessment online, upload source
sketch.
April 2024
Mark and feedback will be automatically
generated. For further queries please email
module tutor.
Questions Filter (4) ▼ 周围
Z
T
XALX
Σ
×
Date by which Work, Feedback and
Marks will be returned:
Mechanism for return of Feedback
and Marks:
sketch.
April 2024
Mark and feedback will be automatically
generated. For further queries please email
module tutor.
LEARNING OUTCOMES
The learning outcomes (LOS) for this module are:-
LO1 Knowledge & Understanding: Demonstrate an understanding of the basic
principles of programming using an appropriate programming language, including
the use of variables, conditions, loops, subprograms
LO2 Demonstrate an understanding of abstraction mechanisms and structured data
types
LO3 Intellectual / Professional skills & abilities: Create reliable and maintainable
software using appropriate code standards.
LO4 Personal Values Attributes (Global / Cultural awareness, Ethics, Curiosity) (PVA):
Solve problems using a structured approach.
This assessment addresses learning outcomes LO1, LO2, LO3 and LO4.
屋
Questions Filter (4) ▼ EE
XX
XSX
AA Northumbria
wwwwwUniversity
NEWCASTLE
What to do
First, download Assessment1.zip from Blackboard. This contains the "harness" file that
you must update in order to complete the assessment. It automatically marks your work in
real time, so that you can get immediate feedback.
Create a new project In Pycham
Add main.py (the file with the question stubs) and MarkingDoNotOpen.py to the project
Under no circumstances view/edit Marking Do Not Open.py
Run main.py put your answers there.
When finished upload your mark and code.
Do not use any Al like chat GPT in answering these questions.
Questions
Questions Filter (4) ▼
Breaking news
Q Search Z
Questions
Σ
xsr
1. Write a function called question which returns the result of computing nine minus
three, all divided by six, then add nine. Return this as a float..
[1]
2. In function question2, returns a string. The value of the string is the word beginning with
the letter 'b' on page 43 of Week 4's slides which exits loop early instead of waiting for the
loop to end
[1]
3. This question tests your ability to write a function to a given specification. The function has
not been provided for you. Write a function from scratch called question3 (Exactly that
name no other will work) this should take one arguments/parameters which is the number
of miles and returns the number of kilometres this represents. The conversion is km = miles
x 1.60934. For example If the function is passed 23 mile it should return 37.01482 The
function has not be written for you the challenge is to write your own function correctly..
[2]
4. Write a function called question4 This should take a String argument and return True if
the string contains the words 'Election' and 'May' anywhere in the string and False if it does
not. Not order is not important. The strings must be exactly in the capitalisation as given.
121
5. Write a function called questions. This should take a string as an argument. It should
create a local variable inside the function which is called q5Temp and should have the value
Questions Filter (4) ▼
1 Breaking news
Q Search
с
Sav EBR
1 Breaking news
KJYX
A Northumbria
A
wwww University
NEWCASTLE
Nature of the submission required:
See the section below on how to submit your work.
Instructions to students:
This is an individual piece of work.
Referencing Style:
N/A
Expected size of the submission.
No expected size.
Academic Conduct:
You must adhere to the university regulations on academic conduct. Formal inquiry
proceedings will be instigated if there is any suspicion of misconduct or plagiarism in your
work. Refer to the University's regulations on assessment if you are unclear as to the
meaning of these terms. The latest copy is available on the university website.
Questions Filter (4) ▼
W