IFB104 – Building IT Systems

IFB104 Code Presentation Guide

Overview

Writing computer program, scripting or mark-up language code is no different from any other style of writing. Its purpose is to communicate concisely and clearly. Any computer language document must communicate effectively in two ways:

  • Telling the computer what to do. The “executable” part of the program, script or mark-up tells the computer what actions you want performed. We know if this has been done properly if the document gets the computer to do or display what we intended.
  • Informing other programmers. These may be your immediate colleagues if you’re working in a team or someone else who reads your code many months or years from now, perhaps with the intention of modifying or extending your code’s behaviour.

Our concern here is with the second of these. Part of the profession of “building IT systems” is to create a well-presented computer language document. Over the years, programmers have developed style guides and conventions for most pro- gramming, scripting and mark-up languages, and you will be able to find many of these online. For the purposes of IFB104, however, we do not want to be too pre- scriptive. Our main goal is that you follow a consistent style that meets the criteria listed below. The examples below are for Python program code, but the same prin- ciples should be applied to any other code you write, including SQLite scripts and HTML/CSS documents.

General Principles

As a general guide, consider that whether you’re writing a text message, a novel, a technical report or a computer program, there is one rule that always applies:

Whatever is quick and convenient for the author is slow and awkward for the reader.

For instance, frequent use of abbreviations allows you to type quickly, but makes your writing harder to understand. Studies have shown that even expert “texters” are slower to read and comprehend heavily-abbreviated SMS messages than the equivalent English text.

Another important rule, highly relevant to long-lived computer programs that are often modified during their lifetime, is:

Code is written once but read many times.

This means that any extra effort expended during writing will be paid back to us lat- er on.

While these principles are mainly relevant to large-scale software development (ra- ther than small university assignments) our goal is to get you into the habit of think- ing about your code’s presentation at an early stage.

Code Presentation Criteria

You should think of your code’s presentation in terms of the following criteria.

1.   Clear, uncluttered layout

Your code should be laid out neatly and consistently. To a large extent Python pro- grammers are forced to adopt a particular layout because indentation is significant in the language. Nevertheless you should give thought to choices of vertical white space, line breaks and commenting. Many people frown upon overly wide lines, which inhibit readability and make it necessary to scroll back and forth horizontally. In general lines should not be wider than about 80 characters. (You can see the cur- rent column number in the bottom of IDLE’s editing window.)

Consideration should also be given to consistent horizontal spacing, in order to avoid cluttered code and improve its readability. Always put a space after a comma, and surround operators with spaces, e.g., “7 * 9 != 9 + 7”, rather than “7*9!=9+7”. However, don’t include a space between a function/method name and the opening parenthesis.

Lines of related code should be blocked together to improve readability. Blocks can be formed simply by adding appropriate line breaks.

2.   Meaningful choices of variable and function identifiers

You usually have a free choice of variable and function names in your code. You should make good use of this to explain the purpose of the variable or function, i.e., its role in the computation.  Consider the following code segment.

def a(b):

x = len(b) // 2 y = b[:x]

z = b[x:]

return [y, z]

This code is hard to understand because none of the identifiers explain the func- tion’s or the variables’ purposes.

Now consider exactly the same code with well-chosen identifiers.

def split_in_half(text): midpoint = len(text) // 2 first_half = text[:midpoint]

second_half = text[midpoint:]

return [first_half, second_half]

Even without comments this code is now easy to understand. We can see from the function signature that its purpose is to split some text in half. The role of each vari- able is made clear by its name, e.g., the first one finds the midpoint of the given text, and so on. Choosing sensible variable and function names has a dramatic impact on the understandability of your code.

Avoid the use of abbreviations when it comes to variables and function names.

Function/method names should be verbs, or ‘doing’ words which reflect the pur- pose of the function/method. Variable names should reflect the value/s intended to be stored in them.

IMPORTANT NOTE: Some old-fashioned programming languages, and even text- books, encourage the use of single-character identifiers, especially for loop varia- bles, typically ‘i’, ‘j’, ‘k’ and so on. These languages usually do not offer Python’s ability to iterate over all values in a sequence (e.g., a list or string). Thus, where in Python we would write

