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

dc.contributor.advisorAzad, Md Imran Bin
dc.contributor.authorNurtaj, Lamia
dc.contributor.authorRafi, Md. Tanvirul Hasan
dc.contributor.authorYounus, Al Zabeir Bin
dc.date.accessioned2025-05-12T06:56:16Z
dc.date.available2025-05-12T06:56:16Z
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.
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.
dc.identifier.otherID 23141057
dc.identifier.otherID 20301009
dc.identifier.otherID 20301119
dc.identifier.otherhttps://dspace.bracu.ac.bd/server/api/core/items/11463823-a78a-42c4-9a71-dedd53cee858
dc.identifier.urihttp://hdl.handle.net/10361/25882
dc.language.isoen
dc.publisherBRAC University
dc.sourceBRAC University Institutional Repository
dc.subjectComputation
dc.subjectControl statement
dc.subjectControl variable
dc.subjectTime complexity
dc.subjectInfinite loops
dc.subjectFunction variable
dc.subjectComplexity measuring tool
dc.titleTime complexity analysis of a simple code: using graph plotting and pattern based approach
dc.typeThesis

Files

Original bundle

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