Victoria is writing a program using a high level language to display the meaning of computer science acronyms that are entered - OCR - GCSE Computer Science - Question 7 - 2018 - Paper 1
Question 7
Victoria is writing a program using a high level language to display the meaning of computer science acronyms that are entered. The code for her first attempt at thi... show full transcript
Worked Solution & Example Answer:Victoria is writing a program using a high level language to display the meaning of computer science acronyms that are entered - OCR - GCSE Computer Science - Question 7 - 2018 - Paper 1
Step 1
Complete the code above to print out an "unknown" message if any other acronym is entered by the user.
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
else
print("unknown")
Step 2
Describe what is meant by a "high level language".
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
A high level language is designed to be easily understood by humans and programmers. It uses a structured syntax that is more abstract than low level languages, allowing for easier coding and readability. High level languages must be translated into machine code before execution, which makes them closer to human languages compared to assembly language or machine code, which is harder to read and write.
Step 3
Describe two tools or facilities that an IDE commonly provides.
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Editor: An IDE typically includes a code editor that allows users to write and edit their code with features like syntax highlighting and autocomplete.
Debugger: IDEs often come with built-in debugging tools that help programmers find and correct errors in their code by allowing them to run the program step-by-step.