Application generation

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

what is the purpose of applications

1 / 27

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

28 Terms

1

what is the purpose of applications

programs that allow a user to complete a task. requires systems software to run

  • desktop publishing

  • word processing

  • spreadsheets

  • web browsers

New cards
2

what are the different application software

word processors: used for writing letters, reports and other documents

spreadsheet packages: these allow a user to model complex situations, and are often used for financial calculations

presentation software: used to make on-screen slide shows to accompany presentations

desktop publishing software: used for documents where layout is important, such as newsletters

New cards
3

what is the role of utility software in a computer system?

small programs designed to help with the maintenance of a system.

New cards
4

what are the different types of utility software

  • compression

  • disk defragmentation

  • antivirus

  • automatic updating

  • backup

New cards
5

disk defragmentation

utility rearranges the contents of the hard drive so they can be accessed faster, thus improving performance.

As the hard disk becomes full, read/write times slow down. This is because files become fragmented as they are stored in different parts of memory.

New cards
6

compression

This is used when compressing large files to be transmitted across the Internet and is commonly used to compress scanned files.

New cards
7

antivirus

Antivirus is responsible for detecting potential threats to the computer, alerting the user and removing these threats

New cards
8

automatic updating

This utility ensures the operating system is kept up to date, with any updates being automatically installed when the computer is restarted. ensures the system is less vulnerable to malware and hacking threats

New cards
9

what is open sourced software

Open source code can be used by anyone without a license and is distributed with the source code.

New cards
10

what is closed source software

It is owned by an organisation and has a licence to protect it from copyright. The source code is compiled into machine code. The machine code is then stored as an executable file and this is what is sold as the application.

New cards
11

benefits and drawbacks of open sourced software

  • Can be modified and improved by anyone

  • Technical support from online community

  • Can be modified and sold on

  • Support available online may be insufficient or incorrect. No user manuals.

  • Lower security as may not be developed in a controlled environment

New cards
12

benefits and drawbacks of closed source software to creator and user using each of the licensing models

Thorough, regular and well-tested updates

  • Company owning software provides expert support and user manuals. ]

  • High levels of security as developed professionally.

  • License restricts how many people can use the software at once

  • Users cannot modify and improve software themselves

New cards
13

why do we need translators when writing programs

A translator is a program that converts high-level source code into low-level object code, which is then ready to be executed by a computer

New cards
14

high level code

code that is written and understood by the programmer but not the computer. low-level code can be executed by a computer but cannot be directly understood.

New cards
15

operation of interpreters

translates source code one line at a time. Once translated, the machine code is executed immediately.

New cards
16

operation of compilers

translates high level language source code into machine code which is stored in an object file after carrying out a number of checks and reporting back any errors

New cards
17

benefits and drawbacks of interpreters

  • less prone to computer crashing.

  • some interpreters execute code within a virtual machine which insulates the host computer from defective code.

  • slower to run as every line has to be translated.

  • useful for testing sections of code an pin pointing errors as time is not wasted compiling the entire program.

New cards
18

benefits and drawbacks of compilers

  • faster as all translation is done at once and the compiled code is stored as an executable file

  • executable file runs directly on computer so poor code can crash the computer

  • compiled code is specific to a particular processor type and operating system

  • code can be run without a translator being present

New cards
19

role of an assembler and how it differs from interpreters and compilers

Assembler translates assembly code directly to machine code. It is specific to a particular CPU. Interpreters execute code line by line, while compilers translate entire code to machine code before execution.

New cards
20

stages involved in compilation

Flashcard: Stages in compilation process include lexical analysis, syntax analysis, semantic analysis, code generation, and code optimization.

New cards
21

how does lexical analysis work

Flashcard: Lexical analysis is the first phase of compiling, breaking down the source code into tokens like keywords, identifiers, and literals for further processing. these are stored in a symbol table. unnnecessary elements such as comments and white space are removed

New cards
22

how are syntax errors identified and reported at the end of syntax analysis

analyzing the structure of the code based on the defined grammar rules. Any tokens that break the rules of the programming language are flagged up as syntax errors and added to a list of errors.

New cards
23

how the abstract tree will be fed into the next stage of code generation

Abstract syntax tree (AST) is traversed and converted into an intermediate representation (IR) before being fed into the next stage of code generation.

New cards
24

what is an abstract syntax tree

representation of the source coded in the form of a tree

New cards
25

why is optimisation important

how results of lexical analysis feeds into syntax analysis

Optimization enhances code efficiency. Lexical analysis outputs tokens for syntax analysis. Tokens are validated for correctness during and after code generation.

New cards
26

what are code libraries

Code libraries are collections of pre-written code snippets or functions that can be reused in various programs to perform specific tasks or functions.

New cards
27

how are code libraries used

Flashcard: Code libraries are reusable collections of pre-written code that can be imported into a program to provide specific functionality and save time in development.

New cards
28

benefits and drawbacks of code libraries

Benefits of code libraries: save time by reusing code, improve code quality, provide solutions to common problems. Drawbacks: potential for bloated code, dependency on external sources, compatibility issues.

New cards

Explore top notes

note Note
studied byStudied by 41 people
... ago
5.0(1)
note Note
studied byStudied by 56 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 18 people
... ago
5.0(1)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 19 people
... ago
5.0(1)
note Note
studied byStudied by 37 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (42)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (113)
studied byStudied by 27 people
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 47 people
... ago
5.0(1)
flashcards Flashcard (66)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (206)
studied byStudied by 27 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (27)
studied byStudied by 116 people
... ago
5.0(1)
robot