SlideShare uma empresa Scribd logo
1 de 5
Baixar para ler offline
Hillcrest Christian College
Senior Information Processing and Technology
SEMESTER 1 2013
NAME: DATE: 14/06/13
ASSESSMENT ITEM NO 2 (Yr 11), 8 (Yr 12)
TYPE OF ASSESSMENT Formative (Yr 11), Summative (Yr 12)
ASSESSMENT TECHNIQUE Supervised Practical Exam
ASSESSMENT CONDITIONS Open Book
50 minutes (5 minutes perusal)
Questions to be answered on paper provided
TOPIC/S ASSESSED
Algorithms theory and Design (1), Software
Programming (1)
CRITERIA ASSESSED Knowledge & Application, Analysis & Synthesis,
Evaluation & Communication
TEACHER Mr Miles
INSTRUCTIONS
1. Read the questions carefully. Unless stated otherwise, Students are to show full setting out of all answers, using correct spelling, and
clear explanations and/or diagrams. This will contribute to reasoning as you will be graded on your use of communication and
justification in this subject.
2. Answer all questions fully on your exam paper, and in the Eclipse programming environment.
3. The space allocated for answers is appropriate for a full response. Use your own paper to redo a question if you make a mistake.
4. Calculators are permitted.
5. Please use black or blue biro.
SUMMARY OF RESULTS
DIMENSION RESULT
Knowledge & Application
Analysis & Synthesis
Evaluation & Communication
Knowledge & Application:
Grade K&A Descriptors
Standard D Standard C Standard B Standard A
E
reproduction of isolated information
technology facts
elements of set processes used
D
statements of [non-isolated] information
technology facts
elements of set processes to partially
solve simple, familiar problems
C
description of information technology
concepts, terminology, processes, and
principles
application of set processes to [fully]
solve simple or familiar problems
B
description and explanation of
information technology concepts,
terminology, processes, and principles
effective application of set processes to
solve simple and familiar problems
A
detailed description and explanation of
links between information technology
concepts, terminology, processes, and
principles
effective and consistent application of set
processes to solve simple and familiar
problems
Analysis & Synthesis
A&S Descriptors
Standard D Standard C Standard B Standard A
E
restated problems or situations
superficial elements of unrehearsed or
complex problems
D
identification and classification of problems
or situations
designed or developed elements of
solutions for unrehearsed or complex
problems
C
analysis of problems and situations
designed and developed partial solutions for
unrehearsed or complex problems
B
interpretation and analysis of problems and
situations
designed and developed [full] solutions for
unrehearsed or complex problems
A
detailed interpretation and analysis of
problems and situations from multiple
perspectives
designed and developed effective solutions to
unrehearsed or complex problems
Evaluation & Communication:
A
comprehensive testing of processes and solutions, application of self-determined and prescribed criteria, reasoning and evidence to draw
conclusions and make supported recommendations
comprehensive construction of documentation and fluent presentation of information using suitable communication conventions to convey
meaning appropriate to the context
B
testing of processes and solutions, application of prescribed criteria, reasoning and evidence to draw conclusions and make supported
recommendations
effective construction of documentation and presentation of information using suitable communication conventions to convey meaning
appropriate to the context
C
[full] testing of processes or solutions, application of prescribed criteria, reasoning or evidence to draw conclusions and make
recommendations
construction of documentation and presentation of information using [some] communication conventions to convey meaning
D
elements of testing of processes or solutions to draw inferences
presentation of information using elements of communication conventions
E
elements of testing & presentation of information
Practical Exam
Open the file PracExam.java in Eclipse and attach the standard User library “Genesis”. This
project contains the following (incomplete) code for the class AverageOrderLocate:
import genesis.*;
public class AverageOrderLocate {
public static void main (String [] args) {
int guess = ; //requests a number from the user to search for presence in array
int [] data = {5, 12, -34, 78, -92, 10};
double average = averageOfPositives(data);
Transcript.println(“The average of positive numbers is ” + average);
orderDescending(data);
}
public static double averageOfPositives (int [] intArray) {
// ...
// complete the code for this method (Q1(a))
// ...
}
public static void orderDescending (int [] intArray){
// ...
// complete the code for this method (Q1(b))
// ...
}
public static void locateGuess (int [] intArray, int target){
// ...
// complete the code for this method (Q1(c))
// ...
}
}
You are required to…
1. Create a complete Class Chart for the program.
2. Write a logically complete Pseudocode for the empty methods (syntax is not a major
concern).
3. Complete the methods using fully syntactically and logically correct Java code.
4. Comment major components of your code requiring explanation.
Please Remember…
• The skeleton code provided, does not have a complete main method.
THERE ARE COMPONENTS OTHER THAN THE EMPTY METHODS YOU
MUST CONSIDER TO CODE SO THE PROGRAM RUNS AS INTENDED.
Your Task…
Question 1(a)
Complete the code for the method averageOfPositives. This method has one parameter
denoting an array of integers. It returns the average of the positive integers (i.e. those integers
greater than 0) in the array, which is then printed out with the outlined formatting in the main
method. If there are no positive integers in the array, the method returns 0.
Question 1(b)
Complete the code for the method orderDescending. This method has one parameter, the
same array of integers as in the first method. It takes the contents of this array, and prints the
elements in descending order (Hint: Create a second array to do this).
Question 1(c)
Complete the code for the method locateGuess. This method has two parameters, the same
array of integers as in both previous methods (however, since 1b it will now be in descending
order), as well as a guess number (integer). It allows the user to continually guess if a
particular integer exists in the now ordered (descending) array, and each time searches the
contents of this array for the number guessed by the user. If it is not found at first, then it
prompts the user for a new guess number. This process continues until the user guesses a
number which actually exists in the array. When found, it prints the position in the ordered
(descending) array where the guessed integer exists using the following format:
i.e.
“Your guessed number of 12, exists at position 1 in the array”
Considering a fully correct solution, once the program has compiled and is executed, the
output to the Transcript window at run-time should look as follows:
The average of positive numbers is 26.25
78, 12, 10, 5, -34, -92
Your guessed number of 10, exists at position 3 in the array
[for example]

