nerdexam
CompTIA

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.

Software Development

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)
  • A
    4% (1)
  • B
    4% (1)
  • C
    91% (21)

Why each option

To write program logic without knowing the specific programming language, a programmer should use pseudocode.

AWrite a script.

A script is a program written in a scripting language, which requires knowledge of that specific language's syntax.

BWrite a narrative.

A narrative is a story or account, which is too unstructured and informal to precisely define program logic for development.

CWrite pseudocode.Correct

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.

DWrite a query.

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

#pseudocode#program design#programming logic

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice