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 a programming language that is designed to be easy for humans to read and write. It uses syntax that is more understandable compared to lower-level languages, focusing on problem-solving rather than machine-specific instructions. A high level language must be translated into machine code before it can be executed by the computer.
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 integrated text editor where programmers can write and edit their code with features like syntax highlighting and code formatting.
Debugger: A tool for identifying and fixing errors in the program, allowing developers to step through their code to observe its execution and inspect variables.