Mais conteúdo relacionado

Mais procurados

Lecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyLecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyMarina Santini
 
Higher solutions 2016 18
Higher solutions 2016   18Higher solutions 2016   18
Higher solutions 2016 18sjamaths
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachinePulse
 
Tweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVMTweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVMTrilok Sharma
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learningTonmoy Bhagawati
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.butest
 
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & EvaluationLecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & EvaluationMarina Santini
 
Text Classification, Sentiment Analysis, and Opinion Mining
Text Classification, Sentiment Analysis, and Opinion MiningText Classification, Sentiment Analysis, and Opinion Mining
Text Classification, Sentiment Analysis, and Opinion MiningFabrizio Sebastiani
 
Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Usama Fayyaz
 
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai UniversityMadhav Mishra
 
Lecture 8: Machine Learning in Practice (1)
Lecture 8: Machine Learning in Practice (1) Lecture 8: Machine Learning in Practice (1)
Lecture 8: Machine Learning in Practice (1) Marina Santini
 
Machine Learning 1 - Introduction
Machine Learning 1 - IntroductionMachine Learning 1 - Introduction
Machine Learning 1 - Introductionbutest
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsMd. Main Uddin Rony
 

Mais procurados (18)

Ai inductive bias and knowledge
Ai inductive bias and knowledgeAi inductive bias and knowledge
Ai inductive bias and knowledge
 
Syllabus ms
Syllabus msSyllabus ms
Syllabus ms
 
Lecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyLecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language Technology
 
Machine Learning
Machine Learning Machine Learning
Machine Learning
 
Higher solutions 2016 18
Higher solutions 2016   18Higher solutions 2016   18
Higher solutions 2016 18
 
Housing price prediction
Housing price predictionHousing price prediction
Housing price prediction
 
Assign1
Assign1Assign1
Assign1
 
Machine Learning and Real-World Applications
Machine Learning and Real-World ApplicationsMachine Learning and Real-World Applications
Machine Learning and Real-World Applications
 
Tweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVMTweets Classification using Naive Bayes and SVM
Tweets Classification using Naive Bayes and SVM
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
 
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & EvaluationLecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
Lecture 3: Basic Concepts of Machine Learning - Induction & Evaluation
 