for letter in word:

print(letter)

to print each letter in a given string, each on one line, older languages force the pro- grammer to introduce an “index” variable and express this computation in a form equivalent to:

for i in range(len(word)): print(word[i])

Notice how much more obscure the second version is. The index variable is unnec- essary and the meaningless choice of identifier ‘i’ is unhelpful. In Python each vari- able introduced has a specific purpose and should be given a name describing the values it contains. Code like the second for loop above, containing unneces- sary, single-character loop variable names, should be avoided.

3.   Concise, helpful commenting

Your program code should be commented to explain features that are not obvious from the code itself. In particular, you can assume that the reader can understand what the code does by inspecting it, but will not necessarily understand why. Your comments should thus explain the purpose of obscure code segments. However, you should not clutter the code with comments that add no helpful information for the reader.

For instance, the following comment is useless and should not be included, because it does not tell us anything we can’t see from the code itself.

amount = amount + 1 # add one to amount

On the other hand, the comment below (taken from one of the IFB104 lecture demonstrations) makes the purpose of the following statements clearer than just the code itself.

# Draw the middle circle penup()

home() pendown() color(“orange”)

dot(middle_radius * 2)

The comment in this case tells us what the code does (but how the code does this job can be seen from the code itself and needs little or no commenting).

A comment should precede (i.e., come before) the relevant code block and be in- dented to the same level as the code to which it refers.

4.   No magic numbers

A “magic number” is a constant in your code whose purpose and choice of value is not immediately apparent. Although the term is normally applied to numerical val- ues, it is equally applicable to any literal value, regardless of its type. Magic num- bers make code harder to understand. They also make code harder to maintain be- cause if the number appears in several places, and we want to change it, then we have to search the code for all of its occurrences.

We can eliminate magic numbers in either of two ways:

  • By explaining the number’s purpose in a comment where it appears.
    • By giving the number a meaningful name.

The first of these is acceptable if the number only appears in a few places in the code. However, if the number is used in several places it is better to name it, be- cause this means only one code change is needed to modify the number.

For example, the following code segment is obscure due to the use of a poor variable name, no commenting and the unexplained magic number ‘7’.

x = (x + 1) % 7

The following version is longer but much clearer.

days_in_week = 7 # days are numbered from 0 to 6

day = (day + 1) % days_in_week # advance to next day

(Observation: Should the ‘1’ in the ‘day’ example above or the ‘2’ in the ‘circle’ ex- ample previously shown be considered as magic numbers? Arguably not because their purpose is very obvious in both cases. The number 1 is clearly being used to

increment variable day and the number 2 is clearly being used to double a radius to produce a diameter. It would clutter the code to give special names to these ‘obvi- ous’ uses. However, if in doubt, it never hurts to add a brief comment. Also, we ac- cept that it’s very difficult to write Turtle graphics code without using a lot of specif- ic numbers for coordinates and distances, so these “magic” numbers are usually ac- ceptable since these numbers are used once only and for a clear purpose, e.g., to go to a specific location on screen.)

5.   No unnecessary duplication of code segments

You should aim to develop as concise a solution as possible.   For instance, we learn in this teaching unit how functions allow us to reuse code segments that would oth- erwise appear more than once in your program. You should aim to use them to eliminate duplicated code wherever possible. Similarly, loops should be used rather then repeating similar code many times.

6.   Correct grammar and spelling

You should present your computer language code as professionally as you would any other document that will be seen by your colleagues. Code that contains spelling and grammatical errors in either the variable/function names or the com- ments gives a poor impression.

Order Now

Get expert help for IFB104 – Building IT Systems and many more. 24X7 help, plag free solution. Order online now!

