FC0-U61 · Question #630
A programmer has been tasked to write the logic of a program without knowledge of the language to be used. Which of the following BEST describes how the programmer can accomplish this task?
The correct answer is C. Write pseudocode.. To write program logic without knowing the specific programming language, a programmer should use pseudocode.
Question
A programmer has been tasked to write the logic of a program without knowledge of the language to be used. Which of the following BEST describes how the programmer can accomplish this task?
Options
- AWrite a script.
- BWrite a narrative.
- CWrite pseudocode.
- DWrite a query.
How the community answered
(23 responses)- A4% (1)
- B4% (1)
- C91% (21)
Why each option
To write program logic without knowing the specific programming language, a programmer should use pseudocode.
A script is a program written in a scripting language, which requires knowledge of that specific language's syntax.
A narrative is a story or account, which is too unstructured and informal to precisely define program logic for development.
Pseudocode is an informal high-level description of a computer program's operating principles or algorithm. It combines natural language with programming-like constructs, allowing programmers to outline logic precisely without adhering to the strict syntax rules of any particular programming language.
A query is a request for data from a database, using a specific query language like SQL, which is not suitable for general program logic design.
Concept tested: Software development- pseudocode
Source: https://en.wikipedia.org/wiki/Pseudocode
Topics
Community Discussion
No community discussion yet for this question.