Back to 课程

Computer Science GCES OCR

0% Complete
0/0 Steps
  1. Cpu Architecture Performance And Embedded Systems Ocr
    5 主题
  2. Primary And Secondary Storage Ocr
    6 主题
  3. Data Storage And Compression Ocr
    12 主题
  4. Networks And Topologies Ocr
    6 主题
  5. Wired And Wireless Networks Protocols And Layers Ocr
    6 主题
  6. Identifying And Preventing Threats To Computer Systems And Networks Ocr
    2 主题
  7. Operating Systems And Utility Software Ocr
    2 主题
  8. Ethical Legal Cultural And Environmental Impact Ocr
    2 主题
  9. Computational Thinking Searching And Sorting Algorithms Ocr
    3 主题
  10. Designing Creating And Refining Algorithms Ocr
    5 主题
  11. Programming Fundamentals And Data Types Ocr
    5 主题
  12. Additional Programming Techniques Ocr
    7 主题
  13. Defensive Design And Testing Ocr
    6 主题
  14. Boolean Logic Diagrams Ocr
    2 主题
  15. Programming Languages And Integrated Development Environments Ides Ocr
    3 主题
  16. The Exam Papers Ocr
    2 主题
  17. Structuring Your Responses Ocr
    3 主题
课 Progress
0% Complete

Exam code:J277

Tools & Facilities in IDEs

What is an IDE?

  • An Integrated Development Environment (IDE) is software designed to make writing high-level languages more efficient

  • IDEs include tools and facilities to make the process of creating/maintaining code easier, such as:

    • Editor

    • Error diagnostics

    • Run-time environment

    • Translators

Editor

ytHHel1c_replit1
  • An editor gives users an environment to write, edit and maintain high-level code

  • Editors can provide:

    • Basic code formatting tools – changing the font, size of the font and making text bold etc

    • Coloured keywords – using colour to make it easier to identify keywords, for example ‘print’, ‘input’ and ‘if’ in Python

    • Code editing – auto-completion and auto-correction of code, bracket matching and syntax checks

    • Commenting code – allows sections of code to be commented out easily to stop it from being run or as comments on what the program is doing

Error-diagnostics

LNW3hy4A_replit2
  • Tools that help to identify, understand and fix errors in code, such as:

    • Identifying errors – highlight particular areas of code or provide direct error messages where the error may have appeared e.g. indentation errors etc

    • Debugger – provide a ‘step through’ command which provides step by step instructions and shows what is happening to the code line by line, useful for finding logic errors

Run-time environment

replit3
  • Gives users the ability to run and see the corresponding output of a high-level language

Translator

  • Built in to compile or interpret code without the need for an extra piece of software

Worked Example

James creates his programs using an Integrated Development Environment (IDE).

Describe two tools or facilities that an IDE commonly provides [4]

How to answer this question

  • Name two tools or facilities

  • For each tool or facility, give a reason why its helpful

Answer

  • Editor

  • …to enable program code to be entered/edited

  • Error diagnostics/debugging

  • …to display information about errors (syntax/run-time) / location of errors

  • …suggest solutions

  • Run-time environment

  • …to enable the program to be run

  • …check for run-time errors / test the program

  • Translator / compiler / interpreter

  • …to convert the high-level code into machine code / low-level code / binary

  • …to enable code to be executed / run

Examiner Tips and Tricks

There are 4 main tools/features of an IDE you need to know.

Editor, error diagnostics, run-time environment and translator

If a question asks for 2 tools/features, do not give multiple examples from the same tool/feature, e.g. coloured keywords and commenting are both examples of the same tool/feature (editor)

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注