r/Olevels

CS 15 Marker

Okay so I gave instructions to ChatGPT about the question and it gave me a code

(Also, I am cooked)

Here:

// DECLARATIONS

DECLARE x : INTEGER

DECLARE TotalRainMM : REAL

DECLARE TotalRainCM : REAL

DECLARE AverageRain : REAL

DECLARE NoRainDays : INTEGER

DECLARE CurrentDryDays : INTEGER

DECLARE LongestDryDays : INTEGER

TotalRainMM ← 0

TotalRainCM ← 0

AverageRain ← 0

NoRainDays ← 0

CurrentDryDays ← 0

LongestDryDays ← 0

// INITIALISE ARRAY TO ZERO

FOR x ← 1 TO 365

Rain\[x\] ← 0

NEXT x

// INPUT RAINFALL DATA

FOR x ← 1 TO 365

PRINT "Enter rainfall in millimeters for day ", x

INPUT Rain\[x\]

// Add to total rainfall

TotalRainMM ← TotalRainMM + Rain\[x\]

// Count no rainfall days

IF Rain\[x\] = 0 THEN

NoRainDays ← NoRainDays + 1

// Count consecutive dry days

CurrentDryDays ← CurrentDryDays + 1

// Update longest dry period

IF CurrentDryDays > LongestDryDays THEN

LongestDryDays ← CurrentDryDays

ENDIF

ELSE

// Reset consecutive dry counter

CurrentDryDays ← 0

ENDIF

NEXT x

// -----------------------------------

// CALCULATIONS

// -----------------------------------

// Convert millimeters to centimeters

TotalRainCM ← TotalRainMM / 10

// Calculate average rainfall in millimeters

AverageRain ← TotalRainMM / 365

// -----------------------------------

// OUTPUT RESULTS

// -----------------------------------

PRINT "Total rainfall for the year: ", ROUND(TotalRainCM,2), " cm"

PRINT "Average rainfall for the year: ", ROUND(AverageRain,4), " mm"

PRINT "Number of days with no rainfall: ", NoRainDays

PRINT "Longest consecutive dry period: ", LongestDryDays, " days"

// -----------------------------------

// DROUGHT CHECK

// -----------------------------------

IF LongestDryDays >= 15 THEN

PRINT "Drought warning: There is a drought period."

ENDIF

reddit.com
u/Marigold_Pearl — 22 hours ago

100% vs 99%

What's really the difference between a 100% and 99% in O levels? If someone gets 99% while someone else gets 100% in university applications will they be treated any differently? Do universities even check your percentage or do they just check that A*? I genuinely am confused because both are very similar but I don't know how they are treated in university applications please help

reddit.com
u/Emergency-Trick7902 — 24 hours ago

15 Marker Question

Guys.... was this the scenario based question.... let me know if there's any error or something I have forgotten

u/olvlleak — 22 hours ago
▲ 5 r/Olevels+2 crossposts

econ 0455

the econ syllabus lwky feels endless and i do not have time to read the entire book. If anyone has any resources pls send. What are some very important and predicted topics i shud study and if anyone has keals plssss send.

reddit.com
u/Far-Environment- — 24 hours ago

Tutors

​

So today was my last exam of grade 8 and now I have officially entered O Levels I wanted to utilize my holidays so can u guys like suggest me what to do and I'm planning to hire a tutor for myself in order to study bio phys chem and maths.Any advice on where I can find tutors with good qualifications?

reddit.com
u/TGRHUNTER — 1 day ago
▲ 3 r/Olevels+1 crossposts

Economics urgent

Hello guys need urgent help i need formulas sheet and last minute definition and revision sheets PLEASE FOR GOD SAKE IF ANYONE MADE ONE OR HAS IT PLSPLS SEND I’LL PRAY FOR YOU🙏🏻🙏🏻🙏🏻

reddit.com
u/Flashy-Presence-5882 — 22 hours ago
▲ 4 r/Olevels+1 crossposts

Question regarding 0478 Paper 22 15 Marker

Hey guys! I declared the rainfall array as integer, this wouldn't lose any marks right? as this wasn't a part of the requirements?

reddit.com
u/NoorAhmed6969 — 1 day ago

Is this calculator alright for Economics 2281 P2 tommorow?

Will the ink on the back cause any problem?

u/chcikensammich2009 — 1 day ago

SENIORS!! 2026 batch or 25,!!plz its urgent!

can you guys plz dm the resources you used??like pdfs??yt channels?? notes>?? topiCALS??? and everythiing needed to ace this bio plz need them urgently😢😢 FOR BIOLOGY!! 5090,,, plz help u guys

reddit.com
u/Ok_Work_1961 — 1 day ago

Computer science p2

Guys what's that picture going around everywhere of a person doing the same paper of computer science in exam room.I think he made a picture through glasses but still why didn't the invigilator saw that.I really hope its ai generated or something cuz if it is real then thats literally unfair.

reddit.com
u/AdRemarkable408 — 1 day ago

ECONOMICS ANSWER FORMATS

PLZ GIVE ANSWER FORMATS FOR ALL QUESTIONS WITH DIFFERENT MARKS
LIKE HOW MANY POINTS YOU WRITE FOR EACH AND WETHER TO WRITE CONCLUSIONS OR NOT

reddit.com

Which extra subject should i take thats easy

I am a bio student decided to appear in oct nov session in bio and english. I decided to take an extra subject that is easy and i can get 3 a stars. Which one should i go for? CS, global perspective, socialogy etc. Please drop ur advice

reddit.com
u/Low_Refrigerator579 — 1 day ago

Economics P2

with every question there is casestudy given so tell me do I have to give reference in every part from the casestudy talking about SECTION B

reddit.com
u/Key-Classroom1227 — 1 day ago