Universal Assignment (April 1, 2026) IFB104 – Building IT Systems. Retrieved from https://universalassignment.com/ifb104-building-it-systems/.
"IFB104 – Building IT Systems." Universal Assignment - April 1, 2026, https://universalassignment.com/ifb104-building-it-systems/
Universal Assignment September 11, 2022 IFB104 – Building IT Systems., viewed April 1, 2026,<https://universalassignment.com/ifb104-building-it-systems/>
Universal Assignment - IFB104 – Building IT Systems. [Internet]. [Accessed April 1, 2026]. Available from: https://universalassignment.com/ifb104-building-it-systems/
"IFB104 – Building IT Systems." Universal Assignment - Accessed April 1, 2026. https://universalassignment.com/ifb104-building-it-systems/
"IFB104 – Building IT Systems." Universal Assignment [Online]. Available: https://universalassignment.com/ifb104-building-it-systems/. [Accessed: April 1, 2026]

Please note along with our service, we will provide you with the following deliverables:

Please do not hesitate to put forward any queries regarding the service provision.

We look forward to having you on board with us.

Categories

Get 90%* Discount on Assignment Help

Most Frequent Questions & Answers

Universal Assignment Services is the best place to get help in your all kind of assignment help. We have 172+ experts available, who can help you to get HD+ grades. We also provide Free Plag report, Free Revisions,Best Price in the industry guaranteed.

We provide all kinds of assignmednt help, Report writing, Essay Writing, Dissertations, Thesis writing, Research Proposal, Research Report, Home work help, Question Answers help, Case studies, mathematical and Statistical tasks, Website development, Android application, Resume/CV writing, SOP(Statement of Purpose) Writing, Blog/Article, Poster making and so on.

We are available round the clock, 24X7, 365 days. You can appach us to our Whatsapp number +1 (613)778 8542 or email to info@universalassignment.com . We provide Free revision policy, if you need and revisions to be done on the task, we will do the same for you as soon as possible.

We provide services mainly to all major institutes and Universities in Australia, Canada, China, Malaysia, India, South Africa, New Zealand, Singapore, the United Arab Emirates, the United Kingdom, and the United States.

We provide lucrative discounts from 28% to 70% as per the wordcount, Technicality, Deadline and the number of your previous assignments done with us.

After your assignment request our team will check and update you the best suitable service for you alongwith the charges for the task. After confirmation and payment team will start the work and provide the task as per the deadline.

Yes, we will provide Plagirism free task and a free turnitin report along with the task without any extra cost.

No, if the main requirement is same, you don’t have to pay any additional amount. But it there is a additional requirement, then you have to pay the balance amount in order to get the revised solution.

The Fees are as minimum as $10 per page(1 page=250 words) and in case of a big task, we provide huge discounts.

We accept all the major Credit and Debit Cards for the payment. We do accept Paypal also.

Popular Assignments

Physics Assignment Help: A Complete Guide for Students

Introduction Physics is a fundamental science that explains how the universe works, from motion and energy to electricity and magnetism. While it is an exciting subject, many students find physics assignments challenging due to complex formulas, numerical problems, and conceptual understanding. This is where physics assignment help becomes essential. In

Read More »

Science Assignment Help: A Complete Guide for Students

Introduction Science is a vast and essential field that includes subjects like physics, chemistry, biology, and environmental science. It plays a crucial role in understanding the natural world and developing innovative solutions. However, science assignments often involve complex concepts, experiments, and detailed explanations, making them challenging for students. This is

Read More »

Education Assignment Help: A Complete Guide for Students

Introduction Education is a vital field that focuses on teaching methods, learning processes, and the development of knowledge and skills. Students pursuing education courses often deal with assignments related to pedagogy, curriculum design, and educational psychology. However, managing multiple assignments along with practical teaching responsibilities can be challenging. This is

Read More »

Statistics Assignment Help: A Complete Guide for Students

Introduction Statistics is a crucial subject in many academic fields, including mathematics, economics, business, and data science. It involves analyzing data, interpreting results, and applying mathematical concepts to real-world problems. However, many students find statistics challenging due to complex formulas, data interpretation, and analytical requirements. This is where statistics assignment

Read More »

Economics Assignment Help: A Complete Guide for Students

