Skip to content

Practice questions

WGU RHO1 Scripting and Programming Foundations Practice Questions

WGU RHO1 practice exams.
Practice at your own pace

Practice overview

6 questions
Practice exam
WGU RHO1 Practice Exam 1
Loading practice questions

WGU RHO1 practice exam

Guest practice stays in this browser tab. Sign in to save attempts and resume them later.

  1. WGU RHO1 Practice Exam 1

    6 questions · Untimed · Explanations for every question

    Open now

About these WGU RHO1 practice questions

6 published questions.

Part of Programming Foundations practice exams in Computer Science.

Free WGU RHO1 sample questions

Try these 3 questions from the practice bank, then open the answer to check your reasoning.
  1. Sample question 1 · Programming foundations

    What is an advantage of using a programming library?

    • AThere is improved programmer productivity.
    • BStatic program elements are visualized.
    • CPrograms need not run to yield results.
    • DThere are more statements in a user’s main function.
    Show answer and explanation

    Correct answer: A

    A programmer can build on existing implementations and spend more time on application-specific work.

  2. Sample question 2 · Programming foundations

    A programmer is writing code using C. Which paradigm could the programmer be using?

    • AAn event-driven paradigm using static types
    • BA procedural paradigm using dynamic types
    • CA procedural paradigm using static types
    • DA functional paradigm using dynamic types
    Show answer and explanation

    Correct answer: C

    C is a procedural programming language that organizes code into functions and statements executed step by step, and it uses static typing where variable data types are declared and checked at compile time. It is neither dynamically typed nor primarily event-driven or functional.

  3. Sample question 3 · Programming foundations

    Which language has extensive support for object-oriented programming?

    • AC++
    • BHTML
    • CMarkup
    • DC
    Show answer and explanation

    Correct answer: A

    C++ supports classes, inheritance, virtual dispatch, and other object-oriented features.