Text Classification, Sentiment Analysis, and Opinion Mining
Text Classification, Sentiment Analysis, and Opinion MiningText Classification, Sentiment Analysis, and Opinion Mining
Text Classification, Sentiment Analysis, and Opinion Mining
 
Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning Supervised learning and Unsupervised learning
Supervised learning and Unsupervised learning
 
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai UniversityMachine Learning Unit 3 Semester 3  MSc IT Part 2 Mumbai University
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
 
Lecture 8: Machine Learning in Practice (1)
Lecture 8: Machine Learning in Practice (1) Lecture 8: Machine Learning in Practice (1)
Lecture 8: Machine Learning in Practice (1)
 
Machine Learning 1 - Introduction
Machine Learning 1 - IntroductionMachine Learning 1 - Introduction
Machine Learning 1 - Introduction
 
Classification Based Machine Learning Algorithms
Classification Based Machine Learning AlgorithmsClassification Based Machine Learning Algorithms
Classification Based Machine Learning Algorithms
 

Destaque

Notes1
Notes1Notes1
Notes1hccit
 
Jg chap5
Jg chap5Jg chap5
Jg chap5hccit
 
Filming schedule 2013
Filming  schedule 2013Filming  schedule 2013
Filming schedule 2013hccit
 
Jg chap2
Jg chap2Jg chap2
Jg chap2hccit
 
Major proj term3
Major proj term3Major proj term3
Major proj term3hccit
 
Dont feartheoop
Dont feartheoopDont feartheoop
Dont feartheoophccit
 
Section b
Section bSection b
Section bhccit
 

Destaque (7)

Notes1
Notes1Notes1
Notes1
 
Jg chap5
Jg chap5Jg chap5
Jg chap5
 
Filming schedule 2013
Filming  schedule 2013Filming  schedule 2013
Filming schedule 2013
 
Jg chap2
Jg chap2Jg chap2
Jg chap2
 
Major proj term3
Major proj term3Major proj term3
Major proj term3
 
Dont feartheoop
Dont feartheoopDont feartheoop
Dont feartheoop
 
Section b
Section bSection b
Section b
 

Semelhante a Sample prac exam2013

EE-232-LEC-01 Data_structures.pptx
EE-232-LEC-01 Data_structures.pptxEE-232-LEC-01 Data_structures.pptx
EE-232-LEC-01 Data_structures.pptxiamultapromax
 
Basic Deep Learning.pptx
Basic Deep Learning.pptxBasic Deep Learning.pptx
Basic Deep Learning.pptxmabog44
 
Machine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptxMachine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptxVenkateswaraBabuRavi
 
Data structures cs301 power point slides lecture 01
Data structures   cs301 power point slides lecture 01Data structures   cs301 power point slides lecture 01
Data structures cs301 power point slides lecture 01shaziabibi5
 
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...acijjournal
 
Naver learning to rank question answer pairs using hrde-ltc
Naver learning to rank question answer pairs using hrde-ltcNaver learning to rank question answer pairs using hrde-ltc
Naver learning to rank question answer pairs using hrde-ltcNAVER Engineering
 
DIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docx
DIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docxDIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docx
DIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docxlynettearnold46882
 
Java method present by showrov ahamed
Java method present by showrov ahamedJava method present by showrov ahamed
Java method present by showrov ahamedMd Showrov Ahmed
 
Parallel and distributed genetic algorithm with multiple objectives to impro...
Parallel and distributed genetic algorithm  with multiple objectives to impro...Parallel and distributed genetic algorithm  with multiple objectives to impro...
Parallel and distributed genetic algorithm with multiple objectives to impro...khalil IBRAHIM
 
Data structure and algorithm.
Data structure and algorithm. Data structure and algorithm.
Data structure and algorithm. Abdul salam
 
Implementing Data Structures and Algorithms
Implementing Data Structures and AlgorithmsImplementing Data Structures and Algorithms
Implementing Data Structures and AlgorithmsIoan Tuns
 
Software Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled DatasetsSoftware Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled DatasetsSung Kim
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docxrosemarybdodson23141
 
Abdm4064 week 11 data analysis
Abdm4064 week 11 data analysisAbdm4064 week 11 data analysis
Abdm4064 week 11 data analysisStephen Ong
 

