You are on page 1of 13

SPECIFICATION OF SUMMATIVE ASSESSMENT FOR TERM

1
Review of summative assessment for term 1

Duration of the summative assessment – 80 minutes


Total marks - 40

Type of tasks:
Short answers (SA) – tasks, that require a short answer;
Long answers (LA) – tasks, which require a detailed response.

The structure of the summative assessment

This option consists of 20 tasks, including tasks with brief and detailed answers.

In questions requiring a short answer, the student writes down the answer in the form of a numerical
value, a word or a short sentence.

In questions requiring a detailed answer, the trainee must show the entire sequence of actions in
solving tasks to obtain the maximum score. A task can contain several structural parts / sub-
questions.

1
Characteristic of tasks for summative assessment for the 1 term
Unit Topic Learning objective Level of Total Question Type of Time* Total Mark
thinking skills number №* question marks* for
of tasks* * Units
12.1А Artificial 12.4.3.1 describe spheres where
Artificial intelligence artificial intelligence is applied: Knowledge and
2 1, 2 SA, LA 8 4
intelligen industry, education, medicine, gaming comprehension
ce industry, society 8
Virtual and 12.4.3.2 explain the purpose of virtual
Knowledge and
augmented reality and augmented reality 2 3, 4 SA, LA 8 4
comprehension
12.1В Declarative and 12.5.1.1 compare declarative and
Program imperative imperative programming languages Higher order
2 5, 6, SA, LA 8 4
ming programming thinking skills
paradigm languages
s Expert systems Higher order 7, 8, 9,
12.5.1.2 create a simple expert system 4 SA, LA 18 9
thinking skills 10
Programme 17
12.5.1.3 describe program compilation
compilation stages Knowledge and
stages: lexical and syntactic analysis, 2 11, 12 SA, LA 8 4
comprehension
code generation and optimization
12.1С Types of test data 12.5.3.2 perform testing using normal Higher order
2 13, 14 SA, LA 6 3
System data thinking skills
testing 12.5.3.3 perform testing using extreme Higher order
data thinking skills 2 15, 16 SA, LA 6 3
Types of errors 12.5.3.4 perform testing using Higher order
erroneous data thinking skills 2 17, 18 SA, LA 6 3 15
12.5.3.5 describe a syntax error in a Higher order
1 19 SA, LA 6 3
program code thinking skills
12.5.3.6 describe a logic error in a Higher order
program code thinking skills 1 20 SA, LA 6 3
Total: 20 80 40 40

2
3
Sample questions and marking scheme
Tasks for the Summative Assessment for the 1 term.

1. Explain the term «Artificial Intelligence».


Artificial intelligence (AI) is an area of computer science that emphasizes the creation of intelligent
machines that work and react like humans

[2]

2. Discuss about pros and cons outcomes of application AI for application area «Medicine».
+ -
Ability to analyse data and improve The robots are coming! In the past, it was often
diagnosis. joked that robots would take over the world and steal
Whether it’s wearable technologies that our jobs, but AI and automation do actually pose a
very real threat to a lot of sectors. Healthcare is no
help monitor a patient’s health or different, where the introduction of AI could mean
digital consultations that can be done that a lot of administrative roles are made redundant.
on a smart device, AI is a great way of AI systems can be vulnerable to security risks, which
improving the way medical poses a massive problem to the healthcare industry,
professionals record and analyse data as patient data needs to be kept confidential.

[2]

3. Give 2 characteristics of augmented reality.

1. It superimposes virtual elements on real images.


2. Augmented Reality allows images to be projected using portable devices such as
smartphones or tablets, and AR glasses.

[2]

4. Indicate the scope for using augmented reality. Give an example.

AR can be used in marketing. AR allows customers to virtually try on products before


buying, giving them a better idea of how the product will look on them and fit them.
Application “Ikea Place” provides to user the virtual image of their building materials.

[2]

5. Briefly explain the difference between declarative and imperative languages.


Imperative programming refers to a programming paradigm where we provide the
computer with step-by-step instructions on how to perform a particular task. By
contrast, declarative programming involves specifying what result we're expecting
from our code.

