🇬🇧 Limited Time — UK Only·🎓 Free Learning for 1 Month·🤖 Free AI Training Included·📚 4,000+ Lessons · 35,000+ Quizzes·🏆 GCSE Mocks · Olympiad Papers·⚡ Selected Students Only · Limited Places·🎁 Free Value Worth £2,000·🇬🇧 Limited Time — UK Only·🎓 Free Learning for 1 Month·🤖 Free AI Training Included·📚 4,000+ Lessons · 35,000+ Quizzes·🏆 GCSE Mocks · Olympiad Papers·⚡ Selected Students Only · Limited Places·🎁 Free Value Worth £2,000·🇬🇧 Limited Time — UK Only·🎓 Free Learning for 1 Month·🤖 Free AI Training Included·📚 4,000+ Lessons · 35,000+ Quizzes·🏆 GCSE Mocks · Olympiad Papers·⚡ Selected Students Only · Limited Places·🎁 Free Value Worth £2,000·
Back to questions directory
A-Level Computer ScienceYear UnknownQ3

3. Below is an algorithm that draws a triangle. Algorithm i is integer j is integer k is integer n is integer input n for i = 0 to n set j = n while j > i output ‶ ″ set j = j - 1 end while set k = n while k >= n - i output ‶I″ set k = k - 1 end while next i (a) Evaluate the efficiency of the algorithm and, using Big O notation, determine the growth rate for the time performance. [5] (b) Draw a graph of the algorithm above to illustrate its order of time efficiency. Graph paper is not required. [4] (c) Determine the growth rate of memory use during a single run of the algorithm. [2] Turn over 3 A500U101 03 (A500U10-1) © WJEC CBAC Ltd.

Computer Science A-Level Diagram
Paper Source:EACS221P.pdf

Get full Socratic AI guidance on this question — free in the Applaa desktop app

Appy Buddy guides you step-by-step toward the answer without giving it away. Type your attempt and get instant, mark-scheme-aware clues that teach you to think like an examiner.

Download Applaa Free →
Applaa Desktop App

Join Applaa Community

Create your own games, learn AI concepts, program interactive apps, and share with a kid-safe community approved by parents. Free forever on Windows and Mac.

Download Free

Available for Windows and macOS · COPPA Compliant

Exam Specification Info

This question is part of the UK A-Level Computer Science syllabus. In the actual exam, structured questions typically require linking specific keywords to gain full marks. Applaa helps you drill these topics.

Syllabus levelAdvanced Level (A-Level)
SubjectComputer Science
Official MarksVariable (2–6 marks)