Semelhante a Sample prac exam2013 (20)

EE-232-LEC-01 Data_structures.pptx
EE-232-LEC-01 Data_structures.pptxEE-232-LEC-01 Data_structures.pptx
EE-232-LEC-01 Data_structures.pptx
 
Basic Deep Learning.pptx
Basic Deep Learning.pptxBasic Deep Learning.pptx
Basic Deep Learning.pptx
 
Machine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptxMachine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptx
 
Data structures cs301 power point slides lecture 01
Data structures   cs301 power point slides lecture 01Data structures   cs301 power point slides lecture 01
Data structures cs301 power point slides lecture 01
 
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
AUTOCODECOVERGEN: PROTOTYPE OF DATA DRIVEN UNIT TEST GENRATION TOOL THAT GUAR...
 
Naver learning to rank question answer pairs using hrde-ltc
Naver learning to rank question answer pairs using hrde-ltcNaver learning to rank question answer pairs using hrde-ltc
Naver learning to rank question answer pairs using hrde-ltc
 
DIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docx
DIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docxDIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docx
DIRECTIONS READ THE FOLLOWING STUDENT POST AND RESPOND EVALUATE I.docx
 
Java method present by showrov ahamed
Java method present by showrov ahamedJava method present by showrov ahamed
Java method present by showrov ahamed
 
Dataanalysis
DataanalysisDataanalysis
Dataanalysis
 
Parallel and distributed genetic algorithm with multiple objectives to impro...
Parallel and distributed genetic algorithm  with multiple objectives to impro...Parallel and distributed genetic algorithm  with multiple objectives to impro...
Parallel and distributed genetic algorithm with multiple objectives to impro...
 
Numerical data.
Numerical data.Numerical data.
Numerical data.
 
Data structure and algorithm.
Data structure and algorithm. Data structure and algorithm.
Data structure and algorithm.
 
Implementing Data Structures and Algorithms
Implementing Data Structures and AlgorithmsImplementing Data Structures and Algorithms
Implementing Data Structures and Algorithms
 
Software Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled DatasetsSoftware Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled Datasets
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
 
Data Structure Lec #1
Data Structure Lec #1Data Structure Lec #1
Data Structure Lec #1
 
chapter 1
chapter 1chapter 1
chapter 1
 
BDS_QA.pdf
BDS_QA.pdfBDS_QA.pdf
BDS_QA.pdf
 
My experiment
My experimentMy experiment
My experiment
 
Abdm4064 week 11 data analysis
Abdm4064 week 11 data analysisAbdm4064 week 11 data analysis
Abdm4064 week 11 data analysis
 

Mais de hccit

Snr ipt 10_syll
Snr ipt 10_syllSnr ipt 10_syll
Snr ipt 10_syllhccit
 
Snr ipt 10_guide
Snr ipt 10_guideSnr ipt 10_guide
Snr ipt 10_guidehccit
 
3 d modelling_task_sheet_2014_yr12
3 d modelling_task_sheet_2014_yr123 d modelling_task_sheet_2014_yr12
3 d modelling_task_sheet_2014_yr12hccit
 
3 d modelling_task_sheet_2014_yr11
3 d modelling_task_sheet_2014_yr113 d modelling_task_sheet_2014_yr11
3 d modelling_task_sheet_2014_yr11hccit
 
10 ict photoshop_proj_2014
10 ict photoshop_proj_201410 ict photoshop_proj_2014
10 ict photoshop_proj_2014hccit
 
Photoshop
PhotoshopPhotoshop
Photoshophccit
 
Flash
FlashFlash
Flashhccit
 
University partnerships programs email
University partnerships programs emailUniversity partnerships programs email
University partnerships programs emailhccit
 
Griffith sciences pathway programs overview
Griffith sciences pathway programs overviewGriffith sciences pathway programs overview
Griffith sciences pathway programs overviewhccit
 
Griffith info tech brochure
Griffith info tech brochureGriffith info tech brochure
Griffith info tech brochurehccit
 
Pm sql exercises
Pm sql exercisesPm sql exercises
Pm sql exerciseshccit
 
Repairs questions
Repairs questionsRepairs questions
Repairs questionshccit
 
