WGU C173 OBJECTIVE ASSESSMENT VERSION

Study Guides Aug 2, 2025
Loading...

Loading document viewer...

Page 0 of 0

Document Text

  • | P a g e

WGU C173 OBJECTIVE ASSESSMENT VERSION

1 AND 2/WGU C173SCRIPTING AND

FOUNDATIONS OA NEW EST 2025 ACTUAL

EXAM COMPLETE 200 QUESTIONS AND

CORRECT DETAILED ANSWERS (VERIFIED

ANSWERS) |ALREADY GRADED A+

  • What is a compiled programming language?

- THE CORRECT ANSWER is: You write your source code

and then a compiler goes through the code and creates a separate file that contains the machine code. This separate file is an executable file because the computer can directly execute it. All of the code is converted at once and the new compiled file is no longer editable

  • What is an interpreted programming language?

- THE CORRECT ANSWER is: An interpreted language

does the conversion from source code to machine code on-the- fly. There is no separate machine code file. The computer executes each line when it is needed. This means that all of the code is saved in a format that is editable programming language

  • What is the main difference in compiled and interpreted
  • code?

- THE CORRECT ANSWER is: The main difference is

when the code is converted to machine language. A compiled

  • | P a g e

language converts all of the code at one time, before the code is run by the machine, and saves this into a new file. That new file is now machine code, and is not editable. An interpreted language still needs to convert to machine language in order for the computer to understand it, but it does this at the time that the code is executed. The original programming language is preserved, so it is editable

  • What is an object?

- THE CORRECT ANSWER is: Something that has its own

identity and characteristics, separate from other objects

  • What three things describe an object in object-oriented
  • programming languages?

- THE CORRECT ANSWER is: identity, attributes, and

behavior

  • What is a class?

- THE CORRECT ANSWER is: A class describes what an

object will be, but it isn't the object itself. A class is a blueprint, a detailed description, a definition of an object

  • Why would we create a class?
  • | P a g e

- THE CORRECT ANSWER is: To create a blueprint upon

which to build multiple objects that share attributes and behaviors

  • What is the difference in an object and a class?

- THE CORRECT ANSWER is: An object is something that

has its own identify and characteristics, separate from other objects. A class describes that object will be, but it isn't the object itself. For example, a house is an object and the blueprints used to create it would be considered the class

  • What is instantiation?

- THE CORRECT ANSWER is: Creating instances of a class

  • What is abstraction?

- THE CORRECT ANSWER is: Focus on the essential

qualities of something rather than one specific example. For example, if I say a table you have an idea of what I mean even though I didn't say if it was wood/glass or big/small. This is the essential idea behind creating classes

  • What is encapsulation?

- THE CORRECT ANSWER is: Surrounding something,

not just to keep the contents together, but also to protect those

  • | P a g e

contents. Restricts access to the inner workings of a class or any objects based on that class; this is referred to as information hiding or data hiding

  • What is inheritance?

- THE CORRECT ANSWER is: A form of code reuse

  • How does inheritance apply to working with classes?

- THE CORRECT ANSWER is: We can create a new class,

but instead of writing it from scratch, we can base it on an existing class. It would inherit some of the characteristics of the base class but could also have its own unique properties and methods that are not shared with the base class

  • What is polymorphism? How does polymorphism apply to
  • working with classes?

- THE CORRECT ANSWER is: Means many forms. It lets

us automatically do the correct behavior even if what we're working with could take one of many different forms. The + is a great example. If we're adding two variables together with the plus sign, and these variables are integers, it will numerically add them. But if they are two strings it will concatenate them.With classes this allows us to work with objects created from different classes

Download Document

Buy This Document

$30.00 One-time purchase
Buy Now
  • Full access to this document
  • Download anytime
  • No expiration

Document Information

Category: Study Guides
Added: Aug 2, 2025
Description:

WGU C173 OBJECTIVE ASSESSMENT VERSION 1 AND 2/WGU C173SCRIPTING AND FOUNDATIONS OA NEW EST 2025 ACTUAL EXAM COMPLETE 200 QUESTIONS AND CORRECT DETAILED ANSWERS (VERIFIED ANSWERS) |ALREADY GRADED A+...

Get this document $30.00