Introduction Economics is a vital subject that helps students understand how markets function, how resources are allocated, and how financial systems operate. However, economics assignments often involve complex theories, data analysis, and mathematical calculations, making them challenging for many students. This is where economics assignment help becomes highly beneficial. In

Read More »

Psychology Assignment Help: A Complete Guide for Students

Introduction Psychology is a fascinating field that explores human behavior, emotions, and mental processes. However, studying psychology involves extensive research, critical analysis, and detailed writing, which can be challenging for many students. Due to academic pressure and tight deadlines, students often seek psychology assignment help to manage their workload effectively.

Read More »

Nursing Assignment Help: A Complete Guide for Healthcare Students

Introduction Nursing is a highly respected and demanding profession that requires both theoretical knowledge and practical skills. Nursing students must handle clinical training, patient care responsibilities, and academic assignments simultaneously. Due to this workload, many students seek nursing assignment help to manage their studies effectively. In this article, we’ll explore

Read More »

Law Assignment Help: A Complete Guide for Law Students

Introduction Law is a complex and intellectually demanding field that requires strong analytical skills, in-depth research, and precise writing. Law students often deal with case laws, legal theories, and detailed assignments that require accuracy and clarity. Due to heavy coursework and strict deadlines, many students seek law assignment help to

Read More »

Computer Science Assignment Help: A Complete Guide for IT Students

Introduction Computer Science is one of the most dynamic and challenging fields of study. From programming and algorithms to databases and artificial intelligence, students are required to master both theoretical and practical skills. Due to complex coding tasks, tight deadlines, and multiple projects, many students seek computer science assignment help

Read More »

MBA Assignment Help: A Complete Guide for Management Students

Introduction Pursuing an MBA is a significant step toward building a successful career in business and management. However, MBA programs are known for their rigorous coursework, case studies, presentations, and assignments. Many students struggle to balance academic work with internships, jobs, and personal commitments. This is where MBA assignment help

Read More »

Assignment Help for Engineering Students: A Complete Guide

Introduction Engineering is one of the most challenging academic fields, requiring a strong understanding of technical concepts, problem-solving skills, and practical applications. Students often face difficulty managing complex assignments, projects, and tight deadlines. This is where assignment help for engineering students becomes essential. In this article, we’ll explore how professional

Read More »

Homework Help for Students: A Complete Guide to Academic Success

Introduction Homework is an essential part of a student’s academic journey, helping reinforce learning and improve understanding of subjects. However, with increasing academic pressure and limited time, many students struggle to complete their homework effectively. This is where homework help for students becomes a valuable solution. In this article, we’ll

Read More »

Research Paper Writing Help: A Complete Guide for Students

Introduction Writing a research paper is one of the most important academic tasks for students. It requires critical thinking, in-depth research, proper structure, and strong writing skills. However, many students struggle to meet these requirements due to time constraints and lack of expertise. This is where research paper writing help

Read More »

Case Study Assignment Help: A Complete Guide for Students

Introduction Case study assignments are an essential part of academic programs, especially in fields like business, management, law, and healthcare. They require students to analyze real-life situations, identify problems, and propose effective solutions. However, many students find case studies challenging due to their analytical nature. This is where case study

Read More »

24/7 Assignment Help Online: Get Instant Academic Support Anytime

Introduction In today’s fast-paced academic environment, students often face urgent deadlines, late-night study sessions, and unexpected assignment pressure. This is where 24/7 assignment help online becomes a lifesaver. Having access to academic support anytime ensures that students never miss deadlines and can get expert assistance whenever needed. In this article,

Read More »

Plagiarism-Free Assignment Writing: Why It Matters and How to Achieve It

Introduction In academic writing, originality is not just important—it is essential. Plagiarism can lead to serious consequences, including loss of marks, academic penalties, or even suspension. That’s why students must understand the importance of plagiarism-free assignment writing. In this article, we’ll explore what plagiarism is, why it matters, and how

Read More »

Exam Preparation Tips for Students: How to Score Higher Marks

Introduction Exams are a crucial part of every student’s academic journey, but preparing effectively can often feel overwhelming. With vast syllabi, limited time, and pressure to perform well, many students struggle to find the right strategy. The good news is that with proper planning and smart study techniques, you can