Movies questions
Movies questionsMovies questions
Movies questionshccit
 
Australian birds questions
Australian birds questionsAustralian birds questions
Australian birds questionshccit
 
Section a
Section aSection a
Section ahccit
 
Ask manual rev5
Ask manual rev5Ask manual rev5
Ask manual rev5hccit
 
Case study report mj
Case study report mjCase study report mj
Case study report mjhccit
 
Mj example case_study_layout_intro_completedq
Mj example case_study_layout_intro_completedqMj example case_study_layout_intro_completedq
Mj example case_study_layout_intro_completedqhccit
 

Mais de hccit (20)

Snr ipt 10_syll
Snr ipt 10_syllSnr ipt 10_syll
Snr ipt 10_syll
 
Snr ipt 10_guide
Snr ipt 10_guideSnr ipt 10_guide
Snr ipt 10_guide
 
3 d modelling_task_sheet_2014_yr12
3 d modelling_task_sheet_2014_yr123 d modelling_task_sheet_2014_yr12
3 d modelling_task_sheet_2014_yr12
 
3 d modelling_task_sheet_2014_yr11
3 d modelling_task_sheet_2014_yr113 d modelling_task_sheet_2014_yr11
3 d modelling_task_sheet_2014_yr11
 
10 ict photoshop_proj_2014
10 ict photoshop_proj_201410 ict photoshop_proj_2014
10 ict photoshop_proj_2014
 
Photoshop
PhotoshopPhotoshop
Photoshop
 
Flash
FlashFlash
Flash
 
University partnerships programs email
University partnerships programs emailUniversity partnerships programs email
University partnerships programs email
 
Griffith sciences pathway programs overview
Griffith sciences pathway programs overviewGriffith sciences pathway programs overview
Griffith sciences pathway programs overview
 
Griffith info tech brochure
Griffith info tech brochureGriffith info tech brochure
Griffith info tech brochure
 
Pm sql exercises
Pm sql exercisesPm sql exercises
Pm sql exercises
 
Repairs questions
Repairs questionsRepairs questions
Repairs questions
 
Movies questions
Movies questionsMovies questions
Movies questions
 
Australian birds questions
Australian birds questionsAustralian birds questions
Australian birds questions
 
B
BB
B
 
A
AA
A
 
Section a
Section aSection a
Section a
 
Ask manual rev5
Ask manual rev5Ask manual rev5
Ask manual rev5
 
Case study report mj
Case study report mjCase study report mj
Case study report mj
 
Mj example case_study_layout_intro_completedq
Mj example case_study_layout_intro_completedqMj example case_study_layout_intro_completedq
Mj example case_study_layout_intro_completedq
 