4
5
[2]

6. Write one example of imperative programming language and one example of


declarative programming language.
Imperative language: C++
Declarative language: Prolog

[2]

7. List the 3 characteristics of Expert Systems


They have high-performance levels
They are easy to understand
They are completely reliable

[3]

8. Describe the difference between Artificial Intelligence and Expert systems.

Expert systems represent the most successful demonstration of the capabilities of AI.
[1]

9. A simple logic processing language is used to represent, as a set of facts and rules, the valid
construction of sentences. The set of facts and rules are shown below in clauses labelled 1 to
13.
1. determiner (the).
2. adjective (big).
3. adjective (little).
4. verb (is).
5. verb (climbs).
6. noun (thomas).
7. noun (hill).
8. noun_phrase(X) :- noun(X).
9. noun_phrase(X,Y) :- determiner(X) , noun(Y).
10. noun_phrase(X,Y,Z) :- determiner(X) , adjective(Y) , noun(Z).
11. sentence (A,B,C) :- noun_phrase(A) , verb(B) , noun_phrase(C).
12. sentence (A,B,C,D,E) :- noun_phrase(A) , verb(B) , noun_phrase(C,D,E).
13. sentence (A,B,C,D,E) :- noun_phrase(A,B,C) , verb(D) , noun_phrase(E).

Clause 1 has the meaning ‘the is a determiner’.


Clause 9 has the meaning ‘X followed by Y is a noun_phrase if X is a determiner and Y is a noun’.
Using the given set of facts and rules (1–13) above, give one example of

(a) a fact: determiner(the) [1]

6
(b) Using the given set of facts and rules (1–13) above, state whether or not the following
sentences are valid.

dias climbs the little hill: valid


the little hill climbs dias: valid [2]

10. There is an expert system structure. Fill in the gaps where the numbers are indicated.

1 User interface
2 Knowledge engineer [2]

11. Describe the term «Lexicon» in computer programming.


A lexicon is a set of terms, called ‘keywords’ or ‘reserved words’ that the compiler is
designed to understand.
Compilers for each language will have different lexicons, containing the keywords used
by that language.

[2]

12. Explain the stage of compilation «Syntax analysis».

Syntax analysis is the second phase of compilation process. It takes tokens as input
and generates a parse tree as output. In syntax analysis phase, the parser checks that
the expression made by the tokens is syntactically correct or not.

[2]

13. A programmer has been asked to write a routine which will calculate a person’s age in years
from the date of birth supplied as a parameter to the routine and today’s date, taken from the
system. The date of birth is supplied in the format dd/mm/yyyy and has already been checked by
the system to be a valid date before it is passed to the routine. No person is expected to be over 120
years old. Suggest suitable values for each of the types of test data, normal, boundary and
7
erroneous, and explain why you have chosen these values.
(a) two values of normal data:
(i) 20.09.2006 (ii) 15.08.2006 [2]
14. Explain the term «Normal data”

Normal (typical) data – things that a user is likely to input into


the program

8
15. Explain the term «Extreme data».

Boundary (extreme) data – values at the limit of what the program should be able to
handle

