চর্চাচর্চা
রেজিস্ট্রেশন
Chorcha
01605-002711
[email protected]
Moho, House No- 568, Road 1/A, Rajshahi 6207

Features

Mock Exam
Question Bank

Streams

SSC Science
HSC Science
HSC Arts
HSC Commerce
BCS/Job

Company

About
OurSchool
Affiliates
Help
FAQ

Legal

Terms & Conditions
Privacy Policy
Refund Policy
E-TIN NUMBER: 371617991290
Trade licence No: 03/B - 2673
Get it on Google PlayDownload on the app store

© 2026 Chorcha Tech Ltd. All rights reserved.

Institution management for schools — ourschool.io

Arrays

1. An exam paper has a maximum of 75 marks. One of five pass grades (A to E) is assigned, depending on the mark obtained. The lowest mark for a given grade is known as the grade boundary. For example, if the grade boundary for an A grade is 65 marks, then any candidate who achieves a mark of 65 or above will be awarded an A. A grade of U is awarded for marks below the E grade boundary.

The five grade boundaries are stored in a global 1D array GradeBoundary of type integer.

For example:

Element

Value

Comment

GradeBoundary[1]

65

The minimum mark for an A grade.

GradeBoundary[2]

57

The minimum mark for a B grade.

GradeBoundary[3]

43

The minimum mark for a C grade.

GradeBoundary[4]

35

The minimum mark for a D grade.

GradeBoundary[5]

27

The minimum mark for an E grade.

A global 2D array Result of type integer contains candidate marks for the exam. Each row relates to one candidate. Column 1 contains the candidate mark and column 2 contains the unique candidate ID.

For example, for the fourth and fifth candidates:

Element

Mark

Result[4, 1]

56

Result[5, 1]

54

Element

ID

Result[4, 2]

1074832

Result[5, 2]

2573839

There are more rows in the array than candidates who sit the exam. Any unused rows will be at the end of the array.

Candidate papers that are given a mark within two marks of any grade boundary must be checked.

For example, given the values in the example grade boundaries above, any paper that was awarded between 41 and 45 marks (inclusive) would need to be checked.

A program is being written to identify papers that need to be checked.

The programmer has defined the first program module as follows:

Module

Description

CheckMark()

  • called with a parameter of type integer representing a candidate mark

  • returns TRUE if the mark is within 2 of any of the five grade boundaries, otherwise returns FALSE

Write pseudocode for module CheckMark().

November 2024 9618/21 8
Arrays টপিকের ওপরে পরীক্ষা দাও
ai robot

তোমার যে কোন ডাউট সলভ করো চর্চা

Ai এর মাধ্যমে

Try চর্চা Ai
বিগত বছরসমূহের প্রশ্ন ব্যাংক

বিগত বছরসমূহের প্রশ্ন ব্যাংক

১০ লক্ষ+ প্রশ্ন ডাটাবেজ

আনলিমিটেড পরীক্ষা ও ব্যাখ্যা

আনলিমিটেড পরীক্ষা ও ব্যাখ্যা

প্র্যাকটিস এর মাধ্যমে নিজেকে তৈরি করে ফেলো

ডাউট সলভিং চর্চা AI

ডাউট সলভিং চর্চা AI

উত্তর দিবে তোমার বই থেকে ও তোমার মত করে।

সারা দেশব্যাপী লিডারবোর্ড

সারা দেশব্যাপী লিডারবোর্ড

সারা দেশের শিক্ষার্থীদের মধ্যে নিজের অবস্থান যাচাই

সবকিছু এক প্রিমিয়াম প্যাকেজে

Related question

No related questions found