Último

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Sample prac exam2013

  • 1. Hillcrest Christian College Senior Information Processing and Technology SEMESTER 1 2013 NAME: DATE: 14/06/13 ASSESSMENT ITEM NO 2 (Yr 11), 8 (Yr 12) TYPE OF ASSESSMENT Formative (Yr 11), Summative (Yr 12) ASSESSMENT TECHNIQUE Supervised Practical Exam ASSESSMENT CONDITIONS Open Book 50 minutes (5 minutes perusal) Questions to be answered on paper provided TOPIC/S ASSESSED Algorithms theory and Design (1), Software Programming (1) CRITERIA ASSESSED Knowledge & Application, Analysis & Synthesis, Evaluation & Communication TEACHER Mr Miles INSTRUCTIONS 1. Read the questions carefully. Unless stated otherwise, Students are to show full setting out of all answers, using correct spelling, and clear explanations and/or diagrams. This will contribute to reasoning as you will be graded on your use of communication and justification in this subject. 2. Answer all questions fully on your exam paper, and in the Eclipse programming environment. 3. The space allocated for answers is appropriate for a full response. Use your own paper to redo a question if you make a mistake. 4. Calculators are permitted. 5. Please use black or blue biro. SUMMARY OF RESULTS DIMENSION RESULT Knowledge & Application Analysis & Synthesis Evaluation & Communication
  • 2. Knowledge & Application: Grade K&A Descriptors Standard D Standard C Standard B Standard A E reproduction of isolated information technology facts elements of set processes used D statements of [non-isolated] information technology facts elements of set processes to partially solve simple, familiar problems C description of information technology concepts, terminology, processes, and principles application of set processes to [fully] solve simple or familiar problems B description and explanation of information technology concepts, terminology, processes, and principles effective application of set processes to solve simple and familiar problems A detailed description and explanation of links between information technology concepts, terminology, processes, and principles effective and consistent application of set processes to solve simple and familiar problems
  • 3. Analysis & Synthesis A&S Descriptors Standard D Standard C Standard B Standard A E restated problems or situations superficial elements of unrehearsed or complex problems D identification and classification of problems or situations designed or developed elements of solutions for unrehearsed or complex problems C analysis of problems and situations designed and developed partial solutions for unrehearsed or complex problems B interpretation and analysis of problems and situations designed and developed [full] solutions for unrehearsed or complex problems A detailed interpretation and analysis of problems and situations from multiple perspectives designed and developed effective solutions to unrehearsed or complex problems Evaluation & Communication: A comprehensive testing of processes and solutions, application of self-determined and prescribed criteria, reasoning and evidence to draw conclusions and make supported recommendations comprehensive construction of documentation and fluent presentation of information using suitable communication conventions to convey meaning appropriate to the context B testing of processes and solutions, application of prescribed criteria, reasoning and evidence to draw conclusions and make supported recommendations effective construction of documentation and presentation of information using suitable communication conventions to convey meaning appropriate to the context C [full] testing of processes or solutions, application of prescribed criteria, reasoning or evidence to draw conclusions and make recommendations construction of documentation and presentation of information using [some] communication conventions to convey meaning D elements of testing of processes or solutions to draw inferences presentation of information using elements of communication conventions E elements of testing & presentation of information
  • 4. Practical Exam Open the file PracExam.java in Eclipse and attach the standard User library “Genesis”. This project contains the following (incomplete) code for the class AverageOrderLocate: import genesis.*; public class AverageOrderLocate { public static void main (String [] args) { int guess = ; //requests a number from the user to search for presence in array int [] data = {5, 12, -34, 78, -92, 10}; double average = averageOfPositives(data); Transcript.println(“The average of positive numbers is ” + average); orderDescending(data); } public static double averageOfPositives (int [] intArray) { // ... // complete the code for this method (Q1(a)) // ... } public static void orderDescending (int [] intArray){ // ... // complete the code for this method (Q1(b)) // ... } public static void locateGuess (int [] intArray, int target){ // ... // complete the code for this method (Q1(c)) // ... } } You are required to… 1. Create a complete Class Chart for the program. 2. Write a logically complete Pseudocode for the empty methods (syntax is not a major concern). 3. Complete the methods using fully syntactically and logically correct Java code. 4. Comment major components of your code requiring explanation. Please Remember… • The skeleton code provided, does not have a complete main method. THERE ARE COMPONENTS OTHER THAN THE EMPTY METHODS YOU MUST CONSIDER TO CODE SO THE PROGRAM RUNS AS INTENDED. Your Task… Question 1(a)
  • 5. Complete the code for the method averageOfPositives. This method has one parameter denoting an array of integers. It returns the average of the positive integers (i.e. those integers greater than 0) in the array, which is then printed out with the outlined formatting in the main method. If there are no positive integers in the array, the method returns 0. Question 1(b) Complete the code for the method orderDescending. This method has one parameter, the same array of integers as in the first method. It takes the contents of this array, and prints the elements in descending order (Hint: Create a second array to do this). Question 1(c) Complete the code for the method locateGuess. This method has two parameters, the same array of integers as in both previous methods (however, since 1b it will now be in descending order), as well as a guess number (integer). It allows the user to continually guess if a particular integer exists in the now ordered (descending) array, and each time searches the contents of this array for the number guessed by the user. If it is not found at first, then it prompts the user for a new guess number. This process continues until the user guesses a number which actually exists in the array. When found, it prints the position in the ordered (descending) array where the guessed integer exists using the following format: i.e. “Your guessed number of 12, exists at position 1 in the array” Considering a fully correct solution, once the program has compiled and is executed, the output to the Transcript window at run-time should look as follows: The average of positive numbers is 26.25 78, 12, 10, 5, -34, -92 Your guessed number of 10, exists at position 3 in the array [for example]