Read More »

Time Management Tips for Students: How to Complete Assignments Faster

Introduction Time management is one of the biggest challenges students face today. With multiple assignments, exams, and personal responsibilities, it often becomes difficult to stay organized and meet deadlines. Effective time management not only helps students complete assignments faster but also reduces stress and improves overall academic performance. In this

Read More »

Dissertation Writing Help: A Complete Guide for Students

Introduction Writing a dissertation is one of the most important and challenging tasks in a student’s academic journey. It requires in-depth research, critical analysis, proper structuring, and adherence to strict academic guidelines. Many students find it overwhelming due to time constraints and complexity. This is where dissertation writing help services

Read More »

Best Essay Writing Services for Students: A Complete Guide

Introduction Essay writing is an essential part of academic life, but it can be challenging for many students. From understanding complex topics to maintaining proper structure and meeting deadlines, the process often becomes overwhelming. This is where professional essay writing services come in. They provide expert assistance, helping students submit

Read More »

Top Benefits of Online Assignment Help for University Students

Introduction University life can be exciting, but it also comes with academic pressure, tight deadlines, and complex coursework. Many students struggle to keep up with multiple assignments while balancing personal and professional responsibilities. Online assignment help services have emerged as a reliable solution, offering expert support and improving academic performance.

Read More »

How to Write a High-Quality Assignment: Step-by-Step Guide for Students

Introduction Writing a high-quality assignment is a crucial part of academic success. However, many students struggle with structuring their work, conducting research, and meeting academic standards. Whether you are in school, college, or university, understanding the correct approach to assignment writing can significantly improve your grades. This step-by-step guide will

Read More »

Best Online Homework Help Services for Students in 2026

Introduction With increasing academic pressure and evolving education standards, students today are constantly searching for reliable homework help services. Online homework help has become a practical solution for students who need guidance, clarity, and timely submission of assignments. In this article, we’ll explore how homework help services work, their advantages,

Read More »

Top Assignment Help Services for Students: A Complete Guide to Academic Success

Introduction In today’s fast-paced academic environment, students often struggle to manage multiple assignments, deadlines, and exams simultaneously. This is where professional assignment help services come into play. Whether you are dealing with complex subjects or tight schedules, getting expert assistance can significantly improve your academic performance. In this article, we

Read More »

Science Assignment Help: Support for Students in All Branches

Introduction Science students face rigorous assignments that require research, experiments, and accurate documentation. From biology and chemistry to physics and environmental science, managing multiple assignments along with practical labs can be overwhelming. This is where science assignment help becomes a vital resource for academic success. In this guide, we’ll explore

Read More »

Finance Assignment Help: Expert Support for Finance Students

Introduction Finance students face challenging assignments that require critical analysis, financial calculations, and a strong understanding of concepts like accounting, investments, and risk management. Managing multiple tasks along with studies can be overwhelming. This is where finance assignment help becomes a valuable solution for academic success. In this guide, we’ll

Read More »

Engineering Assignment Help: Simplifying Technical Studies

Introduction Engineering students often face complex assignments that require technical knowledge, calculations, and practical applications. Balancing multiple projects, exams, and practical sessions can be overwhelming. This is where engineering assignment help becomes an essential solution for academic success. In this guide, we’ll explain what engineering assignment help is, why students

Read More »

Nursing Assignment Help: Support for Healthcare Students

Introduction Nursing students face a unique set of academic challenges, from practical patient care to complex theoretical assignments. Balancing studies, clinical practice, and exams can be overwhelming. This is where nursing assignment help becomes a crucial resource for students striving for academic excellence. In this guide, we’ll explain what nursing

Read More »

Law Assignment Help: Expert Guidance for Law Students

Introduction Law assignments are a critical part of legal education, requiring in-depth research, proper understanding of statutes, case laws, and critical analysis. Many students find it challenging to meet academic standards and deadlines. This is why law assignment help has become an essential solution for law students aiming for academic

Read More »

Can't Find Your Assignment?