[1
16. Give an example of extreme data for checking the age of people. Justify answer
0 can be the example of checking the age of people. Because newborn will be 0
aged. But -1 for example cant be the age. So it will be erroneous data

[2]

17. Give an example of erroneous data for checking the age of people.

-6 [1]

18. Explain the term «Erroneous data».


Test input data that lies outside of the system's expected range (incorrect data)
[2]

19. Define the term "Syntax error". Give an example.


A syntax error occurs when the code was written in violation of grammatical rules. Syntax errors are
small grammatical mistakes, sometimes limited to a single character.
Prnt(“Hello world!”)

[3]

20. A programmer has created an algorithm to reset the contents of an array with ten items back
to zero. This is the algorithm but it contains a logical error.

9
State why the algorithm above contains a logic error.

i=1
REPEAT
Array(i) = 0
i=i+1
UNTIL i = 10

[3]

10
Answer
Question Answer Max Additional
№ mark information
1 Artificial Intelligence is a field of computer science MAX=2
wherein the cognitive functions of the human brain are
studied and tried to be replicated on a machine/system.
Artificial Intelligence is today widely used for various
applications like computer vision, speech recognition,
decision-making, perception, reasoning, cognitive
capabilities, and so on
2 Answer: MAX=2 for each
+ - correct
The phrase “human error” There is little doubt that answer is
was born because humans, artificial intelligence will awarded 1
naturally, make mistakes displace many low-skilled point
from time to time. jobs. Arguably, robots have
Computers however, do already taken many jobs on
not make these mistakes – the assembly line – but now
that is, of course, this could extend to new
assuming they are levels. Take, for example,
programmed properly. the concept of driverless
With artificial cars, which could displace
intelligence, data could be the need to have millions of
processed error free, no human drivers, from taxi
matter how big the dataset drivers to chauffeurs, very
might be quickly. Of course some
would argue that artificial
intelligence will create more
wealth than it destroys – but
there is genuine risk that
this will not be distributed
evenly, particularly during
its early expansion.

3 Answer: 2 for each


1. combines virtual and real; correct
2. interacts in real time; answer is
3. Works in 3D. MAX=2 awarded 1
point
4 Answer: MAX=2 for correct
For example, education. Example: using textbooks with answer is
elements of augmented reality: animated graphic elements, awarded 1
etc. point
For example, medicine. Example: vein search, etc.

5 Answer: MAX=2 for correct


A declarative language consists of statements of facts. answer is
These facts can be consulted using questions to be used to awarded 1
query those facts. point
11
An imperative language consists of statements which cause
actions to happen/ give commands for the computer to
perform. For example, in

6 Imperative programming language – Pascal MAX=2 Any correct


Declarative programming language – Prolog answer

7 Answer: MAX=3 for each


correct
High performance answer is
Understandable awarded 1
Reliable point
Highly responsive

8 Answer: 1 for correct


AI imitates human thinking and behavior. AI can learn, answer is
working without complete information, analyze nonlinear awarded 1
information. point

9 (a) Any from clauses 1 - 7 1 for each


answer is
awarded 1
point
9(b) Valid MAX=2 for each
correct
Valid answer is
awarded 1
point

10 Answer: MAX=2 for each


Answer: 1) User interface 2) Knowledge engineer correct
answer is
awarded 1
point

11 A lexicon is a set of terms, called ‘keywords’ or ‘reserved MAX=2 for each


words’ that the compiler is designed to understand. correct
Compilers for each language will have different answer is
lexicons, containing the keywords used by that language. awarded 1
point
12 Any comments that are marked using comment symbols are MAX=2 for each
ignored by the compiler. correct
So are removed during lexical analysis. answer is
awarded 1
point
13 Answer MAX=2

12
14 Normal data is the data that is expected to be entered into MAX=1 for correct
the application. It is data that will ‘normally’ be used. answer is
awarded 1
point

15 This is data that is at the boundaries of what the program MAX=1 for correct
expects to be entered. answer is
awarded 1
point

16 1 mark for example MAX=2


1 mark for justify
17 ANSWER: for example: -90, 120 MAX=1 for correct
answer is
awarded 1
point
18 This is data that will not be accepted by the program. MAX=2 for each
correct
Either it is the wrong data type, it contains characters that answer is
are not allowed or the value falls outside the accepted awarded 1
parameters of the program. point
19 ANSWER MAX=3 for each
A syntax error is an error in the source code of a program. correct
Since computer programs must follow strict syntax to answer is
awarded 1
compile correctly, any aspects of the code that do not
point
conform to the syntax of the programming language will
produce a syntax error. Syntax errors are small
grammatical mistakes, sometimes limited to a single
character.

For example, a missing semicolon at the end of a line or an


extra bracket at the end of a function may produce a syntax
error.
20 ANSWER MAX=3 for each
correct
It will only reset the first 9 elements / will not reset the 10th answer is
element After setting Array(9) = 0, i will become10... ... awarded 1
and the loop will stop It should be UNTIL i > 10 / or other point
working correction
TOTAL 40

13

You might also like