0% found this document useful (0 votes)
20 views4 pages

Practical Exam Term One

The document provides pseudocode and a flowchart to help create a program that will assist a Year 9 student choose their subject options. The program allows the student to select subjects they enjoy from a list and then choose 3 subjects they are best at to determine their recommended subject options.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views4 pages

Practical Exam Term One

The document provides pseudocode and a flowchart to help create a program that will assist a Year 9 student choose their subject options. The program allows the student to select subjects they enjoy from a list and then choose 3 subjects they are best at to determine their recommended subject options.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Practical Exam Term One

Task 1 : Write down the Pseudocode to create a program to help a Year 9 student to make a choice
among three options. Option one includes Biology , Physics , Chemistry , Mathematics and ICT.
Option two includes Biology , Art & Design , Accounting , Mathematics and ICT. Option three
includes Accounting , Business Studies , Economics , Environmental Management and ICT.

START

ARRAY Subjects = ‘Math’ , ‘Biology’ , ‘Economics’ , ‘ICT’ , ‘Accounting’ , Chemistry’ , ‘Physics’ , ‘Art &
Design’ , ‘Business Studies’ , ‘Environmental Management’

ARRAY Enjoy

ARRAY Chosen

OUTPUT “Welcome to this subject choice chatbot”

name=INPUT capitalized “Please enter your name”

OUTPUT name “I am going to help you choose an option to continue studying”

OUTPUT “First , I would like you to select 5 subjects from the following list : ”

For i=0 to length of ARRAY Subjects

OUTPUT i+1 , ARRAY Subjects [i]

ENDFOR

For i=0-4

choice1= INPUT “Enter the number of a subject you enjoy: ”

IF choice1 >= 1 and choice1 <= length of ARRAY subjects THEN

append subjects[choice1 – 1] to ARRAY enjoy

ELSE

OUTPUT “That was not a valid choice”

ENDIF

OUTPUT “----------”

OUTPUT “Now , I would like you to select three subjects that you are best at”

OUTPUT : “Here are the subjects that you enjoy : ”

FOR i=0 to length of ARRAY enjoy

OUTPUT i+1, ARRAY enjoy [i]


ENDFOR

FOR i=0 to 2

choice2=INPUT “Enter the number of a subject you are good at: ”

IF choice2>= 1 and choice2 <= length of ARRAY enjoy THEN

append enjoy [choice2-1] to ARRAY chosen

ELSE

OUTPUT “That was not a valid choice”

ENDIF

OUTPUT name “You should consider studying the following subjects next year : ”

FOR item in chosen

OUTPUT item

ENDFOR

STOP
Task 2 : Write down the Flowchart to create a program to help a Year 9 student to make a choice
among three options. Option one includes Biology , Physics , Chemistry , Mathematics and ICT.
Option two includes Biology , Art & Design , Accounting , Mathematics and ICT. Option three
includes Accounting , Business Studies , Economics , Environmental Management and ICT.

START

ARRAY Subjects= “Math”,


“Biology”, “Economics” , “ICT”,
“Accounting”, “Chemistry” ,
“Physics” , “Art &
Design” ,“Business Studies” ,
“Environmental Management”

ARRAY Enjoy

ARRAY Chosen

OUTPUT
“Welcome to
this subject
choice chatbot”

name=INPUT
capitalized
“Please enter
your name”
OUTPUT name “I
am going to help
you choose an
option to
continue
studying”

i = 0-4

OUTPUT “First , I
would like you to
select 5 subjects choice1=INPUT
from the “Enter the
following list” number of a
subject you
enjoy”

i=0

IF choice1 >=1
and choice 1 <= OUTPUT “That
length of was not a valid
OUTPUT i+1 ,
ARRAY subjects choice”
ARRAY Subjects
[i]

OUTPUT
“Append
subjects
[choice1-1] to
ARRAY enjoy

OUTPUT “You
should consider
studying the
following subjects
next year”

STOP

You might also like