Time complexity analysis of a simple code: using graph plotting and pattern based approach

bracu.degree.levelUndergraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorAzad, Md Imran Bin
dc.contributor.authorNurtaj, Lamia
dc.contributor.authorRafi, Md. Tanvirul Hasan
dc.contributor.authorYounus, Al Zabeir Bin
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2025-05-12T06:56:16Z
dc.date.available2025-05-12T06:56:16Z
dc.date.copyright2024
dc.date.issued2024-11
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 33-34).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2024.en_US
dc.description.abstractComputation is a core topic in computer science. We code in Java, python, c++ or any other programming language for the backend and frontend of computers. To accomplish a task, a software system applies a collection of interconnected algorithms[ 6]. Most of the time, we measure the run time of a program using only our visual calculations. Our research shows that this visualization could be represented graphically and compute time complexity using a pattern based approach. Our research can find an infinite loop in some cases. Calculation can be represented in a complexity graph and analyze the time complexity. This study will help to precalculate before program execution, save running time, reduce computation, and create a new viewpoint in coding. The immediate goal is to visualize complexity in a programming language and is this possible to detect infinite loops from code. Another challenge for programmers often arises is to determine and detect infinite loops. Moreover, we can also calculate the complexity of recursive calls. However, in this challenging segment, there are two things that need to be addressed, i.e, space and time complexity. This is dependent on depth, number of calls and many other factors.en_US
dc.description.degreeBachelor of Science in Computer Science
dc.description.statementofresponsibilityLamia Nurtaj
dc.description.statementofresponsibilityMd. Tanvirul Hasan Rafi
dc.description.statementofresponsibilityAl Zabeir Bin Younus
dc.format.extent67 pages
dc.identifier.otherID 23141057
dc.identifier.otherID 20301009
dc.identifier.otherID 20301119
dc.identifier.urihttp://hdl.handle.net/10361/25882
dc.language.isoenen_US
dc.publisherBRAC Universityen_US
dc.rightsBRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission.
dc.subjectComputationen_US
dc.subjectControl statementen_US
dc.subjectControl variableen_US
dc.subjectTime complexityen_US
dc.subjectInfinite loopsen_US
dc.subjectFunction variableen_US
dc.subjectComplexity measuring toolen_US
dc.subject.lcshAlgorithms--Analysis--Graphic methods.
dc.subject.lcshComputer algorithms--Performance--Pattern recognition.
dc.titleTime complexity analysis of a simple code: using graph plotting and pattern based approachen_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
23141057, 20301009, 20301119_CSE.pdf
Size:
875.13 KB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: