COMPSCI 331
THE UNIVERSITY OF AUCKLAND
FIRST SEMESTER, 2022
Campus: City
COMPSCI 331 Large-Scale Software Development
Quiz-1
(Time allowed: 60 mins)
NOTES AND INSTRUCTIONS:
• Submit a PDF document containing your acknowledgement to instructions and answers to the fol-
lowing questions.
• You are expected to hand-write or type your answers in the space provided for each answer
in the quiz script. However, you may format your document as you choose (e.g. using a Word
document file, and saving it as PDF), but if you do that it would be preferred that you present your
answers in the same order as in this quiz, and that you begin each question on a new page (sub-
questions do not have to begin on a new page).
• Answer ALL FIVE questions for a total of 60 marks.
• Often code is formatted oddly, is omitted in parts (wherever specified) or unhelpful identifiers are
used in order to fit within the space constraints of the question.
• This is an open book quiz. This means you may search for and view any material available to you,
but you may not directly use that material in your answer unless it is from this course. You
definitely cannot copy and paste such material into your answer. You may not even use the same
example (unless it is an example used in the course). It is acceptable to use material you find as
inspiration for your answer.
• During the quiz, you may not discuss any aspect of the quiz with anyone other than the In-
structor Paramvir Singh. You may contact him via email at during the
quiz period.
• Your answers will be assessed according to the degree of understanding they display of the course
content. Minor syntactic errors in code (or even missing code) are acceptable so long as your intent
is clear. However, note that too many errors (including spelling and grammatical errors) or too much
irrelevant material may make it difficult to determine your intent.
• When asked for a picture, it is strongly recommended you hand-draw it, take a photo of it or scan it
(if you use a paper), and insert it in your document, rather than using some drawing tool (because
that will take longer).
CONTINUED
, –2– COMPSCI 331
NOTES AND INSTRUCTIONS:
If you are using this script to directly write your answers:
• Fill in your details below:
NAME:
STUDENT ID:
UPI(username):
• Acknowledge the declaration statement below by ticking the checkbox:
2 From the start of this quiz until 11:59pm 8 April 2022, I confirm that I will not discuss the content
of the quiz with anyone else. I will not give any assistance to another student taking this quiz. I will
not receive any assistance from any person or tutoring service. I will not copy my answer from any
source other than my own notes, course material, or this quiz.
• From the next page, start writing your answers in the space provided for each question.
If you are using a separate document (e.g. MS Word doc) to write your answers:
• Start your answers document with your Name, your Student ID number, and your Username.
• Following your details, insert the following statement.
From the start of this quiz until 11:59pm 8 April 2022, I confirm that I will not discuss the content
of the quiz with anyone else. I will not give any assistance to another student taking this quiz. I will
not receive any assistance from any person or tutoring service. I will not copy my answer from any
source other than my own notes, course material, or this quiz.
• Following the statement, write your answers to the questions, clearly identifying the question to
which the answer applies. The most appropriate way of identifying each question is to write the
question number of each question or sub-question carefully before beginning to answer it.
CONTINUED
THE UNIVERSITY OF AUCKLAND
FIRST SEMESTER, 2022
Campus: City
COMPSCI 331 Large-Scale Software Development
Quiz-1
(Time allowed: 60 mins)
NOTES AND INSTRUCTIONS:
• Submit a PDF document containing your acknowledgement to instructions and answers to the fol-
lowing questions.
• You are expected to hand-write or type your answers in the space provided for each answer
in the quiz script. However, you may format your document as you choose (e.g. using a Word
document file, and saving it as PDF), but if you do that it would be preferred that you present your
answers in the same order as in this quiz, and that you begin each question on a new page (sub-
questions do not have to begin on a new page).
• Answer ALL FIVE questions for a total of 60 marks.
• Often code is formatted oddly, is omitted in parts (wherever specified) or unhelpful identifiers are
used in order to fit within the space constraints of the question.
• This is an open book quiz. This means you may search for and view any material available to you,
but you may not directly use that material in your answer unless it is from this course. You
definitely cannot copy and paste such material into your answer. You may not even use the same
example (unless it is an example used in the course). It is acceptable to use material you find as
inspiration for your answer.
• During the quiz, you may not discuss any aspect of the quiz with anyone other than the In-
structor Paramvir Singh. You may contact him via email at during the
quiz period.
• Your answers will be assessed according to the degree of understanding they display of the course
content. Minor syntactic errors in code (or even missing code) are acceptable so long as your intent
is clear. However, note that too many errors (including spelling and grammatical errors) or too much
irrelevant material may make it difficult to determine your intent.
• When asked for a picture, it is strongly recommended you hand-draw it, take a photo of it or scan it
(if you use a paper), and insert it in your document, rather than using some drawing tool (because
that will take longer).
CONTINUED
, –2– COMPSCI 331
NOTES AND INSTRUCTIONS:
If you are using this script to directly write your answers:
• Fill in your details below:
NAME:
STUDENT ID:
UPI(username):
• Acknowledge the declaration statement below by ticking the checkbox:
2 From the start of this quiz until 11:59pm 8 April 2022, I confirm that I will not discuss the content
of the quiz with anyone else. I will not give any assistance to another student taking this quiz. I will
not receive any assistance from any person or tutoring service. I will not copy my answer from any
source other than my own notes, course material, or this quiz.
• From the next page, start writing your answers in the space provided for each question.
If you are using a separate document (e.g. MS Word doc) to write your answers:
• Start your answers document with your Name, your Student ID number, and your Username.
• Following your details, insert the following statement.
From the start of this quiz until 11:59pm 8 April 2022, I confirm that I will not discuss the content
of the quiz with anyone else. I will not give any assistance to another student taking this quiz. I will
not receive any assistance from any person or tutoring service. I will not copy my answer from any
source other than my own notes, course material, or this quiz.
• Following the statement, write your answers to the questions, clearly identifying the question to
which the answer applies. The most appropriate way of identifying each question is to write the
question number of each question or sub-question carefully before beginning to answer it.
CONTINUED