Introduction to Problem Solving Exam 2023
13 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

A woman invests ¥200 at the beginning of each year for two years in a fixed income bond that pays interest of 8 per cent per annum.

False (B)

The pseudocode algorithm will print 'PERFECT' if the weight is less than 180.0 and the year is any year other than 1990.

False (B)

The final value of the investment after three years in the fixed income bond described in the algorithm depends on the interest being compounded annually.

True (A)

The algorithm provided for the investment calculates the total value at the end of each year immediately after adding the yearly investment.

<p>False (B)</p> Signup and view all the answers

A flowchart can be used to visually represent the logic of the pseudocode provided.

<p>True (A)</p> Signup and view all the answers

The PAYMENTS array contains five elements.

<p>False (B)</p> Signup and view all the answers

Students must answer three questions from Section A of the examination paper.

<p>False (B)</p> Signup and view all the answers

Algorithms are not considered important in problem solving.

<p>False (B)</p> Signup and view all the answers

The highest payment in the PAYMENTS array is 80.00.

<p>True (A)</p> Signup and view all the answers

Students are allowed to bring a programmable calculator to their desks during the exam.

<p>False (B)</p> Signup and view all the answers

The examination permit is not required for students to bring to their desks.

<p>False (B)</p> Signup and view all the answers

The examination paper consists of 4 sections.

<p>False (B)</p> Signup and view all the answers

Continuous data can be differentiated from discrete data using examples.

<p>True (A)</p> Signup and view all the answers

Flashcards

Problem Statement

A clear and concise description of a problem, outlining its scope, impact, and desired outcome. It includes details about the problem's background, relevant factors, and what a satisfactory resolution should achieve.

Algorithm Representation

A method of expressing a step-by-step procedure to solve a problem, allowing the computer to execute steps systematically.

Compound Interest

Calculating interest not only on the principal amount but also on the accumulated interest from previous periods.

Pseudocode

An informal way of describing an algorithm using a combination of natural language and programming-like constructs. It's easier to understand than full code.

Signup and view all the flashcards

Flowchart

Graphical representation of a program's or algorithm's steps using shapes and arrows to illustrate the order of execution and decision points.

Signup and view all the flashcards

Data Type for Payments

Floating-point numbers (e.g., 60.36, 80.00) are suitable for storing monetary values.

Signup and view all the flashcards

Highest Payment Location

To find the highest payment, locate the index (position) of the largest value in the array.

Signup and view all the flashcards

Array Declaration (Pascal)

Declaring an array in Pascal involves specifying the data type, array name, and size (number of elements).

Signup and view all the flashcards

Algorithm Feature (Good Algorithm)

A good algorithm is characterized by properties such as clarity, efficiency, and correctness.

Signup and view all the flashcards

Continuous vs. Discrete Data

Continuous data can take on any value within a range, while discrete data is limited to specific values (e.g., whole numbers).

Signup and view all the flashcards

Variables for Student Grade Program

Variables for a program storing student name, grade, and associated letter grade need data types suited for text (name) and numbers (grade).

Signup and view all the flashcards

Loop Variable in Pascal Array

A loop variable acts as an index to access elements of an array, typically represented by a counter.

Signup and view all the flashcards

Variables for Sum of Two Numbers program

Variables for calculating the sum of two numbers need data types to store the numbers.

Signup and view all the flashcards

Study Notes

Introduction to Problem Solving and Computing - December 2023 Exam

  • Course Details: Introduction to Problem Solving and Computing
  • Date: December 2023
  • Duration: 2 hours
  • Number of Students: 60
  • Semester: II (Summer Session or Supplemental)
  • Examination Year: 2023
  • Materials required:
    • Answer Booklet (Normal)
    • Calculator (if applicable)
    • Multiple Choice Answer Sheets (number unspecified)
    • Auxiliary/Other materials (specify)
  • Permitted Items: Pens, Pencils, Eraser, Ruler, Geometry Set, Non-programmable Calculator, ID Card, Examination Permit
  • Exam Structure:
    • Section A (30 marks): 3 short answer questions
    • Section B (15 marks): 1 short answer question
    • Total Questions: 4 (Answer all questions)

Question 1: Assessing Payments Array

  • Question Description: Assess an array named PAYMENTS (containing numerical payments)
  • Specific Tasks:
    • Identify the location of the highest payment.
    • Write Pascal code to declare the PAYMENTS array.
    • State the appropriate data type for the payment data (e.g., real/float).
    • Write Pascal code to calculate and output total payments.
    • Describe the role of a loop variable in relation to arrays in Pascal (example).

Question 2: Algorithms

  • Question Description: Explore the concept of algorithms
  • Specific Tasks:
    • Define 4 key features of a good algorithm.
    • Differentiate between continuous and discrete data using examples.
    • Describe suitable data types for storing student names, grades, and associated letter grades in a program.
    • Declare variables suitable for calculating the sum of two numbers.

Question 3: Pseudocode Algorithm

  • Question Description: Analyze a pseudocode algorithm for weight and year conditions (e.g., "IF (WEIGHT < 180.0) AND (YEAR=1990)") and related flowchart creation and algorithm tracing.
  • Specific Tasks:
    • Create the matching flowchart for a given pseudocode.
    • Trace a given algorithm for investment calculations (calculating total investment over three years with interest.)
    • Explain how the investment calculation algorithm can be modified to show investment values year-by-year after applying interest.

Section B: Problem Statement and Algorithm Identification

  • Question Description: Addresses the importance of problem statements and algorithm representation
  • Specific Tasks:
  • Create a problem statement outlining the essential characteristics of a problem.
    • Identify and discuss three problem-solving techniques.
    • State one way to represent an algorithm for a given solution.
  • Note: Standard Jamaican English is expected in responses.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Description

Prepare for the December 2023 exam in Introduction to Problem Solving and Computing. This exam consists of two sections, focusing on short answer questions designed to test your understanding of computing concepts, including array assessments. Ensure you have the permitted items ready for a successful exam experience.

More Like This

Use Quizgecko on...
Browser
Browser