GoConqr has a new look! Let us know what you think.

Flashcards

Programming Environment

Abbie Welch AS AS level English 17 cards

Cards in this deck (17)

  1. 1What is the purpose of a computer program?- A computer program is a specific set of ordered, instructions performed by a computer
    -The program represents a solution to a problem, fetch execute (get 1 instruction to execute then next)
    -Computer programs can be written in high-level programming language e.g.Python, C# they can also be written in low-level language e.g. machiene code + assembly languages
    -A series of language statements are written to solve a problem (source code)
  2. 2What is the source code?-A program is written in a high-level language
    -in human-readable form
    - It has to be translated before it can be executed
  3. 3What are the main features of an Integrated Development Environment?-More advanced software known as IDE provides programmers with all the facilities required to complete the development of an application from coding to testing
    -Means an application can be fully developed in one application
    IDE includes:
    -project file management support
    -compiler
    -code/text editor
    -code execution
    -Design tools(GUI builder)
    -Syntax checker
    -Debugger tool
  4. 4What is source code editor? and what does it provides?It's a basic window to enter source code
    -Clipboard
    -Code Outlining
    -Code suggestions
    -Line numbering
    -Compiler
    -Syntax error assistance
    -GUI builder
    -Solution explorer
    -debugger+breakpoints
  5. 5What is clipboard?Where the IDE can remember the last number of items copied. Programmers can rotate
    through the list of copied items and choose one to paste into the current file.
  6. 6What is Code outlining?Programmers can collapse/expand selected regions of code under their first lines. This
    means that long programs can be viewed in small logical sections.
  7. 7What is code suggestion (IntelliSense)As you enter a function or statement in the Code Editor, its complete syntax and arguments are shown in a ToolTip. When items are needed to complete a statement, IntelliSense provides popup insertion lists of available functions, statements, constants, or values to choose from. This is known as IntelliSense in Microsoft Visual Studio.
  8. 8What is line numbering?Line numbers help programmers to distinguish between lines in lengthy coding sections.
  9. 9What is the Syntax Error Assistance?As code is entered, the Code Editor will place ‘wavy lines’ beneath code that is incorrect or
    could cause a problem. Many IDEs, such as Microsoft Visual Studio provide colour coded
    error listings.
    Red lines mark syntax errors,
    Blue lines mark semantic errors
    Green lines mark warnings.
  10. 10What is a compiler?The process of compiling ultimately produces an executable file
    The code written by the programmer is
    compiled with any additional libraries to create a machine code version of the program.
    This can then be executed by the processor.
    A program cannot be successfully compiled unless it is error-free.
  11. 11What is a GUI builder?The GUI builder allows a programmer to create windows applications by positioning controls on the screen. Controls such as textboxes etc. can be added from the toolbox.
    There are usually two views: a graphical design view and a code view.
    Design view allows programmers to specify the location of controls and other items on the user interface.
  12. 12What is Solution ExplorerThis is a graphical representation of the entire solution. The window displays solutions, their projects, and the items in those projects. Usually, files can be opened for editing, new files can be added and item properties can be viewed.
  13. 13What is debugging and breakpoints?-Programs can contain logic problems which become apparent at run-time.
    -This is where the code, although syntactically correct, is not providing the correct results.
    -The debugger can be used to help detect and correct such problems.
    -Programmers can set breakpoints where
    the program will stop during execution and allow the programmer to examine the value of different variables.
  14. 14Why does code need to be translated?- Computers operate in machine code
    -Programming language is designed to be understood by humans
    -This includes high-level languages and assembly languages
    -The program must be converted to binary before the computer can exexute
  15. 15What is the difference between compilers, interpreters and assemblers?An assembler translates assembly language into machine code.
    Assembly language is a low-level language.
    An interpreter translates source code one line at a time.
    The processor executes a line of code before proceeding to translate the next line of code.
    No version of the machine code is
    stored.
    This is generated each time the program is run.
    A compiler will attempt to convert the whole program into machine code before executing it.
    During the first stage of translating a program, the syntax of each statement is checked.
    If the statements are not constructed correctly the compiler will generate a list of errors.
    The source code cannot be fully compiled until all syntax errors are removed from the code.
  16. 16What can a compiler do?Lexical analysis – converting the incoming source code into fixed-length binary code items called tokens;
    Code Generation – creating the machine code version of the source code;
    Syntax analysis – checking the statements within the code to ensure they conform to the rules of grammar for the language;
    Pre-processing – including library code for classes and methods used within the
    source code;
    Code optimisation – making the executable program as efficient as possible.
    Semantic analysis – this includes checking to see that variables are declared before being used and type checking;
    Luke Can See Purple Can Sally
  17. 17What is test data?A set of data to test a particular function and the expected outcome

Information

Description
AS level AS Flashcards on Programming Environment, created by Abbie Welch on 17/11/2020.
Created by
Abbie Welch
Views
2
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?